Sleeping Pills and Alcohol: Which Sleep Aids Are Riskiest to Mix?

DHM Guide Team 19 min read

Is it safe to take a sleeping pill after drinking? Prescription and over-the-counter sleep aids ranked by risk with alcohol, how they interact, what to do if you can't sleep, and the warning signs that need 911.

The honest answer first: sleeping pills and alcohol are a risky mix, and almost every sleep aid label, over-the-counter or prescription, tells you to avoid alcohol. Both slow down your brain and nervous system. Together they add up, and sometimes more than add up: you can end up far drowsier, more uncoordinated, and more confused than either would make you on its own, and at higher amounts breathing can slow to a dangerous level. The risk isn't the same across every product, though. A melatonin gummy after one glass of wine is a very different situation from a prescription sleeping pill after four cocktails. This guide ranks the common sleep aids by how badly they clash with alcohol, explains why, and covers what to do if you've already been drinking and can't sleep.

The quick rules: Don't take a prescription sleeping pill (such as Ambien, Lunesta, or a benzodiazepine) on a night you've been drinking unless your prescriber has told you specifically that it's okay for you. Be cautious with over-the-counter "PM" and sleep products too: most contain a sedating antihistamine, and some also contain acetaminophen, which brings liver risk. Never use alcohol to make a sleep aid "work better." If you've been drinking and can't sleep, the safest choice is usually to skip the pill tonight. If someone is very hard to wake, breathing slowly or irregularly, has blue or gray lips, or is vomiting while barely conscious, call 911 right away.

This is not medical advice. This article explains general research and drug-label guidance. It is not a substitute for a doctor or pharmacist who knows your health history and full medication list. Talk to your doctor or pharmacist before combining any sleep aid with alcohol, especially if you take a prescription sleep medicine, an opioid, an anxiety medicine, an antidepressant, gabapentin, or a muscle relaxant, or if you are over 65, pregnant, or have sleep apnea, lung disease, or liver disease. If someone may have taken too much, call Poison Control at 1-800-222-1222 (US). In an emergency, call 911.

Why Sleeping Pills and Alcohol Don't Mix: The Mechanism in Plain Words

Most sleep aids and alcohol work on the same broad system: they quiet down activity in the brain. The details differ by drug, but there are three main ways the two collide.

1. They both boost the brain's main "brake" signal. Your brain uses a chemical messenger called GABA to calm nerve activity. Alcohol strengthens GABA's effect. So do benzodiazepines (like Xanax, Ativan, Restoril, and Valium) and the "Z-drugs" (zolpidem, sold as Ambien; eszopiclone, sold as Lunesta; and zaleplon). When you stack two things that press the same brake, the effects pile up. That's why this pairing carries the most serious risk: deep sedation, memory blackouts, and in higher amounts, slowed breathing.

2. They both cause drowsiness through other routes. Over-the-counter sleep aids mostly use antihistamines, either diphenhydramine (in ZzzQuil, Benadryl, Unisom SleepGels, and most "PM" painkillers) or doxylamine (in Unisom SleepTabs and NyQuil). These block histamine in the brain, which makes you sleepy. They don't hit the GABA brake directly, but the drowsiness and slowed reaction time still stack with alcohol's.

3. Alcohol changes how your body handles the drug. Alcohol is processed by the liver, and so are most sleep medicines. Heavy drinking can change how quickly some drugs are cleared, and a few sleep products contain acetaminophen, which has its own well-known liver risk with alcohol. Drinking can also make you forget how many pills you took, which is how accidental double doses happen.

There's one more problem that gets less attention: alcohol already wrecks the sleep you're trying to fix. It helps you fall asleep faster, but it suppresses REM sleep (the dreaming stage) early in the night, and as your body clears it you get lighter, more broken sleep in the second half. Our deep dive on alcohol and REM sleep explains this in detail. A sleeping pill on top doesn't fix that disruption. It just adds sedation on top of it.

