Sleep is crucial for people of all ages and new research suggest that seven hours a night is the magic number for those in middle to older age.
Also, findings show both too much and too little sleep are tied to poorer brain function and mental health, according to researchers from Cambridge University and Fudan University in China.
The news is based on results of scientific data examination of 500,000 adults between the ages of 38-73, from the UK Biobank.
Partakers were questioned about their sleeping patterns, mental health and wellbeing, and entered a series of cognitive tests, Wales Online reports.
Brain imaging and genetic data were available for almost 40,000 of the study participants. The researchers’ analysis of the data indicated that seven hours of sleep per night was the optimal amount for cognitive performance, such as processing speed, visual attention, memory and problem-solving skills.
It was also optimal for good mental health, with people experiencing more symptoms of anxiety and depression, and worse overall wellbeing, if they reported sleeping for longer or shorter amounts.
The researchers say one possible reason for the association between insufficient sleep and cognitive decline may be due to the disruption of slow-wave – “deep” – sleep.
Disruption to this type of sleep has been shown to have a close link with memory consolidation as well as the build-up of amyloid – a key protein which, when it misfolds, can cause “tangles” in the brain characteristic of some forms of dementia.
Additionally, lack of sleep may hamper the brain’s ability to rid itself of toxins.
Professor Jianfeng Feng, from Fudan University, said: “While we can’t say conclusively that too little or too much sleep causes cognitive problems, our analysis looking at individuals over a longer period of time appears to support this idea.
"The reasons why older people have poorer sleep appear to be complex, influenced by a combination of our genetic make-up and the structure of our brains.”
The researchers say the findings suggest that insufficient or excessive sleep duration may be a risk factor for cognitive decline in ageing.
This is supported by previous studies that have reported a link between sleep duration and the risk of developing Alzheimer’s disease and dementia, in which cognitive decline is a hallmark symptom.
Professor Barbara Sahakian, from Cambridge University’s Department of Psychiatry, said: “Getting a good night’s sleep is important at all stages of life, but particularly as we age.
“Finding ways to improve sleep for older people could be crucial to helping them maintain good mental health and wellbeing, and avoiding cognitive decline, particularly for patients with psychiatric disorders and dementias.”
The research is published in the journal Nature Aging.
Don't miss the latest news from around Scotland and beyond - Sign up to our daily newsletter here .