Stemming from unique ring structures, heterocyclic polymers exhibit distinguished electrical, mechanical, and photophysical properties and have been widely used in a variety of important applications. Along with the technological significance are the challenges in their synthesis. Traditional synthetic strategies toward heterocyclic polymers often require the direct attachment of heterocycles to polymer backbones, which are generally limited by the lack of suitable and low-cost heterocyclic monomers, tedious reaction process, difficulties in incorporation of multiple substitutents, etc. Alternatively, in situ construction of heterocyclic polymers via triple-bond based polymerization offers promising prospects. This review summarized the recent progress on polymerizations of triple-bond based monomers including alkynes, nitriles, and isonitriles that can in situ generate heterocyclic polymers. The properties and advanced applications of the derived heterocyclic polymers will also be discussed. Finally, the future perspectives and challenges in this field will be addressed.