The purpose of this research was to evaluate rice husk functionalized with Mg-Fe-layered double hydroxide (RH-Mg/Fe-LDH) as an adsorbent for the removal of meropenem antibiotic (MA) from an aqueous solution. Several batch experiments were undertaken using various conditions. Based on the results, the optimal Mg/Fe-LDH adsorbent with a pH of 9 and an M2+/M3+ ratio of 0.5 was associated with the lowest particle size (specifically. 11.1 nm). The Langmuir and Freundlich models were consistent with the experimental isotherm data (R2 was 0.984 and 0.993, respectively), and MA’s highest equilibrium adsorption capacity was 43.3 mg/g. Additionally, the second-order model was consistent with the adsorption kinetic results.