# Are sleeping pills safe to take?

> Perhaps the pill is on the bedside table, still in its blister pack, and you're wondering whether tonight's the night to open it. Maybe you're in the drugstore aisle holding a box marked PM. Or you've taken one most nights for years, and you've started to wonder whether that's all right.

**In short:** Now and then, with a full night ahead and no alcohol or sedatives[^1], a prescription pill's side effects are mostly mild except morning grogginess[^2]. Every night, it may help less after two weeks or more[^1]. Stopping goes slowly, with your doctor, to avoid withdrawal[^3]. PM pills add only minutes[^2], and you seem to adapt in days[^4].

You've probably tried a lot already: cutting the caffeine, a bedtime routine, a podcast in the dark. So reaching for a pill can feel like failure and relief at once, and knowing the pack is there in the drawer may be half the comfort. If you've taken one for a long time, you may have a worry behind all the other questions. What is it doing to you, and could you sleep without it? For tonight, though, it comes down to some sleep, and a clear head when the alarm goes tomorrow.

## How much does a sleeping pill add to a night?

What most people hope for from a pill is simple enough: to fall asleep sooner, and to sleep longer once they do. The prescription pills you're most likely to be holding, zolpidem or an older benzodiazepine such as temazepam, work through the brain's own braking system[^3][^5] to slow the brain and bring on drowsiness.

Researchers once gathered the trials that the makers of zolpidem and its relatives had sent to the FDA: thirteen of them, with more than 4,000 adults with insomnia sleeping in a lab. On the drug, people fell asleep about forty-two minutes sooner[^5] than they had before. People on a dummy pill fell asleep sooner too. Set side by side, about twenty-two of those minutes came from the drug itself[^5], and about twenty came on the dummy pill as well.

What, then, does the pill itself add to your night? The American Academy of Sleep Medicine pooled the zolpidem trials for its guideline. Taken together, they showed zolpidem cut about twelve minutes from falling asleep and added about half an hour of sleep[^2]. The academy rates the evidence behind those numbers as very low in quality, so they're best read as a rough guide. Why twelve minutes here and twenty-two in the FDA trials? The two figures come from different sets of trials. For the older benzodiazepines, the trials are thinner still[^2]. Newer pills that act on the brain's orexin system, such as daridorexant, do modestly better than a dummy pill[^6], with no evidence so far of tolerance or rebound[^6][^2] when they're stopped. Those trials ran only one to three months, though, which is too short to know for sure.

So on a hard night a pill can give you something real: somewhere between twelve and twenty-two minutes sooner asleep from the drug itself, and about half an hour more sleep. A good part of the ease you feel on it comes from you.

## What about the PM pills in the drugstore?

In many PM boxes, among them Advil PM, Aleve PM and Excedrin PM, the sleep ingredient is diphenhydramine, the same antihistamine sold for allergies as Benadryl[^7]. That makes it easy to take twice in one evening without knowing: once in a painkiller, and again in an allergy tablet. Some PM boxes use a different ingredient, so you could turn yours over and check the label. What follows is about diphenhydramine alone.

On a hard night, a PM pill is likely to add only minutes of sleep[^2], too few for the sleep medicine guideline to count as a real difference. Your body also seems to get used to it within days. In a small trial, fifteen healthy men took it twice a day, and the sleepiness it caused had faded by the fourth day[^4]. That was sleepiness by day; the trial didn't look at anyone's nights. If you have glaucoma, lung disease or trouble passing urine because of an enlarged prostate, you'd want a doctor to hear about it before you take it[^7].

**Extra sleep over a dummy pill, and how far each guess might be off**

Each dot is the best guess, in the trials the American Academy of Sleep Medicine pooled, of how much more adults with insomnia slept on the pill than on a dummy pill; each line is the range the true gain could plausibly fall in. Zolpidem’s whole range is above zero, measured in a sleep lab or by people’s own reckoning[^2]. The lines for triazolam, from a single trial of 32 people[^2], and for diphenhydramine, from two trials[^2], reach past no difference: they can’t rule out adding nothing at all.

- **Zolpidem, measured in a sleep lab** 11 to 47 minutes: Two lab studies

- **Zolpidem, by people’s own reckoning** 15 to 45 minutes: Pooled trials

- **Triazolam, by people’s own reckoning** -9 to 60 minutes: One trial

- **Diphenhydramine (PM pills), own reckoning** -4 to 40 minutes: Two trials

## Is it all right to take one on a hard night?

