A novel approach for the synthesis of indolizines from 2-(pyridin-2-yl)acetates, ynals, and alcohols or thiols has been developed. This MCR (multicomponent reaction) that proceeds under the solvent- and metal-free conditions has provided a straightforward path to construct indolizines. Furthermore, this reaction demonstrates other attractive features such as widely available starting materials, mild conditions, good functional group tolerance, and high efficiency.