Skip to content
Evigrade

Cefalexin

AEMPS

First-generation cephalosporin

ATC code: J01DB01

Updated · Methodology

Indications

A

Lactational mastitis

First line

Lactational mastitis due to MSSA. Per ABM Protocol #36 2022 and SEGO 2023, first-line 500 mg 4 times daily for 10–14 days. If no improvement by 48 h – assess breast drainage, consider MRSA (switch to clindamycin) or abscess (ultrasound + aspiration). Continue breastfeeding on the affected side.

ICD-10: O91.2 · ICD-11: JB45.1

How to read tiers A–F
  • AStrong evidence – first or second line in international guidelines
  • BRecommended in selected cases
  • CStudy data contradict each other
  • DBenefit not proven, no documented harm
  • FDocumented harm, or risk without benefit

Mechanism of action

Beta-lactam antibiotic. Blocks bacterial peptidoglycan cell wall synthesis via inhibition of transpeptidases (PBPs). Bactericidal against gram-positive cocci, especially Staphylococcus aureus (MSSA) and Streptococcus spp. Weak activity against gram-negatives. Oral bioavailability 90%.

Safety

Contraindications

  • Anaphylaxis to cephalosporins or severe penicillin reaction
  • Severe renal impairment (dose adjustment)

Serious adverse effects

  • Pseudomembranous colitis (C. difficile)
  • Anaphylaxis
  • Stevens-Johnson syndrome (rare)

Common adverse effects

  • Diarrhea
  • Nausea
  • Skin rash
  • Candidiasis (thrush)
  • Headache

Pregnancy: can you take Cefalexin?

Safe in pregnancy. Not linked to birth defects.

Breastfeeding: can you take Cefalexin?

Hale L1 · Compatible

Fully compatible. Hale L1. RID about 0.5%, T½ 0.9 h. Peak in milk at 1 h. Possible infant thrush with prolonged use.

RID, infant dose via milk
0.5%
Maternal half-life
0.9 h
Maternal peak time
1 h
Peak milk concentration
0.5 mg/L
Milk-to-plasma ratio
0.01

Reference information, not a clinical decision. Discuss feeding pauses or changes with your physician or an IBCLC.

Renal dose adjustment for all the patient's drugs

Enter the patient's kidney function and drugs. On one page you'll see the dose each label gives

Cefalexin label on CIMA (AEMPS, in Spanish) →

Practical notes

Timing and administration

Take 1 hour before or 2 hours after meals – food reduces bioavailability. May take with milk. Do not stop earlier than 10 days even with symptom relief.

Drug–drug interactions

1 pair found. Sorted from critical to minor.

ModerateIbuprofenNon-steroidal anti-inflammatory drugs (NSAIDs)

Mechanism

Cefalexin is eliminated by the kidneys: more than 90% of a dose is excreted unchanged in the urine within 8 hours, by glomerular filtration and tubular secretion (cefalexin summary of product characteristics, SmPC, Spanish Agency of Medicines and Medical Devices, AEMPS). CYP2C9 and CYP2C8 metabolise ibuprofen in the liver, and the kidneys excrete its inactive metabolites (ibuprofen SmPC, AEMPS). The documents say nothing about either drug changing the elimination of the other. According to the Spanish cefalexin SmPC, the risk of nephrotoxicity may increase when cefalexin is given with certain other drugs, such as aminoglycosides, other cephalosporins, vancomycin, furosemide and similar potent diuretics (cefalexin SmPC, AEMPS). Non-steroidal anti-inflammatory drugs (NSAIDs) are not on this list. According to the ibuprofen SmPC, however, inhibition of prostaglandins can cause fluid retention and impaired renal function, and long-term use can lead to renal damage (ibuprofen SmPC, AEMPS).

Symptoms

The documents describe no symptoms specific to this combination. Ibuprofen can raise blood creatinine, urea nitrogen and potassium and lower creatinine clearance. Uncommon reactions include tubulointerstitial nephritis, nephrotic syndrome and renal failure, and long-term use can lead to renal papillary necrosis (ibuprofen summary of product characteristics, SmPC, Spanish Agency of Medicines and Medical Devices, AEMPS). Cefalexin rarely causes tubulointerstitial nephritis, and its common adverse reactions are diarrhoea and nausea (cefalexin SmPC, AEMPS).

Management

