Cephalexin and Alcohol: Can You Drink on Keflex? (Safe Guide)

DHM Guide Team 19 min read

Can you drink on cephalexin (Keflex)? Why it doesn't cause the Flagyl-style alcohol reaction, how alcohol worsens side effects, and when to call a doctor.

The honest answer first: cephalexin (brand name Keflex) does not cause the dangerous flushing-and-vomiting reaction that a few other antibiotics are known for when mixed with alcohol. Its chemical structure simply lacks the part responsible for that reaction. So one or two drinks while you're on cephalexin is not a known drug-interaction emergency. That said, "no dangerous chemical reaction" is not the same as "a good idea." Alcohol can make cephalexin's most common side effects (nausea, stomach upset, diarrhea, dizziness) feel worse, it can make it easier to miss doses, and heavy drinking works against the immune system you're relying on to clear the infection. This guide explains the real chemistry, what doctors and pharmacists generally advise, and the warning signs that mean you should call someone.

The quick rules: If your doctor or pharmacist told you not to drink on this course, follow that. Otherwise, if you choose to drink while taking cephalexin, keep it light (one or two drinks, not a big night), eat, stay hydrated, and never skip or delay a dose because of drinking. Finish the full course unless your prescriber tells you to stop. If you feel genuinely sick, have a fever that isn't improving, or get severe or bloody diarrhea, contact your doctor rather than blaming it on a hangover.

This is not medical advice. This article explains general pharmacology and label information. It is not a substitute for the doctor or pharmacist who prescribed your antibiotic and knows your health history. Talk to your doctor or pharmacist before drinking if you have kidney problems, liver disease, a serious infection (for example a bone, kidney, or spreading skin infection), take other medicines that cause drowsiness, or were given any specific instruction about alcohol. Get medical help right away if you have trouble breathing, swelling of the face, lips, or throat, a widespread rash or hives, severe or bloody diarrhea, or a fever that is getting worse. In an emergency, call 911.

Can You Drink Alcohol on Cephalexin? The Short, Accurate Answer

Yes, in the narrow sense that there is no well-documented direct chemical interaction between cephalexin and alcohol. The US prescribing information for cephalexin does not list alcohol as an interacting substance, and cephalexin isn't one of the antibiotics known to cause a disulfiram-like reaction (more on that below).

But most pharmacists will still tell you it's better to avoid alcohol, or at least keep it modest, until you finish the course. That advice isn't about a hidden toxic reaction. It's about three practical things:

  1. Side effects stack up. Cephalexin commonly causes nausea, stomach upset, and diarrhea. Alcohol irritates the stomach and gut on its own. Together, you're more likely to feel rough.
  2. Your body is fighting an infection. Heavy drinking dampens parts of the immune response, disrupts sleep, and dehydrates you. None of that helps you recover.
  3. Drinking makes people miss doses. Cephalexin is usually taken two to four times a day. A late night, a late wake-up, and a skipped dose can be a bigger problem than the alcohol itself.

So the real-world answer is: a drink or two with dinner is unlikely to cause harm for most healthy adults on a routine course, but a heavy night out is a bad trade while you're treating an infection.

Why Cephalexin Doesn't Cause the "Antabuse" Reaction

You may have heard that you should never drink on antibiotics because it makes you violently sick. That reaction is real, but it's tied to specific drugs, not antibiotics as a group. It's called a disulfiram-like reaction, named after disulfiram (Antabuse), a medicine that deliberately causes it.

Here's what happens in that reaction, in plain words. Your liver breaks alcohol down in two steps. First, alcohol becomes acetaldehyde, a toxic compound that causes flushing, a pounding heart, headache, and nausea. Then an enzyme called aldehyde dehydrogenase quickly converts acetaldehyde into harmless acetate. Disulfiram blocks that second enzyme, so acetaldehyde piles up and you feel awful within minutes of drinking: hot, red face, throbbing headache, racing heart, nausea and vomiting, sometimes a drop in blood pressure.

