Do Sleeping Pills Cause Dementia? 

Ken D. Berry, MD, family physician

Published 11/16/26

A short list of medications that seem safe and innocuous can substantially increase your risk of dementia. They are in a drug class called anticholinergics, and they have been linked in multiple research studies with an increased risk of dementia. Some are prescription and some are over the counter. The concern is long-term nightly use, not occasional use.

What are anticholinergic medications?

Anticholinergics are a drug class prescribed for many things, including insomnia, depression, mood disorders, and neuropathic pain. Many doctors prescribe drugs in this class for insomnia even though most of them are not specifically FDA approved for that, because they do make you sleepy.

Plenty of things make you sleepy that are not safe for long-term use. A fifth of vodka will make you pass out, but that does not mean you are getting healthy, restful sleep, or that it is healthy for your brain to do that every night for months or years. Being over the counter does not make a medicine safe.

Which sleep medicines should you avoid using every night?

  1. Diphenhydramine. It is the over-the-counter one. In the United States it is sold as Benadryl, and in some ZzzQuil and Unisom products. Check the label, because some Unisom and ZzzQuil products use doxylamine instead. There are also hundreds of generic brands.
  2. Amitriptyline, sold under the brand name Elavil and other brands and generics.
  3. Doxepin, sold under brand names that include Sinequan and Silenor. Silenor is a low-dose form of doxepin that is FDA approved for insomnia, but in my view it still increases your risk of dementia and you should avoid nightly use.
  4. Hydroxyzine, sold under brand names that include Vistaril and Atarax. It is prescribed for several uses, and many doctors give it as a safe insomnia medication.
  5. Quetiapine, sold as Seroquel and other names.
  6. Trimipramine, sold under the brand name Surmontil and others.

What does the research show about age?

The research so far is observational, and it is in people 55 and older. In the main paper I point to (Coupland 2019), long-term use of several strong anticholinergic classes, including anticholinergic antidepressants and antipsychotics, was associated with a higher risk of dementia. That paper did not find a statistically significant increase for antihistamines. We do not really have research on people in their 20s, 30s, and 40s taking these medicines every night. In my opinion, there is no reason to think they would not raise the risk in younger people too, so I still advise against nightly use, including nightly diphenhydramine.

What about giving diphenhydramine to children?

A lot of people give their children diphenhydramine every night to help them sleep, believing that since it is over the counter it must be very safe. I would be highly cautious of giving this to your child every single night for sleep, regardless of their age.

Is occasional use okay?

I think using these pills or liquids occasionally for rare insomnia is probably fine. It is the long-term nightly use that really bumps up your risk of developing premature dementia.

What should you do if you take one every night?

My recommendation is that everyone over the age of 40 should avoid using these medications nightly. If you are taking one now, go see your doctor and have a conversation. Say, "I heard this increases my risk of dementia. Is that true? If so, I want to switch to something else, or wean down and stop, and try to get sleep more naturally without a pill every night." Hopefully your doctor will be on board.

Good sleep every night is very important. But you do not want to take an anticholinergic every night to get it. You have to find an alternative.

This is not medical advice. Work with your own doctor.

Frequently asked questions

Which sleeping pills are linked to dementia?

Anticholinergics. The six I talk about are diphenhydramine, amitriptyline, doxepin, hydroxyzine, quetiapine, and trimipramine.

Is an over-the-counter sleep aid safe because I can buy it without a prescription?

No. Over the counter does not mean safe for long-term use. Diphenhydramine is sold over the counter and, in my view, nightly use raises your risk of dementia.

Is it okay to use one once in a while?

I think occasional use for rare insomnia is probably fine. The risk is with nightly use over the long term.

Should I stop taking my sleep medicine on my own?

No. Go see your doctor, ask whether the risk is real for you, and talk about switching or weaning down and stopping.

Who should avoid taking these nightly?

In my recommendation, everyone over the age of 40.

Research referenced in the video 

I discuss the ACCORD trial by name and review a New York Times article. These are the links I could verify.

Action to Control Cardiovascular Risk in Diabetes Study Group, Gerstein HC, Miller ME, et al. (2008), "Effects of intensive glucose lowering in type 2 diabetes": https://pubmed.ncbi.nlm.nih.gov/18539917/

Paula Span, The New York Times (2025), "Why Older People May Not Need to Watch Blood Sugar So Closely": https://www.nytimes.com/2025/03/10/health/diabetes-blood-sugar-age.html

About Dr. Berry 

Dr. Ken Berry is a board-certified family physician who has cared for over 25,000 patients in more than two decades of practice in rural Tennessee. He grew up in Hohenwald, Tennessee, and earned his MD at the University of Tennessee Health Science Center. 

He is the author of the #1 bestselling Lies My Doctor Told Me and the creator of the Proper Human Diet. 

He lives on a farm in Holladay, Tennessee, with his wife Neisha and their two children.

Join me and thousands of others in the Proper Human Diet Community: 

If you have questions, you need answers to right now DrBerry AI will answer them 24/7