The second method involves the Radziszewski reaction from glyoxal, formaldehyde, and a mixture of ammonia and methylamine.
[2][3] The compound can be synthesized on a laboratory scale by methylation of imidazole at the pyridine-like nitrogen and subsequent deprotonation.
[4] Similarly, 1-methylimidazole may be synthesized by first deprotonating imidazole to form a sodium salt followed by methylation.
[5][6] In the research laboratory, 1-methylimidazole and related derivatives have been used as mimic aspects of diverse imidazole-based biomolecules.
Depending on the alkylating agent and the counteranion, various ionic liquids result, e.g. 1-butyl-3-methylimidazolium hexafluorophosphate ("BMIMPF6"):[8][9] BASF has used 1-methylimidazole as a means to remove acid during their industrial-scale production of diethoxyphenylphosphine.