Berberine hydrochloride (Ber), a bioactive compound widely found in the roots, rhizomes, stems and barks of Coptis chinensis, has demonstrated efficacy in treating many diseases, such as cancer, congestive heart failure, Alzheimer's disease, especially inflammatory caused by bacteria. The molecularly imprinted microspheres based on chitosan were fabricated to adsorb selectively, release and anti-bacteria of Ber. The Ber surface molecularly imprinted microspheres (Ber-PSSS@GCS-MIPs) were synthesized using crosslinked chitosan as matrix, Ber as template, and sodium 4-styrene sulfonate (SSS) as functional monomer via a redox surface-initiating system -NH