A few antibiotics can cause a similar reaction:

  • Metronidazole (Flagyl) and tinidazole are the best-known examples. Their labels warn against alcohol during treatment and for a period afterward (at least three days for metronidazole, according to its US labeling). Interestingly, some researchers have questioned how strong the evidence for metronidazole's reaction really is, but the label warning stands and you should follow it.
  • Certain cephalosporins in the same broad family as cephalexin have also been linked to this reaction. The ones involved, such as cefotetan and the older drugs cefoperazone and cefamandole, share a particular chemical side chain called an N-methylthiotetrazole (NMTT) group. That side chain is believed to interfere with aldehyde dehydrogenase, which is how it produces the disulfiram-like effect.

The structural reason cephalexin is different

All cephalosporins share a core ring structure, but they differ in the side chains attached to it. Those side chains change how each drug behaves, including whether it interacts with alcohol.

Cephalexin does not have the NMTT side chain. It's a first-generation cephalosporin with a much simpler structure at that position (a methyl group). Without the NMTT group, there's no known mechanism for it to block alcohol breakdown, and it isn't on the lists of cephalosporins associated with disulfiram-like reactions.

This is also why you'll see people online confused. They read that "cephalosporins can react with alcohol," know cephalexin is a cephalosporin, and assume the warning applies. It doesn't carry over. The warning belongs to a handful of specific drugs, mostly given in hospitals by IV, not to the oral pill most people get for a skin infection or a UTI.

Antibiotic Disulfiram-like reaction with alcohol? Why
Cephalexin (Keflex) Not known to cause one No NMTT side chain
Cefadroxil, cefuroxime, cefdinir Not generally associated No NMTT side chain
Cefotetan, cefoperazone, cefamandole Yes, reported Contain the NMTT side chain
Metronidazole (Flagyl), tinidazole Label warns against alcohol Reaction reported; avoid alcohol
Amoxicillin, azithromycin, doxycycline Not known to cause one Different mechanism of concern, if any

This table covers the disulfiram-like reaction only. Other antibiotics can have their own reasons to be careful with alcohol (for example, heavy drinking may lower doxycycline levels in some people, and linezolid has dietary restrictions around certain tap beers and fermented foods). Always check your own medicine's label.

What Alcohol Actually Does While You're on Cephalexin

Even without a dangerous chemical reaction, alcohol and cephalexin can rub against each other in a few ways worth knowing.

1. Stomach and gut side effects

The most common side effects listed for cephalexin are digestive: diarrhea, nausea, vomiting, indigestion, and stomach pain. Antibiotics disturb the normal bacteria in your gut, and that's a big part of why loose stools are so common.

Alcohol is also a gut irritant. It inflames the stomach lining, speeds up how fast things move through your intestines, and pulls water into the bowel. If you're already dealing with antibiotic-related stomach trouble, a night of drinking can turn mild discomfort into a miserable day. We cover the alcohol side of this in more depth in our guides to diarrhea after drinking and stomach pain after drinking.

2. Dizziness and tiredness

Some people feel dizzy, tired, or headachy on cephalexin. Alcohol does all of those things too. The combination isn't known to be dangerous on its own, but it's worth being careful about driving, cycling, or anything that needs quick reactions until you know how you feel.

3. Dehydration and your kidneys

Cephalexin is cleared from the body mainly by the kidneys, largely unchanged, which is why doctors reduce the dose for people with poor kidney function. Alcohol makes you urinate more and can leave you dehydrated. For a healthy person this is mostly a comfort issue. For someone with existing kidney problems, it's one more reason to ask the prescriber before drinking.

4. Your immune system

The antibiotic does a lot of the work, but your immune system finishes the job. Research on alcohol and immunity consistently shows that heavy drinking, including binge drinking, can temporarily weaken parts of the immune response. Alcohol also fragments sleep, and poor sleep isn't great for recovery either. Our article on alcohol and the immune system explains this in more detail. A single moderate drink isn't going to wreck your recovery, but a weekend of heavy drinking while you're fighting cellulitis or a kidney infection is working against you.

5. Missed and late doses

This is the most underrated risk. Cephalexin has a short half-life (roughly an hour in people with normal kidneys), which is why it's usually prescribed several times a day. Antibiotics work best when the levels in your body stay steady. Sleeping through a morning dose after a late night, or forgetting a dose while out, is a common way treatment gets patchy. If you do drink, set a reminder.

