Skip to main content
Cephalexin Coupon - Cephalexin 500mg capsule

cephalexin

Generic Keflex
Used for Bacterial Infection, Ear Infection, Lower Respiratory Infection, Skin Infection, Upper Respiratory Infection, Urinary Tract Infection

Cephalexin, also commonly known as Keflex, is a cephalosporin antibiotic for people ages 1 year and older. It can treat many types of bacterial infections. This includes ear infections, skin infections like cellulitis, urinary tract infections (UTIs), and strep throat. Cephalexin comes as capsules, tablets, and a liquid suspension. It's taken by mouth 2 to 4 times per day. Side effects can include nausea, vomiting, and diarrhea. Cephalexin is a generic medication; its brand name Keflex is no longer available.

Reviewed by:Last reviewed on February 2, 2026
basics-icon

What is Cephalexin?

What is Cephalexin used for?

How Cephalexin works

Cephalexin is a type of cephalosporin antibiotic. It works by stopping bacteria from making a protective covering around themselves. This kills the bacteria and helps treat the infection.

When does Cephalexin start working?Time passed since treatment started:
HOURS
DAYS
Full effect
WEEKS
MONTHS

Drug facts

Common BrandsKeflex(brand name no longer available)
Drug ClassCephalosporin antibiotic
Controlled Substance ClassificationNot a controlled medication
Generic StatusLower-cost generic available
AvailabilityPrescription only
side-effects-icon

Side effects of Cephalexin

The following side effects may get better over time as your body gets used to the medication. Let your healthcare provider know immediately if you continue to experience these symptoms or if they worsen over time.

Common Side Effects

  • Diarrhea
  • Nausea
  • Vomiting
  • Indigestion
  • Stomach pain

Less Common Side Effects

Cephalexin serious side effects

Contact your healthcare provider immediately if you experience any of the following.

  • Allergic reactions: hives; rash; blisters; peeling skin; swelling of the lips, tongue, or face; trouble breathing
  • Infectious diarrhea (C. difficile-related diarrhea): fever, nausea, foul-smelling diarrhea, frequent bowel movements (up to 15 times per day)
When do Cephalexin possible side effects begin and end?
Time passed since treatment started:
M
H
D
W
M
Diarrhea
Nausea or vomiting
Indigestion
Stomach pain

Source: DailyMed

The following Cephalexin side effects have also been reported

Side effects that you should report to your care team as soon as possible:

Side effects that usually do not require medical attention (report these to your care team if they continue or are bothersome):

prices-container

Get your GoodRx coupon

Avg retail price
$57.66(Save 82.73%)
GoodRx discount
$9.96
See prices
pros-and-cons-icon

Pros and cons of Cephalexin

Pros

  • Treats several common types of bacterial infections
  • Okay for children as young as 1 year old to take
  • Available as a liquid for people who have trouble swallowing pills

Cons

  • Usually need to take a few times per day
  • Might not be able to take if you're allergic to penicillins or other cephalosporin antibiotics
  • Not recommended for the cold or flu (these are viral illnesses, not bacterial infections)
pharmacist-tips-icon

Pharmacist tips for Cephalexin

pharmacist
  • Take cephalexin exactly the way your prescriber tells you. Keep taking it until you finish the full course of treatment, even if you feel better. Stopping too early can make your infection come back and be harder to treat.
  • You can take cephalexin with or without food. If it makes your stomach upset, you can try taking it with food next time to see if that helps. Avoid spicy or acidic foods, though, because these can make stomach upset more likely.
  • Swallow the cephalexin tablet or capsule whole. Don't crush or chew it because this could damage the medication. If you have trouble swallowing pills whole, ask your prescriber to switch you to the cephalexin liquid suspension.
  • Cephalexin can cause mild diarrhea that usually goes away after you stop taking it. But watch for more severe or unusual diarrhea. Get medical help right away if you have watery or bloody diarrhea, diarrhea many times a day, fever, or stomach cramps during or after treatment. These can be signs of serious infectious diarrhea that needs to be treated quickly.
  • Get medical help as soon as possible if you have a rash, itchy or peeling skin, trouble breathing, or swelling in your face or mouth. These could be signs of a severe allergic reaction to cephalexin.
  • It's best to avoid drinking alcohol while taking cephalexin. Alcohol can make side effects like nausea and vomiting worse. Drinking alcohol while sick might make it harder for you to get better too. Talk to your prescriber or care team about your drinking habits and how to take this antibiotic safely.
  • Let your prescriber or the urgent care team know that you're pregnant. Cephalexin is generally considered safe to take while pregnant. But it's always a good idea to discuss the risks and benefits of taking the antibiotic with your care team first.
  • Tell your prescriber or the urgent care team if you're breastfeeding. Cephalexin is usually a safe antibiotic to take while breastfeeding. Small amounts can pass into breast milk, but it doesn't seem to cause serious harm to babies. Talk to your care team if you have concerns about breastfeeding while taking cephalexin.

