Back to Blog
Sleep Science9 min read

Sleep and Immunity: Why Poor Sleep Gets You Sick

The connection between a run of bad nights and the cold that shows up a few days later is not a coincidence, and it is not just "being run down." Sleep loss produces specific, measurable changes in how your immune system works, and researchers have tracked them all the way from a single short night to real-world infection risk.

Skimp on sleep and you are more likely to catch what is going around, you fight it off more slowly, and you get less protection from vaccines. Here is the mechanism, because understanding it makes the case for guarding your sleep more convincing than any generic "sleep is important."

The study that made it concrete

The cleanest demonstration comes from research where healthy volunteers had their sleep tracked, then got deliberately exposed to a common cold virus via nasal drops, under quarantine, and were watched to see who actually got sick.

The pattern was stark. People sleeping less than about 6 hours a night were several times more likely to develop a cold than those sleeping 7 hours or more. In one well-known version of this work, short sleepers were more than four times as likely to get sick after controlled exposure. Everyone got the same dose of virus. The difference in who fell ill came down largely to how well-rested their immune systems were.

That is the headline, but the interesting part is what sleep does under the hood to produce it.

What your immune system does while you sleep

Sleep is not passive downtime for the immune system. Several defensive processes are scheduled to run at night.

Cytokine production ramps up. During deep sleep your body increases production of certain cytokines, signaling proteins like interleukin-1 and tumor necrosis factor, that coordinate the inflammatory response and help direct immune traffic to where it is needed. Cut sleep short and you produce fewer of these protective cytokines when you need them.

T-cells work better. T-cells are the immune cells that recognize and kill virus-infected cells. Research shows that a night of good sleep improves the ability of T-cells to stick to and attack their targets, through a stress-hormone mechanism. During sleep, levels of adrenaline and other stress signals drop, and that drop lets T-cells do their job more effectively. Stay awake or sleep poorly and those stress hormones stay elevated, blunting T-cell function.

Immune memory gets consolidated. Just as sleep consolidates learning into long-term memory, it helps consolidate immune memory, the record of pathogens your body has seen before. This is part of why sleep matters so much around vaccination.

Natural killer cells stay armed. Natural killer (NK) cells are front-line defenders against viruses and abnormal cells. Even a single night of partial sleep loss has been shown to reduce NK cell activity by a substantial margin, sometimes cited around 70 percent for that night, which recovers with normal sleep but leaves a window of weaker defense.

The fever-and-sleep partnership

There is a reason you feel wiped out and desperate for bed when an infection takes hold. The same cytokines that surge during deep sleep, interleukin-1 among them, also promote sleepiness directly. Your immune system and your sleep system share signaling molecules, so mounting a defense literally makes you drowsy.

This is an evolved feature, not a bug. When you are fighting a pathogen, pulling you into sleep frees up energy and resources for the immune response, and it keeps you still while your body works. Fever follows a similar logic, and both are more active at night. The practical lesson is to stop treating illness-related sleepiness as an inconvenience to override with caffeine. It is your immune system requisitioning the rest it needs, and fighting that request usually drags out the illness.

Why chronic short sleep is worse than one bad night

A single rough night nicks your defenses temporarily. The real damage is chronic. When sleep loss becomes a pattern, it shifts the immune system into a state of low-grade, ongoing inflammation.

Persistent short sleep keeps inflammatory markers like C-reactive protein and IL-6 chronically elevated. This is not the useful, targeted inflammation that fights an infection. It is a diffuse background inflammation that is linked to cardiovascular disease, insulin resistance, and other long-term problems. In effect, sleep debt keeps the immune system idling in the wrong gear, inflamed but not effectively defended. The same cortisol dysregulation behind that state also shows up in the cortisol awakening response, and the two systems are tightly linked.

There is also a feedback loop worth knowing. Inflammation itself disrupts sleep, so chronic sleep loss and chronic inflammation reinforce each other, which is one reason poor sleep is so hard to climb out of once it becomes a pattern.

