To stave off obesity, we might want to both stride and lift, according to an important, large-scale new study of how different types of exercise affect the incidence of obesity in America.

The study, which involved health records for almost 1.7 million men and women, indicates that people who exercise in almost any way are less likely to be obese than those who are sedentary. But the study also finds that the odds of being normal weight are greatest for those who complete both aerobic exercise and weight training, at least occasionally.

Obesity is one of the world’s most pressing health concerns. My colleague Jane Brody wrote recently about a new study showing that within a decade, half of all Americans may be obese. These soaring obesity rates are worrying in large part since the condition is linked to a range of other serious health concerns, including Type 2 diabetes, heart disease, arthritis, dementia and premature death.

Despite obesity’s prevalence and morbidity, though, its causes remain poorly understood. We know that nutrition and energy imbalance play outsize roles. But exercise and inactivity are involved as well, although their contributions are muddled. Exercise does not seem, for instance, to be very effective at helping most overweight people to drop pounds, probably because exercise tends to make people hungry.

More helpfully, exercise does seem to help many people avoid packing on pounds in the first place. In some past studies, adults who frequently walked or completed other physical activities were less prone to becoming obese during middle age than people who were sedentary.

But most of those studies involved relatively small groups of people or specific populations, such as female nurses or older men. In many of those studies, only relatively large amounts of exercise, such as an hour or more a day of walking, were tied to maintaining a healthy weight. And almost none examined the potential role of weight training in obesity prevention, leaving many questions unexplored about just how much and what kinds of exercise might correlate with the likelihood of obesity.

So, for the new study, which was published this month in Obesity, researchers in Australia decided to compare exercise habits and obesity numbers in an enormous group of American adults. The researchers found their subjects among the participants in the annual Behavioral Risk Factor Surveillance System, a telephone survey about the health and lives of millions of Americans overseen by the Centers for Disease Control and Prevention.

The Australian researchers focused now on data from recent surveys that included answers from men and women about their height, weight and general exercise habits, including whether they had exercised in any way during the past month and, if so, what types and amounts of exercise they had completed.

The researchers gathered the answers from 1,677,108 of the survey participants and started categorizing them, first, as either normal weight or obese, according to their body mass index, and then by their exercise habits. The researchers noted whether or not the men and women reported having completed at least 150 minutes a week of aerobic activities such as walking or jogging during the past month, meaning that they had met the standard health recommendation for exercise. They also recorded whether they had reported having done any resistance exercise, which would include not just weight training but activities like yoga and calisthenics, at least twice a week.

They wound up with participants who either were or were not obese and, separately, were sedentary or active, completing aerobic exercise, weight training, or both types of exercise on a regular basis.

Then they compared exercise habits and obesity and noted an interesting pattern. The incidence of obesity, especially extreme obesity, was much lower among active people than the sedentary, whether their activity was aerobic or resistance-oriented.

But those men and women who reported completing both types of exercise — who jogged and lifted or walked and downward dogged, for instance — were about 50 percent less likely to be obese than inactive people and about 20 percent less likely than people who participated in aerobic exercise or weight training alone.

In other words, it appears that “doing either aerobic or muscle-strengthening exercise is good for a healthy weight, but doing both is better,” says Jason Bennie, a senior research fellow in physical activity epidemiology at the University of Southern Queensland, who led the new study.

This study relied on participants’ remembrances of exercise, though, which can be unreliable, and asked about them at only one point in people’s lives. So, it cannot show whether exercising now necessarily thwarts obesity in the future. It also cannot establish whether, in some cases, being obese prevented people from being active, meaning that their weight determined their workout routines and not the other way around.

Perhaps most important, it does not tell us how augmenting walks or other aerobic activities with weight training might help us to avoid obesity. Dr. Bennie and his colleagues speculate that aerobic and resistance exercise produce differing effects on our metabolisms, hormones, appetites and even the structures of our brains that, synergistically, remodel our bodies and minds in ways that reduce the likelihood we will gain weight.

More study is needed, of course. But in the meantime, those of us hoping to keep our weight under control might want to consider cycling or walking to the gym, where we might want to pick up some weights.