How Getting Good Sleep in Midlife Could Prevent Dementia

Ari Cofer Fact Checked
A photo of a man asleep in bed
© Ivan Gener / Stocksy United

Whether it’s using sunscreen daily or exercising, there are many ways to care for your body now so you’re in optimal health as you get older. One of the best things you can do for your future health is simple: Get enough sleep.

Sleep not only helps your day-to-day functioning, but it also plays a huge role in maintaining your brain health and preventing conditions like dementia later in life.

What to know about sleep and dementia risk

Jeffrey Iliff, PhD, is a professor in the UW School of Medicine’s Departments of Neurology and Psychiatry and Behavioral Sciences, and his research focuses on neurodegeneration and traumatic brain injury.

One of his lab’s major projects is looking at the relationship between sleep and cognition using data from the Seattle Longitudinal Study, the longest continuously running study of cognitive aging in the U.S. It has followed the progress of thousands of people’s cognition over time, as well as health behaviors that influence their cognition, like sleep.

Iliff and his team found that people in their 40s and 50s who sleep six hours or less per night have a higher risk of developing dementia later in life.

More surprisingly, through a multi-year study, they also discovered that variability in the amount of sleep people got also played a role in cognitive decline.

Sleep variability, put simply, is the lack of a stable sleep pattern throughout your life. For example, if you sleep eight hours a night on average for one year, then five hours the next year, and then 12 hours the next year, that’s an unstable sleep pattern, or high sleep variability.

“We saw that the more variable the sleep was, the higher the risk of dementia,” says Iliff. “So it suggests that not having stable sleep patterns throughout life may itself be a risk factor for dementia.”

Even so, your impacted sleep can still have broader health consequences, whether in your control or not.

Why sleep in midlife affects dementia risk

Most people think that dementia begins when you’re old, but the process that underlies the development of dementia can start up to 25 years before memory begins declining.

That’s because the driving causes of dementia are setting up shop in your 40s or 50s, Iliff says. So the time to take action to prevent dementia isn’t when you’re already in your 70s or 80s, but in midlife. If you’re already in your 50s and sleep hasn’t been a priority, it’s never too late to change your sleep habits. The earlier in life, the better, but it’s also better late than never to get good, consistent sleep and reduce your risk of dementia later in life.

The amount of sleep you get in midlife is one of the risk factors that is largely in your control. Why does good sleep lower dementia risk? When you’re sleeping, your brain is still very much online, including your glymphatic system, which Iliff describes as the pathway that allows waste to clear from your brain.

“The brain is complex, making trillions of connections and firing electrical impulses constantly, thousands and thousands of times, even within a second,” says Iliff. “These cells consume energy and produce waste, and the waste can include things like carbon dioxide, ammonia, peptides, proteins and cellular debris that have to be cleared away.”

Some of this waste can eventually lead to dementia. Clearing it efficiently through consistent sleep in your 40s and 50s can help prevent the processes that increase dementia risk later in your 60s and 70s. 

Dementia has other risk factors, not just sleep

While sleep is important, it’s not the only thing that affects dementia risk.

Your individual dementia risk is determined by the combination of your family history; other medical conditions such as high blood pressure, heart disease or diabetes; or a previous traumatic brain injury. While treatment for some of these conditions may be difficult or require ongoing care, Iliff says that focusing on what you can treat can still make a difference.

This is especially important if you have multiple medical conditions or risk factors that could increase your chance of developing dementia later in life.

“Addressing major clinical sleep issues is frontline,” says Iliff. “Talk to your primary care doctor about any concerns you have about insomnia or sleep apnea. And if they refer you to a sleep clinic, make sure to follow up.”

How to prioritize your sleep in your midlife

Getting good sleep is easier said than done. Midlife comes with a plethora of changes: Maybe your career is picking up, your kids’ schedule is packed or you’re caring for your older parents. These types of time-intensive responsibilities can make it harder to get enough sleep.

Plus, that’s not even counting medical challenges like obstructive sleep apnea, insomnia and other sleep conditions that make it hard to get the sleep you need.

Iliff says sleep is like drinking water: Everyone knows they should be drinking more. But it can be hard to get into that habit, even when you know it’s what your body needs.

Even so, it’s important to try. Here are his basic tips for improving your overall sleep hygiene:

  • Get at least seven hours of sleep each night  
  • Go to bed at the same time each night
  • Sleep in a dark, quiet, cool room
  • Avoid caffeine after 2 p.m.
  • Avoid alcohol before bedtime
  • Don’t sleep with TVs or podcasts on in the background

If you’re a busy person, consider setting some boundaries around your work, social life or other factors that may be keeping you from a good night’s sleep. Stress can also make it hard to sleep, so practicing mindfulness, talking to a therapist or taking some extra time for self-care can help you unwind.

If you have a sleep disorder, such as obstructive sleep apnea or insomnia, follow your suggested treatment and keep in touch with your doctor to track any changes in your health that could affect your sleep.

“At the end of the day, there are some things in your life that you can’t change,” says Iliff. “If you choose to be a parent, for example, not sleeping is part of the game. The key is to control factors that you can control.”

For example, Iliff suggests being intentional, about when you wake up each day and being aggressive about protecting your sleep opportunities when you get them.

While it can be hard to make lifestyle shifts to focus on getting more quality sleep, these changes will benefit you today, and your older self will thank you, too.

“The sleep that you have tonight, tomorrow, and months down the line, is in part determining the brain that you’re going to have in years to come,” says Iliff. 

Editor’s note: This article was originally published on July 17, 2024. It has been reviewed and updated with new info.