Functionally substituted partially hydrogenated thiazolo[3,2- a]quinoline and thiazolo[3,2- a]-pyridine were synthesized by multicomponent condensation of aromatic aldehydes, cyanothioacetamide, 1,3-dicarbonyl compounds, 1,2-dibromoethane, and morpholine.