Chevron icon
To blog
Chevron icon
To blog

How to optimize your sleep quality‍

In this article, we’ll explore how sleep impacts key health factors like your immune system, metabolism, and cognitive performance – and share actionable, science-backed strategies on how to sleep better.

Table of content:

How to optimize your sleep quality‍

Author of the article:

Follow us on social media

Linkedin iconInstagram icon

Healthy sleep is one of the most important - and at the same time most neglected - aspects of our daily lives. Surveys show that every second person in Switzerland experiences sleep problems [1]. The reasons for this are diverse: Unhealthy eating habits, overworking or mental health challenges can contribute to situations where you're tired but can't sleep.

In this article, we’ll explore how sleep impacts key health factors like your immune system, metabolism, and cognitive performance – and share actionable, science-backed strategies on how to sleep better.

Our goal is to help you wake up feeling refreshed and ready to tackle the day.

Does sleep impact longevity?

A 2023 study by Li and colleagues [2], published in QJM: An International Journal of Medicine, showed that sleep quality is strongly associated with life expectancy. The researchers analyzed data from more than 172'000 U.S. adults who participated in the National Health Interview Survey and were followed for mortality outcomes. They created a “healthy sleep score” based on five predefined low-risk sleep behaviors:

  • An ideal sleep duration of 7-8 hours
  • Rarely having trouble falling asleep
  • Few sleep interruptions during the night
  • No sleep medications
  • Feeling rested after waking up

People who scored well on all five factors had a 30% lower risk of mortality. Life expectancy increased by 4.7 years for men and 2.4 years for women. Moreover, approximately 8% of all deaths were attributed to poor sleep habits. These findings show that not only is sufficient sleep important, but quality is paramount.

What happens when you sleep

While you sleep, your body is working hard to regenerate you in various ways:

Immune system

During sleep, your immune system performs at its peak. It produces defense cells and cytokines that are essential for fighting off infections. People with sleep deficiency are more susceptible to infections and take longer to recover [3]. That’s why, when you’re sick, you feel an increased need for sleep - your body is demanding the time it needs to fight the infection.

Cognitive functions and memory

Sleep is important for your mental performance. While you sleep, your brain consolidates and reorganizes memories [5]. After a good night’s rest, you’ll find that you can:

  • Absorb and process new information more effectively [6]
  • Think more creatively and solve problems with ease
  • Focus better and regulate emotions more efficiently [7]


Chronic sleep deprivation, however, can lead to concentration difficulties, reduced problem-solving abilities, and memory disorders [8].

Physical recovery

Sleep plays a central role in the body’s repair and recovery processes. Particularly during the deeper stages of sleep, the body shifts toward restoration: damaged tissue is repaired, proteins are synthesized, and cells perform maintenance tasks that are difficult to carry out during waking hours. This nightly recovery cycle supports several important processes:

  • Training places stress on muscle fibers, and sleep provides the conditions in which the body can rebuild and strengthen them. Even one night of partial sleep deprivation impairs recovery from a single exercise session [9].
  • Research shows that poor sleep quality can slow wound healing and impair the body’s ability to repair damaged tissue [10].
  • Consistent, high-quality sleep supports normal bone remodeling, while chronic sleep disruption has been associated with impaired bone metabolism and reduced bone health [11].

Without sufficient high-quality sleep, recovery from exercise, illness, or injury may take longer, and the body’s ability to adapt to physical stress can be compromised.

Hormone balance and regulation

Sleep influences the production and release of many hormones [17]:

  • Melatonin: The “sleep hormone” is released in darkness and regulates your sleep-wake rhythm [18].
  • Serotonin: This “happiness hormone” is produced in daylight and contributes to your mood and well-being.
  • Growth hormones: Released during deep sleep, they promote cell regeneration and growth.
  • Cortisol: This "stress hormone" decreases during sleep and rises in the morning to prepare you for the day.
  • Leptin and Ghrelin: These "hunger and satiety hormones" become imbalanced through sleep deprivation, which can lead to increased feelings of hunger.


A balanced hormone production is vital for your energy levels, mood, and overall health – and significantly depends on sufficient, high-quality sleep [19].

Tips to sleep better long term


While there’s no “on-off switch” for sleep, there are surprisingly effective strategies to improve your sleep quality - especially if you regularly struggle to fall asleep or wake up feeling unrested.

Stick to a consistent sleep schedule

