You can give your immune system a boost with stress management and a balanced diet. But exercise also boosts your immune system, supporting your overall health.
Of course, lacing up your sneakers for a run can sometimes feel like the last thing you want to do. But the simple act of moving your body more can provide a powerful tool for fighting infection. The catch? Not all exercise is entirely helpful to your immune system.
To explain the connection between exercise and immunity, we scoured the science and spoke with experts who have studied exercise’s effect on the immune system. Here’s how to make the most of your workouts for your overall health.
In addition to improving your mental health, a 2019 scientific review in the Journal of Sport and Health Science found that exercise can improve your immune response, lower illness risk, and reduce inflammation.
The study looked at “acute exercise,” meaning that of moderate to vigorous intensity lasting less than an hour. (The study mainly examined walking, but that could also mean an elliptical workout, a spin class, or even a run.)
Study author David Nieman, DrPH, a professor in the department of biology at Appalachian State University and director of the university’s Human Performance Laboratory, told Health that typically, people only have a small number of immune cells circulating around the body. Those cells prefer to hang out in lymphoid tissues and organs like the spleen, where your body kills viruses, bacteria, and other microorganisms that cause disease.
Because exercise increases blood and lymph flow as your muscles contract, it also increases the circulation of immune cells, making them roam the body at a higher rate and at higher numbers, said Dr. Nieman. Specifically, exercise helps to recruit highly specialized immune cells—such as natural killer cells and T cells—find pathogens (like viruses) and wipe them out.
In Dr. Nieman’s 2019 review, participants who took a 45-minute brisk walk experienced this uptick of immune cells floating around the body for up to three hours after the walk.
While you get an immediate response from your immune system when you exercise, that will eventually go away—unless, that is, you keep working out consistently. “If you go out for 45 minutes of exercise the next day, this all happens again,” said Dr. Nieman. “It all adds up as time goes on.”
In fact, another study from Dr. Nieman and his team—this one published in 2011 in the British Journal of Sports Medicine—found that those who did aerobic exercise five or more days a week lowered the number of upper respiratory tract infections (like the common cold) over a 12-week period by more than 40%.
More recently, in 2022, research published in the British Journal of Sports Medicine looked at 16 studies of people who stayed physically active during the pandemic. The researchers found that exercising was associated with a lower risk of infection as well as a lower likelihood of severe COVID-19. People from around the world who worked out regularly had a 36 percent lower risk of hospitalization and a 43 percent lower risk of death from COVID-19 compared with those who were not active.
Think of the lasting immune effect of exercise like this, explained Dr. Nieman: Say you have a housekeeper come over to clean your home for 45 minutes most days of the week. The house will look a lot better on that first day than if someone never came. But the more frequently the housekeeper comes back, the better and cleaner the house will look.
“Exercise really is a housekeeping activity, where it helps the immune system patrol the body and detect and evade bacteria and viruses,” said Dr. Nieman. So, you can’t necessarily exercise one day here and there and expect to have an illness-clearing immune system. Come back for more movement on the regular, though, and your immune system is better prepared to wipe out sickness-causing germs.
This holds up, even as you get older, according to another 2018 review article published in the journal Frontiers in Immunology.
Another benefit of exercise is that it decreases inflammation in the body—which, in turn, can also improve immunity. In fact, some research, such as a 2021 review in Frontiers in Immunology noted that exercise can enhance immune function, and reduce inflammation.
According to Dr. Nieman, decreased inflammation goes hand-in-hand with immunity. “When immune cells try to function with inflammation, it puts the immune system in a chronically inflamed state too,” he says, which makes it harder to fight infection. To cut down on inflammation, kick up your activity level.
Most studies, including Dr. Nieman’s, looked at aerobic activity—think walking, running, or cycling. To gain the benefits, it’s best to push the pace a bit when walking. “For most people, we’re talking about a 15-minute mile,” said Dr. Neiman, of the average pace that led to promising results in his studies. “That’s sufficient stimulus to recruit immune cells into circulation.” For other forms of exercise, aim to reach about 60% of your VO2max or about 70% of your max heart rate, suggested Dr. Nieman.
There’s less science on high-intensity interval training workouts (or HIIT, a popular type of exercise) and whether they help your immunity. One study from 2018 published in the journal Arthritis Research & Therapy, focused on arthritis patients, found that it could improve immune function, while another 2014 study in the Journal of Inflammation Research found that HIIT workouts don’t lower immunity.
In general, said Dr. Neiman, interval workouts are likely OK. “Our bodies are used to this back and forth nature, even for a few hours, as long as it’s not unrelenting high-intensity exercise,” said Dr. Neiman.
The same goes for strength training—it likely helps your immune system, but there’s less research and recent studies backing up its benefits on immunity. Adam Jajtner, PhD, CSCS, assistant professor of exercise science and physiology at Kent State University, who has also studied exercise and the immune response, touts resistance training as a smart strategy for improving immunity.
However, Dr. Jajtner cautions against severe muscle-damaging workouts, like lifting super heavy or doing eccentric exercises (slowing down the downward phase of a movement) so that the muscle repair process doesn’t compete with your immune function. So, unless you’ve regularly been keeping up with a workout like CrossFit, now’s probably not the time to start a new high-impact strength routine.
Like all good things in life, science says you can overdo exercise. Pushing yourself too hard for too long can actually put you at higher risk of infection—but you have to go pretty far past that “acute” level of training to experience negative side effects.
For example, previous studies have found that extreme exercise can increase the risk of illness in marathon runners. Dr. Nieman himself published both a 1990 study in the Journal of Sports Medicine and Physical Fitness and a 2007 study in Sports Medicine describing the adverse changes to immunity after marathon-type exertion.
But Dr. Nieman says this negative effect can come into play if you’re running at a high intensity for at least a half-marathon distance or cycling or swimming at a tough pace for about 90 minutes. Any of these longer, more intense activities can cause stress on the body that could lead to lowered immune function.
“You put yourself in a stressful state, so your immune system reflects that and leads to dysfunction that can last anywhere from a few hours to a few days,” said Dr. Nieman. Basically, high-intensity activity for more than an hour might not be the best idea right now if you’re really focusing on keeping your immune system in top shape.
In a 2021 review published in Sports Medicine, researchers looked at potential health problems experienced with ultra-endurance running (UER). The researchers found that, following UER, there is a transient immunosuppression for several hours, which could increase the risk of viral and bacterial infections.
Dr. Jajtner agreed that spending weeks incorporating super high-intensity workouts into your schedule could backfire. “If you’re looking at exercise in a chronic sense, there’s something we refer to as the J curve—over time, as you continue to exercise at a moderate intensity for weeks to months, your risk for infection will decrease,” said Dr. Jajtner. “But if you do excessive and intense exercise, you increase risk of infection.”
Exactly how long and how hard you can push yourself before you reach that excessive and intense level of exercise ultimately comes down to how well you’re trained, but you might want to focus on maintenance rather than intensity. “Moderate intensity is the best route, but maintaining that activity, in some form or fashion, is going to be key,” said Dr. Jajtner.
While other lifestyle habits like eating fruit, managing stress, and getting quality sleep can also help reduce risk of illness, exercise is an effective way to boost your immune system. People who work out regularly experience less infections, as long as they don’t push themselves too hard.
It’s important to keep a regular exercise routine and not overdo it. Aerobic workouts like running and cycling are excellent immune boosters. But, if you’re super new to exercise (and have your healthcare professional’s approval to start a fitness program), walking is a great way to ease into exercise. Dr. Jajtner suggests going out for even just 10 minutes, two to four times a day. Then work on gradually increasing that time.