Prescription required First-generation cephalosporin antibiotic

Buy Cephalexin (Keflex) — Online Prescription

Cephalexin is one of the most familiar antibiotics in the US, used mostly for skin infections, strep throat in people allergic to penicillin, and some urinary infections. Here's what it treats and what it doesn't, the doses guidelines actually use, what a penicillin allergy means for you, the side effects to watch, and why the form your prescription is written for can change the price more than tenfold.

Medically reviewed Medically reviewed by Sabrina Griswold, Pharm.D. — NPI 1821451063 · Last updated 2026-11-20

Medical disclaimer This page is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or pharmacist before starting, stopping, or changing any medication. Never disregard professional medical advice or delay seeking it because of something you have read on this site.
Active ingredientCephalexin
Dosage formCapsule (250 mg, 500 mg, 750 mg); tablet (250 mg, 500 mg); oral suspension (125 mg/5 mL, 250 mg/5 mL)
Administration routeOral
FDA Drug Facts — Cephalexin

Indications: 1 INDICATIONS AND USAGE Cephalexin is a cephalosporin antibacterial drug indicated for the treatment of the following infections caused by susceptible isolates of designated bacteria: Respiratory tract infection ( 1.1 ) Otitis media ( 1.2 ) Skin and skin structure infections ( 1.3 ) Bone infections ( 1.4 ) Genitourinary tract infections ( 1.5 ) To reduce the development of drug-resistant bacteria and maintain the effectiveness of cephalexin capsules and other antibacterial drugs, cephalexin caps…

Contraindications: 4 CONTRAINDICATIONS Cephalexin capsules are contraindicated in patients with known hypersensitivity to cephalexin or other members of the cephalosporin class of antibacterial drugs. Patients with known hypersensitivity to cephalexin or other members of the cephalosporin class of antibacterial drugs. ( 4 )

Excerpted from the FDA-approved prescribing information. Read the full label on Drugs@FDA →

openFDA label data — Updated 2026-11-20
Quick answer

Cephalexin (brand Keflex) is a prescription antibiotic for skin infections, strep throat, ear, urinary, bone and dental infections caused by susceptible bacteria. A typical adult dose is 500 mg two to four times a day for 5 to 10 days, depending on the infection. It isn't a penicillin, and most people with a penicillin allergy label can take it. It doesn't cover MRSA or viruses. Generic capsules cost a pharmacy about 11 cents each, so a full course is a few dollars at cost. Ask for capsules, because tablets and 750 mg capsules cost many times more.

$0.11Pharmacy cost of one generic 500 mg capsule (CMS NADAC, November 2026)
12×Price difference: a 500 mg tablet costs pharmacies $1.30 vs. $0.11 for the capsule
~10%Of Americans report a penicillin allergy; most of them tolerate penicillin (CDC)