Your body loves rhythm and consistency. Try to go to bed and wake up at the same time every day. 1 or 2 nights of catch-up sleep on the weekend can be helpful (and are recommended) [20], but throwing your bedtime overboard can have negative effects. Studies show that a stable sleep-wake rhythm supports your body's internal clock and regulates the release of the sleep hormone melatonin. Aim for 7-9 hours of sleep daily, depending on what you personally find most restorative.

Find your perfect sleep temperature

Temperature is a cornerstone of sleep hygiene. Scientists use the term "ambient thermoneutrality" to describe the sweet spot where your body perfectly maintains its core and skin temperatures without needing to sweat or shiver [21]. While this range is around 28°C (82°F) for those sleeping without clothes or bedding, most of us use blankets and pajamas. Heat is more disruptive to our sleep architecture than cold, largely because blankets allow us to manually adjust to cooler rooms, whereas excess heat leads to frequent night-waking.

Interestingly, men often prefer cooler temperatures than women. For their most restorative sleep, both need to balance their room’s ambient temperature with their bedding’s microclimate, to find their sweet spot. When in doubt, lean towards slightly cooler.

Make it dark, make it silent

Your bedroom should be a sensory sanctuary. Research shows that noise and light are the two primary environmental disruptors that can "reset" your internal clock or cause unwanted night-waking [21].

Frequent noises above just 35 dB - roughly the volume of a whisper or a quiet library - are enough to reduce both sleep quality and quantity. To combat this, try to locate your bedroom away from high-traffic common areas. If you live near a highway, railway, or airport, focus on sound-attenuating measures like heavy doors or insulated windows. If outside noise is unavoidable, using continuous white noise can help mask these disruptions and keep you in a deeper sleep state.

Light impacts you in two ways: it causes immediate waking and it resets your "circadian pacemaker," shifting your entire sleep schedule. Our systems are incredibly sensitive; exposure to even 65 lux (about the brightness of a dim hallway) can delay your melatonin production by a full hour.

Step away from screens

A major systematic review and meta-analysis published in JAMA Pediatrics [23] suggests that devices like smartphones and tablets are among the most significant threats to sleep hygiene. The study, which analyzed data from over 125’000 children and adolescents, found that using a screen-based device near bedtime more than doubles the risk of inadequate sleep quantity and significantly increases the odds of poor sleep quality and excessive daytime sleepiness.

The most surprising finding? Simply having access to a device in the sleep environment - even if it isn't used - is strongly associated with poor sleep outcomes. The mere presence of a smartphone can cause "psychophysiological arousal," keeping the brain in a state of alert anticipation for notifications or social interactions. To truly optimize your recovery, the best strategy is to keep your devices in a separate room entirely once you head to bed.

Move more

Regular exercise is one of the most effective tools for improving sleep. A large-scale meta-analysis in Frontiers in Psychiatry [24] confirms that consistent activity significantly reduces insomnia severity, daytime sleepiness and improves mood. While more intense exercise such as cycling showed effects within a few days, lower-intensity activity and mind-body exercises like yoga needed a longer intervention time to show significant effects.

Eat your way to better rest

What you eat directly influences your brain’s ability to transition into sleep. Research [25]  highlights that diets rich in tryptophan - an amino acid found in milk and eggs - are associated with faster sleep onset and higher sleep efficiency. This is because tryptophan is a precursor to serotonin and melatonin.

Cherries can be equally effective; they contain high concentrations of melatonin and phytonutrients that have been shown to increase total sleep time. Pairing these with carbohydrates-rich foods roughly four hours before bed can further help tryptophan cross the blood-brain barrier, effectively prepping your system for deep, restorative rest.

What to do if I’m tired but can't sleep?

If you’re lying in bed and struggling to fall asleep, mindfulness practices such as meditation, breathwork, guided imagery or journaling can help you save the night [26]. Here, we’d like to show you our two favorite ones:

Slow Paced Breathing

Controlling your breath is a direct way to communicate with your nervous system. Research published in Psychophysiology [27] shows that slow, paced breathing at a frequency of 0.1 Hz (one breath every 10 seconds) significantly increases "vagal activity," effectively switching your body from an alert state to a rest state. Practicing this for 20 minutes before bed has been shown to reduce the number of night-wakings and significantly shorten the time it takes to fall asleep.

How to perform it:

  • Find a comfortable position and close your eyes.
  • Inhale slowly through your nose for 4 seconds.
  • Exhale gently through your mouth for 6 seconds.
  • Maintain this steady rhythm for 20 minutes

Progressive Muscle Relaxation

