This site is intended for UK healthcare professionals
Medscape UK Univadis Logo
Medscape UK Univadis Logo

Welcome to the new home of Guidelines in Practice

For Primary Care| Hot topic

Understand the Relationship Between Sleep Disorders and Type 2 Diabetes

Dr Kevin Fernando Scrutinises the Latest Evidence on the Impact of Poor Sleep Quality on Cardiometabolic Health, Offering Practical Advice for Primary Care Practitioners

Read This Article to Learn More About:
  • the relationship between type 2 diabetes and sleep disorders, particularly obstructive sleep apnoea/hypopnoea syndrome
  • the benefits of improved sleep quality and duration for people with, or at risk of developing, type 2 diabetes
  • key actions that people can take to improve their sleep hygiene.
Key points can be found at the end of the article.

Reflect on your learning and download our Reflection Record

For an activity that takes up around one-third of our lives, sleep receives much less attention in healthcare than it deserves. Sleep is positioned in the foundation of Maslow’s Hierarchy of Needs, alongside food, shelter, air, and water (see Figure 1),1 and even though the universality of Maslow’s theory is an issue of debate,2,3 it is clear that we need sleep to function at the most basic level. Hence, sleep disorders, which are an underappreciated and pervasive public health problem, have wide-ranging effects on health.

Figure 1: Maslow's Hierarchy of Needs

photo of Maslow's Hierarchy of Needs
Adapted from Maslow A. A theory of human motivation. Psych Rev 1943; 50 (4): 370–396. This content is in the public domain.

A recent online survey found that there was a considerable decline in sleep quality among adults in the UK between 2021 and 2022.4 Overall, 74% of adults who responded to the survey reported experiencing lower-quality sleep in 2022 than in the preceding year, with younger adults aged 35–44 years getting the least sleep—nearly 50% of this group slept for just 5–6 hours per night.4 Worryingly, around 10% of respondents were only getting 2–4 hours of sleep per night, significantly fewer than the recommended 7–8 hours.4

The COVID-19 pandemic has contributed to this decline in sleep quality;5 however, rates of both suboptimal sleep duration and poor-quality sleep have been high for many years,6,7 and are inextricably linked to our modern, 24-hour lifestyles.8 We can now binge-watch television and films, order online shopping, and get fast food delivered 24 hours a day, and psychological stressors, alcohol consumption, lack of exercise, use of electronic devices, and exposure to blue light all contribute to disordered sleeping.8 Significantly, less than 2% of hunter-gatherer populations in Namibia and Bolivia show signs of insomnia, compared with up to 30% in industrial societies.9

Moreover, the current epidemics of type 2 diabetes and obesity are fundamentally linked to this decline in sleep quality: a higher prevalence of obstructive sleep apnoea (OSA) and obstructive sleep apnoea/hypopnoea syndrome (OSAHS) is associated with both conditions,10,11 and nocturnal symptoms of hypoglycaemia, urinary frequency, and painful peripheral neuropathy are all associated with type 2 diabetes,12,13 particularly a longer-standing diagnosis.

In this article, I will discuss the relationship between type 2 diabetes and sleep, providing information and practical tips for primary care clinicians on reducing the long-term impacts of poor sleep quality and quantity and sleep disorders on cardiometabolic health.

The U-Shaped Association Between Sleep Duration and Risk of Type 2 Diabetes

In 2015, a high-quality meta-analysis of prospective studies involving nearly 500,000 participants was published that demonstrated a U-shaped association between sleep duration and risk of type 2 diabetes.14 Both excessively short and excessively long sleep durations were found to be associated with elevated risk of type 2 diabetes.14 The sleep duration associated with the lowest risk of type 2 diabetes was determined to be between 7 and 8 hours.14 Indeed, when compared with 7 hours per night, a reduction or increase of 1 hour of sleep was associated with a 9% or 14% increased risk of developing type 2 diabetes, respectively.14

Furthermore, a recent historical cohort study found that people with insomnia had a 16% higher risk of developing type 2 diabetes than people without insomnia, and that this risk was almost double in people with insomnia aged less than 40 years.15 Duration of insomnia was also a contributing factor: people with a duration of insomnia of less than 4 years had a 14% higher risk of developing type 2 diabetes, whereas those whose duration of insomnia was more than 8 years had a staggering 51% increased risk.15

