Impact-Site-Verification: 2721d812-1059-4270-b9fa-5c1654788cd1

Cephalexin Capsule — prescription drug image

Cephalexin (Keflex)

Cephalexin

Prescriptions & Refills
Licensed US providers · Online visit in minutes

What is Cephalexin?

Cephalexin is a prescription first-generation cephalosporin antibiotic used to treat bacterial infections including skin and soft tissue infections, respiratory tract infections (like strep throat and pneumonia), urinary tract infections (UTIs), bone infections, and ear infections. It is effective against many gram-positive bacteria including Staphylococcus and Streptococcus species. Cephalexin is taken orally as capsules or liquid and is generally well-tolerated. Typical adult doses are 250–500 mg every 6 hours (or 500 mg every 12 hours for certain infections) for a course of 7–14 days. Like all antibiotics, completing the full course is essential. A licensed provider can determine if cephalexin is the right antibiotic for your infection and send a prescription through Rx.com. Generic cephalexin is affordable with an Rx.com coupon.

Prescription savings · · · ·

What is Cephalexin ?

Cephalexin is a prescription first-generation cephalosporin antibiotic used to treat bacterial infections including skin and soft tissue infections, respiratory tract infections (like strep throat and pneumonia), urinary tract infections (UTIs), bone infections, and ear infections. It is effective against many gram-positive bacteria including Staphylococcus and Streptococcus species. Cephalexin is taken orally as capsules or liquid and is generally well-tolerated. Typical adult doses are 250–500 mg every 6 hours (or 500 mg every 12 hours for certain infections) for a course of 7–14 days. Like all antibiotics, completing the full course is essential. A licensed provider can determine if cephalexin is the right antibiotic for your infection and send a prescription through Rx.com. Generic cephalexin is affordable with an Rx.com coupon.
  • Blistering, peeling, red skin rash
  • Severe diarrhea, especially if bloody or ongoing
  • Severe stomach pain, vomiting
  • Allergic reaction: Itching or hives, swelling in your face or hands, swelling or tingling in your mouth or throat, chest tightness, trouble breathing
  • Keep all medicine out of the reach of children. Never share your medicine with anyone.
  • Tell your doctor if you are pregnant or breastfeeding, or if you have kidney disease, liver disease, or a history of digestive problems, such as colitis. Tell your doctor if you are allergic to penicillin.
  • This medicine can cause diarrhea. Call your doctor if the diarrhea becomes severe, does not stop, or is bloody. Do not take any medicine to stop diarrhea until you have talked to your doctor. Diarrhea can occur 2 months or more after you stop taking this medicine.
  • Tell any doctor or dentist who treats you that you are using this medicine. This medicine may affect certain medical test results.
  • Call your doctor if your symptoms do not improve or if they get worse.