Oftentimes, we don't realize how much physical tension we are carrying until we actively try to release it. Progressive Muscle Relaxation (PMR) is a technique to systematically tense and then release different muscle groups. A study in Complementary Therapies in Medicine [28] found that a consistent PMR practice significantly improves sleep quality and efficiency. By focusing on the physical sensation of relaxation, you effectively "quiet" the mind and prepare the body for deep recovery.

How to perform it:

  • Lie on your back in your quiet, dark bedroom.
  • Starting with your feet, tense your muscles tightly for 5 seconds.
  • Quickly and completely release the tension for 10 seconds, focusing on the feeling of relaxation.
  • Move systematically up your body - through your calves, thighs, stomach, and hands - until you reach your face.

When you’re done, you should fall asleep within a couple of minutes.


How AYUN can help you sleep better

At AYUN, we view sleep quality as part of a comprehensive health picture and help you optimize your relevant factors with our personalized approach.

First: Diagnose

Our check-ups provide deep insights into the factors affecting your sleep:

  • Blood Analysis: Nutrient deficiencies like magnesium can directly impact your sleep [22].
  • Heart Rate Variability: This measurement reveals your individual stressors and how your nervous system responds to them [28].
  • Gut Microbiome: Analysis can identify inflammation processes that may disrupt sleep [3].

Second: Treat

Based on your results, we may recommend targeted treatments:

  • Red Light Therapy: By naturally improving serum melatonin level, red light therapy supports a healthy sleep-wake cycle [29].
  • Cryotherapy: Reduces systemic inflammation and shifts the body into a parasympathetic (rest-and-digest) state, which has been shown to improve subjective sleep quality [30].
  • HBOT (Hyperbaric Oxygen Therapy): Enhances oxygen saturation and reduces oxidative stress in the brain, helping to increase total sleep efficiency [31].
  • Contrast Therapy: Alternating between heat and cold improves circulation and aids in body temperature regulation, which is essential for falling asleep quickly [32].
  • ExerCube: This form of high-intensity cognitive-motor training has been shown to increase the duration of deep sleep stages [33].

Additionally, certain evidence-based supplementation formulations can support sleep stability, particularly in individuals experiencing stress-related nighttime awakenings or difficulty maintaining deep sleep.

In collaboration with AVEA, a Swiss longevity-focused supplement company, we explore melatonin-free, non-sedative approaches designed to support cortisol balance and calm neurotransmitter pathways such as GABA. Unlike traditional sleep aids that primarily focus on sleep onset, these formulations aim to support sleep depth and continuity. This approach is intended to complement, not replace, personalised clinical evaluation and treatment.

At AYUN, we focus on long-term solutions, not quick fixes. We help you identify the root causes of sleep issues rather than just treating symptoms. Learn more about how our Longevity Check-ups and treatments can improve your sleep and overall health during a free info call.

References:

[1] Kurmann, Stephan. “Galaxus Report: 6 von 10 Personen Haben Schlafprobleme.” Galaxus, 19 Mar. 2025, https://www.galaxus.ch/de/page/galaxus-report-6-von-10-personen-haben-schlafprobleme-36612

[2] Li, H., Qian, F., Han, L., Feng, W., Zheng, D., Guo, X. & Zhang, H. (2023). Association of healthy sleep patterns with risk of mortality and life expectancy at age of 30 years: a population-based cohort study. QJM, 117(3), 177–186. https://doi.org/10.1093/qjmed/hcad237

[3] Liu, Xiuxing, et al. “Effects of Poor Sleep on the Immune Cell Landscape as Assessed by Single-Cell Analysis.” Communications Biology, vol. 4, no. 1, Nov. 2021, pp. 1–15, https://doi.org/10.1038/s42003-021-02859-8

[5] Zimmerman, Molly E., et al. “The Effects of Insufficient Sleep and Adequate Sleep on Cognitive Function in Healthy Adults.” Sleep Health: Journal of the National Sleep Foundation, vol. 10, no. 2, Apr. 2024, pp. 229–36, https://pmc.ncbi.nlm.nih.gov/articles/PMC11045317/

[6] Almarzouki, Abeer F., et al. “The Impact of Sleep and Mental Health on Working Memory and Academic Performance: A Longitudinal Study.” Brain Sciences, vol. 12, no. 11, Nov. 2022, https://doi.org/10.3390/brainsci12111525

[7] Scott, Alexander J., et al. “Improving Sleep Quality Leads to Better Mental Health: A Meta-Analysis of Randomised Controlled Trials.” Sleep Medicine Reviews, vol. 60, Dec. 2021, p. 101556, https://doi.org/10.1016/j.smrv.2021.101556

