We report herein the synthesis of a novel class of compounds, ethyl 4-oxo-4H-furo[3,2-c]pyran-6-yl carbonate, (7E)-7-[(dimethylamino)methylene]-4H-furo[3,2-c]pyran-4,6(7H)-dione, 5-oxo-N-phenyl-2,5-dihydro-4H-furo[3,2-b]pyrrole-4-carboxamide,and 5-oxo-N-phenyl-5,6-dihydro-4H-thieno[3,2-b] pyrrole-4-carboxamide starting from the corresponding acid derivatives. Intramolecular cyclization in the presence of thionyl chloride formed the target fused ring systems. Additional transformation was seen in the cyclization of furan-fused heterocycle. A mechanism was proposed based on experimental and computational findings. (C) 2014 Elsevier Ltd. All rights reserved.