We have developed a general and highly efficient method for the preparation of diverse ω-formyl-α,β-unsaturated carbonyl compounds and optimized the conditions for the intramolecular Baylis–Hillman reactions of these compounds to provide various biologically important polycyclic compounds.