Skip to content
RxHelp
Cephalosporins - 1st Generation WHO AWaRe: Access Prescription only

Cephalexin — Compare Prices at US & Canada Pharmacies

Compare real Cephalexin prices at US and Canadian pharmacies, see official FDA uses and warnings, and find generic alternatives. Save up to 40% by comparing Canada pharmacy prices.

Generic name Cephalexin
US brand names
Keflex
Also sold as
Apo-Cephalex (Canada)

Keflex was discontinued as a separate branded product some years ago — cephalexin is now sold only as the generic in the US.

Drug class
1st-generation cephalosporin
Typical course
7–14 daysvaries by infection
Common forms
Capsule, tablet, oral suspension
Generic available
Yesonly form sold in the US

How much does cephalexin (Keflex) cost without insurance?

Generic cephalexin is one of the less expensive antibiotics with a discount card — a standard course is typically inexpensive, though the undiscounted cash price still varies by pharmacy. Check the table above for current numbers.

Is Keflex still available?

The Keflex brand itself was discontinued in the US — cephalexin is now sold exclusively as the generic, which is what every pharmacy dispenses. It's the same drug, just no longer under that brand name.

Do I need a prescription for cephalexin?

Yes, in the US and Canada. It's not available over the counter.

How can I save on cephalexin?

As an established, brand-discontinued generic, cephalexin is already inexpensive most places — comparing a couple of pharmacies is still worth it since the discount-card price can vary.

🇺🇸 United States
Lowest found, per pill
$0.30
Oral tablet/capsule, discount-card price
🇨🇦 Canada
Lowest found, per pill
$0.18
Oral tablet/capsule, USD equivalent
Canada is typically cheaper for Cephalexin Save up to 40%

"As low as" figures compare the single lowest oral tablet/capsule price found on each side — not necessarily the same strength or pack size. Always check the full tables below for your exact dose. Prices updated 2026-08-21.

Cephalexin prices at US pharmacies

(Cephalexin) — capsule, 500mg, qty 28

PharmacyRetail priceWith discount card
Walmart Neighborhood Market Lowest $11.46 $8.46
Walmart Pharmacy $11.46 $8.46
Kroger Pharmacy $13.10 $10.10
Harris Teeter Pharmacy $13.10 $10.10
Walgreens $14.40 $11.40
Food Lion $11.74
Costco $16.99
Publix $21.02 $18.02

Cephalexin prices at Canadian pharmacies

StrengthPharmacyPer pill (USD)Pack total
250 mg LifeRxPharmacy.com $0.18 $15.92 / 90
250 mg OffShoreCheapMeds.com $0.19 $17.12
250 mg LifeRxPharmacy.com $0.21 $12.74 / 60
250 mg OffShoreCheapMeds.com $0.23 $13.69
250 mg SPFPharmacy.com $0.55 $55.00 / 100
250 mg InhalersOnline.com $0.70 $69.99 / 100
250 mg GoldStarMeds.com $0.84 $84.22
250 mg 1800RxOnline.com $0.94 $93.58
StrengthPharmacyPer pill (USD)Pack total
250 mg/5 mL InhalersOnline.com $0.67 $201.18
250 mg/5 mL InhalersOnline.com $0.89 $89.26
StrengthPharmacyPer pill (USD)Pack total
500 mg OffShoreCheapMeds.com $0.33 $29.96
500 mg LifeRxPharmacy.com $0.34 $30.75 / 90
500 mg OffShoreCheapMeds.com $0.40 $23.97
500 mg LifeRxPharmacy.com $0.41 $24.60 / 60
500 mg SPFPharmacy.com $0.65 $65.00 / 100
500 mg InhalersOnline.com $0.76 $76.00
500 mg InhalersOnline.com $0.80 $79.99 / 100
500 mg GoldStarMeds.com $1.27 $127.24
500 mg 1800RxOnline.com $1.41 $141.38
500 mg InhalersOnline.com $4.00 $39.99
StrengthPharmacyPer pill (USD)Pack total
Default InhalersOnline.com $0.80 $80.16
Default CanadianPharmacyAdvantage.com $1.00 $59.77
Default CanadaPharmacies.com $1.17 $69.99
Default BuyLowDrugs.com $1.75 $105.00 / 60
Default CanadianPharmacyAdvantage.com $1.79 $35.84
Default InhalersOnline.com $1.84 $110.46
Default CanadaPharmacies.com $2.30 $45.99
Default InhalersOnline.com $3.00 $59.90
Default BuyLowDrugs.com $4.25 $85.00