Taken now and then, a pill is a visitor your body barely adjusts to, because dependence builds with steady use[^3]. So on an occasional night, what matters most is how and when you take it. Zolpidem's label says to take it right at bedtime, with seven to eight hours still ahead of you in bed[^1]. If you get up sooner, you can be drowsy, unsteady and forgetful, and it can impair your driving the next morning even when you feel wide awake[^1]. The guideline found this morning-after sleepiness was the main exception to zolpidem's otherwise mild side effects[^2], most of all with fewer than eight hours before waking. That's why a pill taken at 3am with the alarm set for 7 is the one most likely to follow you into the day.

The serious danger lies in combinations, when a pill meets other things that slow the brain and breathing. Benzodiazepines taken with opioids, alcohol or other sedatives have caused breathing so slow that people have died[^3]. Alcohol adds to the effects of zolpidem and diphenhydramine[^1][^7] as well. So please don't take a sleeping pill on a night you've been drinking, or alongside another sleep aid. And if you wake at 2am with the pill already in you, please leave the pack where it is rather than reach for a second one[^1].

A few people on zolpidem have got up and driven, cooked and eaten, made phone calls or sleepwalked without being fully awake[^1], and remembered none of it the next day. Trials are too small to say how often this happens, so what's known comes mostly from clinical experience[^2]. If you find it has happened to you, please call your doctor straight away. The label says to stop the pill. If you've been taking it every night, your doctor can tell you how to stop safely, since stopping all at once can bring withdrawal.

**If you’d like to try something tonight**

If your doctor prescribed the pill and you're well in other ways, you could take it as you get into bed, leaving seven to eight hours[^1] before you need to be up, with no alcohol or other sedative that evening. Before an early drive it may be a night to go without, since the pill can slow you at the wheel without your feeling it[^1]. If you're older or snore heavily, you might read the next section and the notes on seeing a doctor before you open the pack.

## Is it different if I’m older?

If you're older, or helping a parent decide, the pills work differently in an older body. Here the evidence comes from trials in people over 60, who took a pill for at least five nights. Sleeping pills gave them about twenty-five more minutes of sleep a night[^8]. Memory loss, confusion and daytime tiredness, meanwhile, came far more often than on a dummy pill. For every thirteen people treated, one slept better, while for every six, one had a side effect[^8].

That's why the American Geriatrics Society advises older adults to avoid benzodiazepines for sleep and keep z-drugs to under ninety days[^2], because of falls, confusion and car crashes. Zolpidem can leave someone unsteady in the night and the next day, so getting up to the bathroom at night and the first hours of the morning both need extra care[^1]. PM pills matter here too. A box on an open shelf isn't a sign that it suits an older body: diphenhydramine is generally not advised for people 65 and over[^7] except for a serious allergic reaction.

## What happens if I take one every night?

If you've taken a pill most nights for months or years, nothing here asks you to stop tonight. Long-term use can be reasonable. The guideline notes that newer z-type drugs can stay safe and effective over the long term[^2] for some people: those for whom CBT for insomnia hasn't worked or isn't available, who keep benefiting and who see their doctor regularly.

Taken every night, though, a pill changes how your body responds to it. Zolpidem may not help as well after two weeks or more[^1] as it did at first. With a benzodiazepine, a few days to a few weeks of steady use, even exactly as prescribed, is enough for the body to adapt to the drug[^3]. Then stopping suddenly brings withdrawal. This is physical dependence, and it's a different thing from addiction: your body has rearranged itself around a pill that arrives every night. How often either happens with sleeping pills isn't well known[^2][^3]. The risk of dependence is greatest with benzodiazepines taken for a long time, at rising doses, with no one keeping an eye on them.

**I can’t sleep without it.**

If you take a pill every night, you may remember the night you tried without it: hour after hour wide awake, worse than the insomnia you started with, until it felt like proof that only the pill was getting you to sleep.

A sudden stop can bring rebound insomnia, a spell of worse sleep once the pill is gone. After zolpidem it's mostly limited to the first night[^2], and some studies found none at all after up to six months of use. The label says it usually passes on its own within one or two nights[^1]. Coming off a benzodiazepine after years is a different matter, and for some people withdrawal brings anxiety, poor sleep and low mood that linger beyond four to six weeks, for weeks more or as long as a year[^3]. Since zolpidem's rebound mostly passes within a night or two, a hard night after a sudden stop says more about the stop than about how you'd sleep once you'd got used to going without the pill.

