The total synthesis of cyanolide A has been achieved in 14 steps from commercially available (S)-2-ethyloxirane, exploiting the palladium-catalyzed intramolecular alkoxycarbonylation as the key step to construct the tetrasubstituted cis-tetrahydropyran ring with high stereoselectivity.