1-Alkyl substituted imidazoles were synthesized by reaction of alkyl amines with glyoxal, formaldehyde and ammonia in methanol. This method has the advantages of high yields and easiness to handle. Didentate ionic liquids synthesized by using 1-alkylimidazoles are potential environmentally benign solvents as well as catalysts for coupling reactions. All compounds were confirmed by IR, H-1 NMR, C-13 NMR spectra and HRMS or GG-MS.