What cephalexin treats (and doesn't)

Cephalexin kills bacteria by breaking down their cell walls. It's a first-generation cephalosporin: strongest against the streptococcus and staphylococcus bacteria that live on skin and in the throat, with some activity against common urinary bacteria. Over 90% of a dose leaves the body unchanged in the urine within 8 hours, which is why it reaches high levels in the bladder.

InfectionLabelWhere it fits
Cellulitis, impetigo, infected woundsApprovedA first choice for cellulitis without pus (IDSA 2014)
Strep throatApproved (respiratory)For penicillin-allergic patients without a severe reaction (IDSA 2012); penicillin or amoxicillin first otherwise
Ear infection (otitis media)ApprovedAmoxicillin is usually first; cephalexin is an alternative
Urinary tract infection, prostatitisApprovedAn alternative when first-line UTI drugs can't be used; common in pregnancy
Bone infectionApprovedUsually after IV treatment, guided by culture
Dental infectionOff-labelADA 2019: for penicillin-allergic patients without a severe reaction, and only with fever, swelling or other signs of spreading
Sinus infection, bronchitisNot a good fitMost are viral; for bacterial sinusitis, amoxicillin-clavulanate is preferred
Abscess or boil with pus, suspected MRSANot a good fitNeeds draining; cephalexin doesn't cover MRSA
  • Not for viruses. Colds, flu, COVID, most sore throats and most bronchitis get no benefit, only side effects.
  • Not for MRSA. Methicillin-resistant staph and most enterococci are resistant, per the label.
  • Not over the counter. No antibiotic pill is sold without a prescription in the US. See which antibiotics you can get without a prescription.

Dosage chart by infection

The label gives a general adult dose of 250 mg every 6 hours, or 500 mg every 12 hours, for 7 to 14 days, up to 4 g a day for severe infections. Guidelines are more specific. Cephalexin can be taken with or without food.

InfectionCommon adult regimenCapsules per courseBasis
Cellulitis (no pus)500 mg 4 times a day for 5 days, longer if not improving20 × 500 mgIDSA 2014
Strep throat (penicillin allergy)20 mg/kg twice a day, max 500 mg per dose, for 10 days20 × 500 mg (adult)IDSA 2012
Urinary tract infection500 mg every 12 hours, typically 5–7 days10–14 × 500 mgFDA label
Dental infection (penicillin allergy)500 mg 4 times a day for 3–7 days12–28 × 500 mgADA 2019
Children (over 1 year)25–50 mg/kg a day in divided doses; 75–100 mg/kg a day for ear infectionsLiquid, by weightFDA label

Kidney disease: no change down to a creatinine clearance of 30, though the daily maximum is 1 g at 30–59. Below 30, the label drops to 250 mg every 8–12 hours, and lower still near kidney failure. High doses in people with poor kidney function can trigger seizures.

Missed a dose? Take it when you remember, unless the next one is almost due. Don't double up. Finish the course even when you feel better.

Penicillin allergy and cephalexin

This is the most common question at the pharmacy counter about cephalexin. Penicillins and cephalosporins are both beta-lactams, so the label warns that cross-reactions may occur in up to 10% of people with a penicillin allergy history. Newer data put the real risk much lower:

  • Most "penicillin allergies" aren't. About 10% of Americans report one, and the majority can take penicillin without a problem, per the CDC.
  • True cross-reactivity is low. For people with a confirmed immediate (IgE) penicillin allergy, the CDC cites 1–8% with first- and second-generation cephalosporins such as cephalexin, and under 1% with third-generation ones.
  • Side chains matter more than the drug family. Cephalexin's side chain is similar to that of amoxicillin and ampicillin. Someone whose reaction was to amoxicillin has a higher chance of reacting to cephalexin than to a cephalosporin with a different side chain.
  • Allergy guidance (AAAAI/ACAAI 2022) supports giving cephalosporins to most people whose penicillin reaction wasn't anaphylaxis, and choosing one with a different side chain, or testing first, after a severe reaction.
What happened when you took penicillin or amoxicillin?
A rash days later, stomach upset, or you don't remember
Cephalexin is usually fineTell your prescriber and pharmacist what happened. Ask about allergy testing too: removing a wrong label opens up cheaper, better antibiotics later.
Hives, swelling or trouble breathing within an hour
Ask before taking itYour prescriber may choose a cephalosporin with a different side chain, a non-beta-lactam, or refer you for testing.
Blistering, peeling skin or organ involvement
Avoid beta-lactamsSevere delayed reactions (SJS/TEN, DRESS) rule out the whole group unless an allergist says otherwise.

Side effects and interactions

The label names diarrhea as the most frequent side effect, followed by nausea, vomiting, indigestion and stomach pain. Other listed effects include genital itching, vaginal yeast infections, dizziness, tiredness and headache.

  • Allergic reaction: hives, swelling of the face or throat, or trouble breathing. Stop and get emergency care.
  • Severe skin reaction: a blistering or peeling rash, or sores in the mouth. Stop and call right away.
  • C. difficile diarrhea: watery or bloody diarrhea, even up to two months after the course. Call your doctor; don't take loperamide on your own.
  • Seizures are rare, mostly with high doses in kidney disease.
Interacts withWhat happensWhat to do
MetforminMetformin levels rose 34% (peak) and 24% (overall) after one dose of eachWatch blood sugar; your prescriber may adjust metformin
ProbenecidBlocks cephalexin's removal by the kidneysNot recommended together
Urine glucose tests (Benedict's, Fehling's, Clinitest)False-positive sugar resultUse a glucose-oxidase strip or a blood glucose meter
AlcoholNo label interactionKeep it light while you're sick. See the antibiotics and alcohol checker

Pregnancy and breastfeeding: decades of use in pregnancy haven't shown a link to birth defects, miscarriage or harm to the baby, per the label. In breast milk the infant gets under 1% of the mother's weight-adjusted dose.

Cephalexin vs. amoxicillin and other options

Cephalosporin, 1st generation

Cephalexin

Best for
Cellulitis, staph and strep skin infections, penicillin-allergic strep throat
Doses a day
2–4
Covers staph (MSSA)
Yes
500 mg course at cost
About $2.22 (20 capsules)
Penicillin

Amoxicillin

Best for
Strep throat, ear and sinus infections, dental infections
Doses a day
2–3
Covers staph (MSSA)
No, most staph destroy it
500 mg course at cost
About $2.33 (30 capsules)

The practical difference is staph: most staph bacteria make an enzyme that destroys amoxicillin, but not cephalexin, which is why cephalexin is the usual pick for skin infections. For throats, ears and teeth, amoxicillin is generally first. Combination amoxicillin-clavulanate (Augmentin) covers both, at a higher price and with more diarrhea. For people who can't take either, doxycycline, clindamycin or azithromycin may be used, depending on the infection. Compare more in amoxicillin vs. azithromycin. For urinary and prostate infections caused by gram-negative bacteria, ciprofloxacin reaches higher levels and covers more germs, but carries a boxed warning for tendon and nerve damage.

Price: capsules vs. tablets

Generic cephalexin is one of the cheapest antibiotics a pharmacy stocks, but only in the right form. NADAC (what pharmacies pay, November 18, 2026) shows big gaps between forms of the same drug:

Pharmacy cost of a 7-day course, 500 mg twice a day14 doses, generic cephalexin, CMS NADAC November 18, 2026
500 mg capsules
$1.55
500 mg tablets
$18.20
750 mg dose: 750 mg capsules
$72.77
750 mg dose: 500 + 250 mg capsules
$2.83

Per unit: 500 mg capsule $0.111, 250 mg capsule $0.091, 500 mg tablet $1.30, 750 mg capsule $5.20. Liquid 250 mg/5 mL: about 5 to 7 cents per mL. Retail and coupon prices are higher than these costs.

  • Ask for capsules. If a prescription says tablets or 750 mg capsules and there's no reason you need them, ask your prescriber or us about switching to the same dose in standard capsules.
  • Compare a discount card with your copay. For a cheap generic, the GoodRx or SingleCare price is often lower than an insurance copay. Arrow Pharmacy accepts both. See how discount cards work and our antibiotic price list.
  • Getting a prescription. A doctor, urgent care or telehealth visit can prescribe cephalexin; they'll want to see the skin infection or test for strep. Prescriptions can be sent to us electronically.
Fill it at Arrow Pharmacy

Have your prescriber send cephalexin to Arrow Pharmacy in Hartford, or call us to transfer it. We'll fill capsules when they match your dose, check your coverage against a discount card price, and go over your allergy history before the first dose.

FDA drug shortage status

No active shortage reported — No shortage records found for this generic name.

FDA openFDA — Updated 2026-11-20
Fair price reference

National Average Drug Acquisition Cost (NADAC): $0.111 per capsule (CEPHALEXIN 500 MG CAPSULE). This is the average price pharmacies pay wholesalers — not your out-of-pocket cost — published by CMS for pricing transparency.

CMS NADAC — Updated 2026-11-20

Cephalexin (Keflex) Prices in the USA

These are estimated average US retail cash prices — not insurance copays, not coupon prices, and not a quote from Arrow Pharmacy. Actual cost varies significantly by pharmacy, region, quantity, and insurance. All Keflex brand products are listed as discontinued by the FDA, so every fill is generic. Generic cephalexin costs pharmacies about 11 cents per 500 mg capsule, but $1.30 per 500 mg tablet and $5.20 per 750 mg capsule (CMS NADAC, November 18, 2026), so ask for capsules. Arrow Pharmacy accepts GoodRx and SingleCare cards. Call us at (860) 522-9289 for a current price.

Dosage Brand-name avg. price Generic avg. price
500 mg capsules (20, a 5-day skin course) Keflex brand discontinued $8–30
500 mg capsules (40) Keflex brand discontinued $10–40
250 mg capsules (40) Keflex brand discontinued $8–25
250 mg/5 mL suspension (200 mL) Keflex brand discontinued $15–40
Average market pricing — Updated 2026-11-20

Frequently asked questions

What is cephalexin 500 mg used for?

Bacterial infections of the skin (cellulitis, infected cuts, impetigo), strep throat in people allergic to penicillin, ear infections, some urinary tract and bone infections, and dental infections in people who can't take amoxicillin. It doesn't treat viruses such as colds, flu, most sore throats or most sinus infections, and it doesn't work against MRSA.

Is cephalexin 500 mg a strong antibiotic?

It's a narrow-spectrum, first-generation cephalosporin, which is a strength, not a weakness: it reliably kills the strep and staph bacteria that cause most skin infections while sparing more of your normal gut bacteria than broad-spectrum drugs. It isn't the right choice for MRSA, Pseudomonas or many hospital-type infections, so "strong" depends on the bug, not the milligrams.

How many times a day do you take cephalexin 500 mg?

Usually 2 to 4 times a day, depending on the infection. The label allows 250 mg every 6 hours or 500 mg every 12 hours, up to 4 g a day for severe infections. The IDSA skin-infection guideline uses 500 mg four times a day for cellulitis, and strep throat is treated twice a day for 10 days. Follow the schedule on your prescription label and space doses evenly.

Does cephalexin treat a UTI?

It can, if the bacteria are susceptible. The label covers urinary tract infections caused by E. coli, Proteus mirabilis and Klebsiella. Guidelines don't list it as a first choice for a simple bladder infection; nitrofurantoin, fosfomycin or trimethoprim-sulfamethoxazole usually come first, and cephalexin is a common alternative, especially in pregnancy. A urine culture tells whether it will work.

Can cephalexin treat strep throat?

Yes. For people allergic to penicillin who did not have an immediate, severe reaction, the IDSA strep guideline recommends cephalexin 20 mg/kg per dose twice a day (maximum 500 mg per dose) for 10 days. Finish all 10 days even when the throat feels better in 1 to 2 days; that's what prevents rheumatic fever.

Is cephalexin a penicillin? Can I take it if I'm allergic to penicillin?

No, it's a cephalosporin, a related beta-lactam antibiotic. Most people with a penicillin allergy label can take it: about 10% of Americans report a penicillin allergy, and most of them actually tolerate penicillin, per the CDC. If your reaction was immediate and severe (anaphylaxis, throat swelling, hives within an hour), tell your prescriber; cephalexin shares a side chain with amoxicillin and ampicillin, so another drug or allergy testing may be safer.

Is cephalexin a sulfa drug?

No. Cephalexin contains no sulfonamide. A sulfa allergy (for example to Bactrim) is not a reason to avoid it.

Can you drink alcohol while taking cephalexin?

The label lists no interaction between cephalexin and alcohol, and it doesn't cause the disulfiram-type reaction seen with metronidazole. Alcohol can still worsen stomach upset and dehydration while you're fighting an infection, so keep it light. See our antibiotics and alcohol checker for other drugs.

How long does it take for cephalexin to work?

Most people feel better within 48 to 72 hours. With cellulitis, redness can look the same or even spread a little during the first day before it starts shrinking. Call your prescriber if you aren't improving after 2 to 3 days, if redness spreads quickly, or if you develop a fever. Keep taking every dose until the course is done.

Can cephalexin cause a yeast infection or diarrhea?

Yes. Diarrhea is the most common side effect on the label, and genital yeast infections and vaginitis are listed too, because antibiotics disturb normal bacteria. Watery diarrhea that is severe, bloody, or starts weeks after the course can be C. difficile infection and needs a call to your doctor.

Is cephalexin safe during pregnancy and breastfeeding?

Decades of use in pregnancy have not shown a link to birth defects, miscarriage or other harm, per the label, and it's commonly used for urinary infections in pregnancy. It passes into breast milk in small amounts (an infant dose under 1% of the mother's weight-adjusted dose). Watch a breastfed baby for diarrhea or diaper rash.

