Frontiers for Young Minds

Frontiers for Young Minds
Core Concept Human Health Published: October 18, 2023

A Good Night’s Sleep Strengthens Your Immunity!


Sleep is an important part of a healthy lifestyle. Getting good quality sleep regularly helps the immune system, the body’s infection-fighting force, work at its best so that we can tackle the bacteria and viruses that try to make us sick. In addition, getting good quality sleep around the time of vaccination is important to ensure that the vaccination is as effective as possible at protecting us, even for a long time afterwards. At night, all the germs that we encounter during the day are shown to the cells of the immune system so that those cells can be activated to stop an invader, if necessary. Sleeping well contributes to both the ability of the immune system to defend us when we get infected with viruses or bacteria and the ability of vaccines to protect us from getting sick in the first place.


Everyone gets sick occasionally, especially in the colder months of the year when many people around us are sniffling and sneezing. However, there are things we can do to help our bodies fight off the germs that make us sick. We often hear people say, “Make sure you are eating healthy and taking your vitamins!” and “Do not forget to wear your hat and scarf!” but every so often we may also hear, “Make sure you get some good sleep!”

Can Sleep Keep Us Healthy?

Can sleep really stop us from getting sick? Research certainly seems to suggest that it can. Several studies found an association between the amount of sleep that people get and their risk of getting sick. In a 2009 study, healthy people were asked to tell researchers about their previous 14 days of sleep, before they were isolated in a controlled environment and given nasal drops that contained the common cold virus. The participants were then observed for the next 5 days for symptoms of sickness. The researchers found a strong association between the amount of sleep participants got before the virus was given and the risk of getting sick from the virus. Those with <7 h of sleep the night before getting the nasal drops were almost three times more likely to get sick than those who slept 8 h or more. Researchers also looked at the effect of sleep efficiency, which is a way to calculate how much time a person sleeps when they are in bed as opposed to being in bed but awake. They found that participants with lower sleep efficiency were more than five times more likely to develop a cold than those who had better sleep efficiency [1].

This finding was repeated in a similar study in which, instead of relying only on people’s own reports of their sleep behavior, the experimenters monitored the participants’ sleep for 7 days before the experiment. Sleep was monitored using actigraphy, which means the participants wear a special kind of watch which tracks when they are asleep and when they are awake. The researchers found that those participants who slept the least, with <6 h of sleep each night, were more likely to become ill from the virus compared to those who slept for more than 6 h. This was true regardless of age, gender, race, income level, smoking, and physical activity [2]. So, it seems that sleeping well helps the body’s immune system to work better, which means that we are less likely to get sick from pathogens such as bacteria, viruses, or fungi that enter our bodies.

Over the past 3 years, we have been dealing with the COVID-19 pandemic, caused by a new coronavirus called SARS-CoV-2. Many people have been infected with this virus, but the severity of the symptoms has varied across individuals, ranging from no symptoms at all to mild symptoms to severe symptoms. Although ongoing research is exploring the reasons behind this diverse response to SARS-CoV-2, sleep was found to be involved in the body’s ability to tackle the infection. People with poor sleep quality in the month before getting infected with SARS-CoV-2 were more likely to get severely ill and to stay in the hospital longer [3]. Moreover, among COVID-19 patients who were already in the hospital, those who were poor sleepers were more likely to get worse and to be moved into the intensive care unit than those who were good sleepers [4].

Sleep Makes Vaccines Work Better!

Besides helping us resist infections, sleep contributes to the immunity we build following vaccination, which is something many of us have been striving for recently. As the body’s defense mechanism against pathogens, part of the immune system’s job is to identify the specific pathogens that have invaded our bodies and to produce antibodies against them. Antibodies are proteins that can specifically fit or bind to the surface of an invading pathogen, like a key fits in a lock, killing or inactivating the pathogen. The white blood cells that work together to create antibodies are called lymphocytes. Lymphocytes circulate in the blood and bodily tissues until they get a signal that tells them to activate because an invader is present [5]. A similar response takes place when we get vaccinated, except that the “invader” in this case is the vaccine. Once the lymphocytes have seen the harmless form of the pathogen in the vaccine, they are “trained” and ready to fight the actual pathogen if it enters the body in the future.

So, how does sleep make vaccines work better? One of the first studies to demonstrate that sleep plays a role in immunity following vaccination was a study on the hepatitis A vaccine [6]. Hepatitis A is a virus that targets the liver and can make us sick, which is why we get vaccinated. The vaccines help the immune system prepare for a future infection by delivering into the body a weakened version of the virus to launch an immune response. In this study, half of the participants were allowed to sleep the night after vaccination, whereas the other half were kept awake all night. Researchers measured their antibody levels 4 weeks later, when these levels were expected to reach their maximum. Those who slept had twice the number of antibodies compared to those who did not sleep. Even a year following vaccination, those who slept the night following the hepatitis A vaccine had a greater number of antibodies compared to those who did not sleep [7]. A more recent study monitored sleep using sleep diaries, over a period of 13 days before and after vaccination with two different influenza vaccines that protect against the flu. That study found that sleep on the two nights before vaccination was an important contributor to antibody production, even 4 months after vaccination, although this was true for one type of flu vaccine but not the other [8]. There are still no published studies about how sleep affects immunity after receiving the SARS CoV-2 vaccines.

