Paracetamol (PCT) and chloramphenicol (CPL) can have unfavorable impacts on human health, as well as on natural ecosystems. These substances contribute to the aquatic environment’s contamination and disturb the performance of municipal wastewater treatment systems, causing ecosystem disruption and microbial resistance. In this study, activated carbon produced from sawdust (ACs) was synthesized utilizing the chemical activation process for the removal of both PCT and CPL compounds from an aqueous solution. ACs has a primarily microporous structure with a significant specific surface area of 303–1298 m2/g, total pore volume of 0.462 cm3/g and bimodal distribution of pores of 0.73–1.7 nm. The removal efficiencies for PCT and CPL with the low-cost activated carbon, determined at the optimum dose (750 mg/L for PCT and 450 mg/L for CPL), were significantly high at 85% and 98%, respectively. The adsorption kinetics for both pharmaceuticals exhibited a quick initial decline. For PCT and CPL adsorption, the equilibrium was attained after just 20 and 90 min, respectively. The Langmuir isotherm model and the pseudo-second-order kinetics model offered the best fits for the adsorption of both compounds. Additionally, the central composite design (CCD) and Box–Behnken design (BBD) were used to optimize the experimental adsorption conditions using a response surface methodology (RSM). On the basis of the findings, it is evident that activated carbon made from sawdust may be used as a new, effective alternative adsorbent for removing PCT and CPL in aqueous environments.