The total synthesis of borrelidin has been achieved. The best feature of our synthetic route ismacrocyclization at C11-C12 for the construction of an 18-membered ring after esterification betweentwo segments. A detailed examination of the macrocyclization led us to the samarium(II) iodide-mediatedintramolecular Reformatsky-type reaction as the most efficient synthetic approach. The two key segmentswere synthesized through regioselective methylation, directed hydrogenation, stereoselective Reformatsky-type reaction, and MgBr
2·Et
2O-mediated chelation-controlled allylation.