Application of a tandem Knoevenagel/6π-electrocyclization sequence is able to produce highly substituted pyranopyridones from moderate to high yields in a one-step reaction. High diasteroselectivity is observed in some cases and was rationalized on the basis of the thermodynamic control of the evidenced reversibility of a 6π-electrocyclization reaction. Numerous examples are provided establishing a novel entry in natural product-like structures of pyranopyridone alkaloids.