Canada prices are converted to USD at time of collection and shown per tablet where available. Ordering from Canadian pharmacies is legal for personal use in most cases but subject to FDA/CBSA rules — see US vs Canada, explained.

What is Cephalexin used for?

Cephalexin is a first-generation cephalosporin and one of the most commonly prescribed antibiotics for uncomplicated skin infections, and it's also a standard choice for uncomplicated UTIs, strep throat (in people with a mild penicillin allergy), and certain bone infections.

It works especially well against the bacteria most likely to cause a straightforward, non-purulent skin infection (streptococcus and methicillin-susceptible staph) — which is why it's often the first choice for cellulitis without an abscess, but not the right choice if MRSA is suspected, since cephalexin doesn't reliably cover resistant staph strains.

Like other cephalosporins, it's chemically related to penicillins — people with a severe penicillin allergy (anaphylaxis, throat swelling) are usually advised to avoid it too, while people with a milder reaction history are often able to take it safely under medical guidance.

How Cephalexin works

  1. Targets the bacterial cell wall

    Cephalexin is a beta-lactam antibiotic that blocks the enzymes bacteria use to build and maintain their cell wall.

  2. The wall weakens

    Without proper wall construction, the bacterial cell can't withstand its own internal pressure.

  3. The bacterial cell ruptures

    This is a direct, bactericidal mechanism — susceptible bacteria are killed rather than just slowed down.

Typical dosage forms & strengths

UseTypical adult doseForm
Skin infections, most common infections (adults)250–500 mg every 6 hours, or 500 mg every 12 hoursCapsule / tablet
More severe infectionsUp to 4 g/day in divided dosesCapsule / tablet
ChildrenWeight-based (mg/kg/day), divided dosesOral suspension

General reference dosing from the FDA label — not personalized advice. Your prescribed dose may differ based on your infection, kidney function, age, and weight. Always follow your prescriber's instructions.

Related & alternative drugs

Commonly used for

Warnings & interactions

This is a summary of the official FDA label text, not personalized medical advice. It does not list every possible interaction or side effect. Always tell your prescriber and pharmacist about every medicine and supplement you take.

Common, usually mild

  • Diarrhea
  • Nausea, stomach upset
  • Headache
  • Mild rash

Serious — seek care promptly

  • Severe or watery diarrhea (possible C. diff)
  • Signs of an allergic reaction: hives, facial/throat swelling, trouble breathing
  • Severe skin reaction (blistering, peeling)
  • Unusual bruising or bleeding

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 )

Notable drug interactions

Drug / substanceWhat can happen
ProbenecidSlows cephalexin elimination, raising and prolonging blood levels.
MetforminCephalexin can raise metformin levels somewhat — usually not clinically significant, but worth knowing.
WarfarinMay enhance anticoagulant effect in some people; monitoring is a reasonable precaution.
Oral contraceptivesRarely reported to reduce effectiveness; a backup method is a reasonable precaution.

Pregnancy & breastfeeding

8.1 Pregnancy Risk Summary Available data from published epidemiologic studies and pharmacovigilance case reports over several decades with cephalosporin use, including cephalexin use in pregnant women have not established drug-associated risks of major birth defects, miscarriage, or adverse maternal or fetal outcomes (see Data) .

Cephalexin, by the numbers

Additional public data points beyond retail pricing — useful context, not a price quote.

$57.5M
Medicare Part D spend, 2024
7.5M
Medicare Part D claims, 2024
21
FDA-listed manufacturers (Orange Book)
$9.55
Federal (VA) contract price per pack (100ML)

Frequently asked questions

How much does Cephalexin cost without insurance?
Retail (no-insurance) prices we found for Cephalexin range up to about $21.02 depending on pharmacy, form, and quantity. With a free pharmacy discount card, the lowest price we found was $8.46. Your actual price depends on the exact strength, quantity, and pharmacy — see the tables above.
Is Cephalexin cheaper in Canada or the US?
Based on the oral tablet/capsule prices in our data, Canada was cheaper for Cephalexin — as low as $0.30/pill in the US versus $0.18/pill in Canada, a difference of about 40%. This compares the single lowest price found on each side, not necessarily the same exact strength.
Is there a generic version of Cephalexin?
Yes — our pricing data includes at least one generic listing for Cephalexin. Generics contain the same active ingredient and are typically the lowest-cost option; check the price tables above for the generic rows specifically.
What drug class is Cephalexin in?
Cephalexin belongs to the cephalosporins - 1st generation class of antibiotics. WHO classifies it as an 'Access' antibiotic under its AWaRe stewardship framework.