What is cephalexin used to treat?
Cephalexin is an antibiotic used to treat bacterial infections caused by susceptible organisms. FDA-approved uses include respiratory infections such as strep throat and tonsillitis, ear infections, skin and soft-tissue infections such as cellulitis and impetigo, bone infections, and genitourinary infections including some urinary tract infections. It is also used before certain procedures to help prevent heart-valve infection in penicillin-allergic patients at risk. It does not work against viral illnesses like colds or the flu.
How long does cephalexin take to work?
Many people start to feel better within a few days of starting cephalexin, though the exact timing depends on the type and severity of the infection. It is important to take the full course exactly as prescribed, even if you feel better sooner, so the infection is fully treated. If you do not notice improvement or feel worse, contact your provider.
Can you drink alcohol while taking cephalexin?
Cephalexin does not have a known dangerous interaction with alcohol the way some other antibiotics do. However, drinking alcohol can worsen side effects like upset stomach and may slow your recovery, so many providers suggest limiting or avoiding it while you are sick and being treated. Ask your provider or pharmacist about your specific situation.
Is cephalexin the same as penicillin, and can I take it if I'm allergic to penicillin?
Cephalexin is not a penicillin. It is a cephalosporin, but both belong to the broader beta-lactam family. Many people with a penicillin allergy can take cephalexin safely: the risk of cross-reactivity is small, and the old estimate of about 10% is now considered an overstatement, with current allergy guidance putting the overall risk at roughly 1% or less. One exception to keep in mind is that cephalexin shares a similar chemical side chain with amoxicillin and ampicillin, so extra caution is warranted if you have specifically reacted to those drugs. Always tell your provider about any drug allergies before taking it so they can decide what is safest for you.
What are the most common side effects of cephalexin?
Common side effects include diarrhea, upset stomach, nausea, and other digestive symptoms. More serious but less common issues can include severe or persistent diarrhea from a C. difficile infection (which can appear even weeks after stopping), allergic reactions, and, rarely, seizures, mainly in people with reduced kidney function. Contact your provider if you have severe diarrhea, signs of an allergic reaction, or other symptoms that concern you.
Is cephalexin the same as Keflex?
Yes. Keflex is the brand name for cephalexin, a first-generation cephalosporin antibiotic. Generic cephalexin contains the same active ingredient, treats the same infections, and typically costs far less than brand-name Keflex. Nearly all US prescriptions for this antibiotic are filled with the generic.
How much does Cephalexin cost without insurance?
The price of Cephalexin without insurance varies by pharmacy, dosage, and quantity. Rx.com compares cash prices at more than 60,000 US pharmacies so you can find the lowest price near you.
What are the common side effects of Cephalexin?
Common side effects of Cephalexin may include: Blistering, peeling, red skin rash, Severe diarrhea, especially if bloody or ongoing, Severe stomach pain, vomiting, Allergic reaction: Itching or hives, swelling in your face or hands, swelling or tingling in your mouth or throat, chest tightness, trouble breathing. This is not a complete list — consult your pharmacist or doctor for full side effect information.
Is there a generic version of Cephalexin?
Generic versions may be available for Cephalexin. Generics contain the same active ingredients as brand-name drugs and are typically 80–90% cheaper. Search Cephalexin on Rx.com to compare generic and brand prices at pharmacies near you.
What is the cheapest pharmacy for Cephalexin?
The cheapest pharmacy for Cephalexin depends on your location and dosage. Rx.com compares prices at CVS, Walgreens, Walmart, Kroger, Costco, and thousands of independent pharmacies. Enter your ZIP code on Rx.com to find the lowest price for Cephalexin near you.

Cephalexin (Keflex) Coupons & Prices

Cephalexin

Prescriptions & Refills
Licensed US providers · Online visit in minutes
Cephalexin Capsule — prescription drug image
Prescription
Cephalexin 500mg (30)
your area ·
QUAD by MEDVi · 4-in-1 ED treatment

4 ED medications in one dose

Sildenafil, tadalafil, vardenafil & apomorphine · Works in ~15 min · Lasts up to 36 hours

$114/mo Consult, meds & shipping included 4-in-1 formula
See QUAD by MEDVi Free online visit · No commitment
QUAD by MEDVi is a compounded prescription treatment; eligibility is determined by a licensed provider after an online visit. Pricing and product details are set by MEDVi and may change. Not affiliated with, endorsed by, or equivalent to any brand-name medication or manufacturer.

Cephalexin prices by dosage

Lowest cash price with a free Rx.com coupon vs. the average retail price.

Dosage Quantity Retail price Rx.com price
250mg · Capsule 28 $16.99 $9.44
500mg · Capsule 28 $29.29 $13.08
750mg · Capsule 28 $243.99 $92.50

Cash prices near ZIP 77433; updated regularly. Actual pharmacy price may vary.

Looking for a cephalexin coupon? Cephalexin is a widely used generic antibiotic, and because it is already available as a low-cost generic, you often do not need a coupon to keep the price down. The catch is that the cash price for the same prescription can vary a lot from one pharmacy to the next. Enter your ZIP above to see today's cephalexin price and compare across more than 60,000 pharmacies near you, so you pay the lowest available cash price with or without insurance.

What is cephalexin and how does it work?

Cephalexin is a first-generation cephalosporin antibiotic in the beta-lactam family. It works by stopping bacteria from building their cell walls, which kills the bacteria causing an infection. It is FDA-approved to treat a range of infections caused by susceptible bacteria, including respiratory tract infections such as strep throat and tonsillitis, ear infections (otitis media), skin and soft-tissue infections such as cellulitis and impetigo, bone infections, and genitourinary infections including some urinary tract infections. It is also used before certain dental or upper-respiratory procedures to help prevent heart-valve infection (endocarditis) in penicillin-allergic patients at risk.

