Having too much sleep in middle age could be as bad as not getting enough, British researchers say.
A UK study of almost 9000 men and women has found people aged 50 to 64 who sleep less than six and more than eight hours a night have worse decision-making ability and memories.
But for older adults aged 65 to 89, brain power was only impaired if they slept over eight hours a night.
And getting the right amount of sleep at an older age may prevent mental illness in later life such as dementia, the researchers at the University of Warwick suggested.
"Sleep is important for good health and mental wellbeing," Professor Francesco Cappuccio said.