Learn more about Cephalexin

In-depth answers to common Cephalexin questions, fact-checked against the sources cited in each.

What does cephalexin treat?
  • Cephalexin is a first-generation cephalosporin antibiotic prescribed for bacterial infections ranging from skin conditions to urinary tract infections.
  • Dosing typically ranges from 250 mg every six hours to 500 mg every twelve hours in adults, with treatment duration usually spanning 7 to 14 days depending on the infection type.
  • While generally well-tolerated, cephalexin can cause common side effects like nausea, diarrhea, and rash, and rarely may trigger serious allergic reactions requiring immediate medical care.

Cephalexin stands among the most frequently prescribed antibiotics for treating a range of bacterial infections. Known by brand names including Keflex, Daxbia, and Biocef, cephalexin belongs to the cephalosporin class of antibiotics. Prescribers favor this medication for its targeted effectiveness against common bacteria and its favorable safety profile across diverse patient populations. The brand-name Keflex is no longer manufactured, though this discontinuation reflects market and cost considerations rather than any safety or efficacy issues.

Cephalexin addresses numerous bacterial infections across multiple body systems. Dosing varies based on the specific infection and patient factors, commonly ranging from 250 mg twice daily to 500 mg four times each day, with 500 mg every 12 hours representing an effective standard regimen for many conditions.

"In my general medical practice, I frequently prescribe Cephalexin for skin infections, minor respiratory infections, and post-surgical wound prophylaxis when appropriate," said Dr. Martina Ambardjieva, a urologist and practicing medical doctor in Washington State.

Clinicians prescribe cephalexin for a diverse array of bacterial infections across different anatomical sites and clinical scenarios.

  • Skin and soft tissue infections. Caused mainly by Staphylococcus aureus and Streptococcus pyogenes — cellulitis, impetigo, folliculitis, and boils.
  • Respiratory infections. Certain cases of pneumonia and upper respiratory infections like pharyngitis and bacterial rhinosinusitis, including strep throat that's progressed to scarlet fever.
  • Urinary tract infections. Infections of the kidneys, ureters, bladder, and urethra. "In my urology practice, Cephalexin is often used to treat uncomplicated UTIs, especially when first-line resistance is a concern or when patients have a history of mild penicillin allergies," says Dr. Ambardjieva.
  • Ear infections. FDA-approved for otitis media caused by susceptible bacteria.
  • Strep throat. Not a first-line treatment, but an effective alternative when a patient can't tolerate the preferred initial antibiotic.
  • Other uses. Sometimes prescribed for bone infections, preventing or treating surgical site infections, and dental infections like gum disease or abscesses.
How does cephalexin work, and how fast?

Cephalexin belongs to the cephalosporin antibiotic class, a group of medications that disrupt normal bacterial growth and viability, ultimately causing bacterial death. Mechanically, cephalexin works by inhibiting bacterial cell wall synthesis. As the bacterial cell wall breaks down, the organisms cannot survive, thereby eliminating the infection.

Cephalexin is available as an oral capsule or tablet for room-temperature storage, as well as a liquid suspension formulation useful for pediatric patients or those with difficulty swallowing tablets. The medication begins acting on bacteria within approximately one hour of ingestion, though symptom improvement requires additional time.

"Clinical improvement in symptoms typically begins within 48 to 72 hours, although full resolution depends on the infection type and severity," says Dr. Martina Ambardjieva, a urologist and practicing medical doctor in Washington State. Cephalexin reaches active levels in your bloodstream within about an hour of the first dose, but the drug works by halting bacterial growth rather than killing instantly. As pharmacist Greg Castelli, Pharm.D., director of academic and clinical pharmacy at the University of Pittsburgh School of Medicine, puts it: "You have to keep a certain amount of the drug in your body to consistently have that bacteria-killing effect. For most infections, four times a day is what you need" — which is why finishing every dose on schedule matters, even for a drug some infections require dosing that often. If you're not improving after completing the full course, contact your provider rather than waiting it out further.

Side effects of cephalexin

"Cephalexin is safe for most adults and children, but there are side effects that may occur when taking the medication," says Lindsey Hudson, a board-certified family nurse practitioner in Charleston, South Carolina. Patients with kidney disease or a history of severe allergic reactions to antibacterial medications should be evaluated carefully before starting it.

