OTC Sleep Aids: What ZzzQuil, Unisom, and Benadryl Actually Do to Your Sleep

✍️Sleep Smarter Editorial Team
••11 min read•Last reviewed: October 2026
Nightstand at night with an over-the-counter sleep aid and a glass of water

It's 11:40 PM, you have a 7 AM meeting, and your brain will not shut off. So you do what millions of people do: you dig the ZzzQuil or the Unisom out of the medicine cabinet, take a dose, and wait. Sometimes it works. Sometimes you sleep and still wake up feeling like you got hit with a tranquilizer dart. And sometimes "just tonight" quietly turns into every night for the last six months.

Over-the-counter sleep aids are some of the most-used sleep products in the country, and they're sold right next to the cough drops like they're harmless. They're not dangerous for most healthy adults used occasionally. But they're also far weaker than most people assume, they stop working fast, and the long-term trade-offs are real, especially after 60.

Here's what's actually in the box, what the research says it does, and how to use it (or quit it) without wrecking your sleep.

What's Actually in OTC Sleep Aids

Almost every over-the-counter sleep aid in the U.S. uses one of two active ingredients. Both are old-school, first-generation antihistamines, the same family as allergy pills from the 1940s.

Diphenhydramine (usually 25 to 50 mg):

  • Benadryl
  • ZzzQuil
  • Unisom SleepGels and SleepMelts
  • Tylenol PM, Advil PM, Aleve PM (paired with a pain reliever)
  • Most store-brand "nighttime sleep aid" products

Doxylamine succinate (usually 25 mg):

  • Unisom SleepTabs
  • Many store-brand "sleep aid" tablets
  • NyQuil (in combination with other ingredients)

Note the naming trap: Unisom SleepTabs and Unisom SleepGels contain different drugs. Read the active ingredient line, not the brand name.

How they make you sleepy

Histamine isn't just an allergy chemical. In the brain, histamine-producing neurons are a major part of the wake-promoting system. They fire during the day and go quiet at night. First-generation antihistamines cross the blood-brain barrier and block histamine H1 receptors, which turns down that wake signal. Drowsiness is technically a side effect that got rebranded as the main event.

The problem is that these drugs aren't precise. They also block acetylcholine receptors throughout the body. That "anticholinergic" action is where most of the downsides come from: dry mouth, constipation, trouble urinating, blurred vision, and next-day mental fog.

How Well Do They Actually Work?

Less well than the marketing implies.

When the American Academy of Sleep Medicine reviewed the evidence for its 2017 guideline on chronic insomnia medications, it recommended against using diphenhydramine for chronic insomnia. The trials it reviewed showed small effects: diphenhydramine shortened time to fall asleep by only a few minutes on average and added roughly 10 to 15 minutes of total sleep compared with placebo. The quality of that evidence was rated low. Doxylamine has even less modern research behind it as an insomnia treatment.

That doesn't mean nobody benefits. Some people clearly get knocked out by 25 mg of diphenhydramine. But on average, the measurable gain is modest, and much of what people feel is sedation, not better sleep.

Tolerance shows up in days, not months

This is the part most people don't know. A controlled study published in the Journal of Clinical Psychopharmacology gave healthy adults diphenhydramine twice daily and found that by the fourth day, its sedating effect was no longer distinguishable from placebo.

So if you've been taking ZzzQuil nightly for weeks and feel like it "stopped working," you're probably right. Your brain adapted. What's left is mostly the side effects and the habit.

The hangover is real

Diphenhydramine's half-life in healthy adults runs roughly 4 to 9 hours, and longer in older adults. Doxylamine's is longer still, often around 10 hours or more. Take either at midnight, and a meaningful amount is still in your system when your alarm goes off.

That shows up as grogginess, slower reaction time, and worse focus. In a well-known driving-simulator study in the Annals of Internal Medicine, a 50 mg dose of diphenhydramine impaired driving performance more than alcohol at roughly the legal limit. People often don't feel how impaired they are, which is exactly what makes it risky.

The Real Risks (and Who Should Skip Them)

For a healthy adult taking a dose a few nights a year, the risk is low. The risk climbs with frequency, age, and certain health conditions.

Older adults: the biggest red flag

The American Geriatrics Society Beers Criteria, the standard reference for medications to avoid in older adults, lists first-generation antihistamines like diphenhydramine and doxylamine as drugs to avoid in people 65 and older. Older bodies clear them more slowly, and the anticholinergic effects raise the risk of confusion, falls, constipation, and urinary retention.

There's also the dementia question. A 2015 study in JAMA Internal Medicine followed more than 3,400 adults 65 and older and found that those with the highest cumulative use of anticholinergic drugs (roughly the equivalent of a daily dose for three years or more) had about a 54% higher risk of developing dementia. Diphenhydramine and doxylamine were among the drugs counted.

That's an association, not proof of cause. People who take sleep aids for years may differ in other ways. But it's consistent enough across studies that if you're over 60 and taking a "PM" product nightly, it's worth a conversation with your doctor. Our guide to sleep for seniors covers what actually changes with age and what helps instead.

