cThe treatment of endophthalmitis is becoming very challenging due to the emergence of multidrug-resistant bacteria. Hence, the development of novel therapeutic alternatives for ocular use is essential. Here, we evaluated the therapeutic potential of Ply187AN-KSH3b, a chimeric phage endolysin derived from the Ply187 prophage, in a mouse model of Staphylococcus aureus endophthalmitis. Our data showed that the chimeric Ply187 endolysin exhibited strong antimicrobial activity against both methicillin-sensitive S. aureus and methicillin-resistant S. aureus (MRSA) strains, as evidenced by MIC determinations, reductions in turbidity, and disruption of biofilms. Moreover, exposure of S. aureus to Ply187 for up to 10 generations did not lead to resistance development. The intravitreal injection of chimeric Ply187 (at 6 or 12 h postinfection) significantly improved the outcome of endophthalmitis, preserved retinal structural integrity, and maintained visual function as assessed by electroretinogram analysis. Furthermore, phage lysin treatment significantly reduced the bacterial burden and the levels of inflammatory cytokines and neutrophil infiltration in the eyes. These results indicate that the intravitreal administration of a phage lytic enzyme attenuates the development of bacterial endophthalmitis in mice. To the best of our knowledge, this is the first study demonstrating the therapeutic use of phage-based antimicrobials in ocular infections.