How Can We Explain the Link Between Sleep Duration and Risk of Type 2 Diabetes?

Although definitive evidence is lacking, there are several plausible underlying mechanisms that may explain the link between short sleep duration and risk of type 2 diabetes. Various neuroendocrine changes have been observed during short sleep duration, including changes in cortisol, glucocorticoid, and growth hormone levels,16 all of which are known to drive insulin resistance.17 Short sleep duration is also associated with increases in hunger, appetite, and energy consumption,18 which may lead to overweight or obesity and, in turn, insulin resistance.19 In addition, mechanistic studies have shown worsening systemic inflammation and changes in leptin and ghrelin levels (hormones that affect appetite) as a result of short sleep duration, which have a negative impact on cardiometabolic health.18,20 There are multiple other mechanisms that may drive this association between sleep duration and risk of type 2 diabetes.14

The association between too much sleep and risk of type 2 diabetes is more difficult to explain. Depression, low socioeconomic status, low levels of physical activity, and sleep disorders (including OSAHS and restless legs syndrome) are all associated with excessive sleep14,21 and are themselves risk factors for type 2 diabetes, so may be responsible for the increased risk of adverse cardiometabolic disease.

Regardless of the underlying mechanisms, it may be beneficial for clinicians to give general advice about improving sleep duration to patients who sleep too much or too little, and to inform them of the associated increased risk of type 2 diabetes. This advice may help to reduce the prevalence of the condition.

Short Sleep Duration and Risk of Diabetes Progression

Short sleep duration is not only associated with an elevated risk of type 2 diabetes: it is also linked with an increased risk of progression from prediabetes to type 2 diabetes. A 2022 systematic review and meta-analysis found that short sleep duration (less than 5–6.5 hours per night) was associated with a 59% increased risk of progression from prediabetes to type 2 diabetes.22 Accordingly—alongside the usual signposting, lifestyle advice, and referral to the NHS Diabetes Prevention Programme23 where appropriate—primary care practitioners should counsel their at-risk patients about the importance of adequate sleep duration to mitigate progression from prediabetes to type 2 diabetes.

The Impact of Nightshift Work

The authors of this systematic review and meta-analysis also highlighted the negative association between nightshift work and risk of diabetes progression.22 These findings mirror those of previous research, in which short sleep duration and circadian misalignment—particularly relating to nightshifts—were linked with reduced insulin sensitivity and increased risk of developing type 2 diabetes.24 Patients who work nightshifts may benefit from knowing about this association, particularly if they have already been identified as at risk.

How Do Quality and Duration of Sleep Impact Established Type 2 Diabetes?

Beyond risk of type 2 diabetes, there is strong evidence linking sleep quality and duration with clinical markers associated with diabetes, including glycaemic regulation,25,26 glucose tolerance,26 insulin sensitivity,25,26 blood pressure,27 glycated haemoglobin (HbA1c),26,28 and lipid profiles.29

Association Between Sleep Duration and HbA1c Level

A systematic review and meta-analysis from 2017 identified that overly long (more than 8 hours) and overly short (less than 6 hours) sleep durations are linked to poorer health outcomes, particularly higher HbA1c level.28,30 The study also found that poor quality sleep was associated with an HbA1c level 0.35% higher, on average, than normal sleep.28 If the associated HbA1c improvement of normal sleep is extrapolated to the results of the seminal UK Protective Diabetes Study,28,30 this equates to a clinically significant 3% reduction in death from type 2 diabetes, a 2% reduction in myocardial infarction, and a 5% reduction in microvascular disease.31

The authors of the systematic review concluded that sleep health is an important and modifiable risk factor for improving glycaemic control in people living with type 2 diabetes.28 Therefore, counselling about sleep should form an integral part of any diabetes intervention.

Effect of Irregular Sleep and Chronotype