Other people who should talk to a doctor first

  • Men with an enlarged prostate (BPH). Anticholinergics can make it harder to urinate, and in some cases cause urinary retention.
  • Anyone with narrow-angle glaucoma. These drugs can raise eye pressure.
  • People with restless legs. Sedating antihistamines are a well-known trigger that can make restless legs symptoms worse. If your legs crawl at night, see our guide to restless legs syndrome and sleep.
  • Loud snorers or people with suspected sleep apnea. A sedative doesn't fix airway collapse, and it can mask the real problem. If you snore and wake up exhausted, start with our guide to sleep apnea symptoms.
  • Pregnant or breastfeeding. Doxylamine is sometimes prescribed for pregnancy nausea, but dosing and use should come from your OB, not the store shelf. More in our pregnancy sleep guide.
  • Anyone on other sedating or anticholinergic meds, including certain antidepressants, bladder medications, muscle relaxants, opioids, or other allergy pills. Stacking them adds up.
  • Kids. Don't use diphenhydramine as a sleep aid for children without a pediatrician's guidance. Some kids get wired and agitated instead of sleepy, and the FDA has warned about serious harm from high doses.

Never mix with alcohol

Alcohol plus a sedating antihistamine is a stronger combination than either alone, with more impairment and more next-day fog. Alcohol already fragments the second half of your night (see alcohol and sleep), so stacking it with a sleep aid buys you heavier sedation and worse sleep at the same time.

Watch the "PM" combo products

Tylenol PM and Advil PM pair diphenhydramine with a pain reliever. If you're not in pain, you're taking acetaminophen or ibuprofen every night for no reason. That means extra load on your liver (acetaminophen) or your stomach and kidneys (ibuprofen). If sleep is the only problem, the combo product is the wrong tool.


Stuck in the pill-every-night loop? The Sleep Reset is a structured, step-by-step plan to rebuild your schedule, wind-down routine, and bedroom setup, so your sleep runs on a system instead of whatever's in the medicine cabinet.


When an OTC Sleep Aid Actually Makes Sense

There's a reasonable, narrow use case here. The FDA labeling itself frames these products for occasional sleeplessness and tells you to see a doctor if sleeplessness lasts more than two weeks.

Reasonable situations:

  • A one-off night when you're wired from travel, a late event, or a schedule shift
  • The first night or two in a noisy hotel or unfamiliar place
  • A short-term stressful stretch, used a few nights total, not nightly

If you use one, do it right:

  1. Start with the lowest dose. For diphenhydramine, try 25 mg before reaching for 50. Many people get the same sleep at half the dose with less hangover.
  2. Take it early enough. Only take it when you have a full 7 to 8 hours before you need to be up and alert. Taking a dose at 3 AM is how you end up foggy at a 9 AM meeting.
  3. Don't drive or make big decisions the next morning until you know how it hits you.
  4. Cap it. A few nights at most, then stop. If you're reaching for it more than twice a week, that's a signal to fix the underlying problem, not to keep dosing.
  5. One sedative at a time. No alcohol, no doubling up with NyQuil, no adding a second sleep product on top.

If You've Been Taking It Every Night

If OTC sleep aids have become part of your nightly routine, here's the honest picture: the sedating benefit has probably faded, and what you're getting is mostly habit and side effects. The good news is that coming off antihistamines is usually much easier than coming off prescription sleeping pills.

Some people do notice a few rougher nights when they stop. That's normal, temporary, and not proof that you "need" the drug. Our guide to rebound insomnia explains why the first few nights off can feel worse and how to ride them out.

A simple step-down plan

Check with your doctor or pharmacist first, especially if you take other medications. A typical approach looks like this:

  • Week 1: Drop to the lowest dose you've been using (for example, 50 mg down to 25 mg of diphenhydramine).
  • Week 2: Take it every other night.
  • Week 3: Use it only if you've been awake more than 30 to 40 minutes, and only on nights you can still get 7 hours.
  • Week 4: Stop. Keep the box out of the bedroom.

While you taper, start fixing the reason you needed it in the first place. That's where the real gains are.

What Works Better Than OTC Sleep Aids

CBT-I: the first-line treatment for insomnia

Cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment recommended by major medical guidelines, ahead of any medication. It works by rebuilding the link between your bed and sleep, tightening your sleep window so sleep gets deeper, and breaking the anxious "will I sleep tonight?" loop. In head-to-head studies, the benefits of CBT-I hold up after treatment ends, while medication benefits tend to fade when you stop.

The core rules are simple, even if they're uncomfortable for the first couple of weeks:

  • Same wake-up time every day, including weekends
  • Bed is only for sleep (and sex)
  • If you're awake and frustrated for more than about 20 minutes, get up, do something boring in dim light, and return when sleepy
  • No clock-watching

Start with our full breakdown of CBT-I for insomnia. If your sleep fell apart recently, our explainer on what insomnia actually is helps you figure out whether you're dealing with a rough patch or a chronic pattern.

