Can exercise keep you from getting sick?

Getting regular physical activity could lower your risk of cold or other infections, and help ease your symptoms if you do become ill.

woman blowing nose during exercise outdoors

Updated on August 27, 2024.

You may know someone who seems to get sick less often than other people. There are many reasons why this may be the case. Many things can affect the immune system and make it work better—or not as well.

Things that have been shown to support the immune system include:

  • Getting good sleep
  • Eating nutritious foods, like fruits and vegetables
  • Drinking enough water or other fluids
  • Managing stress

Research also suggests that exercise or getting more physical activity can help people stay healthy and avoid infections.

Exploring the link between fitness and illness

Exercise can’t prevent infection entirely. But some research suggests that people who work out regularly may have reduced chances of becoming sick. They may also experience shorter, less-severe symptoms compared to sedentary people, or people who don't get much movement.

In 2021, for example, the journal Sports Medicine published a meta-analysis (a review of many existing studies and their findings) looking at the effects of exercise on the immune systems of more than 400,000 people. Researchers found that those who regularly worked out had a 31 percent lower risk of infections, such as the flu or pneumonia, and a 37 percent lower chance of dying from an infection.

In a review of 14 studies published in 2020 in the Cochrane Database of Systematic Reviews, scientists found slightly different results. There was no link between regular, moderate exercise and the number of acute respiratory infections (flu, common cold, etc.) people developed each year. But working out was linked to less-severe symptoms during illness.

Bolstered immunity

How does a good sweat affect immunity? In part, it has to do with aerobic exercise. Cardio activity is believed to ramp up blood levels of antibodies and white blood cells, both of which help protect against illness. But that’s not all. Getting physical activity:

  • Can help expel bacteria from the lungs
  • Causes a temporary rise in body temperature, which may help fight infection
  • Reduces stress, which could lead to fewer colds

For health benefits, the federal government recommends that most healthy adults get at least 150 minutes of moderate-intensity aerobic exercise or 75 minutes of vigorous aerobic exercise per week.

  • Moderate exercise can look like brisk walking, dancing, or any activity that raises your heart rate and breaks a sweat.
  • Vigorous exercise includes running, swimming laps, and other activities during which you're breathing hard and fast enough that it's difficult to talk.

Once you begin working out, try to remain consistent with it over time. Though any amount of exercise can boost your health, regular physical activity imparts the most benefits.

Exercising with a cold

If you have a cold with no fever, mild-to-moderate exercise is considered safe and may even help open up your airways. In these cases, a less-intense workout is best to avoid worsening your condition. It’s always a good idea to prioritize hydration, as well. However, if you’re experiencing a fever, chest congestion, muscle aches, or upset stomach, you’re better off skipping workouts for a while.

COVID and exercise

In 2022, the British Journal of Sports Medicine published a review that linked consistent, moderate-intensity exercise to a reduced risk of infection, hospitalization, and death from COVID. While exercise isn’t recommended for people with an active fever or chest congestion, it may be an effective tool in minimizing COVID’s effects. This may be due to its anti-inflammatory benefits. Speak with your healthcare provider about whether it's the right decision for you.

Article sources open article sources

Chastin SFM, Abaraogu U, et al. Effects of Regular Physical Activity on the Immune System, Vaccination and Risk of Community-Acquired Infectious Disease in the General Population: Systematic Review and Meta-Analysis. Sports Med. 2021;51(8):1673-1686. 
Grande AJ, Keogh J, Silva V, Scott AM. Exercise versus no exercise for the occurrence, severity, and duration of acute respiratory infections. Cochrane Database Syst Rev. 2020 Apr 4;4(4):CD010596. 
MedlinePlus. Exercise and immunity. Page last updated January 29, 2022. 
U.S. Department of Health and Human Services. Physical activity guidelines for Americans. 2018. Accessed January 15, 2023.
Piercy KL, Troiano RP, et al. The Physical Activity Guidelines for Americans. JAMA. 2018;320(19):2020-2028. 
Graff RM, Jennings K, et al. T-cell counts in response to acute cardiorespiratory or resistance exercise in physically active or physically inactive older adults: a randomized crossover study. Journal of Applied Physiology. 2022;133(1):119-129. 
American Lung Association. Can you exercise with a cold? February 26, 2019.
Ezzatvar Y, Ramírez-Vélez R, et al. Physical activity and risk of infection, severity and mortality of COVID-19: a systematic review and non-linear dose–response meta-analysis of data from 1 853 610 adults. British Journal of Sports Medicine. 2022;56:1188-1193.
Hill AL, Whitfield G, Morford M, et al. Brief Summary of Findings on the Association Between Physical Inactivity and Severe COVID-19 Outcomes. Centers for Disease Control and Prevention. 2019.
Arazi H, Falahati A, et al. Moderate intensity aerobic exercise potential favorable effect against COVID-19: the role of renin-angiotensin system and immunomodulatory effects. Front Phys. 2021;12. 

More On

Should you get a COVID booster and flu shot at the same time?

video

Should you get a COVID booster and flu shot at the same time?
Learn more if you're wondering if getting a COVID booster and the flu shot at the same time would benefit your health.
Knowing and lowering your child’s risk of severe RSV

article

Knowing and lowering your child’s risk of severe RSV
Tens of thousands of young children are hospitalized every year with severe respiratory syncytial virus infection.
Learn the best time to get your flu shot—and 5 other important facts

slideshow

Learn the best time to get your flu shot—and 5 other important facts
Get the facts—and avoid common myths—so you can avoid getting the flu this season.
What are flu symptoms

video

What are flu symptoms
Jen Caudle, DO, describes what you might be feeling if you're suffering from the flu.
Most common questions answered on the flu

video

Most common questions answered on the flu
Jen Caudle, DO, Kevin Soden, MD, and Michael Crupain, MD, MPH, answer your most common questions on the flu. Learn about illness prevention, recogniti...