For the cephalexin liquid suspension:

  • The pharmacist will prepare the cephalexin liquid when you pick it up from the pharmacy. They'll also give you medication dose cups or oral syringes to use to measure out the dose.
  • Shake the cephalexin liquid bottle well before measuring out the dose. This makes sure the medication is mixed evenly before you take it.
  • Use a dosing cup or oral syringe to measure out the cephalexin liquid. Don't use kitchen spoons because they aren't accurate and using them might cause you to take the wrong dose.
  • Store the cephalexin liquid suspension in the refrigerator for up to 14 days. After 14 days, throw away the bottle, even if there's still some medication left.
educational-icon

How to save using GoodRx

Compare Prices
1. Compare PricesSpecify your dosage and quantity to find out exactly how much you can save.
Select your free coupon
2. Select your free couponYou can use the displayed coupon, or compare prices at other pharmacies near you.
Show coupon to your pharmacist
3. Show coupon to your pharmacistPresent your printed or electronic coupon when you pick up your prescription.
Get free couponLearn more
warnings-icon

Risks and warnings for Cephalexin

Cephalexin can cause some serious health issues. This risk may be even higher for certain groups. If this worries you, talk to your doctor or pharmacist about other options.

Allergic reactions

  • Risk factors: Allergy to penicillin or other cephalosporin antibiotics

Some people can have allergic reactions to cephalexin. Mild reactions can include a rash or hives. More serious, life-threatening reactions can include blisters, peeling skin, swelling of the face, and anaphylaxis.

Tell your healthcare team if you're allergic to any antibiotics, especially penicillins or other cephalosporins. They can make sure cephalexin is safe for you.

Get medical help right away if you have a rash, hives, red or peeling skin, swelling of the lips or tongue, or trouble breathing after taking cephalexin. These can be signs of an allergic reaction.

Diarrhea from Clostridioides difficile infection

Antibiotics including cephalexin can change the normal bacteria in your gut. This can let harmful bacteria called Clostridioides difficile (C. diff) grow too much and cause a serious infection. This infection can lead to severe diarrhea, even up to 2 months after you stop the antibiotic.

It's important to know the difference between mild diarrhea from cephalexin and serious diarrhea from C. diff. Signs of a C. diff infection include fever, nausea, foul-smelling diarrhea, and frequent bowel movements. Get medical help right away if you have any signs of this infectious diarrhea. This can be a medical emergency and should get treated as soon as possible.

Seizures

  • Risk factors: Kidney problems | Taking high doses of cephalexin

Cephalexin might raise your risk of seizures, especially when the dose is too high. You also might be at risk if you have kidney problems and the cephalexin dose isn't lowered enough for you. When the kidneys don't work well, the medication can build up in the body and raise the risk of side effects, including seizures.

Tell your prescriber or the urgent care team if you've had seizures or if you have kidney problems. They can make sure that cephalexin is safe for you. If you have a seizure while taking this medication, get medical help right away.

Higher risk of bleeding

  • Risk factors: Kidney problems | Liver problems | Poor nutrition | Taking blood-thinning medications

Cephalexin might raise your risk of bleeding. The risk might be higher if you have kidney problems, liver problems, or poor nutrition. It's also higher if you take an anticoagulant (blood thinner).

Talk to your prescriber or the urgent care team about your bleeding risk before taking cephalexin. If you take a blood thinner, the prescriber might ask you to follow up with the specialist who manages that medication for you. Watch for signs of bleeding, like easy bleeding or bruising or blood in your urine or stool. If this happens, tell your prescriber.

