No pill or “immune-boosting” food can supercharge your immune system. What you can do is stop weakening it. Sleep, activity, diet, weight, stress and smoking all have a measurable effect on how well your body fights infection, and vaccines and good hygiene stop many infections before they start. Here is what the evidence supports.
Key takeaways
- Sleep 7–9 hours: short sleep is linked with more colds and weaker vaccine responses.
- Exercise moderately most days; very long, exhausting sessions can briefly lower defences.
- Eat a varied diet with plenty of vegetables, fruit, beans, whole grains and enough protein.
- Don’t smoke, limit alcohol, manage stress and keep vaccinations up to date.
- Supplements only help if you are actually short of a nutrient.
What weakens the immune system
| Factor | What it does |
|---|---|
| Short or poor sleep | Fewer and less effective immune cells; more likely to catch a cold after exposure |
| Chronic stress | Long-term high cortisol dampens immune responses |
| Smoking | Damages the airways’ defences and raises risk of lung infections |
| Heavy drinking | Impairs immune cells and the gut and lung barriers |
| Obesity | Linked with low-grade chronic inflammation and worse outcomes from some infections |
| Poor diet | Shortfalls of protein, vitamins A, C, D, zinc or iron weaken immunity |
| Inactivity | Regular moderate exercise is linked with fewer respiratory infections |
| Loneliness and isolation | Associated with higher inflammation and poorer health |
1. Prioritise sleep
During sleep your body produces and organises immune cells and proteins. Adults who regularly sleep less than about six hours are more likely to catch a cold when exposed to the virus. Keep a regular bedtime and wake time, and keep your room dark and cool.
Free tool
Sleep Calculator — find the best bedtime for your wake-up time based on sleep cycles.
2. Stay active
Regular moderate exercise, such as brisk walking, cycling or swimming, is linked with fewer and milder respiratory infections and lower inflammation. Aim for at least 150 minutes a week plus some strength training. Very long or intense sessions without enough recovery can leave you temporarily more vulnerable, so build up gradually and rest when you are run down.
Free tool
Workout Generator — get a balanced workout for your level and equipment in seconds.
3. Eat a varied, whole-food diet
Immune cells need protein, vitamins and minerals to work. Rather than chasing single “superfoods”, aim for variety:
- Vegetables and fruit of many colours for vitamins A and C and antioxidants (see antioxidants).
- Protein from fish, poultry, eggs, dairy, beans, lentils and tofu.
- Zinc from shellfish, meat, seeds, nuts and whole grains.
- Fibre and fermented foods (yogurt, kefir, sauerkraut) to support healthy gut bacteria, which play a big part in immunity.
- Vitamin D from oily fish, eggs, fortified foods and sensible sun exposure.
More detail in our guide to foods for the immune system.
Free tool
Protein Calculator — check you are eating enough protein each day.
4. Keep a healthy weight
Excess body fat, especially around the waist, is linked with chronic low-grade inflammation and worse outcomes from infections such as flu. Losing even a small amount of weight with diet and exercise helps.
Free tool
Waist-to-Height Ratio Calculator — a quick check of abdominal fat risk.
5. Manage stress and stay connected
Short-term stress is normal, but stress that lasts for weeks or months suppresses immune responses. Exercise, time outdoors, breathing exercises, meditation and time with friends and family all help.
Free tool
Breathing Exercise — a few minutes of slow breathing to calm your nervous system.
6. Don’t smoke, and limit alcohol
Smoking harms the tiny hairs and mucus that clear germs from your airways and raises the risk of pneumonia and flu complications. Heavy drinking weakens several parts of the immune system. Stopping smoking and drinking within low-risk limits are two of the biggest changes you can make.
7. Stop germs spreading
- Wash your hands with soap for 20 seconds, especially before eating or preparing food and after using the toilet.
- Cough or sneeze into a tissue or your elbow.
- Stay home when you are ill, and keep sick children home until they are no longer infectious.
- Keep vaccinations up to date, including the yearly flu vaccine if recommended for you.
What about supplements?
For people who eat a balanced diet, most “immune-boosting” supplements have little proven effect. The exceptions are when you are genuinely short of a nutrient: vitamin D is commonly low in winter and in people who get little sun, and some people are low in iron or B12. A blood test and advice from your doctor are the best way to find out. Zinc lozenges started early may shorten a cold slightly for some people. Avoid very high doses, which can cause harm.
Frequently asked questions
Can you boost your immune system quickly?
Not really. Immunity reflects your habits over weeks and months. A good night’s sleep and a healthy diet help, but no single food or supplement gives an instant boost.
Does vitamin C prevent colds?
For most people, regular vitamin C does not prevent colds, though it may slightly shorten them. People under heavy physical stress, such as marathon runners, may see more benefit.
Should I exercise when I have a cold?
Light activity is usually fine if symptoms are only above the neck (runny nose, mild sore throat). Rest if you have a fever, body aches or chest symptoms.
Related: immune system resources, how to stay healthy and sleep to replenish.
This article is for general information and isn’t a substitute for advice from your doctor or another qualified health professional. Check with them before starting a new exercise or eating plan, especially if you have a health condition, are pregnant or take medication.