But trouble spots abound.

Neighborhoods on the East Side, including Masten Park, Genesee Moselle and Kaisertown, as well as a string of neighborhoods along Broadway have lost thousands. And neighborhoods surrounding the Old First Ward have all seen declines since 2011. So have some neighborhoods in the Elmwood Village and Allentown south and west of West Ferry Street.

Neighborhoods in and around University Heights, in the northeast corner of the city, have experienced population declines ranging from 9 percent to 23 percent over the five-year period — a loss of more than 1,800 people.

That comes as a surprise to Common Council Member Rasheed Wyatt, who represents the University District, including the neighborhoods that have been the subject of complaints by residents about partying student renters.

"That's kind of startling, but something I'm quite concerned about," he said.

In the past few years, he's seen an influx into the University District from New York City transplants and immigrants, particularly from Bangladesh. The University at Buffalo is also working to encourage more professors to move into the area.

"It may be turning around now," he said.