Extraction of three antioxidants by ionic liquids (ILs) was studied.
ILs containing hydroxyl group had better extraction ability for gallic acid.
The role of hydrophobic interaction between ILs and solutes should be considered.
Hydrogen bonding was the main driving force for the extraction of the three acids.