Implant-associated infection remains a difficult medical problem in orthopaedic surgery. Here, we report on the fabrication of gentamicin-loaded mesoporous bioactive glass (Gent-MBG) for use as a controlled antibiotic delivery system to achieve the sustained release of antibiotics in the local sites of bone defects. The high surface area and mesoporous structure of MBG enable higher drug loading efficiency (79-83 %) than non-mesoporous biological glass (NBG) (18-19 %). Gent-MBG exhibits sustained drug release for more than 6 days, and this controlled release of gentamicin significantly inhibits bacterial adhesion and prevents biofilm formation by S. aureus (ATCC25923) and S. epidermidis (ATCC35984). Biocompatibility tests with human bone marrow stromal cells (hBMSCs) indicate that MBG has better biocompatibility than NBG. Therefore, Gent-MBG can be used as a controlled drug delivery system to prevent and/or treat orthopedic peri-implant infections.