Oxacillin is a beta-lactam antibiotic that belongs to the penicillin class. It is used primarily to treat infections caused by methicillin-sensitive Staphylococcus aureus (MSSA). Unlike some other antibiotics, oxacillin is resistant to degradation by penicillinase, an enzyme produced by certain bacteria to inactivate penicillin.