Does Alcohol Make Cephalexin Less Effective?

There's no good evidence that a moderate amount of alcohol stops cephalexin from working. Alcohol doesn't appear to meaningfully change how cephalexin is absorbed or cleared in healthy people.

The ways alcohol can indirectly make treatment less effective are the ones above: missed doses, vomiting a dose back up, dehydration, and a drinking pattern heavy enough to strain your immune system. If you vomit within a short time of taking a dose, ask your pharmacist whether to take another.

It's also worth remembering that "my infection isn't getting better" may not be about alcohol at all. Some infections are caused by bacteria cephalexin doesn't cover well, such as MRSA in some skin infections. If you're not improving after two or three days, or you're getting worse, call your doctor. Don't assume it's because you had a drink.

Keflex and Alcohol: Is the Brand Name Any Different?

No. Keflex is a brand name for cephalexin. The active drug is the same, so everything in this article applies equally whether your bottle says Keflex, cephalexin, or a generic manufacturer's name. You may also see it spelled "cefalexin," which is the international name used in the UK, Australia, and elsewhere. It's the same medicine.

Liquid (suspension) versions for children and adults who can't swallow capsules contain the same drug too. Liquid versions of other medicines sometimes contain small amounts of alcohol as a solvent, but that's not a reason for concern with standard cephalexin suspension, and it's no reason to stop a child's prescription. If you have questions about inactive ingredients, ask the pharmacist.

How Long After Cephalexin Can You Drink Alcohol?

Because cephalexin doesn't cause a disulfiram-like reaction, there's no official waiting period after the last dose, unlike metronidazole. The drug clears from your body fairly quickly. In people with normal kidney function, most of it is gone within a day of the last dose.

The more useful question is whether you are ready. A sensible approach:

  • Finish the full course first if you can, and wait until you actually feel better.
  • Give your gut a day or two if you had antibiotic-related diarrhea or stomach upset. Alcohol can bring it back.
  • Check that the infection has really cleared. If you still have a fever, spreading redness, or burning when you pee, that's a call to your doctor, not a time to celebrate.

Can You Drink on Cephalexin for a UTI, Skin Infection, or Strep Throat?

Cephalexin is prescribed for a range of common infections, and the type of infection does change the practical advice a little.

Cephalexin for a UTI

Cephalexin is sometimes used for urinary tract infections. Alcohol isn't known to chemically interfere with it, but alcohol is a bladder irritant for many people, and it's a diuretic that can make you dehydrated. Drinking plenty of water is part of standard UTI self-care, and alcohol works against that. If you're on cephalexin for a UTI, most people will feel better faster by skipping alcohol for those few days. If you develop back or side pain, fever, chills, or vomiting, that can mean the infection has reached the kidneys and needs prompt medical attention.

Cephalexin for a skin infection (cellulitis, infected cuts, abscess)

Skin infections are one of the most common reasons people get cephalexin. Heavy drinking can make it harder to look after a wound properly and to notice when things are getting worse. Watch the area: if the redness is spreading (some doctors suggest drawing a line around the edge with a pen to track it), the area becomes very painful or hot, or you develop a fever, contact your doctor promptly.

Cephalexin for strep throat or ear infections

Alcohol can irritate an already sore throat and dry you out, and a fever plus alcohol is a recipe for feeling worse. There's no dangerous interaction, but rest and fluids are the better choice for the first few days.

Cephalexin for dental infections

Dentists sometimes prescribe cephalexin. If you're also taking a pain reliever after dental work, the pain reliever may matter more for alcohol than the antibiotic does. See the section on painkillers below.

Watch the Other Medicines You're Taking

