In this study, polyaminophosphoric acid (PA)functionalized ion-imprinted chitosan (CS) aerogel was fabricated for the first time, exhibiting good antibacterial property for selective La(III) recovery and oil/water separation. The as-prepared PA-CS-IIA-2 shows a remarkable adsorption capacity of 114.6 mg/g toward La(III) and high selectivity in the competitive adsorption systems, which is attributed to its abundant imprinting sites and surface functional groups. Benefiting from the amphiphilic property, the PA-CS-IIA-2 also exhibits an excellent adsorption performance for the extractant, oils, and organic solvents. Besides, the PA-CS-IIA-2 presents excellent regeneration and reusability characteristics. Moreover, compared with CS, the PA-CS-IIA-2 exhibits a significantly improved antibacterial activity originating from the PA component. Most importantly, the PA-CS-IIA-2 aerogel is capable of removing multiple pollutants all together and effectively inhibiting bacteria in the complex wastewater environments. Therefore, this study paves the way for developing high-performance rare-earth capture materials with multiple functions to meet diverse applications.