Cefalexin
Also called Cephalexin
First-generation oral cephalosporin.
- Starts working
- Varies
- Half-life
- About 1 hour
- In use since
- 1967
- Pregnancy
- Generally considered safe
Overview
Cefalexin is an oral cephalosporin for skin, urinary and bone infections. It is often used in pregnancy and for people with mild (non-severe) penicillin allergy.
Conditions it's used for
How it works
Destroys bacterial cell walls, like penicillin.
Cefalexin belongs to the Cephalosporins (part of the Beta-lactams family). How Cephalosporins work: like penicillins, they block cell-wall building enzymes; their structure resists some bacterial enzymes that destroy penicillin.
Uses
- Skin and soft tissue infections
- Urinary tract infections
- Bone infections
- Strep throat (penicillin alternative)
Available as: capsule, tablet, oral suspension.
Typical dose
- Adults
- 250–500 mg every 6 hours, or 500 mg–1 g every 8–12 hours.
Typical doses for orientation only. Your prescription, the pack leaflet and local guidance take priority.
Side effects
Common
Often mild and may settle with time
- Diarrhoea
- Nausea
- Indigestion
Serious — get medical help
Uncommon, but need prompt attention
- Anaphylaxis
- C. difficile diarrhoea
Warnings
- Avoid if you've had a severe reaction (anaphylaxis) to penicillin
- Reduce dose in kidney disease
Who should avoid it
- Allergy to cephalosporins or severe allergy to penicillins
Interactions
- Metformin — slightly higher levels
- Probenecid — higher cefalexin levels
Using it safely
- Alcohol
- Usually no problem in moderation. No direct interaction.
- Food and drink
- With or without food.
- If you miss a dose
- Take it when you remember unless close to the next dose. Do not double up.
- Stopping it
- Complete the course unless told otherwise.
- Driving
- No effect.
- Tests and checks
- Kidney function in severe illness
- If too much is taken
- Nausea, vomiting, diarrhoea. Seek advice for large amounts.
- Storage
- Room temperature; refrigerate prepared suspension.
- Legal status
- United States: Prescription onlyUnited Kingdom: Prescription-only medicine (POM)India: Schedule HAustralia: Prescription only (Schedule 4)
Pregnancy and breastfeeding
Pregnancy
Generally considered safe
Commonly used for urinary infections in pregnancy.
Breastfeeding
Generally considered safe
Considered safe.
Special groups
- Kidney disease
- Reduce the dose in significant impairment.
- Liver disease
- Generally safe.
- Older adults
- Reduce the dose if kidney function is low.
Brand names
- United States
- Keflex
- United Kingdom
- Keflex
- India
- Sporidex, Phexin
- Australia
- Keflex, Ialex
Examples only; many generic versions exist. The same brand name can mean different products in different countries.
Common questions
Can I take it if I'm allergic to penicillin?
Cross-reaction is only about 1–2%, so it's often used for mild penicillin allergy — but not if you had anaphylaxis.
Do I need a prescription for Cefalexin?
Yes — Cefalexin is prescription-only in most countries.
Can I take Cefalexin during pregnancy?
Generally considered safe. Commonly used for urinary infections in pregnancy. Always check with a doctor or midwife.
Related medicines
Amoxicillin
The most-prescribed antibiotic worldwide.
RxWHOPenicillinsFlucloxacillin
Penicillin for staph skin and bone infections.
RxPenicillinsCeftriaxone
Once-a-day injectable antibiotic for serious infections.
RxWHOCephalosporinsCefazolin
Injectable cephalosporin used for surgery and serious infections.
RxWHOCephalosporinsCefepime
Fourth-generation cephalosporin for serious hospital infections.
RxCephalosporinsCefixime
Oral third-generation cephalosporin.
RxWHOCephalosporins
Sources and official information
- MedlinePlus (US National Library of Medicine)
- DailyMed — official US labels
- NHS medicines A–Z
- WHO ATC/DDD index — J01DB01
- WHO Model List of Essential Medicines
Entry last reviewed October 2026. Compiled from WHO, NHS, FDA/DailyMed, BNF and national formulary information. How we write entries.