Medication & supplements

Which Sleeping Pill Is Dangerous? What the Evidence Actually Says

By Angus Munro, Clinical Psychologist (AHPRA PSY0001626434) · Last clinically reviewed 2026-07-10 · 10 min read

When people ask which sleeping pill is dangerous, they are usually hoping for a blacklist: avoid this one, and you are safe. The honest answer is less tidy. No single sleeping pill is uniquely the dangerous one. The risk lives in the context, in the dose, the duration, what you take it alongside, your age, and whether a drug meant for a short stretch has quietly become the thing you cannot sleep without.

One thing before we go further. This is not an anti-medication article. Medication can be appropriate, and those decisions belong with you and your prescriber. What I can do here is explain where the real risks actually sit, so the fear-story in your head is at least accurate.

What actually makes a sleeping pill dangerous

Danger, for most sleeping pills, is not a fixed property of the molecule. It is a property of the situation the molecule lands in.

There are three levers that turn an ordinary prescription into a genuine risk. The first is combination: what else is on board. The second is dose and duration: how much, and for how long a run. The third is the person: an 80-year-old and a 30-year-old are not carrying the same risk from the same tablet.

Hold those three in mind. Almost every real danger below is one of them wearing a different coat.

It helps to remember why people escalate in the first place. Insomnia is not a simple lack of tiredness. It is a self-maintaining loop, where the harder you push on sleep the more your system treats being awake as a threat to solve. A pill can quiet that for a while. But the loop is still running underneath, which is why the dose that worked in March often does not by June.

The main types, and where the real risks sit

Sleeping medications fall into a few broad families, and the risk profile differs by family more than by brand.

Benzodiazepines. This is the group that includes diazepam (Valium) and temazepam. People search for "Valium sleeping pills" because it is sedating and familiar, but it was never designed as a nightly sleep aid. The European insomnia guideline is direct about this: benzodiazepines and the related z-drugs should be used only when first-line treatment has not worked, and then generally for no more than about four weeks, because tolerance can build within days to weeks and dose escalation is how dependence gets its foothold (Riemann et al., 2023, a consensus guideline). Longer-acting agents like diazepam also linger into the next day, which is where next-morning grogginess and impairment come from.

Z-drugs. Zolpidem, zopiclone and eszopiclone were marketed as the cleaner successors to benzodiazepines. They help, modestly. A meta-analysis of the trial data companies submitted to the FDA found z-drugs shortened the time to fall asleep by roughly 22 minutes versus placebo, and that a large share of even that effect was the placebo response, not the chemistry (Huedo-Medina et al., 2012). A larger network meta-analysis of 154 trials put eszopiclone and lemborexant near the top for balancing benefit against tolerability, while zolpidem, zopiclone and the benzodiazepines came out less favourably, and it flagged that usable long-term data barely exist for almost any of these drugs (De Crescenzo et al., 2022, a network meta-analysis).

The over-the-counter aisle. The sleeping pills sold without a prescription at CVS, a supermarket, or a pharmacy shelf are usually antihistamines like diphenhydramine or doxylamine. "Over the counter" reads as "gentle," and that is the trap. The American sleep-medicine guideline actually recommends against diphenhydramine for chronic insomnia, because the evidence does not support it and the anticholinergic load carries its own next-day fog, especially in older adults (Sateia et al., 2017, a clinical practice guideline).

Melatonin and supplements. The same guideline recommends against melatonin for chronic insomnia, not because it is dangerous but because the evidence for it as a treatment is weak (Sateia et al., 2017). It is not the reliable sleep switch the packaging implies. If you want the fuller picture on one common example, I have written separately about magnesium for sleep.

Sleeping pills, older adults, and the dementia question

If there is one group for whom the "which pill is dangerous" question has a clearer answer, it is older adults.

A meta-analysis of sedative-hypnotics in people over 60 found the trade-off starkly. The sleep benefit was small, on the order of treating about 13 people for one to sleep meaningfully better, while adverse events were roughly two to five times more likely: cognitive events like confusion and memory problems, and psychomotor events, which in an older body often means falls (Glass et al., 2005). The number needed to harm was about 6. When one in six people is having an adverse event for a modest sleep gain, "safest sleeping pills for the elderly" starts to look like the wrong question. The safest direction, which the deprescribing guidelines point toward, is usually away from ongoing sedatives rather than toward a better one, and which specific option fits is a prescriber's call, not a blog's.

