“There's no single best over-the-counter sleep aid for everyone, but there is a smart way to choose: read the active ingredient before anything else. Antihistamine pills and nighttime pain relievers bring real drowsiness that can linger into the morning, and they aren't advised for adults 65 and older. Melatonin, magnesium and herbs have limited evidence for insomnia. Our pick is Adapt X.1, the melatonin-free oral spray we make, with no sedatives and nothing to sleep off.”
Late at night in a drugstore aisle, every box seems to promise the same easy sleep. The quickest way to pick the right over-the-counter sleep aid is to turn the box over, because the active ingredient tells you how it works, how long it lasts and who shouldn't take it.
This guide compares the six main types by ingredient, never by brand: how each one works, what the evidence says, the downsides and who should skip it. Then you get a six-point checklist and our own pick. Full disclosure up front: we make Adapt X.1, and we'll say so again when we get there.
What counts as an over-the-counter sleep aid
Two very different kinds of products share the sleep shelf, and the panel on the back tells you which one you're holding. Every over-the-counter sleep aid falls into one of two groups:
- Sleep medicines. These carry a Drug Facts panel, and the active ingredient is a sedating antihistamine, usually diphenhydramine or doxylamine. Some add a pain reliever.
- Dietary supplements. These carry a Supplement Facts panel: melatonin, magnesium, herbs and blends.
The split is official. A 2017 study of older adults' sleep-aid use points out that the FDA considers melatonin and herbal products dietary supplements, distinct from OTC sleep medicines. Medicines list their active ingredient, directions and warnings in the same standard format. With supplements, as the melatonin section shows, what's in the bottle doesn't always match the label.
Here are the six types this guide compares:
- Type 1: antihistamine sleep aids (medicine).
- Type 2: nighttime "PM" pain relievers (medicine).
- Type 3: melatonin (supplement).
- Type 4: magnesium (supplement).
- Type 5: herbal sleep aids such as valerian, chamomile and lavender (supplement).
- Type 6: melatonin-free oral sprays, the newest format and the one our own product belongs to.
Types 1 and 2: antihistamine pills and nighttime pain relievers
Type 1: Antihistamine sleep aids
How it works. Many sleep medicines rely on one of two older antihistamines, diphenhydramine or doxylamine. MedlinePlus says doxylamine is used for insomnia and works by blocking histamine. Drowsiness is a side effect of these antihistamines, and sleep aids put that side effect to work.
What the evidence says. They do cause drowsiness at first. The catch is that it can fade fast. In one small double-blind trial of just 15 healthy men, diphenhydramine taken twice a day made them sleepier than placebo on day 1, but by day 4 their daytime sleepiness was no different from placebo. It's a single small study, and the authors noted that other antihistamines and dosing schedules may differ. MedlinePlus describes doxylamine as a short-term insomnia option and says to call your doctor if you feel you need it beyond 2 weeks.
The downsides. Next-day drowsiness is the big one. MedlinePlus advises allowing 7 to 8 hours of sleep after taking doxylamine, and it warns against driving or operating machinery until you know your reaction to it. Its side effects include a dry mouth, nose and throat, headache and nausea. Vision problems or trouble urinating mean a call to your doctor right away. Alcohol adds to the drowsiness.
For older adults, the risks climb. The American Geriatrics Society's 2023 Beers Criteria, a list of medicines that are potentially inappropriate for older adults, recommend that people 65 and older avoid diphenhydramine and doxylamine, and note that tolerance develops when they're used for sleep. The 2017 study adds that their anticholinergic effects can cause problems with thinking, hangover effects, dizziness or falls, especially in older adults.
Who should skip it or ask first. Adults 65 and older should talk to a doctor first. So should anyone with glaucoma, trouble urinating from an enlarged prostate, asthma or other breathing problems, heart disease, high blood pressure, seizures or an overactive thyroid. If you're pregnant or breastfeeding, check with your doctor before taking either one. And never use them to settle a child: MedlinePlus says diphenhydramine should not be used to make a child sleepy.
Type 2: Nighttime "PM" pain relievers
How it works. A nighttime pain reliever is two drugs in one pill: a pain reliever plus a sedating antihistamine. MedlinePlus lists diphenhydramine combination products that pair it with acetaminophen, aspirin, ibuprofen or naproxen, and doxylamine is also combined with acetaminophen in some cold and flu products. The sleepy part is the same antihistamine as Type 1, with every caution above.
Who it's for. These products are marketed for nights when pain keeps you awake. If that's you, ask your pharmacist whether a combination suits you at all. If you're not in pain, you'd be taking a drug you don't need, and it comes with label warnings of its own.
The doubling-up trap. The same antihistamines and pain relievers turn up in cold medicines, allergy pills and sleep aids, so it's easy to take one ingredient twice without noticing. The 2017 study warns that when doctors and pharmacists don't know which OTC products you use, it can lead to doubled-up therapy, potentially dangerous overdoses and drug interactions. Before adding any over-the-counter sleep aid, line up every box you take and compare the active ingredients.
Types 3 to 5: melatonin, magnesium and herbal supplements
Type 3: Melatonin
How it works. Melatonin is a hormone your brain makes as it gets dark, and it helps time your sleep. Most supplements are lab-made versions of it.
What the evidence says. NCCIH says melatonin may help with jet lag and with sleep problems from shift work. For insomnia, a 2022 review of 12 studies suggested it helped people fall asleep faster and feel less sleepy in the daytime, but it didn't improve sleep quality or time awake during the night. Two clinical practice guidelines, from 2017 and 2019, recommended against using it for chronic insomnia.
The downsides. NCCIH says melatonin appears relatively safe for short-term use, but its long-term safety hasn't been established. Labels can also be off: a 2023 study found that 22 of 25 melatonin gummy products were inaccurately labeled. One had no detectable melatonin, and others held up to almost 3.5 times the listed amount.
Who should ask first. Anyone pregnant or nursing, anyone thinking of giving it to a child and anyone on other medicines. NCCIH also cites a CDC estimate of 11,000 emergency visits from 2019 to 2022 for children 5 and younger who swallowed melatonin unsupervised, many involving flavored products such as gummies, so keep it out of reach. If you're moving away from melatonin, our guide to a melatonin alternative walks through the options.
Type 4: Magnesium
How it's used. Magnesium is a mineral your body needs, and supplements of it are widely marketed for sleep and relaxation.
What the evidence says. NCCIH puts it plainly: there's very little research on magnesium for insomnia. A 2021 review of 3 studies with 151 participants suggested it may help older adults with insomnia fall asleep faster, but the reviewers judged the studies low quality. A larger 2022 review of 9 studies found conflicting results on sleep quality.
The downsides. Dose matters. NCCIH says adults shouldn't take more than 350 mg a day from supplements and medicines unless a health care provider recommends it. Higher intakes can cause diarrhea, nausea and stomach cramps, and extremely high intakes can lead to an irregular heartbeat. If you take other medicines or have an ongoing health condition, ask a pharmacist to add up the magnesium across everything you take.
Type 5: Herbal sleep aids
How they work. Herbs such as valerian, chamomile and lavender are said to have calming or sedative effects. They're sold as teas, capsules, oils and multi-herb blends.
What the evidence says. It's thin. NCCIH says clinical trials of valerian have had inconsistent results and its value for insomnia hasn't been shown, and a 2017 guideline from the American Academy of Sleep Medicine recommended against it for chronic insomnia. Chamomile has a long tradition, often as a tea, but there's no conclusive evidence from clinical trials either way.
Lavender is often used as a scent. NCCIH reports that a 2021 review of aromatherapy in general, the use of plant essential oils, suggested it helped improve sleep quality in people with insomnia, though the researchers said larger and more rigorous studies are needed.
The downsides. "Natural" doesn't always mean safe, NCCIH reminds readers. People allergic to ragweed or related plants may react to chamomile, and it's uncertain whether valerian is safe for long-term use. Some herbs carry serious risks: kava has been linked to liver injury that is sometimes serious or even fatal. Blends stack several herbs, which makes side effects and interactions harder to sort out.
Who should ask first. Anyone pregnant or nursing, anyone giving an herb to a child, anyone with plant allergies and anyone on other medicines.
Type 6: melatonin-free oral sprays
Oral sleep sprays are a newer format. You spray a measured dose into your mouth and swallow, with no pill involved. The word "spray" tells you nothing about what's inside, though. Some sleep sprays contain melatonin, so read the label; a melatonin-free spray leaves it out entirely.
Judge this type the way you'd judge any other: by the active ingredient, the full ingredient list and whether there's a placebo-controlled trial of the finished product rather than of a single ingredient. Our page on the best sleep spray for adults covers what to look for in more detail.
This is the category our own product, Adapt X.1, belongs to. Rather than argue for it here, we'll run it through the same six checks as everything else, below.
At a glance: the 6 types side by side
Antihistamines and "PM" pain relievers: real drowsiness · plan on 7 to 8 hours in bed · the effect can fade within days · not advised at 65 and older.
Melatonin: may help with jet lag and shift work · may shorten the time to fall asleep · guidelines advise against it for chronic insomnia · labels can be off.
Magnesium and herbs: little or inconsistent evidence · "natural" isn't the same as safe · watch doses, allergies and blends.
Melatonin-free oral spray (Adapt X.1, ours): free of melatonin and sedatives · no next-day fog · a placebo-controlled trial · a 60-night guarantee.
How to choose the best over-the-counter sleep aid: 6 checks
Run these checks on any box or bottle before it goes in your basket. They take two minutes and work for every type above.
- 1. The active ingredient. Read the back, not the front. Diphenhydramine or doxylamine means an antihistamine, whatever the box is called. If two products you take share an active ingredient, ask a pharmacist before taking both.
- 2. Next-day effects. If the directions ask for 7 to 8 hours of sleep, or the warnings mention drowsiness or driving, the effect may carry into the morning. This one matters most if you're up early to drive or to look after kids.
- 3. Habit-forming or short-term only. Phrases like "use for a short time" or "see a doctor if you need it longer than 2 weeks" tell you it isn't made for every night. Our non-habit-forming sleep aid guide goes deeper on this check.
- 4. Label transparency. Every active ingredient should be named with an amount. Be wary of blends that hide doses, and keep NCCIH's warning in mind: words like "standardized," "verified" or "certified" don't guarantee quality or consistency.
- 5. Interactions. Alcohol, other sleep products, cold medicines and prescriptions can all stack up. Take the box to the pharmacy counter, and read our guide on other medications for sleep before adding anything.
- 6. A money-back guarantee. One night tells you very little. A guarantee measured in weeks lets you judge a product over ordinary life, rough nights included.
Our pick: Adapt X.1, and how it measures up
Full disclosure: Adapt X.1 is our product. We make it and sell it on this site, so hold our pick to the same six checks you'd use on anything else. Here's how Adapt X.1 measures up:
- Active ingredient: a single plant active, Zea mays extract (an extract of natural grasses), at 60 mg per serving prior to micronization. The brand calls it an exclusive adaptogen. There's no melatonin, no antihistamine and no other sedative.
- Next-day effects: with nothing sedating in it, there's nothing to sleep off and no next-day fog.
- Habit-forming: it's non-habit forming. Take it every night or only when you need it.
- Label transparency: three ingredients, and that's the whole list: Zea mays extract, purified water and natural mint. A 1 fl oz (30 ml) bottle holds 30 servings.
- Interactions: a three-ingredient label is quick for a pharmacist to check. If you take other medicines, especially sleep medicines, or you're pregnant or breastfeeding, ask your doctor or pharmacist before use.
- Guarantee: a 60-night money-back guarantee. Many people notice an easier wind-down on the first night, and most feel their rhythm settle between weeks two and four of nightly use, so the window covers that stretch.
As for evidence, Adapt X.1 was studied in a double-blind, placebo-controlled clinical trial. In that trial, participants fell asleep 33% faster than with placebo, spent 24% more time in REM sleep and had 30% fewer wake-ups in the night. Individual results vary.
You take 6 to 10 sprays (0.75 ml) in your mouth about 30 minutes before sleep, then swallow. If you want an over-the-counter sleep aid with no sedatives and nothing to sleep off, it's the one we recommend, and our page on choosing a natural sleep aid explains the thinking behind it. A single bottle covers 30 nights.
If you have a medical condition, consult a professional before use.
Who should talk to a pharmacist first
A pharmacist can check any sleep aid against your health and your other medicines in a few minutes. Ask first if any of these apply to you:
- You're 65 or older. Shopping for an over-the-counter sleep aid for older adults? Start with a conversation, not a box. Both antihistamines are on the Beers list of medicines older adults should avoid. The 2017 study adds that melatonin has been well tolerated in clinical trials in older patients and safe for short-term use, but there's little evidence that it works for sleep disorders.
- You're pregnant or breastfeeding. MedlinePlus asks you to tell your doctor before taking either antihistamine, and NCCIH advises checking with your provider before any supplement.
- You take other medicines or drink alcohol. Sedating products add up, and alcohol adds to antihistamine drowsiness.
- You have an ongoing health condition. Check the Type 1 list above, and remember that the same antihistamines are inside "PM" pain relievers.
- It's for a child. Don't use adult sleep aids for children, and ask a pediatrician before giving any supplement.
When to see a doctor instead
- Poor sleep has been the norm on most nights for three months or longer, or it's wearing down your days. NCCIH says cognitive behavioral therapy for insomnia (CBT-I) remains the most strongly recommended approach for insomnia.
- You've relied on a sleep aid for more than 2 weeks.
- A bed partner hears loud snoring, gasping or pauses in your breathing.
- Your legs feel an urge to move at night that eases once you move them.
- You feel low or hopeless, or you have thoughts of harming yourself. Reach out to a doctor, or in the US call or text 988.
Already on a prescription sleep medicine? Don't stop or change it without your doctor. And talk to your doctor or pharmacist before combining sleep aids, including supplements.
Questions people ask
What is the safest over-the-counter sleep aid?
There's no universal answer, because "safest" depends on your age, your health and what else you take. In general, fewer active ingredients means less to cross-check against your other medicines. Our pick, which we make, is Adapt X.1: three ingredients and no sedatives. Still, no product is safest for everyone, ours included, so run whatever you choose past a pharmacist.
Which sleep aid won't make me groggy the next day?
Grogginess after a sleep aid often means a sedating ingredient hasn't worn off by the time you get up. MedlinePlus advises planning 7 to 8 hours of sleep after doxylamine, and the 2017 study lists hangover effects among antihistamine risks. A sleep aid without grogginess has nothing sedating in it, and Adapt X.1 has none. Short nights and late drinks cause fog too, so rule those out.
Why does my sleep aid stop working after a few nights?
With an antihistamine, tolerance is a likely reason: in the small trial above, diphenhydramine's sleepiness had faded to placebo levels by day 4. Don't answer that by raising the dose. Talk to your doctor instead, especially if you've needed a sleep aid for more than 2 weeks.
Can I take two sleep aids together?
Not without a pharmacist's okay. Sedating products add up, a "PM" pain reliever may contain the same antihistamine as your sleep aid, and alcohol adds to antihistamine drowsiness. NCCIH advises finding out about the risks of combining products before you do it.
The bottom line
The best over-the-counter sleep aid is one whose active ingredient you understand and whose morning you can live with. Antihistamine pills and "PM" pain relievers bring real drowsiness, can fade fast with repeated use and aren't advised at 65 and older. Melatonin, magnesium and herbs are supplements with limited or mixed evidence and labels worth reading closely.
Our pick is Adapt X.1, the melatonin-free oral spray we make: three ingredients, no sedatives and a 60-night guarantee. And if sleep has been hard for three months or more, ask your doctor about CBT-I. Want to give the spray the full 60 nights? The 3-bottle pack lasts 90.