How Sleep Affects Your Immune System


We’ve all noticed the pattern: you push through a week of late nights and early mornings, and by Friday you’ve got a sore throat. It feels anecdotal, but there’s decades of solid immunology research behind it. Sleep isn’t just rest for your brain. It’s an active period of immune maintenance, and when you cut it short, your defences suffer in measurable, specific ways.

The Vaccine Study That Changed Everything

One of the most striking demonstrations of sleep’s effect on immunity came from a study on hepatitis B vaccination. Researchers at the University of California tracked the antibody responses of volunteers who’d been vaccinated, comparing those who got adequate sleep to those who were sleep-restricted.

The results were stark. Participants who slept fewer than six hours per night in the week surrounding vaccination produced less than half the antibody response of those who slept normally. Some of the short sleepers failed to develop clinical protection at all.

Think about that. Same vaccine, same dose, same arm. The only difference was sleep — and it cut the immune response by more than 50%.

This finding has been replicated with influenza and COVID-19 vaccines. If you’re getting a flu shot after a week of poor sleep, you might be wasting your time.

What Happens to Your Immune System During Sleep

Sleep isn’t a uniform state, and neither is immune activity during the night. Different immune processes peak at different times:

During deep slow-wave sleep (early in the night): Your body increases production of cytokines — signalling proteins that coordinate immune responses. Pro-inflammatory cytokines like interleukin-1 and tumour necrosis factor rise, promoting controlled inflammation that fights infections and repairs tissue.

During the full sleep cycle: T cells — the specialised white blood cells that identify and destroy infected cells — show improved function during sleep. A German study published in the Journal of Experimental Medicine demonstrated that T cells in sleeping subjects showed significantly better adhesion to their targets compared to T cells in sleep-deprived subjects. Basically, sleep makes your killer cells stickier and more effective.

Natural killer (NK) cell activity. NK cells are your rapid-response team, patrolling for virus-infected cells and early cancer cells. A single night of restricted sleep (four hours instead of eight) reduces NK cell activity by roughly 70%. One night. That’s a dramatic drop in your first line of defence.

Chronic Sleep Loss and Chronic Inflammation

There’s a cruel irony in how sleep deprivation affects inflammation. In the short term, losing sleep reduces the acute inflammatory response you need to fight infections. But over weeks and months, chronic sleep restriction creates a state of low-grade systemic inflammation — the kind that drives heart disease, diabetes, and neurodegenerative conditions.

This happens because sleep deprivation disrupts the normal circadian rhythm of cortisol, the stress hormone. Cortisol is supposed to be high in the morning and low at night. In chronically sleep-deprived people, evening cortisol remains elevated, and the normal anti-inflammatory dip doesn’t happen.

The result is a paradox: your immune system becomes simultaneously less effective at fighting acute threats and more prone to the chronic inflammation that damages your own tissues.

Sleep Disorders and Immune Dysfunction

If poor sleep hurts immunity, then sleep disorders represent a chronic immune insult. And the research confirms this.

Obstructive sleep apnea is associated with elevated inflammatory markers, impaired T cell function, and increased susceptibility to respiratory infections. Patients with untreated OSA get more upper respiratory infections, take longer to recover from them, and respond less robustly to vaccinations.

Chronic insomnia is linked to elevated IL-6 and CRP (C-reactive protein), markers of systemic inflammation. Insomnia patients also show reduced vaccine responses and higher rates of inflammatory conditions.

The good news is that treating the sleep disorder tends to improve immune function. CPAP therapy in OSA patients has been shown to normalise several immune markers within weeks of consistent use.

Practical Implications

So what do you actually do with this information?

Prioritise sleep around vaccinations. If you’re scheduled for a flu shot, COVID booster, or any vaccination, make sure you’re sleeping well in the week before and after. It’s one of the simplest things you can do to maximise your immune response.

Take sleep seriously during cold and flu season. The temptation during busy periods is to sacrifice sleep to get things done. But if you’re running on five hours a night with diminished NK cell activity, you’re far more likely to catch whatever’s circulating in your office.

Address sleep disorders as immune health issues. If you have untreated sleep apnea or chronic insomnia, understand that it’s not just about tiredness. Your immune system is compromised. This is a legitimate medical reason to seek treatment, not just a quality-of-life concern.

Don’t rely on supplements. No amount of vitamin C or zinc will compensate for inadequate sleep. The immune support from sleep operates at a fundamental level — cytokine production, T cell function, NK cell activity — that supplements can’t replicate.

The Bottom Line

Sleep is not optional downtime. It’s active immune maintenance that you can’t skip without consequences. Seven to nine hours, every night. Your immune system is counting on it.