Common side effects include nausea, abdominal pain, vomiting, diarrhea, rash, headache, dizziness, and fatigue. Yeast infections (vaginal or oral) can also occur as the drug disrupts your normal bacterial balance.

Severe diarrhea — five or more episodes a day — needs prompt medical attention, since it can signal a C. difficile infection that may develop during treatment or even months afterward; watch for abdominal pain, fever, or bloody or watery stools alongside it. Seek emergency care for any signs of a serious allergic reaction: rash, hives, facial or mouth swelling, or difficulty breathing or swallowing. Rarer but serious reactions include Stevens-Johnson syndrome (flu-like symptoms with a painful, blistering rash) and hemolytic anemia, detected through lab testing.

Report any side effect that concerns you to your provider, particularly if it's still present after you finish treatment.

What infections doesn't cephalexin treat?

Cephalexin treats only bacterial infections caused by susceptible organisms. The medication is ineffective against viral infections and certain bacterial species. Conditions cephalexin cannot treat include:

Viral infections such as those caused by rhinovirus or enterovirus Influenza Infections from methicillin-resistant Staphylococcus aureus (MRSA) Infections from Enterococcus species Infections from Pseudomonas aeruginosa Infections from Enterobacter spp., Morganella morganii, Proteus vulgaris, and most Acinetobacter strains

"It doesn't cover some stronger bugs, like MRSA [Methicillin-resistant Staphylococcus aureus] or some stronger staph infections or pseudomonas," notes Greg Castelli, Pharm.D., director of academic and clinical pharmacy at the University of Pittsburgh School of Medicine. Antibiotic resistance poses another limitation. Bacteria can develop resistance to cephalexin over time, requiring alternative medications. This is particularly concerning in severe infections. Laboratory testing can identify the responsible organism and guide selection of more effective antibiotics. If recovery progresses more slowly than expected, patients should contact their healthcare provider, as a different antibiotic may prove necessary.

"In urological practice, if complicated UTIs or infections caused by multidrug-resistant organisms are suspected, broader-spectrum antibiotics or culture-specific treatments are preferred," said Dr. Ambardjieva.

Consult your healthcare provider for personalized guidance on appropriate infection treatment, which may or may not include cephalexin depending on your specific clinical situation.

Sources:

What antibiotics can I use instead of cephalexin?
  • Cephalexin, a broad-spectrum cephalosporin antibiotic, may not be suitable for all patients due to infection type, side effects, or existing health conditions.
  • Several antibiotic alternatives exist—including Augmentin, Bactrim, ciprofloxacin, doxycycline, and erythromycin—each suited to different infections and patient circumstances.
  • Your doctor must carefully weigh the benefits and risks of any antibiotic choice and watch for adverse reactions, as some alternatives carry serious side effects.

Cephalexin is a broad-spectrum cephalosporin widely prescribed for bacterial infections affecting the skin, respiratory tract, ears, and other sites. Like all antibiotics, it can trigger unwanted reactions—from mild rashes to severe allergic responses. When cephalexin proves unsuitable, doctors can choose from a range of other antibiotics tailored to the specific infection and patient profile.

Not every antibiotic works equally well for every patient or infection. If cephalexin is ineffective or causes unacceptable side effects, physicians have other options. The catch is that antibiotics are not interchangeable; some target specific bacterial strains or infection types more effectively than others. Additionally, allergies and other medical conditions may restrict which antibiotics a provider can safely recommend.

Below are several commonly used alternatives.

A closer look at the top cephalexin alternatives

The following represent some of the most frequently prescribed alternatives to cephalexin, each with distinct uses and side effect profiles.

  • Augmentin (amoxicillin/clavulanate). Augmentin combines amoxicillin, a penicillin-class antibiotic, with clavulanate potassium, a beta-lactamase inhibitor that enhances the amoxicillin's effectiveness. It is approved for both adults and children, including very young infants. However, anyone with a documented penicillin allergy must avoid this medication.

Augmentin addresses a range of bacterial infections caused by Streptococcus or Staphylococcus aureus, targeting skin, ear, respiratory tract, and urinary tract infections. Common adverse effects include diarrhea, nausea, rash, itching, vomiting, and vaginal irritation. Those with previous liver complications from Augmentin or allergic reactions to the drug or related medications should not use it.

One important consideration: Augmentin can reduce the effectiveness of oral contraceptives, so patients should discuss backup birth control options with their healthcare provider.

  • Bactrim (sulfamethoxazole/trimethoprim). Bactrim is a brand name for a sulfonamide antibiotic combination available in generic form as sulfamethoxazole/trimethoprim. It is suitable for adults and children as young as 2 months, administered orally as a tablet or suspension, or by injection.

