Aryl-substituted pyridines and pyrimidines were prepared by [4+2] cycloadditions of alkynyl-substituted pyridines and -pyrimidines with electron-rich dienes. The reactions proceed by formation of a bridged cycloadduct and subsequent thermal extrusion of ethylene. The pyridine moiety plays a crucial role for the success of the reaction.