This document describes a study that used response surface methodology (RSM) to optimize the removal of lanthanum metal from wastewater using chitosan-Fe3O4 nanocomposite as an adsorbent. Four variables (adsorbent dose, temperature, pH, and reaction time) were investigated using a Box-Behnken experimental design. Regression analysis identified pH as the most significant factor. Optimization analysis predicted that the maximum lanthanum removal of 91.82% could be achieved at 25.41°C, pH 10.24, 150 minutes reaction time, and 6.5 mg/L lanthanum concentration. A similar RSM study optimized removal of strontium using chitos