In this work, a highly efficient and environmentally friendly method for extracting palladium from hydrochloric acid media was developed. The method uses a magnetic sorbent carrying an organophosphorus extractant, which is not washed from the sorbent into the aqueous phase. The extractant was characterized by 1H, 13C, and 31P NMR spectroscopy and MALDI TOF mass spectrometry, and the palladium complex based on it was characterized by IR spectroscopy. According to an in vitro microbiological study, the extractant was non-toxic to soil microflora. It was established that the water uptake and saturation magnetization of the magnetic sorbent were sufficient for use in sorption processes. The sorption efficiency of palladium(II) with the developed sorbent can reach 71% in one cycle. After treatment of the spent sorbent with 5 M hydrochloric acid, palladium was completely extracted from the sorbent. The new sorbent is proposed for the extraction of palladium from hydrochloric acid media obtained by the leaching of electronic waste.