Cephalexin only works against bacterial infections. It will not treat viral illnesses such as the common cold or the flu. As with any antibiotic, take the full course exactly as prescribed even if you feel better early.

Cephalexin cost and how to save without insurance

Cephalexin is a generic drug (the brand name Keflex has largely been discontinued), so it is generally one of the more affordable antibiotics to fill. Even so, the cash price is not the same everywhere. Two pharmacies on the same street can list very different prices for the identical prescription, which is exactly why comparing before you fill matters.

Rx.com compares live cash prices across more than 60,000 pharmacies so you can find the lowest one near you. Enter your ZIP above to see today's price, then show the coupon at the pharmacy counter. There is no manufacturer savings card for generic cephalexin, and you do not need one to get a low cash price. Rx.com's coupon can be used whether or not you have insurance, and it is worth checking the cash price even if you are insured, since it is sometimes lower than a copay.

Cephalexin alternatives and related antibiotics

Cephalexin is the generic form of Keflex. Your provider chooses an antibiotic based on the type of infection and your medical history, so alternatives are not interchangeable, but other commonly prescribed antibiotics include:

  • Amoxicillin and doxycycline, used for many respiratory, skin, and other common infections
  • Cefdinir and cefuroxime, other cephalosporin antibiotics
  • Clindamycin, often used for certain skin and dental infections, including in some penicillin-allergic patients

If your prescriber writes you a different antibiotic, you can compare its price on Rx.com the same way. Never switch antibiotics on your own; talk with your provider or pharmacist.

Cephalexin safety and side effects

Cephalexin has no boxed warning, but there are important safety points to know. It should not be used by anyone with a known cephalosporin allergy. In people with a penicillin allergy, the risk of cross-reactivity with cephalexin is small; the once-quoted figure of about 10% is now considered an overstatement, and current allergy guidance puts the overall risk at roughly 1% or less. One nuance matters, though: cephalexin shares a similar chemical side chain with amoxicillin and ampicillin, so extra caution is warranted specifically if you have had a reaction to those particular drugs. Tell your provider about any penicillin or other antibiotic allergy so they can weigh this. Like other antibiotics, cephalexin can cause Clostridioides difficile-associated diarrhea that ranges from mild to serious, and this can appear even up to two months or more after you stop the medicine, so report persistent or severe diarrhea to your provider. Prolonged or repeated use can lead to a new (superinfection) infection.

People with reduced kidney function may need a dose adjustment, and seizures have been reported, mainly in that setting. Cephalexin may make hormonal birth control less effective and can cause false-positive results on some urine glucose tests and a positive Coombs test. This is general information, not medical advice. Tell your provider about your allergies, kidney health, and other medicines, and follow their guidance.

Sources & accuracy

This Cephalexin information was written and reviewed against authoritative U.S. medical sources — MedlinePlus (U.S. National Library of Medicine), DailyMed, and FDA prescribing information — and checked for accuracy. It is provided for education and is not a substitute for professional medical advice.

Verify the official label: Cephalexin on DailyMed (FDA)

Reviewed against FDA labeling · Last reviewed July 2026

¿Buscando esta página en español?

Browse more medications: starting with C · full A-Z directory · by condition · common drugs

Medical disclaimer: This information is provided for general educational purposes only and is not medical advice. It is not a substitute for professional diagnosis or treatment. Always consult a licensed physician, pharmacist, or other qualified healthcare provider before starting, stopping, or changing any medication or treatment. Never disregard professional medical advice or delay seeking it because of something you read here. If you think you may have a medical emergency, call your doctor or 911 immediately.


Don't Miss Out On Savings!

Rx.com does not warrant the accuracy of the information on this website. All information on this site is intended to supplement, not substitute for, the expertise and judgment of your physician, pharmacist or other healthcare professional. It should not be construed to indicate that use of a drug is safe, appropriate, or effective for you. Consult your healthcare professional before using any drug. All logos, brand names and trademarks on this website are the property of their respective owners. Rx.com is not endorsed or affiliated with any brands represented on this website."

Pharmacy discounts are Not Insurance, and are Not Intended as a Substitute for Insurance THE DISCOUNT IS ONLY AVAILABLE AT PARTICIPATING PHARMACIES As an Amazon Associate, we earn from qualifying purchases.

2026 All Rights Reserved | Rx.com®