This antibiotic treats ear infections, Pneumocystis jirovecii pneumonia, traveler's diarrhea, bronchitis exacerbations, and urinary tract infections. Typical side effects involve the digestive system—nausea, vomiting, appetite loss—or allergic manifestations like rash and hives. Allergic reactions warrant immediate discontinuation and contact with the prescriber.

Crucially, anyone allergic to sulfa drugs cannot tolerate Bactrim. The medication also interacts with warfarin, certain diabetes drugs, and diuretics, making it essential to inform your doctor of all current medications before starting Bactrim.

  • Cipro (ciprofloxacin). Ciprofloxacin is a fluoroquinolone antibiotic used mainly in adults for gastrointestinal, kidney, and bone infections. Pediatric use is generally reserved for serious conditions like anthrax or plague. Dosing options include tablets, oral suspension, or injection.

This antibiotic carries a risk of severe side effects, including life-threatening allergic reactions, seizures, psychosis, depression, suicidal thoughts, liver damage, peripheral neuropathy, and tendon rupture. Some effects may be permanent. Because of these risks, ciprofloxacin is typically not a first-line choice and is reserved for situations where benefits clearly outweigh dangers.

  • Doxycycline. Doxycycline is a tetracycline antibiotic available under brand names such as Oracea and Doryx, though formulations vary by use. It treats gastrointestinal disorders, urinary and respiratory tract infections, sexually transmitted infections, and bacterial skin infections. Acne is among its most common indications. The drug can be taken orally or by injection.

Potential side effects include nausea, vomiting, diarrhea, vaginal itching and discharge, headache, abdominal pain, yeast infections, skin discoloration, and tooth discoloration (either permanent or temporary). Doxycycline is contraindicated during pregnancy and breastfeeding. It also requires caution when combined with birth control pills, antacids, laxatives, or vitamin supplements.

  • Erythromycin. Erythromycin is a macrolide antibiotic sold in both generic and brand-name formulations. It treats respiratory tract infections, skin infections, chlamydia, pelvic inflammatory disease, and syphilis. Patients take it as a tablet, capsule, or oral suspension.

Common side effects are gastrointestinal: nausea, vomiting, abdominal pain, diarrhea, and decreased appetite. More severe adverse effects include liver injury, hearing loss, and seizures. Patients with known liver disease or abnormally low potassium or magnesium require careful monitoring while on this medication.

How to switch to a cephalexin alternative

Over-the-counter natural remedies with antibacterial properties exist, but evidence for their effectiveness is limited compared to prescription antibiotics. Discuss any intention to use these with your healthcare provider, who may wish to monitor the infection closely to ensure healing. For serious bacterial infections, natural treatments alone typically cannot substitute for prescription medication.

Several naturally derived compounds show promise as supplementary treatments. Honey has been used for centuries and research supports its role in wound healing and infection clearance; it may be applied topically or taken orally. Apple cider vinegar demonstrates antimicrobial activity against minor Candida albicans, E. coli, and Staphylococcus aureus infections. Garlic, oregano, thyme, and turmeric are other commonly available plant-based options with documented antibacterial properties, though they require further clinical study.

Discontinuing an antibiotic like cephalexin abruptly without medical guidance risks infection recurrence or symptom worsening. Always consult your healthcare provider before stopping cephalexin; they will typically prescribe a replacement antibiotic and provide clear instructions for the transition. Discuss any questions about timing, dosage, or side effects during this conversation to ensure a smooth switch to your new medication.

Sources:

Is it safe to drink alcohol while taking cephalexin?
  • Cephalexin is a cephalosporin antibiotic commonly prescribed for middle ear, respiratory, skin, bone, and urinary tract infections; while it has a favorable safety profile, alcohol consumption during treatment is generally discouraged.
  • The FDA label indicates no direct pharmacological interaction between cephalexin and alcohol, yet the two substances can produce overlapping side effects—particularly gastrointestinal symptoms—that may intensify when combined.
  • Prolonged alcohol use suppresses immune function, potentially compromising the body's capacity to resolve a bacterial infection during treatment.
  • Medical professionals typically recommend avoiding alcohol throughout the full course of cephalexin therapy, particularly for individuals with alcohol use disorder or those who drink heavily, due to risks of compounded side effects and possible disulfiram-like reactions.

