4-Hydroxy-6-methyl-[(1-phenylimino)ethyl)]-2H-pyran-2-one derivatives have been synthesized via the reaction of dehydroacetic acid and amine in the presence of the ionic liquid [BMIM-HSO3]HSO4 under ultrasonic irradiation. The effect of catalyst, catalyst amount, reaction temperature and solvent on the yield was investigated. The optimum reaction condition was determined and the possible mechanism was proposed. This method has some distinct advantages such as short reaction time, high yields, environmental friendliness and mild reaction conditions. Moreover, the ionic liquid could be recovered conveniently and reused.