[8] Khan, Mohammad A., and Hamdan Al-Jahdali. “The Consequences of Sleep Deprivation on Cognitive Performance.” Neurosciences Journal, vol. 28, no. 2, Apr. 2023, pp. 91–99, https://doi.org/10.17712/nsj.2023.2.20220108

[9] “Effects of Sleep Deprivation on Acute Skeletal Muscle... : Medicine & Science in Sports & Exercise.” LWW, https://journals.lww.com/acsm-msse/fulltext/2020/02000/effects_of_sleep_deprivation_on_acute_skeletal.28.aspx

[10] Das, Asish, et al. “Effect of Sleep Quality on Wound Healing among Patients Undergoing Emergency Laparotomy: An Observational Study.” Journal of Clinical Sleep Medicine, vol. 21, no. 3, Mar. 2025, pp. 503–12, https://doi.org/10.5664/jcsm.11442

[11] “Sleep Disruptions and Bone Health: What Do We Know so Far? : Current Opinion in Endocrinology, Diabetes and Obesity.” LWW, https://journals.lww.com/co-endocrinology/abstract/2021/08000/sleep_disruptions_and_bone_health__what_do_we_know.4.aspx

[12] Reutrakul, Sirimon, and Eve Van Cauter. “Sleep Influences on Obesity, Insulin Resistance, and Risk of Type 2 Diabetes.” Metabolism - Clinical and Experimental, vol. 84, July 2018, pp. 56–66, https://doi.org/10.1016/j.metabol.2018.02.010

[13] Cappuccio, Francesco P., and Michelle A. Miller. “Sleep and Cardio-Metabolic Disease.” Current Cardiology Reports, vol. 19, no. 11, Sept. 2017, pp. 1–9, https://doi.org/10.1007/s11886-017-0916-0

[14] St-Onge, Marie-Pierre. “Sleep Duration and Quality: Impact on Lifestyle Behaviors and Cardiometabolic Health: A Scientific Statement From the American Heart Association.” Circulation, Nov. 2016. https://www.ahajournals.org/doi/10.1161/CIR.0000000000000444

[15] Koren, Dorit, et al. “Role of Sleep Quality in the Metabolic Syndrome.” Diabetes, Metabolic Syndrome and Obesity, vol. 9, pp. 281–310, https://doi.org/10.2147/DMSO.S95120

[16] Mukherjee, U., Sehar, U., Brownell, M. & Reddy, P. H. (2024). Mechanisms, consequences and role of interventions for sleep deprivation: Focus on mild cognitive impairment and Alzheimer’s disease in elderly. Ageing Research Reviews, 100, 102457. https://doi.org/10.1016/j.arr.2024.102457

[17] “Neurochemical Regulation of Sleep.” Journal of Psychiatric Research, vol. 41, no. 7, pp. 537–52, https://doi.org/10.1016/j.jpsychires.2006.04.007

[18] Comai, Stefano, and Gabriella Gobbi. “Melatonin, Melatonin Receptors and Sleep: Moving Beyond Traditional Views.” Journal of Pineal Research, vol. 76, no. 7, https://doi.org/10.1111/jpi.13011

[19] Moosavi-Movahedi, Faezeh, and Reza Yousefi. “Good Sleep as an Important Pillar for a Healthy Life.” Springer International Publishing, 1 Jan. 2021, https://link.springer.com/chapter/10.1007/978-3-030-74326-0_10

[20] Sletten, Tracey L., et al. “The Importance of Sleep Regularity: A Consensus Statement of the National Sleep Foundation Sleep Timing and Variability Panel.” Sleep Health: Journal of the National Sleep Foundation, vol. 9, no. 6, Dec. 2023, pp. 801–20, https://doi.org/10.1016/j.sleh.2023.07.016

[21] A Review of the Environmental Parameters Necessary for an Optimal Sleep Environment.” Building and Environment, vol. 132, pp. 11–20, 

https://sci-hub.hlgczx.com/10.1016/j.buildenv.2018.01.020

[22] The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. (2012, 1. Dezember). PubMed. https://pubmed.ncbi.nlm.nih.gov/23853635/

[23] Carter, Ben. “Association Between Portable Screen-Based Media Device Access or Use and Sleep Outcomes: A Systematic Review.” JAMA Pediatrics, vol. 170, no. 12, Dec. 2016, pp. 1202–08, https://doi.org/10.1001/jamapediatrics.2016.2341