Sleep Aids Ranked by Risk With Alcohol

This ranking is a general guide based on how each type works and what its label says. It isn't personal advice. Your own risk depends on how much you drank, your size, your age, your other medicines, and your health. "Lower risk" does not mean "safe to mix."

Risk level Sleep aid Main concern with alcohol
Highest Benzodiazepines (Xanax, Ativan, Restoril, Valium, Halcion) Both boost GABA; deep sedation, blackouts, slowed breathing
Highest Z-drugs (Ambien/zolpidem, Lunesta/eszopiclone, zaleplon) Same GABA system; boxed warning for sleep-driving and sleepwalking; amnesia
High Other prescription sedatives used for sleep (trazodone, mirtazapine, quetiapine, gabapentin) Added sedation, dizziness, low blood pressure, falls; breathing risk with gabapentin
High OTC combo "PM" products with acetaminophen (Tylenol PM, NyQuil, store-brand equivalents) Antihistamine sedation plus acetaminophen liver risk
Moderate to high OTC antihistamine sleep aids (ZzzQuil, Unisom, Benadryl, store brands) Stacked drowsiness, confusion, next-day grogginess; worse in older adults
Moderate Orexin blockers (Belsomra, Dayvigo, Quviviq) and ramelteon (Rozerem) Labels advise against alcohol; added drowsiness and impairment
Lower, not zero Herbal sedatives (valerian, kava, passionflower) Added drowsiness; kava has liver concerns; quality varies
Lowest Melatonin, magnesium, glycine, chamomile tea Little direct sedative stacking, but alcohol undermines how well they work

The sections below walk through each group.

Prescription Sleeping Pills and Alcohol: Talk to Your Doctor First

If you take a prescription sleep medicine, your prescriber and pharmacist are the right people to ask about alcohol, because they know your dose, your other medicines, and your health. What follows is the general picture so you know what to ask.

Ambien (zolpidem) and other Z-drugs

Ambien, Lunesta, and zaleplon are often thought of as "lighter" than benzodiazepines, but they work on the same GABA system, and their labels say not to take them with alcohol.

The bigger issue is what the FDA calls complex sleep behaviors. In 2019 the FDA added its strongest warning, a boxed warning, to zolpidem, eszopiclone, and zaleplon after reports of people sleepwalking, sleep-driving, cooking, and doing other activities while not fully awake, sometimes with serious injuries or deaths. People often have no memory of these events afterward. Alcohol is one of the factors that can make these episodes more likely, along with taking more than the prescribed dose or taking the pill without enough time left for a full night's sleep.

There's also a next-morning problem. In 2013 the FDA lowered the recommended starting dose of zolpidem for women after finding that blood levels the next morning could be high enough to impair driving. Alcohol the night before adds to that grogginess. If you've taken Ambien after drinking, don't drive the next morning until you're sure you feel fully clear.

Benzodiazepines (Xanax, Ativan, Restoril, Valium, Halcion)

Some benzodiazepines, such as temazepam (Restoril) and triazolam (Halcion), are prescribed specifically for sleep. Others, like Xanax and Ativan, are mostly prescribed for anxiety but are sometimes taken at night. With alcohol, this is the most dangerous group on the list.

Both alcohol and benzodiazepines strengthen GABA's calming effect, and in combination they can slow breathing more than either alone. Emergency room and overdose data have repeatedly shown alcohol involved in a meaningful share of serious benzodiazepine-related harm. If you also take an opioid painkiller, the risk climbs further: the FDA has had a boxed warning since 2016 about combining opioids with benzodiazepines because of the risk of breathing problems and death, and alcohol adds a third sedative on top. Our guide on Xanax and alcohol covers this group in more detail.

Trazodone, mirtazapine, quetiapine, and gabapentin

