# Cephalexin (Keflex): Dosing, Mechanism and Side Effects

Web page: https://npbasics.com/drugs/cephalexin.html

Antibiotic · Beta-lactam · Cephalosporin

# Cephalexin (Keflex)

Also called Keflex

At a glance

Class: Antibiotic, Beta-lactam, Cephalosporin.

Main use: Skin and skin structure infections from S. aureus and streptococci, such as nonpurulent cellulitis (label; IDSA 2014).

Usual adult dose: Adults and children 15 or older: 250 mg every 6 h; or 500 mg every 12 h for strep pharyngitis, skin infections and uncomplicated cystitis (cystitis for 7–14 days).

Watch: Contraindicated with known cephalosporin allergy (label); avoid with a history of penicillin anaphylaxis, and prefer it only for nonsevere penicillin reactions.

Checked against the sources below · Updated November 2026 · From the Reference tab of the app

[Practice 36 Dermatology Primary Care questions](https://npbasics.com/app/?from=/drugs/cephalexin.html#/topic/np-dermatology)

## Indications

- Skin and skin structure infections from S. aureus and streptococci, such as nonpurulent cellulitis (label; IDSA 2014)
- Streptococcal pharyngitis, including in nonanaphylactic penicillin allergy (label; IDSA 2012)
- Respiratory tract infections, otitis media and bone infections from susceptible organisms (label)
- Genitourinary infections, including acute prostatitis (label); an option for cystitis in pregnancy

## Dosing

| Use | Adult dose (label) |
| --- | --- |
| Adults and children 15 or older | 250 mg every 6 h; or 500 mg every 12 h for strep pharyngitis, skin infections and uncomplicated cystitis (cystitis for 7–14 days) |
| More severe infections | Up to 4 g a day in 2–4 divided doses |

## On the quick cards

- [**Penicillins (-cillin) and cephalosporins (cef-, ceph-)** NCLEX Drug Classes: Beta-lactam antibiotics](https://npbasics.com/cards/nclex-drugs.html#penicillins-cephalosporins)

## Mechanism of action

Cephalexin is a first-generation cephalosporin. Like the penicillins, its beta-lactam ring acylates penicillin-binding proteins and blocks cross-linking of the peptidoglycan wall, so the dividing cell lyses (label). The cephem nucleus, a beta-lactam fused to a six-membered dihydrothiazine ring, resists staphylococcal penicillinase, so it covers methicillin-sensitive S. aureus.

## Pharmacology

- **Antimicrobial:** streptococci and methicillin-sensitive S. aureus; E. coli, Klebsiella and Proteus mirabilis; not enterococci or MRSA
- **GI:** diarrhea, nausea and dyspepsia; C. difficile can follow (label)
- **Integumentary:** rash and urticaria; serious skin reactions are rare (label)
- **Hematologic:** positive direct Coombs test (label)

## Pharmacokinetics

|  |  |
| --- | --- |
| Peak | About 1 h; 18 mcg/mL after 500 mg (label) |
| Half-life | About 1 h; longer in kidney failure |
| Bioavailability | About 90%; food delays but does not reduce absorption |
| Distribution | 10–15% protein-bound; poor CSF penetration |
| Metabolism | Not metabolized |
| Elimination | Unchanged in urine by filtration and tubular secretion (label), over 90% in 8 h |
| Kidney function | CrCl 15–29: 250 mg every 8–12 h; 5–14: 250 mg every 24 h; 1–4: 250 mg every 48–60 h (label) |

## Chemistry

- 7-(D-α-amino-α-phenylacetamido)-3-methyl-3-cephem-4-carboxylic acid monohydrate, C₁₆H₁₇N₃O₄S·H₂O, MW 365.4
- The cephalosporin with ampicillin's side chain; first-generation cephalosporins with a similar side chain are the ones most likely to cross-react with penicillin allergy
- Capsules 250, 500 and 750 mg; tablets; suspension 125 and 250 mg/5 mL

## Adverse effects and cautions

**Safety**

- Contraindicated with known cephalosporin allergy (label); avoid with a history of penicillin anaphylaxis, and prefer it only for nonsevere penicillin reactions
- C. difficile diarrhea (label)
- Seizures with high doses in kidney impairment when the dose is not reduced (label)
- [Metformin](https://npbasics.com/drugs/metformin.html) levels rise (shared tubular secretion); probenecid raises cephalexin (label)
- False-positive urine glucose by copper reduction tests (label)

## In the study sheets

- [**Dermatology Primary Care** Skin infections (IDSA): Nonpurulent cellulitis, no systemic signs: Cover streptococci: cephalexin or penicillin VK; 5 days](https://npbasics.com/sheets/np-dermatology.html)
- [**HEENT Primary Care** Sore throat and strep: Penicillin allergy: cephalexin or cefadroxil if the reaction was not immediate-type; otherwise clindamycin or clarithromycin for 10 days, or azithromycin for 5 days.](https://npbasics.com/sheets/np-heent.html)
- [**Pharmacology by Class: Primary Care** Antibiotics, with pregnancy cautions: Cephalosporins (cephalexin): Cross-reactivity in up to 10% with penicillin allergy (label); C. difficile: No drug-related risk identified](https://npbasics.com/sheets/np-pharmacology-by-class.html)
- [**Genitourinary, Renal and Men's Health** Febrile UTI in infants and young children: Treatment: oral antibiotics work as well as IV for pyelonephritis in children (Cochrane review cited by AFP 2020). The 2026 guideline, as summarized by the AAP and reported by Healio, favors a course of 7 days or fewer for most children, tailored to age, severity and response, with longer courses for infants, higher-risk children and those not improving.](https://npbasics.com/sheets/np-gu-renal.html)

[Practice Dermatology Primary Care questions](https://npbasics.com/app/?from=/drugs/cephalexin.html#/topic/np-dermatology) 36 questions on the topic where Cephalexin comes up most. Every answer choice explained.

## Other antibiotic drugs

- [Vancomycin](https://npbasics.com/drugs/vancomycin.html)
- [Amoxicillin](https://npbasics.com/drugs/amoxicillin.html)
- [Amoxicillin-clavulanate](https://npbasics.com/drugs/amoxicillin-clavulanate.html)
- [Azithromycin](https://npbasics.com/drugs/azithromycin.html)
- [Doxycycline](https://npbasics.com/drugs/doxycycline.html)
- [Trimethoprim-sulfamethoxazole](https://npbasics.com/drugs/tmp-smx.html)
- [Nitrofurantoin](https://npbasics.com/drugs/nitrofurantoin.html)
- [Ciprofloxacin](https://npbasics.com/drugs/ciprofloxacin.html)
- [Metronidazole](https://npbasics.com/drugs/metronidazole.html)

[Open the web app](https://npbasics.com/app/?from=/drugs/cephalexin.html) 600+ practice questions. Every answer choice explained. No ads. Also on the [App Store](https://apps.apple.com/app/id6838107756) and [Google Play](https://play.google.com/store/apps/details?id=com.alex.npbasics).

## Sources

1. [FDA label: cephalexin capsules (2026)](https://dailymed.nlm.nih.gov/dailymed/search.cfm?labeltype=all&query=cephalexin)
2. [IDSA skin and soft tissue infection guideline (2014)](https://pubmed.ncbi.nlm.nih.gov/24973422/)
3. [IDSA group A strep pharyngitis guideline (2012)](https://pubmed.ncbi.nlm.nih.gov/22965026/)

For education and exam preparation only. Follow your institution’s protocols. Typical adult values for study. Follow the order, the label and your institution's protocols.
