Surface-adhered bacteria on implants represent a major challenge for antibiotic treatment. We introduce hydrogel-coated surfaces loaded with tailored Pd-nanosheets which catalyze the release of antibiotics from inactive prodrugs. Masked and antibiotically inactive fluoroquinolone analogs were efficiently activated at the surface and prevented the formation of Staphylococcus aureus biofilms.