Cl.[CH3:2][NH:3][CH3:4].[CH2:5]=O.[NH:7]1[CH:11]=[CH:10][CH:9]=[CH:8]1>[OH-].[Na+]>[CH3:2][N:3]([CH2:5][C:8]1[NH:7][CH:11]=[CH:10][CH:9]=1)[CH3:4]A solution of 42.5 g (0.52 mole) of dimethylamine hydrochloride in 41 g of 38% formaldehyde (0.525 mole) was added slowly to 36.5 g (0.50 mole) of pyrrole in a 3-neck round-bottomed flask, fitted with a mechanical stirrer, reflux condenser and a dropping funnel at such a rate that the temperature did not exceed 60° C. About 30 to 60 minutes was needed to complete the addition. Stirring was continued for 1.5 hours after the addition was completed. The mixture was allowed to stand overnight. Then it was poured into 100 ml of 25% sodium hydroxide and extracted with 3/×100 ml of ether. The pooled organic layer was washed with 2/×30 ml of brine and dried over anhydrous MgSO4. The solution was filtered and the ether removed under reduced pressure. 50.4 g (69%) of 2-(N,N-dimethylaminomethyl)pyrrole was recovered, (b.p. 88°-100° C. at 19 mm Hg).