Abstract By using ionic liquids as solvents, the chlorination or bromination of unprotected anilines at the para-position can be achieved in high yields with copper halides under mild conditions, without the need for potentially hazardous operations such as supplementing oxygen or gaseous HCl.