Possible development of drug-resistant bacteria

Take cephalexin exactly as your prescriber told you. Don't take it for a shorter or longer time, and don't take it for other illnesses. Otherwise, it can raise your risk of developing infections caused by drug-resistant bacteria. These infections can be very serious and harder to treat.

dosage-icon

Cephalexin dosage

The average cost for 28 capsules of 500mg of Cephalexin is $9.96 with a free GoodRx coupon. This is 82.73% off the average retail price of $57.66.
bottle of oral suspensionBottle of oral suspension
DosageQuantityPrice as low asPrice per unit
200ml of 125mg/5ml1 bottle$13.11$13.11
100ml of 125mg/5ml1 bottle$11.08$11.08
200ml of 250mg/5ml1 bottle$18.98$18.98
100ml of 250mg/5ml1 bottle$12.97$12.97
capsuleCapsule
DosageQuantityPrice as low asPrice per unit
250mg28 capsules$10.31$0.37
500mg28 capsules$9.96$0.36
750mg14 capsules$39.10$2.79
tabletTablet
DosageQuantityPrice as low asPrice per unit
250mg30 tablets$30.52$1.02
500mg14 tablets$28.98$2.07

Typical dosage for Cephalexin

  • Ages 15 years and older: The typical dose is 250 mg by mouth every 6 hours. Another option is 500 mg by mouth every 12 hours. For more severe infections, you might need a higher dose (up to a total of 4 grams per day, split into 2 to 4 doses). Treatment often lasts for 7 to 14 days.

  • Ages 1 to under 15 years: The dose is based on your child's body weight. The typical total daily dose is 25 mg/kg to 50 mg/kg of body weight by mouth. This total dose is split up into smaller doses throughout the day, as directed by the prescriber. For more severe infections, such as an ear infection, your child might need a higher dose of up to 100 mg/kg per day. Treatment often lasts for 7 to 14 days.

Your dose might differ if you have kidney problems.

cost-icon

How much does Cephalexin cost?

To access savings, use a GoodRx coupon and pay just a fraction of the retail price.
contraindications-icon

Cephalexin contraindications

Contraindications are specific health conditions or situations in which a person should not take a medication due to safety concerns. If you have any of the following conditions or if any of the following apply to you, let your healthcare provider know because Cephalexin will not be safe for you to take.

alternatives-icon

What are alternatives to Cephalexin?

There are a number of medications that your doctor can prescribe in place of Cephalexin. Compare a few possible alternatives below.
Cephalexin
Used for:
$9.96Lowest GoodRx priceView prices
$10.80Lowest GoodRx priceView prices
Used for:

Cefuroxime tablets:

Cefuroxime injection:

$13.66Lowest GoodRx priceView prices
latest-news-icon

News about Cephalexin

