Fopirtoline was synthesized by reaction of 2-morpholinoethylmercaptan (I) (1) with 2,6-dichloropyridine (II) in the presence of sodium amide in xylene as the solvent (2).