The selected ILs shows good extraction performance for neutral N-compounds. The mechanism of the extraction was confirmed to be the formation of hydrogen bond. BmimCl can be easily regenerated and recycled with good performance even 5 times. A green approach was provided for the separation of neutral N-compounds from coal tar.