People also search "sleeping pills dementia," and I want to be honest about that evidence. Some observational studies have linked long-term sedative use to later cognitive decline, but that data cannot separate the drug from the poor sleep, the anxiety, and the other conditions that led to the prescription in the first place. The causal link is not established, and I am not going to tell you a tablet gives you dementia. What is solid is the nearer-term picture from Glass and colleagues: in older adults these drugs measurably dull cognition and balance while you take them. That alone is reason to keep the course short and prescriber-led.

"Can you die from sleeping pills," and what taking two actually risks

This is the fear underneath a lot of the searching, so let me answer it plainly and without drama.

Taken on their own, at a prescribed dose, modern sleeping pills rarely cause a fatal overdose; they carry a wider safety margin than the older sedatives they replaced. The serious danger is combination. Sleeping pills are central-nervous-system depressants, and stacking them with alcohol, opioid painkillers, or other sedatives is what suppresses breathing. That is the mechanism behind almost every genuinely dangerous outcome: what goes in alongside the pill, not the pill alone.

"What happens if you take two sleeping pills" is usually a different, smaller question: someone forgets whether they dosed and wonders about doubling up. Do not double up on your own initiative. An accidental extra dose is a question for your pharmacist or prescriber, and the practical risk there is oversedation and next-day impairment rather than catastrophe. Which leads to the safety line I give everyone on these medications: they can impair you the next morning more than you feel, so do not drive or operate anything that matters if you are groggy. This is well documented for z-drugs and the over-the-counter antihistamines in particular.

One clear line: if someone has taken substantially more than prescribed, or cannot be woken properly, treat it as an emergency and call your local emergency number. That is not the moment to look things up.

Why the most reliable tool isn't a pill at all

Here is the part the "which pill" framing tends to hide. The strongest evidence in insomnia does not point at a better drug. It points away from drugs as the long-term answer.

Both the European and American guidelines name cognitive behavioural therapy for insomnia, CBT-I, as the first-line treatment, with medication as a shorter-term adjunct (Riemann et al., 2023; Sateia et al., 2017). Insomnia Reset is built on that foundation and then adapts it, because standard CBT-I asks people to do some things, like keep a nightly sleep diary, that can quietly feed the very hypervigilance we are trying to settle. So the program keeps the evidence and drops the parts that backfire for an anxious, over-monitoring mind.

There is a reason generic sleep advice so often fails the people who need it most. Most of it hands you one technique and assumes it works whether you are mildly restless or completely wired at 3am. A calming routine is close to useless the moment your system is truly activated. The program instead uses an arousal-matched approach, fitting the tool to how activated you already are, which is the piece almost everything else leaves out. That is as much as I will say here; the how lives inside the program.

If you are already on a sleeping pill and want off it, that is a conversation with your prescriber, not something to do abruptly or alone. What the evidence says about that conversation is encouraging. A slow, supervised taper works far better when it is paired with behavioural support: in a trial of long-term older users, combining a gradual taper with CBT-I left about 85% medication-free, against roughly half for tapering or therapy alone (Morin et al., 2004, a small single-centre RCT). Deprescribing guidelines now recommend offering that kind of slow, structured taper to long-term users (Pottie et al., 2018). And you have more agency in it than you might think. In one trial, simply mailing older patients a plain-language education booklet led to about 27% stopping the drug within six months, against 5% on usual care (Tannenbaum et al., 2014 (EMPOWER), a cluster RCT). Understanding the drug is itself part of getting free of it.

If you are not sure where your own sleep sits, the Sleep Clarity quiz is a short self-reflection to help you see the pattern more clearly. It is a starting point for understanding, not a diagnosis.

One more piece of care. If you suspect something physical is driving the wakefulness, loud snoring with pauses in breathing, restless legs, a thyroid problem, ask your GP to assess it, so you do not spend months working on the wrong lever. And if sleeplessness is tangled up with a mental-health crisis, please use the crisis support below.

Frequently asked questions

Is there a single most dangerous sleeping pill?

No, and anyone who gives you a one-word answer is oversimplifying. The most dangerous scenario is not a particular tablet, it is any sedative combined with alcohol or other depressants, taken in older age, or run for months past its intended short course. Context is the risk, not a single villain.

Are newer sleeping pills safer than the older ones?

