For the separation of metal ions, ionic liquid-based aqueous biphasic systems (IL-ABSs) offer a promising alternative to solvent extraction. However, the incorporation of an extensive quantity of inorganic salts restricts their practical application. Because heavy metal wastewater often contains high concentrations of inorganic salts, it offers good prospects for the application of IL-ABSs in the separation of heavy metals. In this work, an IL-ABS was formed by tributyltetradecylphosphonium chloride ([P44414]Cl), and simulated high-salinity wastewater (NaCl and Na2SO4 as the main inorganic salts) was used for the separation of heavy metals. The phase diagram results indicated that the formation of a two-phase system required a relatively high salt concentration. The extraction process followed the mechanism of anion exchange; thus, heavy metals such as zinc and cadmium that formed complexes with chloride ions could be effectively extracted (extraction rate >99.5%) with a very fast rate (extraction time <1 min) at a wide pH range (pH = 2-7). After extraction, the metals could be stripped well (stripping rate >99.5%) after contact with the NaOH solution. This research provided a new approach for treating heavy metals in high-salinity effluents, which has the advantages of IL-ABS and avoids the disadvantages of adding large amounts of inorganic salts at the same time.