Whether it’s the green space of a nearby park or a sandy beach and an ocean view, men and persons age 65 and older who have access to natural surroundings report sleeping better, finds a University of Illinois (U of I) study published in Preventive Medicine.

“It’s hard to overestimate the importance of high-quality sleep,” says Diana Grigsby-Toussaint, a U of I professor of kinesiology and community health and a faculty member in the U of I’s Division of Nutritional Sciences, in a release. “Studies show that inadequate sleep is associated with declines in mental and physical health, reduced cognitive function, and increased obesity. This new study shows that exposure to a natural environment may help people get the sleep they need.”

In the study, Grigsby-Toussaint worked with both U of I researchers and scientists from the New York University School of Medicine. The team used data from the CDC’s Behavioral Risk Factor Surveillance System, which surveyed 255,171 representative US adults, to learn whether there was an association between self-reported days of insufficient sleep and access to green space. The team also used a USDA index that scores the country’s geographical areas for their natural amenities, using hours of sunlight, which is important in regulating a person’s circadian rhythm, and temperature.

In response to the survey question about sleep quality in the last month, the researchers found that the most common answer was that respondents had slept poorly for less than one week.

“Interestingly, though, across the entire sample, individuals reporting 21 to 29 days of insufficient sleep consistently had lower odds of access to green space and natural amenities compared to those reporting less than one week,” she saiys

For men, the relationship between sleep and exposure to green space was much stronger than for women, adding that males and females 65 and over found nature to be a potent sleep aid.

Grigsby-Toussaint notes that living near green landscapes is associated with higher levels of physical activity and that exercise in turn predicts beneficial sleep patterns.

But men appeared to benefit much more from their natural surroundings. The researcher speculated that women may take less advantage of nearby natural settings out of concern for their safety, but she adds that more research is needed.

The finding should be a boon for people who are having trouble sleeping as they age. “If there is a way for persons over 65 to spend time in nature, it would improve the quality of their sleep—and their quality of life—if they did so,” Grigsby-Toussaint says. “And, specifically, our results provide an incentive for nursing homes and communities with many retired residents to design buildings with more lighting, create nature trails and dedicated garden spaces, and provide safe outdoor areas that encourage outdoor activity for men and women.”