Together, these results show that BMP-2–loaded lysostaphin-delivering hydrogels significantly improve bone regeneration compared to untreated infections and regenerate equal amounts of bone as sterile implants. Here, BMP2 is linked to infection.