Apartment landlords in big international cities like New York and Los Angeles, where nightlife has gone dark and office workers are staying home, are losing tenants to their suburban counterparts.

Landlord revenue from rent collection in urban centers fell 1.4% in June compared with a year earlier, according to data from RealPage Inc. In the suburbs revenue jumped 2.2%. That gap is the widest its ever been in data going back to the mid-2000s, RealPage said.

Many urbanites are becoming suburbanites, at least temporarily, moving to larger homes outside the city as long as they can work remotely. At the same time, foreigners who normally keep Manhattan, Miami and San Francisco rental brokers busy have gone silent. The shift comes as much of the appeal of living in dense cities is temporarily on ice, with nightlife shuttered and new anxiety about crowded spaces.

“If restaurants, bars and cultural experiences are not open and operating, the lifestyle appeal isn’t there any more,” said Greg Willett, chief economist at RealPage. “One of the reasons you pay expensive rents in these markets is the living experience.”

While New York is slowly reopening, with zoos and botanical gardens returning Monday, restaurants remain closed for indoor dining. California is reversing course after a surge in cases, closing bars and indoor operations at restaurants, movie theaters and other businesses.

Once people are comfortable standing shoulder-to-shoulder at a pub, cities will be hot again, according to Willett. But with the virus now spreading across the U.S., that might take a couple of years, he said.

Metropolitan areas with the biggest annual rent declines in June, based on newly signed leases, were San Jose with a 14% drop, San Francisco falling 12%, and Los Angeles, down 9.5%, according to RealPage. Boston declined almost 6% and the New York area slipped 2.5%.

This article was provided by Bloomberg News.