The stereoselective total synthesis of palmyrolide A was accomplished through macrocyclization reaction involving trans enamide formation by coupling of vinyl iodide with secondary amide in an intramolecular fashion. The two coupling partners, vinyl iodide 4 and secondary amide 3 were synthesized from the same intermediate alcohol 5. Yamaguchi esterification and CBS-reduction are the other key steps involved in the synthesis.