If the pill you take every night is a PM one, the evidence is a separate and thinner story. The sleep medicine guideline suggests not using diphenhydramine for long-running insomnia, because in trials it added only minutes of sleep[^2]. In that small trial, the daytime sleepiness it caused in healthy men had faded by the fourth day[^4], a hint rather than a measure of anyone's nights. And heavy use over many years[^9] is where the early dementia link you'll read about below comes from.

If you're 65 or over, diphenhydramine is generally not advised[^7], and your doctor would want to know you take it. Whatever your age, a pharmacist is someone you could talk it over with, or your doctor if you have one.

## How do people come off sleeping pills?

Please don't stop a nightly benzodiazepine or z-drug all at once. Stopping suddenly, or cutting down too fast, can bring withdrawal: with zolpidem, shakiness, nausea, sweating, panic, bad nights and, rarely, seizures[^1], and with benzodiazepines, seizures that can be life-threatening[^3]. The way off is a gradual taper you plan with your doctor[^3], stepping the dose down over time. No single schedule suits everyone. If withdrawal shows up along the way, the two of you can pause the taper or step it back, then carry on more slowly.

In Québec, researchers worked with seventy-six older adults who had taken a benzodiazepine for sleep for an average of nineteen years. Over ten weeks, some tapered under a doctor's supervision, some had CBT for insomnia alongside the same taper, and some had CBT for insomnia alone. By the end, eighty-five percent of those who had both were off the drug[^10], against forty-eight percent with the taper alone and fifty-four percent with CBT alone. A year later, they had kept those reductions. They had no significant withdrawal symptoms, and their sleep went on improving for months.

So if you're looking for a way off, what helps most? When researchers pooled eight trials like this one, people who added CBT for insomnia to their taper were more likely to be off their benzodiazepine sleeping pills[^11] in the first few months. By a year, the difference was no longer clear. A 2025 review found low-certainty evidence that simpler help may count too: explaining the pills and the taper, a look through someone's medicines, or a pharmacist's program may help more people stop[^12]. That same review didn't find compelling evidence for CBT on its own[^12] as a way off. The two reviews asked different questions: one compared CBT added to a taper with the taper alone, and the other looked at CBT by itself. Neither settles which kind of extra help works best. A reasonable way to go, then, is a slow taper planned with your doctor, with CBT for insomnia alongside it if you can get it.

