A concise and efficient strategy has been proposed to synthesize indolizine derivatives from easily available aryl or heteroaryl methyl ketones, pyridines, and acrylonitriles. The mechanistic pathway involved the integration of iodination, pyridinium ylide synthesis, and 1,