Cephalexin is a frequently prescribed cephalosporin antibiotic that addresses middle ear, respiratory tract, skin, bone, and urinary tract infections. Among antibiotics, cephalexin carries a relatively favorable safety record with fewer side effects and drug interactions compared to many alternatives. However, questions often arise about consuming alcohol during treatment.

While light alcohol consumption poses minimal direct risk to cephalexin's therapeutic action, physicians generally recommend abstaining. Alcohol and cephalexin produce overlapping side effects that can worsen when combined. More significantly, alcohol compromises immune function—a critical factor when your body is actively fighting infection. Completing your full antibiotic course while maintaining good immune health improves treatment outcomes.

The FDA-approved labeling for cephalexin documents no pharmacological interaction with alcohol, meaning alcohol consumption should not reduce the medication's antibacterial efficacy.

Nevertheless, individual responses to cephalexin, alcohol, or both vary considerably. Most healthcare providers advise delaying alcohol consumption until after treatment completion. While a true drug interaction may not occur, combining the two substances creates potential for unwanted side effects. Cephalexin and alcohol trigger similar symptoms that can amplify when used together.

What happens if you mix cephalexin and alcohol?

Cephalexin frequently produces gastrointestinal side effects including nausea, vomiting, diarrhea, indigestion, and stomach discomfort. Diarrhea warrants particular attention because cephalexin can disrupt normal gut bacteria and allow Clostridium difficile to flourish, potentially causing severe diarrhea. Probiotics may help mitigate this risk; ask your healthcare provider for guidance.

More serious but less common adverse effects include hypersensitivity reactions, hemolytic anemia, and prolonged thrombin time, which may increase bleeding risk. Premature treatment discontinuation or improper use can foster antibiotic resistance, necessitating different antibiotics and longer treatment periods.

Alcohol independently produces mood changes, speech impairment, vision disturbances, coordination problems, drowsiness, nausea, and vomiting. Chronic or heavy consumption leads to cardiac complications, hypertension, liver disease, pancreatitis, elevated cancer risk, and immune suppression.

Combining cephalexin with alcohol intensifies gastrointestinal symptoms such as nausea and vomiting. Both substances possess blood-thinning properties; together they increase bleeding risk, especially in patients with clotting disorders or those taking anticoagulants like warfarin.

Chronic alcohol use substantially weakens immunity, undermining the body's ability to fight infection during treatment. Alcohol also disrupts sleep quality and impairs nutrient absorption via effects on the liver, pancreas, and stomach lining—all factors critical for recovery. Individuals with alcohol use disorder commonly suffer from vitamin and mineral deficiencies that further compromise immune response.

A subset of antibiotics and alcohol combinations trigger disulfiram-like reactions—named after disulfiram, a medication used in alcohol use disorder treatment. When alcohol and disulfiram are combined, acetaldehyde (a toxic alcohol metabolite) accumulates, producing flushing, nausea, vomiting, hypotension, and in severe cases, death. Metronidazole is the classic antibiotic example, widely known to produce such reactions.

Cephalosporins including cephalexin have also been associated with disulfiram-like effects. In a review of 78 patients who drank alcohol before or after receiving intravenous cephalosporins, roughly 6% developed a disulfiram-like reaction. In animal studies, cephalexin combined with alcohol caused adverse kidney and stomach effects in rats, reducing the stomach lining's protective capacity.

Gastritis—inflammation of the stomach lining—represents a recognized complication of chronic alcohol use and occurs at elevated rates in those with alcohol use disorder. Individuals with either condition face heightened risk of worsened gastrointestinal symptoms and potential disulfiram-like reactions when taking cephalexin.

The bottom line on cephalexin and alcohol

Contact your healthcare provider if cephalexin treatment fails to improve your symptoms after several days. They may recommend alternative therapies. Similarly, seek medical guidance if you consumed alcohol during cephalexin treatment and subsequently developed concerning symptoms.

Seek emergency care immediately for severe rash, hives, swelling of the lips, eyes, mouth, or throat, or breathing difficulty—these indicate a serious allergic reaction. Inform your healthcare team about all prescription medications you take, as cephalexin can interact with other drugs and cause adverse effects requiring medical attention.

Occasional, moderate alcohol consumption during cephalexin therapy—defined as two or fewer drinks daily for men or one or fewer for women—carries minimal risk of serious harm. However, complete abstinence during treatment represents the most conservative approach.