These aren't officially "sleeping pills," but doctors often prescribe them at low doses to help with sleep. All of them cause drowsiness, and alcohol adds to it. Trazodone and quetiapine can also drop your blood pressure when you stand up, which makes falls more likely after drinking. In 2019 the FDA warned that gabapentin and pregabalin can cause serious breathing problems when combined with other central nervous system depressants, a group that includes alcohol. See our pages on trazodone and alcohol and gabapentin and alcohol for the specifics.

Newer prescription options

The orexin blockers suvorexant (Belsomra), lemborexant (Dayvigo), and daridorexant (Quviviq) work differently: instead of boosting the brain's brake, they block a chemical that keeps you awake. Ramelteon (Rozerem) works on melatonin receptors. These don't hit the GABA system the way benzodiazepines and Z-drugs do, but their labels still advise against alcohol because the combined drowsiness and impairment add up. Different mechanism, same practical advice: ask your prescriber before you drink.

Don't stop a prescription to make room for drinking

If you take a prescription sleep medicine every night, don't stop it suddenly so you can drink on a particular evening without asking your prescriber first. Some, especially benzodiazepines, can cause withdrawal symptoms if stopped abruptly after regular use. The better question for your doctor is "what should I do on a night I've had a couple of drinks?" Many will give you a clear answer, which may simply be to skip that night's dose.

Over-the-Counter Sleep Aids and Alcohol

OTC sleep aids feel low-stakes because you can buy them next to the toothpaste. But the labels on diphenhydramine and doxylamine products tell you to avoid alcoholic drinks, and there are good reasons for that.

ZzzQuil, Benadryl, and diphenhydramine products

Diphenhydramine is the active ingredient in ZzzQuil, Benadryl, Unisom SleepGels and SleepMelts, and the "PM" versions of many painkillers. It's an older antihistamine that crosses into the brain and causes strong drowsiness. With alcohol, people commonly report heavy sedation, poor coordination, confusion, and a groggy, hungover-feeling next morning even after modest drinking.

Diphenhydramine also has what doctors call anticholinergic effects, meaning it blocks a chemical messenger involved in memory, attention, and muscle control. That's why it can cause dry mouth, constipation, trouble peeing, and fuzzy thinking. The American Geriatrics Society's Beers Criteria, a widely used list of medicines older adults should generally avoid, includes diphenhydramine and doxylamine for exactly this reason. Add alcohol and the risk of confusion and falls goes up, especially for anyone over 65. Our pages on ZzzQuil and alcohol and Benadryl for hangovers go deeper.

Unisom and doxylamine products

Unisom SleepTabs use doxylamine succinate, a close cousin of diphenhydramine. It's sedating and it lasts a long time in the body, which is why many people feel slow and foggy well into the next day. Taking it after drinking stacks that long tail of drowsiness on top of a hangover. Note that "Unisom" is a brand with more than one product: SleepTabs use doxylamine, while SleepGels and SleepMelts use diphenhydramine. Check the Drug Facts box. More detail is in our Unisom and alcohol guide.

"PM" products with acetaminophen: Tylenol PM and NyQuil

This is the group people underestimate most. Tylenol PM, Advil PM, Aleve PM, NyQuil, and their store-brand copies pair a sedating antihistamine with a painkiller. When the painkiller is acetaminophen, you get two separate problems at once:

  • Sedation stacking from the antihistamine plus alcohol.
  • Liver risk from acetaminophen plus alcohol. The FDA-required label warns that severe liver damage may occur if you have 3 or more alcoholic drinks every day while using the product. Our Tylenol and alcohol guide explains why.

Many people take a PM product "for the headache and to sleep" after a night out, then take more acetaminophen in the morning for the hangover. That's how the daily total creeps up without anyone noticing. Look for acetaminophen, APAP, or paracetamol on the label, and count it across every product you take. See also our page on NyQuil and alcohol.

Advil PM and Aleve PM swap acetaminophen for ibuprofen or naproxen. Those are easier on the liver but harder on the stomach, and their labels carry their own warning about stomach bleeding for people who have 3 or more drinks a day.

Supplements: Melatonin, Magnesium, Valerian, and Others

