Iminium ions are generated by treatment of aminals with succinic anhydride. These iminium ions are trapped by heterocycles, giving the corresponding N-dialkylamino-methyl-substituted heterocycles, which are easily separated from the succinic acid monoamide byproducts by means of an aqueous base wash. The heterocyclic products are obtained in good yield and in a high state of purity without need of recrystallization or distillation.