The invention belongs to the technical field of adsorbent synthesis, and relates to a xerogel adsorbent, in particular to a preparation method of a CA-Al-KABs xerogel adsorbent, which comprises the following steps: mixing a kaolin suspension and 1.0 mol/L sodium salt solution, stirring, cleaning the solid, drying, and grinding to obtain sodium-based kaolin Na-Kaolin; slowly dropwise adding an isopyknic 0.96 mol/L NaOH solution into the 0.4 mol/L aluminum salt solution in a water bath at 60 DEG C to obtain an Al pillared solution; dispersing the obtained Na-Kaolin in deionized water according to a mass ratio of (2-3): 100, and dropwise adding an Al pillared solution to obtain aluminum-based kaolin Al-Kaolin; adding Al-Kaolin into 20 g/L of a sodium alginate solution, stirring, carrying outultrasonic treatment, adding a 0.5 mol/L cross-linking solution, hardening, filtering, washing and drying. The kaolin is subjected to composite modification, CA-Al-KABs xerogels with different forms are prepared according to needs while the adsorption effect is kept, and the difficulty of solid-liquid separation is solved. The prepared xerogel can effectively remove antibiotics, especially ciprofloxacin and norfloxacin, in wastewater, and provides theoretical and experimental support for practical application.