Supplements sit at the lower-risk end, but "natural" doesn't mean "no interaction."

Melatonin

Melatonin is a hormone your body makes to signal that it's night. As a supplement, it nudges your body clock more than it knocks you out, so it doesn't stack sedation with alcohol the way antihistamines and prescription pills do. That's why it lands at the bottom of the risk table.

The catch is that alcohol seems to work against it. Studies have found that drinking in the evening can lower the body's own melatonin levels, and alcohol's disruption of the second half of the night isn't something melatonin can fully undo. Some people also feel dizzy or groggy when they combine the two. A low dose on a night you've had a drink or two is a lower-risk choice than most alternatives, but it isn't a cure for alcohol-wrecked sleep. Our melatonin and alcohol page covers dosing and timing.

Magnesium and glycine

Magnesium (often as glycinate) and glycine are popular "wind-down" supplements with mild, mostly modest evidence for sleep. Neither is a strong sedative, so there's little direct stacking with alcohol. Drinking does increase how much magnesium you lose in urine, which is one reason people take it after a night out. See magnesium and alcohol for what the research does and doesn't show.

Valerian, kava, passionflower, and other herbal sedatives

Herbal sleep aids are a mixed bag. Valerian and passionflower may add mild drowsiness to alcohol's (our valerian root and alcohol guide covers this in detail), and products vary widely in strength because supplements aren't held to the same standards as medicines. Kava deserves extra caution: it has been linked to rare cases of serious liver injury, and several countries restricted it in the early 2000s for that reason. Combining kava with alcohol puts two liver stressors together on top of stacked sedation. If you're going to drink, kava is a poor choice for the same night.

CBD

CBD is often marketed for sleep. It can cause drowsiness in some people, and the combination with alcohol may increase it. The evidence on CBD for sleep is limited, and products vary in what they actually contain.

I've Been Drinking and Can't Sleep: What Should I Do?

This is the situation most people are really searching about: it's 2 a.m., you've had a few drinks, and you're wide awake. Here's a practical order of operations.

  1. Skip the sleeping pill tonight. Especially a prescription one, an antihistamine, or anything with acetaminophen. One bad night of sleep is unpleasant. A blackout, a fall, or a sleep-driving episode is a lot worse.
  2. Drink water and have a light snack. Alcohol makes you pee more, and dehydration and low blood sugar can both keep you up. A glass or two of water and something small and plain helps.
  3. Keep the room cool, dark, and quiet. Alcohol can make you run warm and wake more often in the second half of the night. A cooler room helps.
  4. Get off your phone. Bright screens push your body clock later. If you can't sleep after about 20 minutes, get up, do something calm in dim light, and go back to bed when you feel sleepy.
  5. Accept a shorter night. Your body clears roughly one standard drink per hour, though this varies a lot from person to person. Sleep tends to get better once the alcohol is gone.
  6. If you want something, the lowest-risk options are melatonin or magnesium, at normal label doses, and only after a modest amount of drinking. Even then, check with a pharmacist if you take other medicines.

For more on why this happens and how to handle it, see our guide on why you can't sleep after drinking.

How long should you wait after drinking to take a sleeping pill?

There is no single safe waiting period that applies to everyone, and you should be wary of any article that gives you one exact number. What matters is whether alcohol is still in your system and how much you had. After one drink with dinner several hours earlier, the picture is different from after a night of heavy drinking. A reasonable general rule is that if you can still feel the alcohol at all, it's too soon for a prescription sleep aid or an antihistamine. If you take a prescription sleep medicine regularly, ask your prescriber for a specific rule that fits your dose.

Who Should Be Most Careful

