A novel synthesis of nitrogen heterocycles by means of a zirconium-promoted, intramolecular reductive coupling reaction of an enyne or a diene was developed, and the formal total synthesis of dendrobine from (-)-carvone was achieved by a short sequence of steps.