In this work, formic acid and its derived DESs are employed to engineer a tandem leaching system for the selective recovery of Li and Co/Mn valuable metals from spent LIBs.