In Manhattan's Back Bay neighborhood of Boston, residents walk past restaurants, shops, and parks on their way to grab coffee or meet a friend. A new study suggests all those steps — and all those choices — might actually be making them healthier.

Researchers from MIT and Cornell analyzed 28,323 neighborhoods across the United States, using more than 8 million street-view images to study how city design connects to resident health. What they found was striking: people living in walkable, green neighborhoods with mixed-use streets — where homes sit alongside shops, restaurants, and parks — tended to report better physical and mental health than people in other areas.

"We found that on a very large scale, urban planning and design, such as the availability of different amenities and their spatial arrangement, plays a critical role in population health outcomes," said Winston Yap, a visiting scholar at MIT's Senseable City Lab and a postdoctoral researcher at Cornell University. He co-authored the study published in the journal Nature Health.

The research team didn't just look at one or two cities — they studied the entire country. They combined data from the U.S. Census Bureau and the Centers for Disease Control and Prevention (CDC), then used artificial intelligence to analyze street patterns, greenery, and the layout of neighborhoods. They found that short, well-connected city blocks with lots of different places to visit — like a park, a bookstore, or a café within a short walk — were linked to healthier populations.

"We usually think about physical health first, but we also found a high correlation between good design and mental health," said Fabio Duarte, an MIT researcher and study co-author. "If you are walking more, it is not only a matter of physical fitness, but gives people a chance to avoid isolation, have serendipitous meetings with people, and at least see there are others around."

Greenery turned out to be a major factor almost everywhere. Parks and tree-lined streets showed up again and again as features that seemed to boost neighborhood health. Access to cultural spots like museums or theaters, as well as everyday businesses like restaurants and shops, also mattered.

The researchers say they did this work partly because healthcare systems worldwide are overwhelmed, and preventing health problems before they start could help ease that burden. "There's a lot of burden on health care systems, and there is a need not just for treatment but for prevention as well," Yap said. "By bringing together open demographic, health, and environmental data, the study highlights the importance of open data accessibility for planning healthy cities."

The findings suggest that when cities are designed so people can easily walk to parks, shops, and neighbors' houses, everyone benefits — not just physically, but mentally too.