The link between sleep and infection is one of the better-evidenced connections in sleep research. It is consistent, measurable and matters in ordinary life rather than only in laboratories.
The cold studies
Volunteers given cold viruses are more likely to develop symptoms when they slept less in the preceding week. The effect persists after adjusting for smoking, alcohol and stress.
Our guide to sleeping with a cold covers recovering from illness when sleep is already poor.
How large the effect is
People sleeping under six hours were substantially more likely to catch a cold than those sleeping seven or more. The difference is not marginal, which is why it is worth taking seriously.
It is one of the few lifestyle factors with a clear dose-response.
Vaccination
Sleep after vaccination is associated with a stronger antibody response. Sleeping well in the nights around a jab is a simple way to get more from it.
This applies to routine vaccines rather than being a reason to delay one.
Why sleep matters
Natural killer cells, T cells and inflammatory signalling all change with short sleep. The immune system does not shut down; it becomes less well regulated.
Both under-reaction to infection and over-reaction appear in the data.
Chronic short sleep
Long-term short sleep is associated with higher rates of infection and slower wound healing. The effects build over months rather than appearing overnight.
This is the pattern most shift workers and new parents live with.
What helps
A consistent wake time, dark cool room and seven to eight hours where possible cover most of it. No supplement substitutes for the sleep itself.
Marketing for immune products rarely mentions the hours.
Illness and sleep
Being ill disrupts sleep through congestion, fever and discomfort, which then slows recovery. Resting more during illness is rational rather than indulgent.
Return to normal activity gradually rather than on day one of feeling better.
Exercise
Moderate exercise supports immune function and sleep at the same time. Very heavy training without adequate sleep is where the two start to conflict.
Consistency is more valuable than intensity in this context.
Caffeine and alcohol
Both reduce sleep quality, and alcohol in particular suppresses parts of the immune response. Neither is a good foundation during a season of illness.
Cutting back for a fortnight is a cheap experiment.
Practical framing
Treat sleep as part of infection prevention alongside hand washing and ventilation. It is not a guarantee and it shifts the odds. Sleep is the least marketed immune intervention and one of the most effective available. Vaccination appointments are a good moment to plan two quiet nights around them. The same advice applies to the week before a flight or a busy season at work.
NHS sleep guidance covers sleep guidance.
If a cold is going round the household, prioritise sleep for a week rather than adding supplements. The timing of the exposure is what the data turns on.
The takeaway
Sleep seven to eight hours, especially before exposure and vaccination. The effect on infection risk is consistent and worth the effort.
Sleep is the least marketed immune intervention and one of the most effective.
Frequently asked questions
Does sleep affect immunity?
Yes. Short sleep before exposure raises the risk of developing a cold, consistently across studies.
Does sleep affect vaccines?
Sleep around vaccination is linked with a stronger antibody response.
How much sleep is enough?
Seven to eight hours for most adults, with a consistent wake time.
Can supplements replace sleep?
No. No supplement substitutes for adequate sleep for immune function.
Read next
Sleeping Pills or CBT? An Honest Comparison
Tablets are quick and temporary. Behavioural treatment is slower and durable.