How Sleep Affects Your Immune System

TL;DR
- Sleep actively directs immune function. Cytokine production, natural killer cell activity, and immunological memory formation are all upregulated during sleep, particularly during slow wave sleep.
- Controlled rhinovirus exposure studies show that people sleeping under 6 hours are roughly 4 to 4.5 times more likely to develop a cold than those sleeping 7 or more hours.
- One night of sleep restricted to 3 am reduced natural killer cell activity in healthy men, and it returned to baseline after a single night of recovery sleep
- Sleep in the days surrounding vaccination predicts the strength of the antibody response and whether clinical protection is achieved.
The immune system does not operate independently of sleep. The two are deeply integrated, with sleep actively directing immune activity and the immune system influencing sleep in return. Understanding this relationship explains why you get sick more easily when you are tired, recover more slowly when sleep deprived, and why sleep is one of the most reliable things you can do for immune health.
What Happens to the Immune System During Sleep
Sleep is not rest for the immune system. Several immune processes are specifically upregulated during sleep, particularly during deep slow wave sleep. Cytokines, signalling proteins that coordinate immune responses, are produced in higher quantities during sleep. The release of growth hormone during deep sleep supports immune cell proliferation. Natural killer cells, which identify and destroy virally infected cells and abnormal cells, show increased activity during sleep.
The immune system also uses sleep to build immunological memory. After vaccination, the immune response is significantly stronger in people who sleep adequately in the days following vaccination compared to those who are sleep deprived. The vaccine is less effective in people who are not sleeping enough.
The Cold Studies
The most direct evidence for sleep's role in infection susceptibility comes from controlled rhinovirus exposure studies. Sheldon Cohen at Carnegie Mellon University documented participants' sleep habits and then exposed them to rhinovirus via nasal drops. People reporting fewer than 7 hours of sleep were 2.94 times more likely to develop a cold compared to those sleeping 8 or more hours.
A follow-up study by Prather and colleagues measured sleep objectively using wrist actigraphy and found even stronger associations. People sleeping under 5 hours were 4.5 times more likely to develop a cold after rhinovirus exposure, and those sleeping 5 to 6 hours were about 4.2 times more likely. The relationship is dose dependent, the less sleep the higher the infection risk, and it held after controlling for stress, diet, exercise, and other potential confounders.
For more on the broader consequences of insufficient sleep on the body, see our article on sleep deprivation symptoms.
What One Short Night Does
The immune effect of sleep loss shows up after a single night, and the clearest study of it measured people against themselves.
Forty-two healthy men had blood drawn after a normal night and again after a night in which they were kept awake from 10 pm to 3 am. After the short night, natural killer cell activity fell, and so did activity per NK cell, lymphokine-activated killer cell activity and stimulated interleukin-2 production. After one night of recovery sleep, NK activity returned to baseline. Interleukin-2 production stayed suppressed (Irwin 1996). The authors' conclusion was that even a modest disturbance of sleep reduces natural immune responses and T cell cytokine production.
Natural killer cells patrol for virally infected and abnormal cells and destroy them on recognition, without waiting for the adaptive immune system. A drop in their activity after one short night is a temporary dip, and it is a real one.
The recovery finding is the practical part. The NK effect reversed after a single full night. The problem is a pattern of five- and six-hour nights, where recovery sleep never comes and the suppression is held at a lower level rather than repaired. That is the pattern the cold-exposure studies above describe, with the sharpest rise in risk below six hours of measured sleep (Prather 2015).
On inflammation, the picture is less tidy than it is often told. A meta-analysis of 72 studies in more than 50,000 people found that disturbed sleep and long sleep were associated with higher C-reactive protein and interleukin-6, while short sleep duration was associated with CRP only, and experimental sleep deprivation in the laboratory was not associated with either (Irwin 2016). The inflammatory cost of poor sleep is a chronic-pattern finding, with the broader biology reviewed in Irwin 2019. For the wider list of what short sleep does, see sleep deprivation symptoms.
The Bidirectional Relationship
The relationship between sleep and the immune system works both ways. When the immune system is activated by infection, it signals the brain to increase sleep. Inflammatory cytokines like interleukin-1 and tumour necrosis factor promote slow wave sleep. This is why illness makes people sleepy. The immune system is requesting more of the resource it needs to fight the infection.
This bidirectionality means that chronic inflammation from any source, including poor diet, environmental toxins, chronic stress, or underlying disease, can disrupt sleep through the same cytokine pathways. People with inflammatory conditions frequently have disrupted sleep partly because of the signals these conditions send from the immune system to the brain.
Vaccination and Immune Memory
The connection between sleep and vaccine efficacy is one of the most practically significant findings in sleep immunology. Research by Prather and colleagues found that people with shorter sleep duration produced significantly lower antibody responses to hepatitis B vaccination and were less likely to achieve clinical protection status six months after completing the full vaccination series, independently of age, sex, and BMI. Only sleep duration mattered. Sleep efficiency and subjective sleep quality were not independent predictors.
This means that common advice to rest after vaccination is well supported. Sleep during that period is when the immune system consolidates the immunological memory that makes the vaccine work.
Chronic Sleep Restriction and Disease Risk
Chronic insufficient sleep is associated with elevated inflammatory markers, particularly C-reactive protein and interleukin-6, which are indicators of systemic inflammation. Persistent low level inflammation is a contributing mechanism in cardiovascular disease, type 2 diabetes, cancer risk, and neurodegenerative disease.
The immune pathway provides one explanation for why chronically poor sleep is associated with elevated disease risk across so many categories. The sustained immune dysregulation and inflammation that accompany chronic sleep restriction create conditions that favour disease development over years.
What This Means for Your Sleep
The immune system is not a separate system from sleep. It is partly regulated by sleep and partly regulates sleep in return. Getting adequate sleep is an active requirement for immune health. The evidence spans controlled infection studies, vaccination trials, and population data linking sleep duration to infection rates and inflammatory disease risk. If immune health matters, sleep duration and quality cannot be treated as optional.
Frequently Asked Questions
How much does sleep affect vaccine effectiveness?
Research found that shorter sleep duration in the natural environment predicted lower secondary antibody response to hepatitis B vaccination and reduced likelihood of reaching clinical protection status six months after the final dose. The effect was independent of age, sex, and BMI. Sleep efficiency and subjective sleep quality were not independent predictors. Only total sleep duration was.
Can the immune effects of poor sleep be reversed?
Natural killer cell activity recovers with adequate recovery sleep after a single bad night. The concern is chronic partial sleep deprivation, regularly sleeping 5 to 6 hours, which sustains immune suppression persistently. The evidence points to consistently getting 7 or more hours over weeks as what restores immune function, not a single long night.
Why does illness make you feel so tired?
When the immune system is activated by infection or inflammation, it signals the brain to increase sleep through inflammatory cytokines including interleukin-1 and tumour necrosis factor. These cytokines directly promote slow wave sleep. The tiredness you feel when sick is the immune system requesting more of the resource it needs to fight the infection effectively.
Does the cold-sleep link hold after controlling for lifestyle factors?
Yes. The rhinovirus studies accounted for stress levels, diet, exercise habits, smoking, and socioeconomic status. Sleep duration remained the strongest single predictor of whether participants developed a cold after direct viral exposure, independent of all other measured factors.
The information in this article is for educational purposes only. It is not medical advice and does not replace the guidance of a qualified healthcare provider. If you have a medical condition, take medications, or are pregnant or breastfeeding, consult your doctor before starting any new supplement.
How do you recover after one bad night?
Sleep the next night. In the Irwin study, natural killer cell activity returned to baseline after one night of recovery sleep (Irwin 1996). The priority after a short night is protecting the next one rather than pushing through on caffeine, and alcohol in the evening works against the deep sleep that recovery depends on.
Sources
- Cohen S, et al. (2009). Sleep habits and susceptibility to the common cold. https://pubmed.ncbi.nlm.nih.gov/19139325/
- Prather AA, et al. (2012). Sleep and antibody response to hepatitis B vaccination. https://pubmed.ncbi.nlm.nih.gov/22851802/
- Prather AA, et al. (2015). Behaviorally assessed sleep and susceptibility to the common cold. https://pubmed.ncbi.nlm.nih.gov/26118561/
- Irwin M, McClintick J, Costlow C, Fortner M, White J, Gillin JC. (1996). Partial night sleep deprivation reduces natural killer and cellular immune responses in humans. FASEB Journal. https://pubmed.ncbi.nlm.nih.gov/8621064/
- Irwin MR, Olmstead R, Carroll JE. (2016). Sleep disturbance, sleep duration, and inflammation: a systematic review and meta-analysis of cohort studies and experimental sleep deprivation. Biological Psychiatry. https://pubmed.ncbi.nlm.nih.gov/26140821/
- Irwin MR. (2019). Sleep and inflammation: partners in sickness and in health. Nature Reviews Immunology. https://pubmed.ncbi.nlm.nih.gov/31289370/
- Besedovsky L, et al. (2012). Sleep and immune function. https://pubmed.ncbi.nlm.nih.gov/22071480/
Related reading: Sleep Deprivation Symptoms: How to Tell If You're Not Sleeping Enough
Free download: Get the Sleep Improvers book, the complete science-backed sleep protocol, free. sleepimprovers.com/download
About the Author

Nima Koucheki
Founder, Sleep Improvers
Nima Koucheki is the founder of Sleep Improvers. He hosts a podcast and YouTube channel dedicated to sleep science, translating peer-reviewed research into protocols anyone can apply tonight.