The total synthesis of Lycopodium alkaloid (−)-huperzine A has been accomplished in 10 steps with 17% overall yield from commercially abundant (R)-pulegone. The synthetic route features an efficientsynthesis of 4 via a Buchwald–Hartwig coupling reaction, a dianion-mediated highly stereoselective alkylation of 4, and a rare example of an intramolecular Heck reaction of an enamine-type substrate. The