Résumé
This study presents a sustainable strategy for fabricating bifunctional ceramic membranes that combine size-exclusion and adsorption mechanisms for advanced water purification. Spent coffee grounds (SCG), an agro-industrial waste, were incorporated into a kaolin matrix to simultaneously act as a pore-forming agent and a source of surface functional groups. Through the application of Response Surface Methodology, the SCG content (5–15 wt%) and sintering temperature (600–900 °C) were optimized to enhance both water permeability and pollutant rejection. The fabricated membranes demonstrated a high porosity of up to 45.5% and a pronounced negative surface charge (−36.8 mV), which facilitated the selective removal of two distinct contaminants: Indigo Blue (an anionic dye) and Metformin (cationic pharmaceutical). Optimal formulations achieved 99% dye rejection at 770 °C and 91% pharmaceutical removal at 900 °C, with membrane permeability of 67.6 and 103 L m−2·h−1 bar−1, respectively. Mechanistic analysis revealed electrostatic repulsion governing dye removal and electrostatic attraction plus hydrogen bonding for metformin retention. Fouling behavior was pollutant-dependent: reversible for dyes (flux recovery 94.6%) and partially irreversible for pharmaceuticals (79.8%). These findings demonstrate the potential of SCG-derived ceramic membranes as cost-effective, regenerable solutions for treating complex wastewater streams, contributing to the circular economy and sustainable water management.