How does sleep affect diabetes?

Lifestyle Physician, Bupa UK
30 June 2025
Next review due June 2028

Getting enough quality sleep is important for your general health. Not getting enough sleep could increase your risk of type 2 diabetes. If you already have diabetes, you might experience sleep problems. So, having good sleep habits is an important part of managing diabetes. Here I’ll explore the connection between how well you sleep at night and your risk of diabetes.

person-sleeping-in-bed

What is diabetes?

Diabetes is a condition which causes you to have high blood sugar levels (hyperglycaemia). The most common type is type 2 diabetes, which is when your body doesn’t respond properly to a hormone called insulin. Type 1 diabetes is when your body doesn’t produce insulin. Unlike type 1, type 2 diabetes is often preventable.1

Gestational diabetes is a type of diabetes you can get when pregnant. This happens due to pregnancy hormones which make it harder for the body to use insulin.

Does lack of sleep affect blood sugar?

When you sleep your blood sugar levels will go up and down. With good sleep, your body responds better to insulin and so blood sugar levels are better controlled. We also produce more of a hormone called leptin when sleeping. This hormone makes us feel full and reduces our food seeking behaviour in the day.

When you don’t get enough sleep, this can affect your blood sugar and reduce how well your body responds to insulin. Your levels of the hormone cortisol increase, which also raises your blood sugar.

Lack of sleep causes reduced levels of the hormone leptin. This increases hunger and could lead to eating up to 300 extra calories per day. Studies show shorter sleep (less than five hours) may increase risk of developing obesity, which is a risk factor for type 2 diabetes.

The time when you go to sleep can affect blood sugar as well. People who work late shifts have an increased risk of type 2 diabetes. This is because our body clock is disturbed by irregular sleep or work schedules. If you have diabetes and take insulin or other medication, you might have high or low blood sugar when sleeping.

Not getting enough sleep or sleeping too much can raise the risk of type 2 diabetes. A sleep disorder like insomnia and obstructive sleep apnoea may also increase your risk.

Does diabetes affect sleeping?

If you have diabetes, you might have problems sleeping. Your blood sugar levels can lead to feeling thirsty or needing to pee during the night. Diabetes is associated with lower levels of magnesium. This can affect sleep as magnesium helps regulate melatonin. This is a hormone that controls our sleep-wake cycle.

Diabetes has been linked to shorter sleep (less than six hours). But it has also been linked to longer sleep (more than nine hours). Adults should ideally get seven to nine hours of sleep, whether or not they have diabetes.

How can I sleep better?

Sleep is important for your general health. We spend one third of our lives sleeping. It can be hard to get the right amount of sleep because of modern life. And if you have diabetes, this can cause sleep problems. So, taking steps to improve your sleep should be a part of managing your condition.

The general recommended amount of sleep for adults is between seven and nine hours. But it’s not just about length but quality of sleep too. A good sleep environment and healthy habits are key to better sleep.

You can take steps to improve your sleep by:

  • getting up at the same time every morning, including at the weekends. This can help to regulate your body clock so that you sleep better the following evening.
  • turning off screens an hour before bed. Blue light from electronic devices can suppress hormones which help us sleep. Check if your mobile device has a bedtime mode or dark mode which may help.
  • exercising during the day. This can help you have deeper and more refreshing sleep. Staying active can lower your risk of diabetes and heart disease. It can also help reduce stress.
  • avoiding alcohol and caffeine before bed, and not eating too much close to bedtime
  • keeping your bedroom dark, quiet, and at a comfortable temperature (around 18 degrees Celsius)

It may help to talk to your GP for tips on better sleep hygiene.

What else can I do to manage type 2 diabetes?

Sleep as well as other lifestyle changes can help you manage your blood sugar levels.

  • Eat a healthy, balanced diet. Include plenty of wholegrains, proteins, and vegetables. Limit processed carbohydrates.
  • It’s good to keep active as well, as exercise will help your body use insulin and lower your blood sugar levels.
  • Reducing stress can help to lower your cortisol levels and improve your blood sugar levels. So, try find ways to relax such as reading, practicing yoga, or guided meditation.

Lifestyle changes can make a big difference in managing type 2 diabetes and prediabetes. And it’s a good idea to visit a doctor regularly to make sure your blood sugar levels are well managed.


