Five- and seven-membered ring heterocyclic compounds of silicon, tin(II), and tin(IV) have been prepared by esterification of dihydric phenols with organodichlorosilanes, stannouschloride, and organotin dichlorides. Catalysts by strong base is required with the tin compounds, and the products are exceedingly stable, both thermally and hydrolytically.