Learn

Over-the-Counter Sleep Aids: Do They Work?

Not needing a prescription tells you how a product is regulated, not how safe it is. Here is what the guidelines say about what is in the box.

The short answer

  • Most over-the-counter sleep aids in the US are first-generation antihistamines — usually diphenhydramine or doxylamine. They may help with occasional sleeplessness, but they are not recommended for chronic insomnia.
  • The AASM's 2017 guideline suggests clinicians not use diphenhydramine for sleep-onset or sleep-maintenance insomnia, and the 2025 VA/DoD guideline suggests against it too.
  • The American Geriatrics Society's Beers Criteria advise avoiding first-generation antihistamines in adults 65 and over, citing anticholinergic effects, reduced clearance with age and tolerance when used as a hypnotic.
  • Melatonin, sold alongside them, carries a recommendation against use for chronic insomnia in the same AASM guideline.
  • Being available without a prescription reflects regulatory history, not evidence of safety for nightly use.

AASM = American Academy of Sleep Medicine · VA = US Department of Veterans Affairs

For education only, and not a substitute for advice from your own doctor or prescriber.

Quick check

Do your answers fit the pattern for insomnia?

Four yes/no questions, about thirty seconds. Your result shows straight away, and no email is needed.

Do you have difficulty falling asleep or staying asleep for 3 or more nights a week?
Question 1 of 4

The pharmacy sleep aisle is arranged like a ladder: gentle herbal things at one end, "maximum strength" at the other, all of it available without asking anyone. That arrangement says nothing about whether any of it is a good idea nightly. Products marketed for sleep contain a mix of melatonin, sedating antihistamines and herbal ingredients. They may have a place for short-term use; for long-running insomnia, other options are better supported.

What is actually in the box

Nearly every non-supplement over-the-counter sleep aid in the US contains a first-generation antihistamine, usually diphenhydramine or doxylamine. These are allergy medicines. Drowsiness was the side effect that made them a drawback for hay fever — and the reason they were repurposed for sleep.

They work in the narrow sense that they make you sleepy. Whether that amounts to treatment is the question the guidelines answer.

Do they work?

For a short time, and for mild insomnia, there is some evidence. In a trial of 184 adults with mild insomnia, 50 mg of diphenhydramine nightly for two weeks modestly improved sleep efficiency and self-rated insomnia severity compared with placebo.4

In a trial of adults aged 70 to 89, the same dose for fourteen nights reduced the number of awakenings — 1.7 against 2.0 on placebo — without improving other sleep measures.5

The bigger problem is that the effect fades. Tolerance to the sedative effect of diphenhydramine has been shown to develop within about three days of continuous use.6 That matches what most nightly users describe: it worked for a few nights, then it stopped.

This is why these labels say they are for occasional sleeplessness, and tell you to stop and seek medical advice if sleeplessness persists beyond two weeks — wording set by the FDA monograph that governs the category.7

The age problem

For older adults there is a further issue. The American Geriatrics Society's Beers Criteria identify medications that are potentially inappropriate in adults 65 and over, and advise avoiding first-generation antihistamines. The stated rationale:

"Highly anticholinergic; clearance reduced with advanced age, and tolerance develops when used as hypnotic; risk of confusion, dry mouth, constipation, and other anticholinergic effects or toxicity."2

That is a strong recommendation on moderate-quality evidence — stronger than anything in the AASM's medication guideline, where every recommendation is graded weak.

Two parts of that reasoning apply well beyond 65. Tolerance develops when the drug is used as a hypnotic. And the anticholinergic effects — dry mouth, constipation, next-day fog — are not confined to older people; they are simply harder to tolerate as you age.

What the sleep guidelines say

The AASM's 2017 guideline on drug treatment for chronic insomnia reviewed diphenhydramine among fourteen agents, and suggests clinicians not use it for sleep-onset or sleep-maintenance insomnia.1 The same guideline reaches the same verdict on the supplements sold beside it: melatonin, valerian and L-tryptophan all carry recommendations against use for insomnia.1