Irregular sleep is also associated with a suboptimal glucose level in patients with type 2 diabetes;12,32 conversely, sleep regularity is often affected by the increased prevalence of sleep disorders in type 2 diabetes, including insomnia, OSAHS, and restless legs syndrome.30 A person’s chronotype (their natural inclination to sleep at a certain time, for example, ‘early birds’ or ‘night owls’) also plays a pivotal role, as people with evening chronotypes may be more susceptible to inactivity and a suboptimal glucose level.30

ADA/EASD Emphasis on Sleep for Improving Cardiometabolic Health

In light of this, the recently updated American Diabetes Association (ADA)/European Association for the Study of Diabetes (EASD) consensus report positions sleep as a key 24-hour physical behaviour for managing type 2 diabetes, alongside sweating, sitting, strengthening, and stepping.30 The effects that these behaviours have on different indicators of cardiometabolic health are outlined in the ADA/EASD consensus report.30

People living with type 2 diabetes should aim for consistent, uninterrupted sleep, both in the week and at the weekend. There needs to be more awareness among healthcare practitioners and the public of the long-term effects of poor sleep on cardiometabolic conditions, including type 2 diabetes, hypertension, and cardiovascular disease, and how these effects can be mitigated.

Type 2 Diabetes and Obstructive Sleep Apnoea: A Bidirectional Relationship

Obstructive Sleep Apnoea/Hypopnoea Syndrome

NICE Guideline 202, Obstructive sleep apnoea/hypopnoea syndrome and obesity hypoventilation syndrome in over 16s,10 emphasises that OSAHS is a common and under-recognised condition. In fact, OSAHS is estimated to affect around 6% of adult women and 13% of adult men in the UK,33 yet a considerable proportion of these people remain undiagnosed.10

If untreated, OSAHS is associated with neurocognitive impairment, cardiometabolic disease, and all-cause death.34 Furthermore, individuals living with OSA are up to 4.9 times more likely to have a road traffic accident than those without,35 and 10 times more likely if living with undiagnosed OSA,33 so this is a diagnosis that affects both the person living with the condition and the general public. For information regarding the Driver & Vehicle Licensing Agency ’s requirements for driving with OSA, visit

How are OSAHS and Type 2 Diabetes Related?

OSAHS is more prevalent in people living with type 2 diabetes than in the general population.36 Conversely, around 15–30% of people living with OSAHS have type 2 diabetes.36

OSAHS is also more prevalent in people living with certain other conditions, including:37

  • obesity or overweight
  • cardiac arrhythmia (particularly atrial fibrillation)
  • transient ischaemic attack or stroke
  • chronic heart failure
  • moderate or severe asthma
  • polycystic ovary syndrome
  • hypothyroidism
  • treatment-resistant hypertension.
A recent cohort study attempted to disentangle the complex relationship between OSA and type 2 diabetes, identifying that OSA is associated with a 37% increased risk of type 2 diabetes (independent of demographic, lifestyle, comorbidities, and anthropometric factors), and that type 2 diabetes treated with insulin therapy is associated with a 43% higher risk of OSA (independent of adiposity).11 The authors concluded that increased clinical awareness of this bidirectional relationship may improve prevention and treatment of both type 2 diabetes and OSA.11

Actions in Primary Care

