The potent anthelminticcyclooctadepsipeptidePF1022A was synthesized by a series of fragment condensations starting from the known (S)-2-chloropropanoic acid and (S)-2-chloro-3-phenylpropanoic acid in eleven steps with a total yield of 13%. Noteworthy is the excellent yield of the BOP-Cl mediated lactamization reaction of the linear precursor 17 leading to the 24-membered macrocycle.