A new synthetic protocol for efficient and regiospecifc assembly of indolizines and pyrido[1,2-a]indoles by coupling of substituted methyl bromides and alkynes with corresponding pyrrole-2-carboxaldehyde and 1H-indole-2-carboxaldehyde has been developed. Additionally, a possible mechanism for the reaction is proposed.