The 2025 VA/DoD guideline also suggests against diphenhydramine for chronic insomnia.3

What the guidelines put first

Chronic insomnia means trouble sleeping three or more nights a week for at least three months, with a consequence during the day. For that, the American College of Physicians recommends CBT-I as the first treatment for all adults — a strong recommendation on moderate-quality evidence.8 It is also the only treatment with a strong recommendation in the AASM's 2021 behavioral guideline.9

CBT-I is short-term, and it works on the thoughts and habits that keep insomnia going: a consistent schedule, less time awake in bed, and ways to handle a racing mind.

Not a supplement. Not an antihistamine. And not something you have to stop anything else in order to start.

Common questions

Do over-the-counter sleep aids work?
They can help short-term with mild insomnia — in one trial, 50 mg of diphenhydramine nightly for two weeks modestly improved sleep efficiency against placebo. But the AASM's 2017 guideline suggests clinicians not use diphenhydramine for insomnia, and tolerance to its sedative effect develops within about three days of continuous use.
Is it safe to take Benadryl for sleep every night?
The guidelines point away from it. The AASM suggests against diphenhydramine for insomnia, the 2025 VA/DoD guideline does the same, and for adults over 65 the Beers Criteria say avoid the class outright, citing anticholinergic burden and risks including confusion. If you are taking it nightly, raise it with a pharmacist or prescriber — not as an emergency, but as a conversation about whether it is the right long-term answer.
What is the difference between diphenhydramine and doxylamine?
Both are first-generation antihistamines used as the sedating ingredient in over-the-counter sleep products, and both work in much the same way. Doxylamine is generally considered more potent and longer-acting.
Are "natural" options like melatonin or valerian better?
Not according to the same guideline. The AASM's 2017 guideline recommends against melatonin, valerian and L-tryptophan for chronic insomnia, just as it does against diphenhydramine. Herbal supplements can also interact with other medicines, which is worth checking with a pharmacist.
If they are sold without a prescription, doesn't that mean they are safe?
It means they came through an approval process, much of which is decades old. It does not tell you whether taking them every night for months is a good idea.

References

  1. Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2017;13(2):307-349. doi:10.5664/jcsm.6470
  2. American Geriatrics Society. 2023 updated AGS Beers Criteria for potentially inappropriate medication use in older adults. Journal of the American Geriatrics Society. 2023;71(7):2052-2081. doi:10.1111/jgs.18372
  3. VA/DoD Clinical Practice Guideline for the Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea. Version 3.0. US Department of Veterans Affairs and Department of Defense; 2025.
  4. Morin CM, Koetter U, Bastien C, Ware JC, Wooten V. Valerian-hops combination and diphenhydramine for treating insomnia: a randomized placebo-controlled clinical trial. Sleep. 2005;28(11):1465-1471. doi:10.1093/sleep/28.11.1465
  5. Glass JR, Sproule BA, Herrmann N, Busto UE. Effects of 2-week treatment with temazepam and diphenhydramine in elderly insomniacs: a randomized, placebo-controlled trial. Journal of Clinical Psychopharmacology. 2008;28(2):182-188. doi:10.1097/JCP.0b013e31816a9e4f
  6. Richardson GS, Roehrs TA, Rosenthal L, Koshorek G, Roth T. Tolerance to daytime sedative effects of H1 antihistamines. Journal of Clinical Psychopharmacology. 2002;22(5):511-515. doi:10.1097/00004714-200210000-00012
  7. Nighttime sleep-aid drug products for over-the-counter human use. 21 CFR Part 338. US Food and Drug Administration; final monograph 54 FR 6826, 14 February 1989.
  8. Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD. Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians. Annals of Internal Medicine. 2016;165(2):125-133.
  9. Edinger JD, Arnedt JT, Bertisch SM, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2021;17(2):255-262. doi:10.5664/jcsm.8986

Next in this path

Do I have insomnia?A few quick questions
Take it