SAN ANSELMO, CA - MARCH 14:  Lita Collins does a deadlift during a CrossFit workout at Ross Valley CrossFit on March 14, 2014 in San Anselmo, California. CrossFit, a high intensity workout regimen that is a constantly varied mix of aerobic exercise, gymnastics and Olympic weight lifting, is one of the fastest growing fitness programs in the world. The grueling cult-like core strength and conditioning program is popular with firefighters, police officers, members of the military and professional athletes. Since its inception in 2000, the number of CrossFit affiliates, or "boxes" has skyrocketed to over 8,500 worldwide with more opening every year.  (Photo by Justin Sullivan/Getty Images)
PHOTO: Justin Sullivan/Getty Images North America/Getty Images
SAN ANSELMO, CA - MARCH 14: Lita Collins does a deadlift during a CrossFit workout at Ross Valley CrossFit on March 14, 2014 in San Anselmo, California. CrossFit, a high intensity workout regimen that is a constantly varied mix of aerobic exercise, gymnastics and Olympic weight lifting, is one of the fastest growing fitness programs in the world. The grueling cult-like core strength and conditioning program is popular with firefighters, police officers, members of the military and professional athletes. Since its inception in 2000, the number of CrossFit affiliates, or "boxes" has skyrocketed to over 8,500 worldwide with more opening every year. (Photo by Justin Sullivan/Getty Images)
Now playing
01:27
High intensity workouts may lengthen your life
The Pokémon Company announced new games during its 25th Anniversary Celebration
PHOTO: The Pokémon Company
The Pokémon Company announced new games during its 25th Anniversary Celebration
Now playing
01:01
See the new Pokémon games coming soon
jill biden kelly clarkson divorce advice orig mg_00001210.png
PHOTO: NBC / The Kelly Clarkson Show
jill biden kelly clarkson divorce advice orig mg_00001210.png
Now playing
01:12
Jill Biden opens up about divorce on Kelly Clarkson show
Now playing
02:26
Jodie Foster on sexism in Hollywood: I believe we're getting better
PHOTO: 'GMA' / ABC
Now playing
01:56
Britney Spears' dad Jamie speaks out about conservatorship via lawyer on 'GMA'
NEW YORK, NY - JULY 01:  Lady Gaga seen leaving her hotel on July 1, 2019 in New York City.  (Photo by James Devaney/GC Images)
PHOTO: James Devaney/GC Images/GC Images
NEW YORK, NY - JULY 01: Lady Gaga seen leaving her hotel on July 1, 2019 in New York City. (Photo by James Devaney/GC Images)
Now playing
02:57
Lady Gaga's dog walker shot and dogs stolen
robot dog
PHOTO: spotsrampage.com
robot dog
Now playing
02:22
Paintball gun mounted on robot dog
PHOTO: Newport Coastal Adventure
Now playing
00:58
Dolphin 'stampede' caught on camera
PHOTO: NBC
Now playing
01:46
'SNL' gives public figures a chance to repent
Now playing
02:21
Fans awed by Dolly Parton's humble response to a statue
Singer/songwriter Demi Lovato attends the 2018 Billboard Music Awards 2018 at the MGM Grand Resort International on May 20, 2018, in Las Vegas, Nevada (Photo by LISA O
PHOTO: LISA O'CONNOR/AFP/Getty Images
Singer/songwriter Demi Lovato attends the 2018 Billboard Music Awards 2018 at the MGM Grand Resort International on May 20, 2018, in Las Vegas, Nevada (Photo by LISA O'CONNOR / AFP) (Photo credit should read LISA O'CONNOR/AFP/Getty Images)
Now playing
01:47
A look back at Demi Lovato's career
PHOTO: Walt Disney Studios/YouTube
Now playing
02:23
Disney's 'Cruella' goes up in flames in new trailer
PHOTO: EarthCam
Now playing
01:02
See Mardi Gras 2021 versus 2020
PHOTO: Twitter/@Adam Sandler
Now playing
01:06
See Adam Sandler's iconic swing on 25th anniversary of 'Happy Gilmore'
Ben Affleck, Gal Gadot and director Zack Snyder on the set of
PHOTO: Warner Bros.
Ben Affleck, Gal Gadot and director Zack Snyder on the set of 'Justice League.'
Now playing
01:02
See the new trailer for the 'Justice League' director's cut
PHOTO: Twitter/@misanharriman
Now playing
01:15
Inside Harry and Meghan's life after royalty
(CNN) —  

Living to the ripe old age of 90 may depend on your body size – both height and weight – as well as your level of physical activity, and seems to influence a woman’s lifespan more than it does a man’s, according to a new study published Monday in the Journal of Epidemiology & Community Health, a BMJ journal.

The study found women who lived to 90 were, on average, taller and had put on less weight since the age of 20 as compared to women who were shorter and heavier. No such association was seen for men. However, men saw more benefit from physical activity than women.

While the study is observational and cannot establish cause, the findings “provide interesting hints that men’s and women’s health might respond differently to BMI, height and exercise,” said epidemiologist David Carslake, a senior research associate at the University of Bristol in the UK, who was not involved in the study. BMI, which stand for body mass index, is a measurement of body fat based on a calculation of height and weight.

A large, longitudinal study

In 1986 researchers asked over 7,000 Dutch men and women between age 55 and 69 about their height, current weight, and weight at age 20. Both genders also told researchers about their current physical activity, which included dog walking, gardening, home improvements, walking or biking to work and sports. The men and women were then sorted into daily activity quotas: less than 30 minutes, 30 to 60 minutes, and 90 minutes or more.

The groups were monitored until they died or reached the age of 90; of the 7807 participants, 433 men and 994 women lived to that age. Issues that could affect longevity, such current or past smoking and level of alcohol use, were also taken into account.

Men and women in the study fared very differently when it came to the impact of body size and exercise.

Women who weighed less at age 20 and put on less weight as they aged were more likely to live longer than heavier women. Height played a major factor: the study found women who were taller than 5 feet 9 inches were 31% more likely to live into their 90s than women who were less than 5 feet 3 inches.

Neither height or weight seemed to factor into whether the men reached their 90s, but activity level did. Men who spent 90 minutes a day or more being active were 39% more likely to live to 90 than men who were physically active for less than 30 minutes. In addition, for each 30 minutes a day the men were active, they were 5% more likely to reach that age.

However, women who were physically active for more than 60 minutes a day were only 21% more likely to live to 90 than those who did 30 minutes or less. And unlike men, there was no bonus for increasing activity. In fact, the study found that the optimal level of activity for women was 60 minutes a day.

Get CNN Health's weekly newsletter

Sign up here to get The Results Are In with Dr. Sanjay Gupta every Tuesday from the CNN Health team.

A slowing of life expectancy

Average life expectancy has been increasing for most of the world, but recent studies show a slowing of that trend in some developed nations. In the US for example, life expectancy has been declining over the last few years. Drug overdoses and suicides are to blame for the most recent decline, according to the Centers for Disease Control and Prevention, but the major causes of death remain the same. Heart disease, cancer, and stroke, three of the top killers of Americans, are all affected by weight gain and a lack of exercise.

“It is now very clear that overweight, obesity and sedentary lifestyles are harmful to health,” Carslake said. “Studies like this one, which examine the shape of the associations, and ask whether they are the same in different groups…will be increasingly important.”

Correction: An earlier version of this story mislabeled the nationality of a study population.