[OH:1][CH2:2][CH:3]1[CH2:8][CH2:7][CH2:6][NH:5][CH2:4]1.[CH:9](O)=O.C=O>>[CH3:9][N:5]1[CH2:6][CH2:7][CH2:8][CH:3]([CH2:2][OH:1])[CH2:4]1A! At 0° C., 3-hydroxymethyl-piperidine (20 g, 173 mmoles) was slowly added to formic acid (63 ml, 1.66 moles) then a 40% solution of formaldehyde was added (62.4 ml, 833 mmoles). The mixture was refluxed for 5 hours, then the solvent was evaporated and the residue taken up in little water, brought to basic pH with 32% sodium hydroxide and extracted with ethyl ether. The organic phase was anhydrified over sodium sulfate and evaporated. The resultant crude was purified by distillation and provided 17 g (yield: 76%) of N-methyl-3-hydroxymethylpiperidine (b.p.--85°-86° C./1 mmHg).