No document contraindicates the combination, and none addresses it directly. Non-steroidal anti-inflammatory drugs (NSAIDs), including ibuprofen, are used with caution with drugs that can increase the risk of renal dysfunction (ibuprofen summary of product characteristics, SmPC, Spanish Agency of Medicines and Medical Devices, AEMPS). With certain such drugs, cefalexin may add to the risk of kidney damage (cefalexin SmPC, AEMPS). Ibuprofen is used at the lowest effective dose for the shortest time, with caution in kidney, heart or liver disease, and renal function is monitored during long-term treatment (ibuprofen SmPC, AEMPS). Ibuprofen is contraindicated in severe renal failure, with a glomerular filtration rate below 30 mL/min (ibuprofen SmPC, AEMPS). Cefalexin is given with caution when renal function is markedly impaired. At a filtration rate below 10 mL/min or on dialysis, the daily dose does not exceed 500 mg (cefalexin SmPC, AEMPS). In dehydration, ibuprofen is used with caution, and adequate fluid intake is ensured. Severe dehydration from vomiting, diarrhoea or insufficient fluid intake is a contraindication (ibuprofen SmPC, AEMPS). Diarrhoea is a common adverse reaction to cefalexin (cefalexin SmPC, AEMPS). When ibuprofen is taken for fever or pain related to an infection, the infection is monitored, because ibuprofen can mask its symptoms and delay appropriate treatment (ibuprofen SmPC, AEMPS). The documents give no specific dose adjustment for this combination (ibuprofen and cefalexin SmPCs, AEMPS; ibuprofen and cefalexin labels, US Food and Drug Administration, ).

Pair details →Ibuprofen →

Label mentions6 mentions

Verbatim lines from the interaction sections, in the language of the label

From this drug’s label

  • aminoglucósidosclass named in the label
    «Como con otros medicamentos betalactámicos, la excreción renal de cefalexina es inhibida por probenecid. La administración concomitante con otros principios activos, como aminoglucósidos, otras…»

    AEMPS, section 4.5 · Open on CIMA

  • antineoplásicosclass named in the label
    «Se ha descrito hipopotasemia en pacientes que toman fármacos citotóxicos para la leucemia cuando se les administró gentamicina y cefalexina.»

    AEMPS, section 4.5 · Open on CIMA

  • diuréticosclass named in the label
    «Como con otros medicamentos betalactámicos, la excreción renal de cefalexina es inhibida por probenecid. La administración concomitante con otros principios activos, como aminoglucósidos, otras…»

    AEMPS, section 4.5 · Open on CIMA

  • «Como con otros medicamentos betalactámicos, la excreción renal de cefalexina es inhibida por probenecid. La administración concomitante con otros principios activos, como aminoglucósidos, otras…»

    AEMPS, section 4.5 · Open on CIMA

  • «Se ha descrito hipopotasemia en pacientes que toman fármacos citotóxicos para la leucemia cuando se les administró gentamicina y cefalexina.»

    AEMPS, section 4.5 · Open on CIMA

  • «En un estudio de 12 sujetos sanos a los que se les administraron dosis únicas de 500 mg de cefalexina y metformina, la C máx en plasma y el AUC de metformina aumentaron en un promedio del 34% y el…»

    AEMPS, section 4.5 · Open on CIMA

Check interaction with another drug

Opens the checker prefilled with this drug. Pick the second one from your regimen.

Open checker

Frequently asked

What is Cefalexin used for?

Cefalexin is evaluated for the following indications with varying evidence strength: Lactational mastitis (evidence tier A). See the full indication matrix with dosing and citations above on this page.

What are the side effects of Cefalexin?

Common side effects of Cefalexin (≥ 1 in 100): Diarrhea, Nausea, Skin rash, Candidiasis (thrush), Headache. See the Safety section for uncommon and serious reactions.

Is Cefalexin safe during pregnancy?

Safe in pregnancy. Not linked to birth defects.

Is Cefalexin compatible with breastfeeding?

Fully compatible. Hale L1. RID about 0.5%, T½ 0.9 h. Peak in milk at 1 h. Possible infant thrush with prolonged use.

Who should not take Cefalexin?

Cefalexin is contraindicated in: Anaphylaxis to cephalosporins or severe penicillin reaction; Severe renal impairment (dose adjustment). Full list in the Safety section.

Official sources

Direct links to regulator labels. Open in a new tab.

How to cite

Vancouver

Cefalexin [Internet]. Evigrade; 2026 [updated 2026 Sep 24]. Available from: https://www.evigrade.com/en/drugs/cefalexin

APA 7

Evigrade. (2026, September 24). Cefalexin. https://www.evigrade.com/en/drugs/cefalexin

Other drugs in this group

Cefditoren pivoxil, Ceftriaxone, Cefuroxime axetil, Chloramphenicol, Ciprofloxacin, Doxycycline, Levofloxacin, Norfloxacin