The invention provides a preparation method for a
Mannich base containing ferrocenyl thiadiazole or
oxadiazole. The method comprises the following steps: sequentially adding A mol of 2-amino-5-substituted-1,3,4-thia(oxa)
diazole, B mol of an
aldehyde and absolute
ethanol into a dry three-necked flask, and performing uniform stirring; and adding C mol of a
benzothiazole ionic liquid, slowly adding Dmol of an
acetylferrocene anhydrous ethanol solution dropwise under stirring, after addition is completed, performing a
reflux reaction under heating until the reaction is completed, performing reduced-pressure
distillation to remove a
solvent, adding
ethyl acetate into residues, performing suction
filtration, performing
evaporation on the filtrate to
dryness to obtain a crude product, and performing recrystallization on the crude product by using
anhydrous ethanol to obtain the
Mannich base containing the ferrocenyl thiadiazole or
oxadiazole, wherein the
filter cake is a
benzothiazole ionicliquid and can be recycled and reused, and the ratio of the A to the B to the C to the D is 1:(5-10):(0.5-1.5):1. The method provided by the invention is
environmentally friendly, and simple and convenient to operate, and has simple after-treatment, a high yield, and high efficiency, the catalyst can be recycled for multiple times, and the reaction costs are low.