Ionic liquids containing the hexafluoroacetylacetonate anion are immiscible with water and they exhibit strong metal-complexing ability.