[24] Xie, Yi, et al. “Effects of Exercise on Sleep Quality and Insomnia in Adults: A Systematic Review and Meta-Analysis of Randomized Controlled Trials.” Frontiers in Psychiatry, vol. 12, June 2021, https://doi.org/10.3389/fpsyt.2021.664499

[25] Binks, Hannah, et al. “Effects of Diet on Sleep: A Narrative Review.” Nutrients, vol. 12, no. 4, Mar. 2020, https://doi.org/10.3390/nu12040936

[26] Pinheiro, M., et al. “Sleep Quality – Impact of Relaxation Techniques and Autogenic Training in Patients Diagnosed with Insomnia.” European Psychiatry, vol. 30, Mar. 2015, p. 1781, https://doi.org/10.1016/s0924-9338(15)31373-0

[27] Tsai, H. J., et al. “Efficacy of Paced Breathing for Insomnia: Enhances Vagal Activity and Improves Sleep Quality.” Psychophysiology, vol. 52, no. 3, Sept. 2014, pp. 388–96, https://sci-hub.hlgczx.com/10.1111/psyp.12333

[28] Bagheri, Hossein, et al. “Effect of Benson and Progressive Muscle Relaxation Techniques on Sleep Quality after Coronary Artery Bypass Graft: A Randomized Controlled Trial.” Complementary Therapies in Medicine, vol. 63, Dec. 2021, p. 102784, https://doi.org/10.1016/j.ctim.2021.102784

[29] Zhao, J., Tian, Y., Nie, J., Xu, J. & Liu, D. (2012). Red Light and the Sleep Quality and Endurance Performance of Chinese Female Basketball Players. Journal Of Athletic Training, 47(6), 673–678. https://doi.org/10.4085/1062-6050-47.6.08

[30] Arc-Chagnaud, C., Dupuy, O., Garcia, M., Bosquet, L., Bouzigon, R., Pla, R., Coralie, A., Laurent, B., Quentin, B., Nathalie, D., Benoit, D., Olivier, D., Carina, E., Aurélien, P., Dimitri, T. M. E. T., Marien, C., Arnaud, D., Mathias, M. T. E. S., Fabien, S., . . . Dugué, B. (2024). Effects of repeated cryostimulation exposures on sleep and wellness in healthy young adults. Cryobiology, 117, 104948. https://doi.org/10.1016/j.cryobiol.2024.104948

[31] Tan, W., Liu, Q., Cen, M., Leong, I. I., Pan, Z., Liao, M. & Zhuang, L. (2024). Efficacy of hyperbaric oxygen therapy as an adjunct therapy in the treatment of sleep disorders among patients with Parkinson’s disease: a meta-analysis. Frontiers in Neurology, 15, 1328911. https://doi.org/10.3389/fneur.2024.1328911

[32] Mohammadi, M. M., Ahmadi, M. & Raygani, A. A. V. (2024). The Effect of Superficial Heat–Cold Application on the Sleep Quality of Patients With Restless Leg Syndrome: A Systematic Review and Meta‐Analysis. Nursing Open, 11(11), e70080. https://doi.org/10.1002/nop2.70080

[33] Bozkurt, F. D., Dolu, İ. & Ustun, A. B. (2025). The effect of exergames on sleep quality in nursing students: A randomized controlled trial. Teaching And Learning in Nursing, 21(1), e167–e174. https://doi.org/10.1016/j.teln.2025.09.001

More Articles

Curious to know more about the science of longevity and our innovative approach to a long and healthy life? You have come to the right spot.

Hyperbaric Oxygen Therapy

What Bryan Johnson’s Hyperbaric Oxygen Protocol Can Teach Us

Bryan Johnson swears by Hyperbaric Oxygen Therapy (HBOT) for longevity, performance, and recovery — but is it only for the ultra-rich? At AYUN, we believe in making powerful, science-based treatments like HBOT accessible, practical, and personalized. Discover how we integrate HBOT into real-life health strategies and why it might be the most underrated tool in proactive medicine. Ready to explore the benefits of HBOT? Book your consultation

Physical strength

Why grip strength and functional stability predict your longevity

Whether it's carrying groceries up the stairs, holding a child in your arms, taming an excited dog on a lead in the park or taking on sporting challenges such as tennis and horse riding - our everyday lives constantly challenge us physically. But how often do we actually think about the silent stars that make all this possible: our grip strength and the functional stability of our body?

VO2max

VO2max – the key to longevity and healthy aging

Enhancing your VO2max can significantly boost your cardiovascular health and overall longevity. This article delves into the science behind VO2max, its impact on healthy aging, and effective strategies to improve this vital fitness metric.

See more