You're at higher risk from combining sleep aids and alcohol if you:

  • Are over 65. Older adults clear many drugs more slowly, are more sensitive to sedation and confusion, and have more to lose from a fall.
  • Have sleep apnea or lung disease such as COPD. Alcohol and sedatives both relax the airway and can make breathing problems during sleep worse.
  • Take other sedating medicines, including opioids, benzodiazepines, gabapentin or pregabalin, muscle relaxants, some antidepressants, or antihistamines for allergies. Our antihistamines and alcohol and hydroxyzine and alcohol guides cover the allergy side.
  • Have liver disease or take acetaminophen regularly.
  • Are pregnant or breastfeeding.
  • Will need to drive or operate anything the next morning.

If any of these apply to you, a short conversation with your pharmacist is worth it. They can look at your full medication list in a couple of minutes.

When to Get Help Right Away

Most nights where someone takes a sleep aid after a couple of drinks end with nothing worse than a groggy morning. But the combination can turn serious, and the warning signs are easy to mistake for someone who's just very drunk or very asleep. Don't wait to see if it passes.

Call 911 (or your local emergency number) if someone has mixed alcohol with a sleep aid and:

  • Can't be woken up, or wakes only briefly and falls straight back to sleep
  • Is breathing slowly (fewer than about 8 breaths a minute), irregularly, or with long pauses
  • Has blue, gray, or pale lips, fingertips, or skin, or feels cold and clammy
  • Is vomiting while drowsy or semi-conscious
  • Is having a seizure
  • Is severely confused, or has a very slow or very fast heartbeat

While you wait for help: stay with them, roll them onto their side (the recovery position) so they won't choke if they vomit, and don't give them coffee, food, or more pills. Don't try to "walk it off" or put them in a cold shower. If you know what they took, have the packaging ready for responders.

Call Poison Control at 1-800-222-1222 (US) if someone took more than the label dose of a sleep aid, took several products and you're not sure of the total, or you're not sure whether what they took is dangerous. It's free, confidential, and staffed around the clock. If the person is hard to wake or struggling to breathe, call 911 first.

See a doctor in the next day or two if you've had a complex sleep behavior (sleepwalking, sleep-eating, or driving with no memory of it) after taking a sleeping pill, with or without alcohol, or if you notice yellowing skin or eyes, dark urine, or pain under your right ribs after taking an acetaminophen-containing PM product.

Better Ways to Protect Your Sleep When You Drink

The most effective fix is simple: alcohol and sleep compete, so the closer drinking sits to bedtime, the worse the night tends to be. A few habits help:

  • Stop drinking a few hours before bed so more of the alcohol is cleared before you lie down.
  • Alternate drinks with water and eat a proper meal.
  • Drink less on nights when sleep really matters, like before an early flight or a big day.
  • Keep a consistent wake-up time even after a late night, so your body clock doesn't drift.

Our guides to sleep for social drinkers and how to prevent a hangover cover these habits in more depth.

Some people also add a supplement to their routine on drinking nights. DHM (dihydromyricetin) is a plant compound studied for its effects on how the body handles alcohol. Most of the research comes from animal and lab studies, with a small amount of human data, so treat it as promising rather than settled. DHM is not a sleep aid, and there is no good evidence that it makes it safe to combine sleeping pills with alcohol. Our DHM dosage guide explains how much to take and when, our DHM medication interactions guide covers what to check if you take other medicines, and our supplement reviews compare the main brands.

The Bottom Line

  • Almost every sleep aid label says to avoid alcohol, and the risk is real: stacked sedation, confusion, falls, blackouts, and at higher amounts, slowed breathing.
  • The highest-risk combinations are benzodiazepines and Z-drugs like Ambien with alcohol. If you take a prescription sleep medicine, ask your prescriber what to do on nights you drink.
  • OTC antihistamine sleep aids (ZzzQuil, Unisom, Benadryl) stack drowsiness with alcohol, and "PM" products with acetaminophen add liver risk on top.
  • Melatonin and magnesium are the lowest-risk options, but alcohol still undermines the sleep they're meant to help.
  • If you've been drinking and can't sleep, the safest move is usually to skip the pill, hydrate, and accept a shorter night.
  • If someone is hard to wake or breathing slowly after mixing alcohol and a sleep aid, call 911.