The Type of Sleep Matters Too!

The immune system is influenced by the time of day. For example, the number of lymphocytes circulating in the blood reaches a maximum in the evening or early night, and their numbers begin to drop throughout the night until they reach a minimum by the morning hours [5]. The number of circulating lymphocytes drops because they slowly move away from the circulation and into the lymph nodes, where they can encounter any pathogens that have entered the body the day before [7]. Sleeping at night is important because when we sleep, certain chemicals are released that help the immune response get started and fight pathogens if they are present [5].

Although there is still a lot to be discovered on sleep and immune system interactions, research suggests that a type of sleep called slow-wave sleep (SWS) is important in this process. During SWS, bodily functions and brain activity slow down compared to wakefulness. When people are in SWS, their bodies have very low levels of the stress hormone cortisol. When cortisol is around it suppresses the activity of the immune system, so when this hormone is at its lowest, the immune system can more easily create antibodies and fight infections [57]. It is important to note that people get more SWS during the early part of the night, as opposed to the later part of the night when people tend to sleep more lightly [7].

Sleep Is Key to Staying Healthy!

Getting good sleep every night is just as important as eating a balanced diet and exercising regularly. So, if you are a fan of being healthy, one of the best things you can do to help your resistance to illness is to make sure you get enough good quality sleep, regularly. The need for sleep changes with age, with younger people needing more sleep (Figure 1) [9]. Even though it can sometimes be tricky to go to bed and wake up at the same time every day, especially as you get older and busier, having a regular sleep-and-wake routine is the best way to support your immune system and enjoy better health and all the other benefits that sleep can offer.

Figure 1 - Sleep needs change across a person’s lifetime.
  • Figure 1 - Sleep needs change across a person’s lifetime.
  • The younger a person is, the more hours (h) of sleep they need [Figure credit: [9]].


Sleep Efficiency: The ratio of time spent in bed sleeping vs. overall time spent in bed. Someone with high sleep efficiency spends most time in bed asleep, which suggests better sleep quality.

Actigraphy: A method of measuring sleep and movement in humans by using a small device similar to a watch.

Immune System: A group of cells and chemicals that keep an organism healthy. Their job is to detect and fight off germs and viruses that can make the organism sick.

Pathogens: Microscopic organisms such as bacteria, viruses or fungi that can enter our bodies and make us sick.

Antibodies: Blood proteins that fight pathogens by sticking to them like a key in a lock, protecting people from disease.

Lymphocytes: White blood cells produced in bone marrow. There are different types of lymphocytes such as T cells and B cells. They are part of the immune system.

Slow-Wave Sleep: A type of deep sleep where brain activity slows down and body temperature drops. Young people’s bodies grow during this time, as growth hormone is secreted.

Cortisol: A hormone which is released in the body when we are threatened or stressed. In small amounts it is helpful but if there is too much it can be harmful.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.


[1] Cohen, S., Doyle, W. J., Alper, C. M., Janicki-Deverts, D., and Turner, R. B. 2009. Sleep habits and susceptibility to the common cold. Arch. Intern. Med. 169:62–7. doi: 10.1001/archinternmed.2008.505

[2] Prather, A. A., Janicki-Deverts, D., Hall, M. H., and Cohen, S. 2015. Behaviorally assessed sleep and susceptibility to the common cold. Sleep. 38:1353–9. doi: 10.5665/sleep.4968

[3] Jiang, Z., Zhu, P., Wang, L., Hu, Y., Pang, M., Ma, S., et al. 2021. Psychological distress and sleep quality of COVID-19 patients in Wuhan, a lockdown city as the epicenter of COVID-19. J. Psychiatr. Res. 136:595–602. doi: 10.1016/j.jpsychires.2020.10.034

[4] Zhang, J., Xu, D., Xie, B., Zhang, Y., Huang, H., Liu, H., et al. 2020. Poor-sleep is associated with slow recovery from lymphopenia and an increased need for ICU care in hospitalized patients with COVID-19: a retrospective cohort study. Brain Behav. Immun. 88:50–8. doi: 10.1016/j.bbi.2020.05.075

[5] Irwin, M. R. 2015. Why sleep is important for health: a psychoneuroimmunology perspective. Annu. Rev. Psychol. 66:143–72. doi: 10.1146/annurev-psych-010213-115205

[6] Lange, T., Perras, B., Fehm, H. L., and Born, J. 2003. Sleep enhances the human antibody response to hepatitis A vaccination. Psychosom. Med. 65:831–5. doi: 10.1097/01.PSY.0000091382.61178.F1

[7] Lange, T., Dimitrov, S., Bollinger, T., Diekelmann, S., and Born, J. Sleep after vaccination boosts immunological memory. J. Immunol. 187:283–90. doi: 10.4049/jimmunol.1100015

[8] Prather, A. A., Pressman, S. D., Miller, G. E., and Cohen, S. 2021. Temporal links between self-reported sleep and antibody responses to the influenza vaccine. Int. J. Behav. Med. 28:151–8. doi: 10.1007/s12529-020-09879-4

[9] Hirshkowitz, M., Whiton, K., Albert, S. M., Alessi, C., Bruni, O., DonCarlos, L., et al. 2015. National Sleep Foundation’s sleep time duration recommendations: methodology and results summary. Sleep Health 1:40–3. doi: 10.1016/j.sleh.2014.12.010