The first total synthesis of the polyketide apiosporic acid is presented. Key steps are a Julia–Kocienski olefination, a Suzuki–Miyaura cross-coupling, and an intramolecular Diels–Alder reaction. The absoluteconfiguration of the natural product was determined.