The Beckmann rearrangement of a variety of ketoximes has been carried out in imidazolium-based ionic liquids in the presence of catalytic amounts of 2,4,6-trichloro[1,3,5]triazine. This mild and 'green' procedure is highly regioselective affording the corresponding N-substituted amides in very good to quantitative yields. The ionic liquids were easily recovered and recycled several times.