Does cephalexin interact with other medicines?

The label lists two: metformin (cephalexin raised metformin levels about 24 to 34% in a study, so watch blood sugar) and probenecid (raises cephalexin levels; not recommended together). It can also cause a false-positive urine sugar result on older copper-based tests. Tell the pharmacist about everything you take.

What is the brand name of cephalexin?

Keflex. The FDA lists every Keflex product as discontinued (not for safety reasons), so prescriptions written for Keflex are filled with generic cephalexin, which has the same active ingredient and FDA standards.

Sources (8)

  1. Cephalexin capsules: prescribing information (Teva, dosage section revised July 2026) — DailyMed / U.S. National Library of Medicine
  2. Stevens DL et al. Practice guidelines for the diagnosis and management of skin and soft tissue infections: 2014 update by the IDSA. Clin Infect Dis 2014 — Infectious Diseases Society of America / PubMed
  3. Shulman ST et al. Clinical practice guideline for the diagnosis and management of group A streptococcal pharyngitis: 2012 update by the IDSA. Clin Infect Dis 2012 — Infectious Diseases Society of America / PubMed
  4. Lockhart PB et al. Evidence-based clinical practice guideline on antibiotic use for the urgent management of pulpal- and periapical-related dental pain and intraoral swelling. J Am Dent Assoc 2019 — American Dental Association / PubMed
  5. Khan DA et al. Drug allergy: A 2022 practice parameter update. J Allergy Clin Immunol 2022 — AAAAI / ACAAI / PubMed
  6. Sexually Transmitted Infections Treatment Guidelines, 2021: Management of Persons Who Have a History of Penicillin Allergy — Centers for Disease Control and Prevention
  7. Drugs@FDA record for Keflex capsules (NDA 050405): all strengths discontinued, not for safety or effectiveness reasons — U.S. Food and Drug Administration (openFDA)
  8. National Average Drug Acquisition Cost (NADAC), survey effective November 18, 2026 — CMS
Call (860) 522-9289 Refill online