Combining cephalexin with alcohol may produce unpleasant symptoms including heightened nausea, vomiting, and gastric upset. Patients with diagnosed alcohol use disorder or those who drink heavily should inform their prescriber before starting cephalexin. Chronic heavy drinking weakens immunity, degrades sleep architecture, impairs nutrient absorption, and increases risks of bleeding and gastritis—all factors that compromise infection recovery.

Discuss any questions or concerns with your healthcare provider. Whether addressing potential adverse effects, drug interactions, or other precautions, your medical team can provide personalized guidance based on your health history and individual circumstances.

Does cephalexin interact with other medications?
  • Cephalexin can amplify the blood-thinning effects of warfarin, raising the risk of excessive bleeding.
  • When combined with metformin, cephalexin may increase the concentration of the diabetes drug, potentially raising the chance of lactic acidosis.
  • Concurrent use of cephalexin with loop diuretics like furosemide or aminoglycoside antibiotics such as gentamicin may compromise kidney function and warrant monitoring.
  • Probenecid raises cephalexin levels in the bloodstream, which can intensify side effects of the antibiotic.
  • Before starting cephalexin, inform your healthcare provider of all other medications and supplements you take; adjustments to your regimen or additional lab monitoring may be necessary.

Cephalexin is a widely prescribed first-generation cephalosporin antibiotic that treats bacterial skin infections, strep throat, ear infections (otitis media), and urinary tract infections. The drug is available under the brand name Keflex and in generic form, and comes as capsules, tablets, or a liquid suspension. Patients typically take it two, three, or four times per day. Unlike some drugs, cephalexin is ineffective against viral infections such as the common cold or COVID-19. For a missed dose, take it as soon as you remember, unless the next scheduled dose is approaching—in which case, skip the missed dose and resume the regular schedule.

Because cephalexin is so commonly used, understanding both its benefits and potential risks is important. While side effects matter, recognizing how cephalexin interacts with other medications, over-the-counter products, and dietary choices is equally critical. These interactions can reduce cephalexin's effectiveness or raise the likelihood of serious complications.

Several major drug classes interact significantly with cephalexin, including anticoagulants, diabetes medications, diuretics, antibiotics, and uric acid-lowering agents. Although these interactions do not necessarily demand complete avoidance of cephalexin, they do require heightened awareness and closer medical oversight. The interactions described below represent the most clinically relevant; other potential drug-drug interactions exist but carry less clinical weight.

  • Warfarin. Warfarin (brand name Jantoven) is a notoriously complex drug with interactions across many medication categories and food groups. Antibiotics, including cephalexin, can substantially alter warfarin's anticoagulant action.

Our intestinal bacteria naturally produce vitamin K, which our bodies absorb and use to manufacture blood-clotting proteins. Warfarin works by blocking vitamin K-dependent synthesis of these clotting factors, thereby reducing clot formation and raising the risk of bleeding. When an antibiotic like cephalexin eliminates some of these beneficial gut bacteria, vitamin K production drops. In the presence of warfarin, this reduction can lead to blood that becomes dangerously thin, heightening the risk of hemorrhage. Healthcare providers can order blood tests to monitor for this effect while cephalexin is being taken. "The reason is that the concentration of blood thinners depends on the bacteria in your gut," explains Hannah Imlay, MD, an assistant professor of infectious diseases at the University of Utah Health.

  • Metformin. Metformin is typically the first medication prescribed when Type 2 diabetes mellitus is diagnosed. As a biguanide, it enhances tissue sensitivity to insulin and lowers glucose production by the liver. One of its rare but serious potential complications is lactic acidosis, a life-threatening buildup of lactate in the blood.