Frequently Asked Questions

Is it safe to take sleeping pills after drinking alcohol?

Generally no. Almost every sleep aid label, prescription or over-the-counter, says to avoid alcohol, because both slow down the brain and the effects add up. The risk is highest with prescription pills like Ambien and benzodiazepines, and lower (but not zero) with melatonin. If you take a prescription sleep medicine, ask your doctor or pharmacist what to do on nights you drink. If you've been drinking and can't sleep, the safest choice is usually to skip the pill that night.

What happens if you take Ambien with alcohol?

Ambien (zolpidem) and alcohol both boost the same calming signal in the brain, so together they can cause heavy sedation, poor coordination, memory blackouts, and slowed breathing at higher amounts. Alcohol can also make complex sleep behaviors, like sleepwalking or sleep-driving with no memory afterward, more likely. The FDA added a boxed warning about these behaviors in 2019, and Ambien's label says not to take it with alcohol. Talk to your prescriber before combining them.

Can you take ZzzQuil or Unisom after drinking?

Their labels tell you to avoid alcoholic drinks. ZzzQuil uses diphenhydramine and Unisom SleepTabs use doxylamine, both sedating antihistamines whose drowsiness stacks with alcohol's. Together they can cause heavy grogginess, confusion, and a rough next morning, and the risk is higher for older adults. If you've been drinking, it's safer to skip them that night, or to talk to a pharmacist first if you're unsure.

How long after drinking can I take a sleeping pill?

There's no single waiting period that applies to everyone. It depends on how much you drank, when, your body, and which sleep aid you mean. As a general rule, if you can still feel the alcohol, it's too soon for a prescription sleep aid or an antihistamine sleep aid. Your body clears roughly one standard drink per hour, though this varies widely. If you take a prescription sleep medicine regularly, ask your prescriber for a rule that fits your dose.

Is melatonin safe to take with alcohol?

Melatonin is the lowest-risk common sleep aid to combine with a modest amount of alcohol, because it adjusts your body clock rather than acting as a strong sedative. It isn't risk-free: some people feel dizzy or groggy with the combination, and alcohol lowers your body's own melatonin and disrupts the second half of the night, so it won't fully fix alcohol-related sleep problems. Stick to a low label dose and check with a pharmacist if you take other medicines.

Is Tylenol PM safe after drinking?

It's one of the riskier over-the-counter choices after drinking because it combines two problems: diphenhydramine, which stacks drowsiness with alcohol, and acetaminophen, which carries a liver warning for people who have 3 or more drinks a day. It's also easy to double up on acetaminophen if you take more for a hangover the next morning. If you've been drinking, it's safer to skip it, and to count acetaminophen across every product you take.

What are the signs of a dangerous reaction between alcohol and sleep aids?

Call 911 if someone can't be woken or keeps falling straight back to sleep, is breathing slowly or with long pauses, has blue or gray lips or skin, is vomiting while drowsy or barely conscious, has a seizure, or is severely confused. Stay with them and roll them onto their side so they won't choke. For questions about a possible overdose that isn't an emergency, call Poison Control at 1-800-222-1222 (US).

Why can't I sleep after drinking even though alcohol makes me sleepy?

Alcohol helps you fall asleep faster, but as your body clears it during the night, sleep becomes lighter and more broken, and REM sleep is suppressed early then rebounds later. Dehydration, a full bladder, and running warm add to the wake-ups. A sleeping pill doesn't fix that pattern and adds risk. Stopping drinking a few hours before bed, drinking water, and keeping the room cool tend to help more.

Does DHM help you sleep after drinking?

DHM is not a sleep aid, and there is no good evidence that it improves sleep after drinking in people or that it makes it safe to combine sleeping pills with alcohol. Its research is mostly on how the body handles alcohol, largely from animal and lab studies with limited human data. If you take a sleep medicine or other prescriptions, check with your doctor or pharmacist before adding any supplement.