Cities with fewer than 200,000 residents grew faster than larger metropolises between 2017 and 2018 as high housing prices chased many people away from big cities and their closest suburbs.
The biggest cities grew by a collective 326,000 people, less than half the number earlier in the decade, and less than the number for smaller cities -- 421,000 for cities with populations between 10,000 and 50,000.
And small towns of fewer than 10,000 people grew more quickly than earlier in the decade, attracting more than 142,000 new people last year, according to a Stateline analysis of U.S. Census Bureau estimates, driven in part by retirees seeking affordable housing.
Larry Vollmer, a 37-year-old web development manager, felt lucky to find a home in 2017 in Vallejo, California, a city of about 122,000, despite a new two-hour commute to his job in San Francisco.
Tired of constant rent increases for small apartments in closer suburbs, he and his wife bought a $450,000 four-bedroom home with room for a family if they decide to have children. That price might have bought an apartment with less than half the space where they lived before, in Walnut Hills.
"It's one of the last affordable places to commute to San Francisco. The house was on the market for two days and we were one of six people bidding on it," said Vollmer, whose commute consists of a 10-minute drive to a ferry, 20 minutes in a line, an hour on the boat and then a half-hour walk to work.
It's a particularly pressing problem in California, where well-paid tech workers have no trouble finding jobs but are hard-pressed to afford a home.
"Jobs need beds," said Adam Fowler, research director at Beacon Economics, a Los Angeles consulting firm, who studied the gap between jobs and housing last year. "We've had an influx of well-paid information workers, but we haven't built housing for them."
California policymakers have been unable to overcome entrenched resistance to the construction of new apartment buildings. But housing shortages in booming cities is a national problem, said Lawrence Yun, chief economist at the National Association of Realtors.
Yun estimated that the nation needs another six million homes near the new jobs created in the past decade, and that the shortage will cause political turmoil in places where it is most acute, like San Francisco and New York.