Often the real alcohol question isn't about cephalexin at all. It's about what's being taken alongside it.

  • Painkillers. If you're taking acetaminophen (Tylenol) for pain or fever, regular heavy drinking adds risk to your liver. Our guide to Tylenol and alcohol explains the limits. If you're using ibuprofen or naproxen, alcohol adds to the risk of stomach irritation and bleeding, which is covered in our ibuprofen and alcohol guide.
  • Prescription opioid painkillers sometimes given after dental or surgical procedures should not be combined with alcohol. That combination can slow breathing dangerously.
  • Sleep aids, antihistamines, and anxiety medicines add to alcohol's sedating effect.
  • Metformin. Cephalexin can raise metformin levels somewhat, and alcohol carries its own risks with metformin. If you take metformin for diabetes, ask your pharmacist about both.
  • Probenecid (used for gout) raises cephalexin levels. Not an alcohol issue, but worth your prescriber knowing.

If you're unsure, the quickest answer comes from your pharmacist, who can see your whole medication list. For a broader look at supplements, medicines, and alcohol, see our DHM medication interactions and safety guide.

Side Effects You Shouldn't Blame on a Hangover

When you've had a few drinks, it's easy to write off feeling unwell as a hangover. On an antibiotic, a few symptoms deserve more attention than that.

When to call a doctor or get help

  • Severe, watery, or bloody diarrhea, especially with stomach cramps or fever. This can happen during or even weeks after a course of antibiotics and can be a sign of C. difficile infection, which needs medical treatment. Don't take anti-diarrhea medicine for it without asking a doctor first.
  • Signs of an allergic reaction: hives, itching, a widespread rash, swelling of the face, lips, tongue, or throat, or trouble breathing. Trouble breathing or throat swelling is an emergency. Call 911.
  • A rash with blistering, peeling, or sores in the mouth or eyes. This is rare but serious.
  • Your infection is getting worse rather than better after two or three days: spreading redness, rising fever, chills, or worsening pain.
  • Yellowing skin or eyes, or dark urine. Rare with cephalexin, but worth checking out.
  • You can't keep doses down because of vomiting.

If you have a history of serious penicillin allergy, make sure your prescriber knows. A small number of people allergic to penicillin also react to cephalosporins like cephalexin.

A normal hangover gets better over the course of the day with water, food, and rest. If you're getting worse, or the symptoms don't look like your usual hangover, treat it as a possible medication or infection problem and contact your doctor or pharmacist.

If You Do Drink: A Practical Plan

If your prescriber hasn't told you to avoid alcohol and you decide to have a drink, these steps keep the risk low:

  1. Keep it to one or two drinks. This isn't the week for a big night.
  2. Take your dose on schedule. Set a phone alarm, especially for the morning dose.
  3. Eat. Cephalexin can be taken with or without food, and food can soften stomach upset. Food also slows alcohol absorption.
  4. Drink water alongside alcohol. A glass of water between drinks helps with dehydration.
  5. Skip it if your stomach is already upset. If you already have antibiotic-related nausea or diarrhea, alcohol will probably make it worse.
  6. Don't drive if you feel dizzy or tired from either the medicine or the drink.
  7. Get a good night's sleep. Rest helps your body clear the infection.

And if you wake up feeling rough, our guide to hangover nausea covers what helps the stomach most.

Common Myths About Antibiotics and Alcohol

Myth: All antibiotics react badly with alcohol. Only a few do, through the disulfiram-like mechanism described above. Cephalexin isn't one of them. The broad "never drink on antibiotics" rule probably persists because it's simple, because a few drugs genuinely do react, and because it encourages people to rest and finish the course.

Myth: Alcohol cancels out the antibiotic. There's no good evidence that moderate drinking stops cephalexin from killing bacteria. The indirect effects (missed doses, vomiting, poor sleep) are the real concern.

Myth: You need to wait 72 hours after the last dose. That waiting period comes from metronidazole and tinidazole labeling. It doesn't apply to cephalexin.

Myth: If I feel fine, I can stop the antibiotic early and drink. Stop early only if your doctor tells you to. Feeling better isn't always the same as the infection being fully cleared, and current guidance on course length is a decision for your prescriber.

A Note on Supplements and Hangovers While on Antibiotics

People sometimes ask whether they can take hangover supplements while on cephalexin. There's no known interaction between cephalexin and common hangover supplements like DHM (dihydromyricetin), electrolytes, or B vitamins, but very little research has looked at these combinations directly. If you take supplements, mention them to your pharmacist.