It may be prudent for primary care clinicians to act upon this bidirectional relationship to identify patients living with these comorbidities. Clinicians can consider measuring HbA1c level in all patients diagnosed with OSAHS not known to have type 2 diabetes, and conversely screening for OSAHS in all patients living with type 2 diabetes not known to have any sleep disorders—the Epworth Sleepiness Scale ( is the standard screening option, and the STOP-Bang Questionnaire ( can also be considered.10

OSA, Maculopathy, and Retinopathy

OSA is known to be involved in the pathogenesis of maculopathy and retinopathy in patients with type 2 diabetes. A 2017 longitudinal study found that OSA (even when mild) was independently associated with maculopathy and sight-threatening diabetic retinopathy (DR) in people living with type 2 diabetes.40 OSA was also an independent predictor of progression to preproliferative and proliferative DR over 4 years.40 Importantly, patients treated with continuous positive airway pressure (CPAP) therapy were less likely to progress in this way.40

With this in mind, practices may wish to identify patients with mild or moderate nonproliferative DR and screen them for OSAHS using the Epworth Sleepiness Scale38 and STOP-Bang Questionnaire.39 Early diagnosis and treatment of underlying OSAHS, particularly with CPAP, have the potential to reduce progression of DR and prevent blindness.40

The Basic Tenets of Healthy Sleep Hygiene for all Patients

Box 1 compiles typical sleep hygiene advice for all patients, not just people living with type 2 diabetes, and Box 2 contains useful resources relating to sleep hygiene that may be useful to patients and clinicians alike. As always, clinicians should individualise, modify, and compromise on their recommendations where necessary.

Box 1: Typical Sleep Hygiene for all Patients41–43
  • Maintain regular times for going to bed and waking up, no matter how bad an individual night’s sleep was; sleeping in after a poor night’s sleep can interrupt this habit
  • Relax before going to bed
  • Make the sleep environment comfortable: not too hot, cold, noisy, or bright
  • Avoid napping during the day
  • Refrain from caffeine, nicotine, or alcohol later in the day, ideally within 6 hours of going to bed (some people will benefit from excluding caffeine completely)
  • Exercise more during the day (but not just before bed)
  • Avoid heavy meals late at night
  • Keep the bedroom just for sleep and sex, to maintain a mental association between the bed and sleep
  • Abstain from screen time at all hours of the night, and avoid even checking a digital clock during the night if possible; disconnecting from devices at least 30 minutes before bed supports melatonin production and can improve sleep.
Box 2: Useful Resources


As Leonardo da Vinci said, ‘a well-spent day brings happy sleep’,45 and sleep is certainly an underappreciated aspect of good health that is important for all patients. If I were to give three key take-home messages for primary care clinicians on this topic, they would be that:
  • primary care needs to wake up to sleep as a major metabolic risk factor—clinicians should enquire about and counsel patients on sleep quality and duration in every diabetes consultation
  • OSAHS is a sleeping giant—this condition is common in those living with type 2 diabetes, but remains underdiagnosed, and is associated with cardiometabolic disease and all-cause death; screen for OSAHS in all people living with type 2 diabetes who are not known to have any sleep disorders
  • sleep hygiene is more than just a bedtime buzzword—advise patients on how to practise healthy sleep hygiene, but individualise, modify, and compromise on this advice where necessary.
Key Points
  • Sleep of short duration and low quality has been a public health issue in the UK for many years, exacerbated by our 24-hour lifestyles and the COVID-19 pandemic
  • Too little sleep (particularly less than 6 hours) is associated with an increased risk of type 2 diabetes, as is too much sleep (particularly more than 8 hours), although the mechanisms underlying these associations are unclear
  • Short sleep duration and irregular sleep (notably relating to nightshift work) have been related to an increased risk of prediabetes developing into type 2 diabetes
  • In established type 2 diabetes, improved sleep quality and duration are associated with improvements in various clinical markers, including glycaemic regulation, glucose tolerance, insulin sensitivity, blood pressure, HbA1c, and lipid profiles
  • A person’s chronotype and the regularity of their sleeping schedule have also been linked to their glucose level—people with evening chronotypes, for example, may be more susceptible to inactivity and a suboptimal glucose level
  • As the updated 2022 ADA/EASD consensus report recommends, it is important that clinicians regularly counsel patients with type 2 diabetes about the value of sleep, stressing that they aim for consistent, uninterrupted sleep of an adequate duration
  • There is an established bidirectional relationship between type 2 diabetes and sleep disorders, particularly OSA and OSAHS, although the reasons for this relationship are still unclear
  • OSA is also related to an increased risk of DR progressing to the preproliferative and proliferative stages
  • Considering these relationships, active screening of type 2 diabetes patients for OSAHS, and OSAHS patients for type 2 diabetes, may be a prudent step to take in primary care to prevent the complications of both conditions.

HbA1c=glycated haemoglobin; ADA=American Diabetes Association; EASD=European Association for the Study of Diabetes; OSA=obstructive sleep apnoea; OSAHS=obstructive sleep apnoea/hypopnoea syndrome; DR=diabetic retinopathy