The efficient extraction recovery of scandium (Sc(iii)) is crucial for its application in high-end technology. Two novel hydrophobic carboxylic acid ionic liquids (ILs), namely, [lauryl betaine][bis(trifluoromethanesulphonyl)imide] ([Laur][Tf2N]) and [cocamidopropyl betaine][bis(trifluoromethanesulphonyl)imide] ([Coca][Tf2N]), were synthesized using two inexpensive amphoteric surfactants as cation sources. [Laur][Tf2N] (257 °C) and [Coca][Tf2N] (251 °C) exhibited good thermal stability and strong hydrophobicity. The viscosity of [Coca][Tf2N] (4.29 × 103 mP s) was higher than that of [Laur][Tf2N] (2.55 × 103 mPa s) at 25 °C. The optimal extraction conditions were an extraction equilibrium time of 40 min, an initial Sc(iii) concentration of 0.001 mol L-1, a sodium nitrate concentration of 0.5 mol L-1, and a pH of 3. The extraction efficiency of [Laur][Tf2N] and [Coca][Tf2N] could even exceed 98.7% and 96.0%, respectively. The cation exchange extraction mechanism was studied by slope analysis, IR spectroscopy and 13C NMR spectroscopy. Sc(iii) extracted using [Laur][Tf2N] and [Coca][Tf2N] could be completely stripped with 0.1 mol L-1 and 0.2 mol L-1 HNO3 once, respectively. The structure of the ILs was not broken after stripping, and the extraction efficiency of the ILs remained almost unchanged after five cycles. In addition, the extraction differences at different pH levels made it possible to separate Sc(iii) from other rare earths using ionic liquids [Laur][Tf2N] and [Coca][Tf2N].