Quiet the 11 PM brain

A lot of people reach for a sleep aid because their mind won't stop, not because their body isn't tired. Sedating that with an antihistamine is a blunt fix. Better options:

  • Write down tomorrow's to-do list and anything nagging you 1 to 2 hours before bed
  • Try cognitive shuffling, a simple technique that gives your brain a neutral, low-stakes task to drift off on
  • If racing thoughts are a nightly pattern, read our guide to sleep anxiety and the racing mind

Use gentler supplements, with realistic expectations

None of these are knockout pills, and that's the point. They support sleep without the anticholinergic baggage. For the full comparison, see our guide to natural sleep aids.

  • Low-dose melatonin is best for timing problems (jet lag, night owl schedules, shift changes), not as a general sedative. More isn't better. Doses of 0.5 to 3 mg are plenty for most adults, taken 1 to 2 hours before your target bedtime. A 0.5 mg melatonin lets you start low. Details in melatonin for sleep.
  • Magnesium glycinate is well tolerated and a reasonable option if your diet is low in magnesium. Most people use 200 to 400 mg of elemental magnesium in the evening. A magnesium glycinate supplement is the gentlest form for most stomachs. See magnesium for sleep.
  • Glycine at about 3 grams before bed has small studies showing better subjective sleep quality and less next-day fatigue. Glycine powder mixes easily into water or tea. More in glycine for sleep.

If you take prescription medications, are pregnant, or have kidney disease, check with your doctor before adding any supplement.

Fix the room

Sometimes the "I can't sleep" problem is really an environment problem. Light, noise, and heat wake you up in ways a sleep aid only partially covers up.

  • Dark: Blackout curtains or a contoured sleep mask that doesn't press on your eyes.
  • Quiet: A steady sound machine like the LectroFan masks traffic, a snoring partner, and house noises.
  • Cool: Most people sleep best somewhere around 60 to 67°F.

Our guide to sleep environment optimization walks through the full setup.

When to See a Doctor

OTC sleep aids are designed to cover a bad night, not a sleep disorder. Talk to a doctor if:

  • You've had trouble sleeping three or more nights a week for three months or longer
  • You need a sleep aid more than a couple of nights a week to function
  • You snore loudly, gasp or choke at night, or wake up exhausted after a full night in bed
  • You have creepy-crawly leg sensations that keep you up
  • Your sleep problems started alongside low mood, anxiety, or a new medication
  • You're 65 or older and have been using a "PM" product regularly

Ask specifically about CBT-I. It's often available through sleep clinics, therapists, telehealth programs, and digital apps.

The Bottom Line

OTC sleep aids like ZzzQuil, Unisom, and Benadryl are sedating antihistamines, not true sleep medicines. For an occasional rough night, a low dose taken with enough time to sleep it off is reasonable for most healthy adults under 65. Used nightly, they lose most of their effect within days, leave a hangover you may not notice, and carry real long-term concerns, especially for older adults.

If you're taking one most nights, the box isn't the solution. It's a signal. Taper off, fix your schedule and wind-down routine, tune up your bedroom, and use CBT-I to rebuild sleep that works on its own. That's the path to nights you don't have to medicate your way through.

Frequently Asked Questions

Is it safe to take ZzzQuil or Unisom every night?+

Not as a long-term habit. Diphenhydramine and doxylamine lose most of their sedating effect within about four days of nightly use, leave next-day grogginess, and carry anticholinergic side effects. They are labeled for occasional sleeplessness, and the label says to see a doctor if trouble sleeping lasts more than two weeks.

What is the difference between Unisom SleepTabs and ZzzQuil?+

Unisom SleepTabs contain doxylamine succinate, while ZzzQuil and Unisom SleepGels contain diphenhydramine. Both are first-generation antihistamines, but doxylamine has a longer half-life, so it is more likely to cause a next-morning hangover.

Do OTC sleep aids cause dementia?+

A 2015 JAMA Internal Medicine study linked heavy, long-term use of anticholinergic drugs, including diphenhydramine and doxylamine, to about a 54% higher dementia risk in adults 65 and older. That is an association, not proof of cause, but it is one reason the Beers Criteria advise older adults to avoid these drugs.

How do I stop taking sleep aids every night?+

Check with your doctor or pharmacist first, then step down gradually: drop to the lowest dose, move to every other night, use it only as a backup, then stop. Expect a few rougher nights. Pair the taper with CBT-I basics like a fixed wake time and getting out of bed when you cannot sleep.

What works better than over-the-counter sleep aids?+

CBT-I is the first-line treatment for chronic insomnia, and its benefits last after treatment ends. Gentler supports include low-dose melatonin for timing problems, magnesium glycinate, glycine, and a dark, quiet, cool bedroom.

Ready to sleep smarter?

Calculate your optimal bedtime in seconds.

Use Sleep Calculator
😴

Sleep Smarter Editorial Team

Our editorial team researches and writes evidence-based sleep content grounded in peer-reviewed science. All articles reference established sleep research from sources including the NIH, AASM, and Sleep Foundation.