To be clear about what DHM can and can't do: DHM is a plant compound studied for its effects on alcohol metabolism and the liver. Most of the evidence comes from animal and lab studies, with only limited human data. There is no good evidence that it protects you from antibiotic side effects, and it doesn't make heavy drinking during an infection a good idea. If you're curious about it for the occasional night out once you've finished your course, popular choices include Double Wood DHM and No Days Wasted DHM. Our DHM dosage guide covers timing and amounts, and our supplement reviews compare the main brands. The habits with the best evidence are still simpler: drink less, drink slower, eat, and hydrate, as our guide on how to prevent a hangover explains.

The Bottom Line

  • Cephalexin (Keflex) is not known to cause a disulfiram-like reaction with alcohol. It lacks the NMTT side chain found in the few cephalosporins that do.
  • Alcohol can still worsen cephalexin's common side effects, especially nausea and diarrhea, and add to dizziness and dehydration.
  • Heavy drinking can work against your recovery by weakening immune defenses, hurting sleep, and making you miss doses.
  • If you drink, keep it light, stay on your dose schedule, eat, and hydrate. If your prescriber told you not to drink, follow that advice.
  • Severe or bloody diarrhea, allergic reactions, or an infection that's getting worse need a doctor, not hangover remedies.

Frequently Asked Questions

Can you drink alcohol while taking cephalexin?

For most healthy adults, a small amount of alcohol isn't known to cause a dangerous interaction with cephalexin, and alcohol isn't listed as an interacting substance on its US label. However, alcohol can worsen side effects like nausea, stomach upset, diarrhea, and dizziness, and heavy drinking can slow your recovery from the infection. Many pharmacists recommend avoiding alcohol or keeping it to one or two drinks until you finish the course. Follow any specific advice from your own doctor or pharmacist.

Does cephalexin cause a reaction with alcohol like Flagyl does?

No. Metronidazole (Flagyl) and a few cephalosporins such as cefotetan can cause a disulfiram-like reaction, with flushing, headache, racing heart, nausea, and vomiting. The cephalosporins linked to that reaction share a chemical side chain called an N-methylthiotetrazole (NMTT) group. Cephalexin doesn't have that side chain and isn't known to cause the reaction.

Is Keflex and alcohol different from cephalexin and alcohol?

No. Keflex is a brand name for cephalexin, so the advice is the same. You may also see the drug spelled cefalexin outside the US. It's the same medicine.

How long after taking cephalexin can I drink alcohol?

There's no official waiting period for cephalexin, unlike metronidazole, which has a label warning to avoid alcohol for at least three days after the last dose. Cephalexin clears the body fairly quickly in people with normal kidneys. The practical advice is to finish your course, wait until you feel better, and give your stomach a day or two if you had antibiotic-related diarrhea.

Will alcohol make cephalexin stop working?

There's no good evidence that moderate drinking makes cephalexin less effective. The bigger risks are indirect: missing or delaying doses, vomiting a dose back up, dehydration, and heavy drinking weakening your immune response. If your infection isn't improving after two or three days, contact your doctor, as the bacteria may need a different antibiotic.

Can I drink on cephalexin for a UTI?

There's no known chemical interaction, but alcohol is a bladder irritant for many people and a diuretic that can dehydrate you, which works against the extra water that helps clear a UTI. Most people will recover more comfortably by skipping alcohol for those few days. Fever, chills, back or side pain, or vomiting can mean a kidney infection and need prompt medical care.

What side effects of cephalexin should I watch for if I've been drinking?

Contact a doctor for severe, watery, or bloody diarrhea (which can signal C. difficile infection), signs of an allergic reaction such as hives, rash, or facial swelling, a blistering rash, or an infection that's getting worse. Trouble breathing or throat swelling is an emergency, so call 911. Don't dismiss these as a hangover.

Can I take DHM or other hangover supplements with cephalexin?

There's no known interaction between cephalexin and DHM, but very little research has looked at this combination directly, so mention any supplements to your pharmacist. There is no good evidence that DHM protects against antibiotic side effects, and it doesn't make heavy drinking during an infection a good idea.