Guidelines put CBT for insomnia first[^13][^2] for long-running insomnia, because its gains last after the sessions end, while a pill's tend to fade once you stop. If you'd like a next step, you could read [what it would ask of you](https://nitez.com/cbt-for-insomnia), whether or not you're ready to come off.

## Do sleeping pills cause dementia?

It's a frightening thing to read, and researchers don't agree yet. When studies that followed people over time were pooled, those who took benzodiazepines were about 1.4 times as likely to be diagnosed with dementia[^14]. But which came first, the pill or the dementia? Insomnia and anxiety can be early signs of dementia[^15], so some people may reach for a pill in its first years, before anyone knows it's there.

A team in Seattle tried to pull those apart. They followed 3,434 people aged 65 and over, and they left out each person's most recent year of pill use, so that early signs of dementia would be less likely to muddy things. If the pills caused dementia, you'd expect the risk to climb with heavier use. It didn't. The risk was slightly higher at the lowest use and not at the highest[^15], and the researchers said that pattern doesn't support cause and effect.

The PM pills raise a different question. The same Seattle researchers looked at anticholinergic medicines, a group that includes diphenhydramine. Dementia risk was about 1.5 times higher[^9] in people who'd taken the equivalent of more than three years of daily use over a decade, with no clear rise at lower amounts. That study pooled every kind of anticholinergic medicine, sleep aids among many. It watched people over time without testing a drug, so it's an early finding.

So where does that leave you? There is a link, and researchers are still arguing over it. So far, though, the evidence doesn't show that the pills cause dementia, and the most careful study didn't find the pattern you'd expect if they did. Studies of whole populations have also tied sleeping pills to infection, depression and earlier death in older people, but the guideline calls that evidence scant and inconsistent[^2]. If the worry stays with you, your doctor is a good person to talk it through with. And if you decide to come off, the slow taper above is the way to do it, since stopping all at once can bring withdrawal.

The sleeping-pill trials pooled here, the z-drug trials submitted to the FDA and the guideline's trials of zolpidem, were paid for by their makers and mostly lasted only weeks, and trials like these are too small to show rare harms[^2] such as sleep-driving. How often dependence and addiction happen is still not well known[^2][^3].

- **Z-drugs help people fall asleep about twenty-two minutes sooner than a placebo in trials, out of about forty-two minutes in all; the other twenty or so are the placebo response.** good-evidence

- **Diphenhydramine, the sleep ingredient in many PM pills, adds only a few minutes to falling asleep and less than twenty minutes of sleep in trials.** good-evidence

- **In one small trial of healthy men, the daytime sleepiness diphenhydramine caused faded within four days, which suggests tolerance comes quickly.** early-evidence

- **Combining benzodiazepines with opioids, alcohol or other sedatives can slow breathing dangerously, and almost all US overdose deaths involving benzodiazepines involve other drugs too.** well-established

- **Steady use of a benzodiazepine can lead to physical dependence within days to weeks, and stopping suddenly can bring withdrawal, including seizures.** well-established

- **Rebound insomnia after stopping zolpidem, when it comes, mostly lasts a night or two.** good-evidence

- **A gradual taper with CBT for insomnia helps more people come off benzodiazepines in the first months than a taper alone.** good-evidence

- **In people over 60, sleeping pills bring side effects such as confusion about twice as often as they bring better sleep.** good-evidence

- **It isn't clear yet whether benzodiazepines raise the risk of dementia, and findings differ: pooled observational studies find a link, while in a careful cohort the risk didn't rise with heavier use.** still-debated

- **Heavy, long use of anticholinergic medicines, a group that includes diphenhydramine, was linked with more dementia in one large study of older adults.** early-evidence

If someone may have taken too many pills, or has taken a sleeping pill with alcohol or an opioid and is very hard to wake, please get help at once: drowsiness, unconsciousness and slowed breathing or heartbeat[^1] are signs of an overdose.

If you're thinking about taking pills because you don't want to wake up, or you're having thoughts of suicide, you can call or text 988[^16] at any hour, and please do.

It's worth talking to your doctor:

- if you find you've driven, eaten, made calls or walked about in the night with no memory of it[^1]
- if you notice new or worse depression, confusion, hallucinations or other unusual changes[^1] in your mood or behavior while taking a pill
- before starting zolpidem, if you snore heavily or have sleep apnea[^1][^2], depression, or drink heavily, since a pill is meant to be one part of a fuller look at why you can't sleep
- if you take a pill most nights and would like to come off, so that you can plan a taper together[^3]

On an odd hard night, with a full night in bed ahead and no alcohol, a pill asks very little of you. Every night, it asks more. The way back takes time, but people do find it, even after many years on the pills, as the older adults in Québec[^10] did.

## Related questions

- [What is CBT for insomnia, and what would it ask of me?](https://nitez.com/cbt-for-insomnia)
- [Do I have insomnia?](https://nitez.com/insomnia)
- [Is it okay to take melatonin every night?](https://nitez.com/melatonin)
- [Do herbal sleep remedies like valerian or chamomile work?](https://nitez.com/herbal-remedies)
- [Does alcohol help you sleep?](https://nitez.com/alcohol-and-sleep)
- [Why does my sleep change as I get older?](https://nitez.com/sleep-in-later-life)

## Sources

[^1]: MedlinePlus. Zolpidem. US National Library of Medicine drug information. Last revised 15 November 2019. Accessed 2026-10-23. [medlineplus.gov](https://medlineplus.gov/druginfo/meds/a693025.html)
[^2]: 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 : JCSM : official publication of the American Academy of Sleep Medicine. 2017;13(2):307–349. [PubMed](https://pubmed.ncbi.nlm.nih.gov/27998379/) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC5263087/) · [DOI](https://doi.org/10.5664/jcsm.6470)
[^3]: US Food and Drug Administration. FDA requiring Boxed Warning updated to improve safe use of benzodiazepine drug class. Drug Safety Communication, September 23, 2020. [www.fda.gov](https://www.fda.gov/drugs/drug-safety-and-availability/fda-requiring-boxed-warning-updated-improve-safe-use-benzodiazepine-drug-class)
[^4]: 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–5. [PubMed](https://pubmed.ncbi.nlm.nih.gov/12352276/) · [DOI](https://doi.org/10.1097/00004714-200210000-00012)
[^5]: Huedo-Medina TB, Kirsch I, Middlemass J, Klonizakis M, Siriwardena AN. Effectiveness of non-benzodiazepine hypnotics in treatment of adult insomnia: meta-analysis of data submitted to the Food and Drug Administration. BMJ (Clinical research ed.). 2012;345:e8343. [PubMed](https://pubmed.ncbi.nlm.nih.gov/23248080/) · [DOI](https://doi.org/10.1136/bmj.e8343) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3544552/)
[^6]: Kishi T, Ikuta T, Citrome L, Sakuma K, Hatano M, Hamanaka S, et al. Comparative efficacy and safety of daridorexant, lemborexant, and suvorexant for insomnia: a systematic review and network meta-analysis. Translational psychiatry. 2025;15(1):211. [PubMed](https://pubmed.ncbi.nlm.nih.gov/40555730/) · [DOI](https://doi.org/10.1038/s41398-025-03439-8) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12187915/)
[^7]: MedlinePlus. Diphenhydramine. US National Library of Medicine drug information. Accessed 2026-10-23. [medlineplus.gov](https://medlineplus.gov/druginfo/meds/a682539.html)
[^8]: Glass J, Lanctôt KL, Herrmann N, Sproule BA, Busto UE. Sedative hypnotics in older people with insomnia: meta-analysis of risks and benefits. BMJ (Clinical research ed.). 2005;331(7526):1169. [PubMed](https://pubmed.ncbi.nlm.nih.gov/16284208/) · [DOI](https://doi.org/10.1136/bmj.38623.768588.47) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC1285093/)
[^9]: Gray SL, Anderson ML, Dublin S, Hanlon JT, Hubbard R, Walker R, et al. Cumulative use of strong anticholinergics and incident dementia: a prospective cohort study. JAMA internal medicine. 2015;175(3):401–7. [PubMed](https://pubmed.ncbi.nlm.nih.gov/25621434/) · [DOI](https://doi.org/10.1001/jamainternmed.2014.7663) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC4358759/)
[^10]: Morin CM, Bastien C, Guay B, Radouco-Thomas M, Leblanc J, Vallières A. Randomized clinical trial of supervised tapering and cognitive behavior therapy to facilitate benzodiazepine discontinuation in older adults with chronic insomnia. The American journal of psychiatry. 2004;161(2):332–42. [PubMed](https://pubmed.ncbi.nlm.nih.gov/14754783/) · [DOI](https://doi.org/10.1176/appi.ajp.161.2.332)
[^11]: Takaesu Y, Utsumi T, Okajima I, Shimura A, Kotorii N, Kuriyama K, et al. Psychosocial intervention for discontinuing benzodiazepine hypnotics in patients with chronic insomnia: A systematic review and meta-analysis. Sleep medicine reviews. 2019;48:101214. [PubMed](https://pubmed.ncbi.nlm.nih.gov/31648145/) · [DOI](https://doi.org/10.1016/j.smrv.2019.101214)
[^12]: Zeraatkar D, Nagraj SK, Ling M, Jassal T, Kirsh S, Lima JP, et al. Comparative effectiveness of interventions to facilitate deprescription of benzodiazepines and other sedative hypnotics: systematic review and meta-analysis. BMJ (Clinical research ed.). 2025;389:e081336. [PubMed](https://pubmed.ncbi.nlm.nih.gov/40527546/) · [DOI](https://doi.org/10.1136/bmj-2024-081336) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12171951/)
[^13]: Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD; Clinical Guidelines Committee of the American College of Physicians. 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. [PubMed](https://pubmed.ncbi.nlm.nih.gov/27136449/) · [DOI](https://doi.org/10.7326/M15-2175)
[^14]: Penninkilampi R, Eslick GD. A Systematic Review and Meta-Analysis of the Risk of Dementia Associated with Benzodiazepine Use, After Controlling for Protopathic Bias. CNS drugs. 2018;32(6):485–497. [PubMed](https://pubmed.ncbi.nlm.nih.gov/29926372/) · [DOI](https://doi.org/10.1007/s40263-018-0535-3)
[^15]: Gray SL, Dublin S, Yu O, Walker R, Anderson M, Hubbard RA, et al. Benzodiazepine use and risk of incident dementia or cognitive decline: prospective population based study. BMJ (Clinical research ed.). 2016;352:i90. [PubMed](https://pubmed.ncbi.nlm.nih.gov/26837813/) · [DOI](https://doi.org/10.1136/bmj.i90) · [PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC4737849/)
[^16]: 988 Suicide & Crisis Lifeline. Home page. 988lifeline.org. Read 23 October 2026. [988lifeline.org](https://988lifeline.org/)

---
https://nitez.com/sleeping-pills · Remedies and substances · updated 2026-08-15
