Practical explainer · Sleep medicines
Over-the-Counter Sleep Aids: Pros, Cons and the Bottom Line
When you have spent another night watching the clock, a pharmacy sleep aid can look like a straightforward solution. Some products can make you sleepy and may offer short-term relief. But buying something without a prescription does not make it suitable for everyone, or a good treatment for an ongoing sleep problem.
The bottom line: over-the-counter sleep medicines have a limited role in occasional sleeplessness. For chronic insomnia, cognitive behavioral therapy for insomnia, or CBT-I, is the preferred starting point. Choosing a product should begin with its ingredients and warnings, not the promise on the front of the box.[1,2,11]
What counts as an over the counter sleep aid
In the United States, common OTC sleep medicines contain diphenhydramine or doxylamine. These sedating antihistamines are different from dietary supplements such as melatonin, valerian and magnesium, even when they sit on the same shelf.[1,2,9,10]
Brand names can be misleading because different products within one brand may contain different ingredients. Check the Drug Facts panel each time. A nighttime cold medicine or a “PM” pain reliever may include a sedating antihistamine alongside ingredients you do not need.[1,2,8]
The pros
Convenience is a genuine advantage: these medicines are available without a prescription, and their labels describe short-term sleep-related uses. Diphenhydramine labeling specifically addresses occasional sleeplessness; doxylamine labeling describes reducing difficulty falling asleep.[1,2]
There is some evidence of benefit, but expectations should stay modest. A randomized trial published in 2005 enrolled 184 adults with mild insomnia and compared diphenhydramine, a valerian-hops combination and placebo. The investigators reported modest benefits, with diphenhydramine given for two weeks. That short trial does not establish long-term effectiveness or safety.[3]
For someone considering an occasional sleep aid, a pharmacist can help check whether the ingredient fits the situation and conflicts with other medicines. Easy access is useful; individualized screening still matters.
The cons
Morning grogginess is more than an inconvenience. Sleep medicines can impair driving the next morning, and antihistamines can slow reaction time or cloud thinking even when you do not feel particularly sleepy. Follow the product’s driving warnings rather than assuming that feeling awake means you are unimpaired.[4]
Benefits may also fade with repeated use. In a small 2002 trial, 15 healthy men taking diphenhydramine twice daily developed tolerance to its sedating effects within several days. This was a daytime-sedation study, not proof that every person using an antihistamine at bedtime will have the same experience. It nevertheless challenges the idea that the same sedating effect will reliably continue night after night. Increasing the amount to chase that effect is not a safe solution.[5]
Diphenhydramine and doxylamine also have anticholinergic effects: they interfere with acetylcholine signaling and can cause dry mouth, constipation and confusion. Their effects can add to those of other anticholinergic medicines. Older adults are especially vulnerable because drug clearance and sensitivity change with age. The American Geriatrics Society’s 2023 Beers Criteria recommends avoiding these first-generation antihistamines in most older adults; a medication review should consider the total anticholinergic burden.[6]
For chronic insomnia, the evidence is not persuasive enough to make diphenhydramine a recommended treatment. The American Academy of Sleep Medicine’s 2017 guideline suggests against its use for this purpose. The recommendation is weak, reflecting limitations in the evidence, rather than proof that nobody ever benefits.[7]
Read the warnings before the first dose
The label is a safety checklist, not a formality. These products warn against alcohol and identify sedatives, tranquilizers or other sleep aids as reasons to consult a doctor or pharmacist. Do not combine products simply because each is sold without a prescription. Check cold, allergy and nighttime products for duplicate ingredients, too.[1,2]
Ask a clinician before use if you have glaucoma, breathing problems or difficulty urinating related to an enlarged prostate, as specified on the labels. Pregnancy and breastfeeding also call for professional advice. The adult sleep-aid labels cited here say not to use them in children under 12; this article is not guidance for treating children’s sleep problems.[1,2]
Combination “PM” products need an extra check. For example, acetaminophen plus diphenhydramine is labeled for pain accompanied by sleeplessness. If pain is not the problem, the pain reliever adds an unnecessary ingredient. Taking it alongside another acetaminophen-containing medicine can cause accidental duplication and serious liver injury.[8]
What about melatonin and other supplements
Supplements belong in a separate discussion. FDA does not approve dietary supplements for safety and effectiveness before they reach the market, and “natural” does not guarantee safe or effective.[9]
Melatonin can help with some body-clock-related sleep problems, including jet lag, but that is different from treating chronic insomnia. Evidence for valerian is inconsistent, and magnesium research remains limited and conflicting. AASM suggests against melatonin and valerian for chronic insomnia; NCCIH describes important gaps in the supplement evidence.[7,10]
The practical point is to avoid treating supplements as interchangeable substitutes for sleep medicines, or combining them casually. Their benefits, limitations and interactions deserve their own review.
When to stop self treating
Both antihistamine labels advise stopping use and consulting a doctor if sleeplessness continues for more than two weeks. That warning is not permission for everyone to take a sleep aid nightly for two weeks, and you do not need to wait that long to seek help.[1,2]
If poor sleep keeps returning, bring a list of medicines and supplements to the appointment. A sleep diary can make the pattern easier to describe. The aim is to understand the problem rather than repeatedly cover it up.
The final verdict
There is no single best OTC sleep aid and no universally safe choice. Sedating antihistamines may provide limited, short-term relief, but next-day impairment, side effects and uncertain sustained benefit make them a poor default for recurring insomnia.
For chronic insomnia, ask about CBT-I. It combines approaches that address sleep-related thoughts and behaviors, rather than relying on sedation. It is more than a list of bedtime tips, and it can be delivered in person or remotely. An OTC product may be convenient; a lasting sleep problem deserves a treatment plan.[11]
Find sleep or insomnia therapists on Psychology Today. Ask each provider whether they offer CBT-I and about their specific training and experience treating insomnia.
Educational information for adults in the United States, not individualized medical advice. Product formulations and labeling can change. Read the current package label.