Cephalexin
InfectionsAlso known as Keflex
International (WHO) name: cefalexin · Traveling?
Tablets, capsules, and films · Liquids and suspensions
Cephalexin is a cephalosporin antibiotic often used for skin infections, urinary tract infections, strep throat, and bone infections. It's a close cousin of penicillin, so if you've ever reacted to penicillin, your doctor needs to know — a small number of people react to both. It only kills bacteria, so it won't help with viruses.
How to take it
When
Space doses evenly through the day, exactly as prescribed.
Food
Works with or without food. A meal can settle your stomach if it bothers you.
Avoid
Tell your doctor about any penicillin allergy before starting — some people react to both.
Finish it
Take the full course, even when you feel better. Stopping early can bring the infection back.
Missed a dose?
Take it as soon as you remember. If your next dose is coming up soon, skip the missed one and stay on schedule. Never double up.
Cephalexin side effects
- Diarrhea
- Nausea or upset stomach
- Headache
- Yeast infections
Call a doctor if
- Trouble breathing, swelling of the face or throat, or hives — this can be a serious allergic reaction. Get emergency help now.
- Severe watery or bloody diarrhea, during treatment or even weeks after — this can be a serious gut infection (C. diff). Call your doctor; don't just take anti-diarrhea medicine.
- A widespread rash, blistering, or peeling skin — stop and call your doctor right away.
- Very dark urine or much less urine than usual.
No FDA recalls or shortages found for cephalexin in the past 12 months, as of November 18, 2026. How we track recalls and shortages
Traveling with Cephalexin
- Its international generic name, set by the World Health Organization, is cefalexin. If a pharmacist abroad doesn't recognize "cephalexin", ask for cefalexin.
- In the UK, the NHS lists the brand name Keflex.
- Brand names change from country to country, and a familiar brand name abroad can contain different ingredients or a different medicine. Ask by the generic name, and read the active ingredients on anything you buy.
What it costs
Generic available$ Low cost
What U.S. pharmacies pay per pill, on average:
- Generic cephalexinfrom about 9¢ a pill
Some versions or strengths cost more. Costs shown are for pills; liquids are priced differently.
That's the pharmacy's cost, not your price. Paying cash, you'll pay more — the pharmacy adds its markup and fees. With insurance, you pay your plan's copay. Prices for the same prescription vary a lot between pharmacies, so compare before you fill it.
Source: NADAC, a weekly survey of pharmacy costs by the Centers for Medicare & Medicaid Services, updated November 25, 2026. How we show costs
Sources
- MedlinePlus (U.S. National Library of Medicine): Cephalexin
- FDA label search (DailyMed)
- World Health Organization: International Nonproprietary Names (INN)
- WHO Collaborating Centre for Drug Statistics Methodology: ATC/DDD Index (used to look up the WHO names)
- NHS: Cefalexin
- CDC Travelers' Health: Traveling Abroad with Medicine
Last updated October 20, 2026. Not yet reviewed by a pharmacist or physician — how our guides are made.