Dicloxacillin is an oral antibiotic used to treat infections caused by staphylococcus bacteria, particularly skin and soft tissue infections like cellulitis, impetigo, and wound infections. It belongs to the penicillin family but has a special advantage: it resists the defense enzymes that many staph bacteria produce to destroy standard penicillin. This makes it a go-to choice when a staph infection needs targeted oral treatment.
Why Dicloxacillin Exists
Many strains of Staphylococcus aureus produce an enzyme called penicillinase that breaks down ordinary penicillin before it can work. Dicloxacillin was designed to withstand that enzyme. Its chemical structure remains stable against a variety of bacterial defense enzymes, allowing it to reach the bacteria intact and kill them by blocking the final step of cell wall construction. Without a functioning cell wall, bacteria rupture and die.
This resistance to bacterial enzymes is the entire reason dicloxacillin exists. If a staph infection responds to regular penicillin, guidelines actually recommend using regular penicillin instead, since it has a narrower target and fewer downstream effects on your normal bacteria. Dicloxacillin is reserved for the staph strains that fight back.
Infections It Treats
Dicloxacillin is FDA-approved for infections caused by penicillinase-producing staphylococci. In practice, that translates to a specific set of common infections.
Skin and soft tissue infections are the most frequent reason it’s prescribed. For impetigo and ecthyma (shallow skin infections that crust over), the Infectious Diseases Society of America recommends dicloxacillin as a first-line oral option when staph is the likely cause, typically for a 7-day course. For cellulitis, a deeper skin infection that causes spreading redness and swelling, a 5-day course is the standard starting point, extended if improvement is slow.
Mastitis in breastfeeding mothers is another well-established use. Because the most common culprit in lactational mastitis is staph bacteria, dicloxacillin is frequently prescribed. Importantly, it’s considered safe during breastfeeding. Studies of nursing mothers taking 500 mg every 6 hours found that only about 0.03% of the weight-adjusted dose reaches the infant through breast milk.
Wound infections, abscesses, and boils caused by susceptible staph also fall within its scope. Doctors sometimes start dicloxacillin before lab results come back if a resistant staph infection is suspected, then adjust once culture results confirm the specific bacteria involved.
What It Does Not Cover
Dicloxacillin does not work against MRSA (methicillin-resistant Staphylococcus aureus). The “methicillin-resistant” label means these bacteria have evolved beyond what dicloxacillin and its close relatives can handle. If your infection is caused by MRSA, a completely different class of antibiotic is needed. Dicloxacillin targets MSSA (methicillin-susceptible Staphylococcus aureus), which still accounts for a large share of staph infections.
It also has a narrow spectrum overall. It’s not designed for urinary tract infections, respiratory infections caused by gram-negative bacteria, or most other common infections. Its strength is its specificity: it does one job well.
How to Take It
Dicloxacillin comes in capsule form and is taken four times a day, every 6 hours. For mild to moderate infections in adults, the typical dose is 125 mg per dose. Severe infections call for 250 mg per dose. Children under 88 pounds (40 kg) receive weight-based dosing.
Timing around meals matters more with this antibiotic than most. Food delays its absorption significantly, so it should be taken on an empty stomach: at least 1 hour before eating or 2 hours after. Skipping this step can reduce how much of the drug reaches your bloodstream.
The drug clears your body quickly, with a half-life of roughly 1.4 to 1.7 hours. About 40% to 50% of each dose leaves through the kidneys unchanged. That short half-life is why you need to take it four times daily to keep levels high enough to fight the infection.
Common Side Effects
The most frequent side effects are digestive: nausea, vomiting, and diarrhea. Some people notice mouth irritation or a temporary black, hairy appearance on the tongue, which is harmless and resolves after stopping the medication. Joint swelling can also occur.
More serious reactions are uncommon but important to recognize. A rash, hives, difficulty breathing, or swelling of the face, throat, or tongue can signal an allergic reaction that needs immediate attention. Severe watery or bloody diarrhea, sometimes appearing weeks after finishing the course, can indicate a secondary gut infection caused by disruption of normal intestinal bacteria.
Who Should Avoid It
Anyone with a known allergy to penicillin antibiotics should not take dicloxacillin. There is also cross-reactivity with cephalosporin antibiotics (a related family), so a history of reactions to those medications is relevant. People with kidney disease or a history of asthma or significant allergies may need adjusted treatment or closer monitoring, since the drug is partly cleared through the kidneys and allergic reactions can be more pronounced in people with an allergic predisposition.

