[5] To decrease the development of resistance, dicloxacillin is recommended to treat infections that are suspected or proven to be caused by beta-lactamase-producing bacteria.
[13][better source needed] Like other β-lactam antibiotics, dicloxacillin acts by inhibiting the synthesis of bacterial cell walls.
It inhibits cross-linkage between the linear peptidoglycan polymer chains that make up a major component of the cell wall of Gram-positive bacteria.
The presence of the isoxazolyl group on the side chain of the penicillin nucleus facilitates the β-lactamase resistance, since they are relatively intolerant of side-chain steric hindrance.
Thus, it is able to bind to penicillin-binding proteins (PBPs) and inhibit peptidoglycan crosslinking, but is not bound by or inactivated by β-lactamase[citation needed]