Primary and secondary amines are N-methylated by a mixture of paraformaldehyde and oxalic acid dihydrate in good to excellent yields. The reaction proceeds without involvement of organic solvents and toxic formalin. Reaction temperatures of 100°C are required for the decomposition of oxalic acid into the intermediate formic acid which acts as the actual reductant. The reaction conditions have been optimized, and the mechanism has been elucidated by means of deuteration experiments.