It is semisynthetic and in the same class as penicillin. Cloxacillin is used against staphylococci that produce beta-lactamase, due to its large R chain, which does not allow the beta-lactamases to bind. This drug has a weaker antibacterial activity than benzylpenicillin, and is devoid of serious toxicity except for allergic reactions.