Impetigo is a skin rash that requires more than over-the-counter creams. Get to know impetigo treatments and what you can do to get rid of this skin infection.
Impetigo Treatment: How to Banish This Contagious Skin Infection for Good
Impetigo is a skin rash that requires more than over-the-counter creams. Get to know impetigo treatments and what you can do to get rid of this skin infection.
Learn common interactions to know about when taking cephalexin, including medication, food, and alcohol interactions.
6 Cephalexin Interactions You Should Know About
Learn common interactions to know about when taking cephalexin, including medication, food, and alcohol interactions.
GoodRx unpacks potential causes of weird taste in mouth such as medicine, GERD, poor oral hygiene, and more.
Weird Taste in Your Mouth? One of These Medications or Health Conditions Could Be the Cause
GoodRx unpacks potential causes of weird taste in mouth such as medicine, GERD, poor oral hygiene, and more.
If your child has a urinary tract infection (UTI), they might feel stomach pain or fever. Here’s to know about spotting and treating UTIs in kids.
Urinary Tract Infections in Kids: Symptoms, Causes, and Treatment
If your child has a urinary tract infection (UTI), they might feel stomach pain or fever. Here’s to know about spotting and treating UTIs in kids.
A urinary tract infection (UTI) can become serious quickly, so antibiotic treatment is crucial. Explore common antibiotics for UTI treatment and side effects.
UTI Medications: What Are the Best Antibiotics for a Urinary Tract Infection?
A urinary tract infection (UTI) can become serious quickly, so antibiotic treatment is crucial. Explore common antibiotics for UTI treatment and side effects.
Cephalexin (Keflex) may cause nausea, diarrhea, and headache in some people. Learn more about other common cephalexin side effects and ways to manage them.
11 Cephalexin (Keflex) Side Effects You Should Know About
Cephalexin (Keflex) may cause nausea, diarrhea, and headache in some people. Learn more about other common cephalexin side effects and ways to manage them.
Impetigo is a contagious skin infection that often affects children. See pictures of what impetigo looks like and learn how it can be treated here.
What Is Impetigo? Symptoms, Treatment, and Pictures
Impetigo is a contagious skin infection that often affects children. See pictures of what impetigo looks like and learn how it can be treated here.
UTI symptoms usually include pain or burning when you urinate. But other conditions can also feel like a UTI. Learn the common signs of UTIs.
Urinary Tract Infection (UTI) Symptoms: What Does a UTI Feel Like?
UTI symptoms usually include pain or burning when you urinate. But other conditions can also feel like a UTI. Learn the common signs of UTIs.
Cephalexin costs vary based on the pharmacy, dosage, and quantity. Learn about how much cephalexin costs without insurance and ways to save in this guide.
How Much is Cephalexin Without Insurance?
Cephalexin costs vary based on the pharmacy, dosage, and quantity. Learn about how much cephalexin costs without insurance and ways to save in this guide.
Urinary tract infections (UTIs) are especially common during pregnancy, but they must be treated promptly. Learn about the symptoms and which antibiotics are safe to take.
What Happens If You Get a UTI While Pregnant? Risks and Safe Antibiotic Treatments
Urinary tract infections (UTIs) are especially common during pregnancy, but they must be treated promptly. Learn about the symptoms and which antibiotics are safe to take.
images-icon

Cephalexin images

Orange Teva 3147 And 93 3147 93 3147 - Cephalexin 500mg Capsule
This medicine is Orange Capsule Imprinted With "Teva 3147" And "93 3147 93 3147".Orange Teva 3147 And 93 3147 93 3147 - Cephalexin 500mg Capsule
Orange Teva 3147 And 93 3147 93 3147 - Cephalexin 500mg Capsule
This medicine is Orange Capsule Imprinted With "Teva 3147" And "93 3147 93 3147".Orange Teva 3147 And 93 3147 93 3147 - Cephalexin 500mg Capsule
Green 141 Klx - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "141 Klx".Green 141 Klx - Cephalexin 500mg Capsule
White 802 - Cephalexin 500mg Capsule
This medicine is White Capsule Imprinted With "802".White 802 - Cephalexin 500mg Capsule
Green 219 219 - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "219 219".Green 219 219 - Cephalexin 500mg Capsule
Green 294 294 - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "294 294".Green 294 294 - Cephalexin 500mg Capsule
Green Rx657 Rx657 - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "Rx657 Rx657".Green Rx657 Rx657 - Cephalexin 500mg Capsule
Green A 43 500 Mg - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "A 43 500 Mg".Green A 43 500 Mg - Cephalexin 500mg Capsule
Green 219 219 - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "219 219".Green 219 219 - Cephalexin 500mg Capsule
Green 500 Lupin 500 Lupin - Cephalexin 500mg Capsule
This medicine is Green Capsule Imprinted With "500 Lupin 500 Lupin".Green 500 Lupin 500 Lupin - Cephalexin 500mg Capsule

Get savings updates for Cephalexin

Receive price alerts, news, and other messages from GoodRx about Cephalexin and other healthcare topics and relevant savings offers.

By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men's health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.

References

Best studies we found

Ascend Laboratories, LLC. (2024). Cephalexin tablet [package insert]. DailyMed.

Centers for Disease Control and Prevention. (2018). Spoons are for soup / milliliters (mL) are for medicine.

Chaudhry, S. B., et al. (2019). Cephalosporins: A focus on side chains and β-lactam cross-reactivity. Pharmacy: A Journal of Pharmacy Education and Practice.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?