Cephalexin raises blood concentrations of metformin. Elevated drug levels increase the risk of adverse effects, including lactic acidosis. Lab monitoring can detect early signs of this condition. It is worth noting that dofetilide, a cardiac antiarrhythmic agent, is another medication whose blood level can be dangerously elevated when combined with cephalexin.

  • Furosemide (Lasix) and other loop diuretics. Lasix is the most widely recognized and used loop diuretic on the market. Its generic name is furosemide. This drug reduces body fluid accumulation in patients with heart disease, liver cirrhosis, or kidney disease. As a diuretic, it increases the workload on the kidneys; prolonged use or combination therapy can sometimes lead to declining kidney function. When furosemide and cephalexin are taken together, the risk of kidney damage may rise, making periodic laboratory testing of renal function advisable.
  • Aminoglycoside antibiotics (like gentamicin). Aminoglycoside antibiotics (such as gentamicin) used together with cephalosporins carry an elevated risk of kidney injury compared to either drug alone. Aminoglycosides are already known for nephrotoxicity and require routine monitoring. If combined with cephalexin, lab testing frequency may need to increase.
  • Probenecid. Probenecid is an infrequently used medication that prevents gout by boosting uric acid excretion through the kidneys. However, it simultaneously reduces the urinary clearance of cephalosporin antibiotics, including cephalexin. This retention causes cephalexin blood levels to rise—a double-edged sword. Higher antibiotic concentrations may combat bacteria more effectively, but they also amplify the drug's side effects, such as vaginal yeast infections.
  • Zinc supplements. May reduce how well cephalexin is absorbed — leave at least three hours between a zinc supplement and your dose.
  • Food. Food can delay the absorption of cephalexin, similar to its effect on many oral medications. Nonetheless, the drug is absorbed adequately enough that it may be taken with or without food.
  • Caffeine. Caffeine is similarly associated with gastrointestinal distress. Taking it alongside cephalexin may increase the likelihood of diarrhea and stomach discomfort.
  • Probiotics and live oral vaccines. This interaction is straightforward: probiotics deliver live beneficial bacteria meant to restore healthy gut flora. Because cephalexin kills some of these helpful microorganisms, probiotic supplements become less effective during antibiotic treatment.

Oral live vaccines contain weakened strains of bacteria—such as those that cause typhoid or cholera—designed to trigger an immune response. If given concurrently with cephalexin, the vaccine bacteria may be destroyed before they can stimulate immunity.

  • Penicillin allergy. Cephalosporins and penicillins are structurally related; both possess a beta-lactam ring that disrupts bacterial cell wall formation. People allergic to penicillin, amoxicillin, or related penicillin-family antibiotics may experience cross-reactivity with cephalexin, potentially causing serious allergic reactions including hives, respiratory difficulty, or severe rashes. However, literature reviews have quantified the cross-reactivity risk at approximately 1%.
  • Antibiotic-associated colitis. Pseudomembranous colitis, marked by diarrhea, abdominal pain, and fever, is a serious infection caused by Clostridioides difficile (C. difficile). Milder infections without pseudomembranes are termed antibiotic-associated colitis. C. difficile typically gains a foothold after antibiotics have eliminated protective gut bacteria. Cephalexin, like other antibiotics, can trigger C. difficile infection and colitis; if C. difficile is already active, cephalexin may worsen the condition.
  • Kidney disease. Reduced kidney function is a crucial consideration because it affects how many medications are processed and eliminated. If kidney tests reveal impaired renal function, medication doses often must be adjusted downward. Cephalexin dosing may require reduction in certain cases of kidney dysfunction.

While some medication interactions cannot be avoided entirely, their risks can be substantially reduced through deliberate steps. Always inform your healthcare provider of all prescription medications, over-the-counter drugs, and supplements you are currently taking. Review your complete medication list with the prescriber before cephalexin is dispensed, as this prevents potentially critical interactions from being overlooked. Bring an updated list to each medical appointment and confirm that it matches the provider's medical record.

Once an interaction is identified between cephalexin and an existing medication, seek guidance from your healthcare provider. They may recommend switching to an alternative antibiotic or, more commonly, instituting periodic blood tests to monitor for interaction-related complications. If lab results show concerning changes, your provider may discontinue cephalexin or adjust your treatment plan.

Before filling any new prescription, ask whether it will interact with medications you are already taking. Making this a habit helps prevent adverse outcomes. If cephalexin is prescribed for you, specifically ask your provider whether it conflicts with your current medications. Do not hesitate to pose the same question to your pharmacist. These conversations are essential for ensuring safety. While this article covers the most significant cephalexin interactions, others exist; asking about drug interactions whenever a new prescription is issued remains the most reliable safeguard.

Sources:

Is cephalexin a penicillin?

No — cephalexin is a cephalosporin, a related but distinct class of antibiotics. Cephalosporins and penicillins share the same core beta-lactam ring and mechanism, which is why cross-reactivity is possible: someone with a penicillin allergy has a modestly elevated chance of also reacting to cephalexin, though literature reviews put that cross-reactivity risk at only around 1%. Still, mention any penicillin allergy history to your prescriber before starting cephalexin — cephalexin should not be used at all if you have a documented allergy to cephalosporins specifically.


Sources

Page info

Prices last checked 2026-08-21. Reviewed against FDA and DailyMed official sources — see our review process. Not a substitute for professional medical advice.