Men were at greater risk of death than women from sleeping too little, while women faced a greater risk than men from sleeping for too long each night, the research said.
The study found men who slept for less than seven hours a night had a 16% higher risk of death, and those who slept for eight hours or more had a 36% increased risk.
Meanwhile, women with short sleep durations had a 14% higher risk, and those sleeping for longer faced a 44% increased risk.
The researchers said the differences were likely because of hormonal, behavioural or cardiovascular differences between men and women.
‘A sleep epidemic’
Dr György Purebl, director of Semmelweis University’s Institute of Behavioural Sciences and co-author of the study said: “As a society, we are experiencing a sleep epidemic. Even though awareness has grown, our behaviour hasn’t changed much in the last decade.
“The constant exposure to blue light, pressure to remain available around the clock, and disruption of our natural biological rhythms continue to take a toll on our health.”
The authors of the study warned that sleep deprivation is a growing global health concern, with millions of people regularly sleeping too little because of work demands, exposure to digital screens, and stress.
Shift workers and those with irregular schedules are particularly affected, it said.
Chronic sleep loss is not only linked to premature death but also a range of health issues including obesity, diabetes, cardiovascular disease and a worsening immune system.
Sleep and strokes
In a second study, the Hungarian researchers looked at the impact of sleep duration on the risk of stroke and subsequent death.
They found that people sleeping for five to six hours per night had a 29% higher risk of stroke than those sleeping for seven to eight hours and were 12% more likely to die because of the stroke.
Those sleeping more than eight hours had a 46% higher risk of stroke and were 45% more likely to die from it.
Dr Balázs Győrffy, head of the Department of Bioinformatics at Semmelweis University, and senior author of both studies, said: “Stroke remains one of the leading causes of death and long-term disability worldwide”.
“Identifying modifiable risk factors like sleep can offer powerful public health benefits.
“Our findings make it clear that sleep duration should be considered in stroke prevention strategies to reduce the burden on healthcare systems and improve population health.”