A bio-based ceramic/organic xerogel (BCO-xerogel) was obtained from the combination of sugarcane bagasse ash, polyvinyl alcohol, and pine cone-derived tannin extract, which are abundant, non-toxic, and renewable sources. The as-prepared BCO-xerogel was used as a low-cost green adsorbent for the eliminate of four types of the most widely used antibiotics, including amoxicillin (AMX), tetracycline (TC), cefalexin (CLX), and penicillin G (PEN G) residuals from contaminated water. The simultaneous effects conventional variables including adsorbent dosage, antibiotic concentrations, solution pH, and contact time were studied and optimized by central composite design (CCD) under response surface methodology (RSM). Analysis of variance (ANOVA) was employed as a statistical formula to determine the significance of operating environmental conditions and their interactions with 95% confidence limits. Under optimized conditions, the experimental removal efficiencies for AMX, TC, CLX, and PEN G were 98.78 +/- 3.25, 99.12 +/- 2.52, 98.02 +/- 1.98, and 98.42 +/- 2.19, respectively. The adsorption isotherms and kinetics were better fitted with Langmuir and pseudo-second-order models, respectively. Thermodynamic studies showed that the adsorption process was endothermic, spontaneous, and occurred by combination of physical and chemical mechanisms. Also, evaluating the ability of BCO-xerogel to adsorptive removal of AMX, TC, CLX, and PEN G antibiotics in real wastewaters showed about 97.4-98.6% adsorption efficiency in river water and about 67.1-71.3% in three hospital effluents. After the adsorption process, the