Abstract:This current investigation explored the thermal conversion process of castor wood into biochar, which was subsequently harnessed for removing naproxen from pharmaceutical industrial effluent via adsorption. Surface composition analyses conducted through scanning electron microscopy–energy dispersive X‐ray, laser‐induced breakdown spectroscopy, and Fourier‐transform infrared studies unveiled the presence of nano MgO particles within the adsorbent material. Employing optimization techniques such as response surface methodology facilitated a refined approach to batch study. The optimized conditions for batch naproxen sodium (NPX) adsorption on nano‐MgO‐modified biochar were identified as pH 4, 1.5 g/L adsorbent dosage, and a 120‐min contact time maintaining a constant NPX concentration of 10 mg/L. The adsorption capacity was calculated to be 123.34 mg/g for a nano‐magnesium oxide‐modified castor wood biochar (modified biochar) and 99.874 mg/g for pristine castor wood biochar (pristine biochar). Fenton's reagents comprising 15 mM of FeSO4 (7H2O) and 25 mM of H2O2 have been scrutinized under conditions of pH 3.0, a reaction time of 30 min, a temperature of 30°C, and stirring at 120 rpm, followed by batch adsorption treatment. The COD, NH3–N, NO3−, PO43−, and NPX removal percentages was found to be 90%, 87%, 79%, 80%, and 90%, respectively. Thus nano MgO‐modified biochar holds promise of treatment of pharmaceutical effluent.