The gut adds another layer. A large share of immune tissue lines the digestive tract, and the gut microbiome both influences and is influenced by your sleep and circadian rhythm. Disrupted sleep shifts the microbial balance, and an unhealthy microbiome feeds back into inflammation and immune function. It is early science, but it is one more channel through which ragged sleep can leave your defenses working at less than full strength, and it helps explain why the effects of chronic sleep loss reach so far beyond feeling tired.

The vaccine connection

One of the most practical findings: how you sleep around a vaccination changes how well it works.

Multiple studies on flu, hepatitis, and other vaccines show that people who are sleep-deprived in the nights around their shot produce fewer antibodies, sometimes less than half the protective response of well-rested people. Some of that gap persists for months. The mechanism ties back to immune memory consolidation. The immune system needs sleep to properly "learn" from the vaccine and build a durable response.

The practical move is simple. If you have a vaccination scheduled, protect your sleep for a few nights on either side of it. It is one of the few times where a good night's sleep has a directly measurable payoff you can point to.

Beyond colds: healing and long-term surveillance

The immune stakes of sleep go past catching the seasonal bug. Two other areas show the same pattern.

Wound healing depends on sleep. Repair of damaged tissue is an immune-driven process, coordinated by growth hormone (released mainly during deep sleep) and by the inflammatory cells that clean and rebuild the site. Studies on both burns and minor experimental wounds find that sleep-deprived people heal more slowly. If you are recovering from surgery or injury, sleep is doing real work you cannot see.

Immune surveillance is the longer game. Part of the immune system's daily job is patrolling for and clearing abnormal cells before they cause problems, and this surveillance function is one of the reasons chronically disrupted sleep is associated with worse long-term health outcomes. Shift workers, whose circadian rhythm and sleep are persistently disrupted, show elevated rates of several health problems, which points to how much routine maintenance the well-rested, well-timed body does quietly at night.

None of this means one bad week will harm you. It means the effect of sleep on immunity is not limited to whether you catch a cold this month; it compounds across everything the immune system is responsible for.

How to keep your defenses up

You cannot micromanage individual immune cells, but you can protect the conditions that let them work.

Prioritize deep sleep, not just hours in bed. The protective cytokine surge happens in slow-wave sleep, so the quality of your deep sleep matters as much as the quantity. Cool temperature, a dark room, and cutting alcohol all protect deep sleep; the sleep stages guide explains why alcohol in particular robs you of it.

Hold a consistent schedule. Regular sleep and wake times keep your circadian rhythm aligned, and immune functions are partly clock-controlled, timed to run at specific hours. Erratic sleep desynchronizes that timing.

Aim for 7 hours as a floor, not a stretch goal. The infection-risk research draws its sharpest line right around the 6-to-7-hour mark: below it, susceptibility climbs steeply. Five hours is not "a bit less than seven," it is a different immune state. If you routinely land under six, that is the single highest-value number to move.

Do not fight a cold with less sleep. When you feel something coming on, the instinct to power through is exactly wrong. Increased sleepiness during an infection is your body reallocating resources to the immune response. Give it the sleep it is asking for, and skip the extra late-day coffee that would only mask the signal.

Get the fundamentals right, because they compound. Everything in the sleep hygiene guide that protects deep sleep is also protecting your immune defenses, and the effect stacks over weeks, not just one night.

See a doctor if

Frequent infections, cuts that heal slowly, or feeling constantly sick can point to more than just poor sleep, so see a doctor if the pattern persists despite decent rest. Also worth flagging: if you are exhausted despite adequate hours and catch everything going around, an underlying sleep disorder like apnea, or a thyroid or other medical issue, may be undermining both your sleep and your immunity. Chronic unexplained fatigue with frequent illness deserves a proper workup, not just more sleep advice.

The takeaway: your immune system does a large share of its real work while you sleep, and the research connecting short sleep to actual infection risk is about as direct as sleep science gets. Guard the fundamentals, protect your deep sleep especially around vaccinations, and give your body the extra rest when it is fighting something off.

Struggling with sleep? Find your sleep type.

Take our free 2-minute quiz and get a personalized plan.

Take the Sleep Quiz