Do you know how healthy you truly are? Bupa health assessments give you a clear overview of your health and a view of any future health risks. You'll receive a personal lifestyle action plan with health goals to reach for a happier, healthier you.

 

Co-author

Rasheda Begum, Health Content Editor at Bupa UK

Dr Sherina Fernandes
Lifestyle Physician, Bupa UK
    • About diabetes. Diabetes UK. diabetes.org.uk, accessed June 2025
    • Gestational diabetes. Royal College of Gynaecologists and Obstetricians. rcog.org.uk published September 2021
    • Gestational diabetes. Patient. patient.info, updated June 2022
    • Sleep and blood glucose levels. The Sleep Foundation. www.sleepfoundation.org, updated October 2023
    • Henson J, Covenant A, Hall AP, et al. Waking Up to the Importance of Sleep in Type 2 Diabetes Management: A Narrative Review. Diabetes Care. 2024 Mar 1;47(3):331-343. doi: 10.2337/dci23-0037
    • Mosavat M, Mirsanjari M, Arabiat D, et al. The Role of Sleep Curtailment on Leptin Levels in Obesity and Diabetes Mellitus. Obes Facts. 2021;14(2):214-221. doi: 10.1159/000514095
    • Darraj A. The Link Between Sleeping and Type 2 Diabetes: A Systematic Review. Cureus. 2023 Nov 3;15(11):e48228. doi: 10.7759/cureus.48228
    • Greer SM, Goldstein AN, Walker MP. The impact of sleep deprivation on food desire in the human brain. Nat Commun. 2013;4:2259. doi: 10.1038/ncomms3259.
    • Tasali E, Wroblewski K, Kahn E, et al. Effect of Sleep Extension on Objectively Assessed Energy Intake Among Adults With Overweight in Real-life Settings: A Randomized Clinical Trial. JAMA Intern Med. 2022;182(4):365–374. doi:10.1001/jamainternmed.2021.8098
    • Xiao Q, Arem H, Moore SC, et al. A large prospective investigation of sleep duration, weight change, and obesity in the NIH-AARP Diet and Health Study cohort. Am J Epidemiol. 2013 Dec 1;178(11):1600-10. doi: 10.1093/aje/kwt180
    • Cooper CB, Neufeld EV, Dolezal BA, et al. Sleep deprivation and obesity in adults: a brief narrative review. BMJ Open Sport Exerc Med. 2018 Oct 4;4(1):e000392. doi: 10.1136/bmjsem-2018-000392
    • Diabetes – type 2. Risk Factors. NICE Clinical Knowledge Summaries. cks.nice.org.uk. last revised March 2025
    • Sleep and diabetes. Diabetes UK. diabetes.org.uk, reviewed August 2023
    • Khalid S, Bashir S, Mehboob R, et al. Effects of magnesium and potassium supplementation on insomnia and sleep hormones in patients with diabetes mellitus. Front Endocrinol (Lausanne). 2024 Oct 29;15:1370733. doi: 10.3389/fendo.2024.1370733
    • Vorster APA, van Someren EJW, Pack AI, et al. Sleep Health. Clinical and Translational Neuroscience. 2024; 8(1):8. doi: 10.3390/ctn8010008
    • Sleep Hygiene. The Sleep Charity. thesleepcharity.org.uk, last updated December 2021
    • Blue Light and Sleep. The Sleep Charity. thesleepcharity.org.uk, last updated December 2020
    • Diabetes – Type 2. British Dietetic Association. bda.uk.com, published November 2021
    • Physical activity: applying All Our Health. Office for Health Improvement & Disparities. gov.uk, updated March 2022
    • Exercise for diabetes. Diabetes UK. diabetes.org.uk, reviewed October 2024
    • Stress and diabetes. Diabetes UK. diabetes.org.uk, accessed June 2025

About our health information

At Bupa we produce a wealth of free health information for you and your family. This is because we believe that trustworthy information is essential in helping you make better decisions about your health and wellbeing.

Our information has been awarded the PIF TICK for trustworthy health information. It also follows the principles of the The Information Standard.

The Patient Information Forum tick

Learn more about our editorial team and principles >

Did you find our advice helpful?

We’d love to hear what you think. Our short survey takes just a few minutes to complete and helps us to keep improving our healthy lifestyle articles.

Content is loading