Broadly, the newer agents carry a wider safety margin than the barbiturates that once dominated, which is a large part of why those older drugs left insomnia practice. But "safer than a barbiturate" is a low bar. Even the current guidelines give the newer hypnotics only weak, conditional recommendations, because the benefits over placebo are modest and the long-term evidence is thin (Sateia et al., 2017; De Crescenzo et al., 2022).

Are the sleeping pills at CVS safer because they are over the counter?

Not necessarily. Over-the-counter sleep aids are mostly sedating antihistamines, and being available without a prescription says more about regulation than about how well or how gently they work. The sleep-medicine guideline recommends against diphenhydramine for chronic insomnia, and its next-day fog hits older adults hardest (Sateia et al., 2017).

Are sleeping pills for flying a good idea?

For most people a long flight is a circadian rhythm problem, not an insomnia problem, and a sedative can leave you groggy and dehydrated at exactly the wrong end of the trip. A one-off situational use is a reasonable thing to raise with your prescriber, but it is worth being clear that helping you sleep on a plane and treating ongoing insomnia are two different jobs.

Why does Project Zomboid let your character take sleeping pills?

In the survival game Project Zomboid, sleeping pills are an item that helps your character sleep through stress and pain. It is a tidy game mechanic and a poor model of real life, where the fix is not a consumable but unwinding the loop that keeps you awake. Worth separating the two, since the search brings people here either way.

If I have been on sleeping pills for years, is it too late to stop?

It is not. The evidence on stopping long-term use, including in people who have taken these drugs for a decade or more, is hopeful, especially when a slow prescriber-led taper is paired with the kind of behavioural approach the program is built on (Morin et al., 2004; Pottie et al., 2018). The direction matters more than how long you have been going.

Frequently asked questions

Is there a single most dangerous sleeping pill?

No, and anyone who gives you a one-word answer is oversimplifying. The most dangerous scenario is not a particular tablet, it is any sedative combined with alcohol or other depressants, taken in older age, or run for months past its intended short course. Context is the risk, not a single villain.

Are newer sleeping pills safer than the older ones?

Broadly, the newer agents carry a wider safety margin than the barbiturates that once dominated, which is a large part of why those older drugs left insomnia practice. But "safer than a barbiturate" is a low bar. Even the current guidelines give the newer hypnotics only weak, conditional recommendations, because the benefits over placebo are modest and the long-term evidence is thin (Sateia et al., 2017; De Crescenzo et al., 2022).

Are the sleeping pills at CVS safer because they are over the counter?

Not necessarily. Over-the-counter sleep aids are mostly sedating antihistamines, and being available without a prescription says more about regulation than about how well or how gently they work. The sleep-medicine guideline recommends against diphenhydramine for chronic insomnia, and its next-day fog hits older adults hardest (Sateia et al., 2017).

Are sleeping pills for flying a good idea?

For most people a long flight is a circadian rhythm problem, not an insomnia problem, and a sedative can leave you groggy and dehydrated at exactly the wrong end of the trip. A one-off situational use is a reasonable thing to raise with your prescriber, but it is worth being clear that helping you sleep on a plane and treating ongoing insomnia are two different jobs.

Why does Project Zomboid let your character take sleeping pills?

In the survival game Project Zomboid, sleeping pills are an item that helps your character sleep through stress and pain. It is a tidy game mechanic and a poor model of real life, where the fix is not a consumable but unwinding the loop that keeps you awake. Worth separating the two, since the search brings people here either way.

If I have been on sleeping pills for years, is it too late to stop?

It is not. The evidence on stopping long-term use, including in people who have taken these drugs for a decade or more, is hopeful, especially when a slow prescriber-led taper is paired with the kind of behavioural approach the program is built on (Morin et al., 2004; Pottie et al., 2018). The direction matters more than how long you have been going.

This article is general information written by a clinical psychologist. It is not a substitute for individual assessment or treatment. If sleep problems are affecting your health or daily life, speak with your GP or a registered psychologist.
If you need support now. If sleep loss comes with thoughts of harming yourself, or you feel you can't keep yourself safe, please reach out now — in Australia, Lifeline 13 11 14 or 13YARN 13 92 76; in the US, 988; in the UK, Samaritans 116 123. If you are in immediate danger, call your local emergency number.

Work on the mechanism, not another tip

Insomnia Reset is a structured, psychologist-designed program for exactly this pattern. If you're ready to work on the mechanism rather than chase another tip, that's what it's for.

Explore Insomnia Reset →