It is produced by thermal reactions of compounds of the type HNCHCHX (X = OH, NH, or NHR) in the presence of zeolitic catalysts. An idealized conversion is shown for the conversion from ethanolamine:
:3 HNCHCHOH → N(CHCH)N + NH + 3 HO