Mayor Martin J. Walsh is recommending salary increases of more than 4 percent for city councilors — and jacking his own pay over $200,000 after upcoming elections.

Walsh wrote he is recommending the raises based on findings from the Municipal Compensation Advisory Board that has been studying compensation for city officials over the past year.

The mayor’s salary would jump to $207,000 from $199,000, while councilors’ pay would increase from $99,500 to $103,500.

The City Council has to approve the pay hikes, which wouldn’t be enacted for them until after next year’s municipal elections, while the boost for the mayor wouldn’t go into effect until after the 2021 mayoral election.

Walsh’s salary was increased by the Council from $175,000 to $199,000 in 2015. He began taking the higher salary in April, his office said.

The Compensation Advisory Board determined 4.2 percent increases for the mayor and city councilors based on an inflation, cost-of-living hike.

City Council President Andrea Campbell said in an email, “Because these salary recommendations are set by an independent board and not the Council, and not set to go into effect until 2020, I accept their recommendations.”

Councilors received a $12,000 pay raise in 2015. The five members of the Municipal Compensation Advisory Board were all appointed by Walsh and worked with Segal Waters Consulting to examine city salaries for about 50 nonunion employees.

The mayor has also tweaked salary ranges for more than 20 City Hall jobs. Those new pay ranges would take effect immediately if approved by the council.

The board recommended the city’s chief financial officer, corporation counsel and director of technology have salaries ranging from $149,500 to $214,500. But Walsh only slightly increased the minimum salary for those jobs from what they are set at now $115,000 to $115,500. But he did adhere to the maximum salary recommendation of $214,500 for those posts.

John Tobin, who heads the Compensation Advisory Board, said of the recommendations, “A lot of cities don’t have residency policies; Boston does. No matter how you feel about residency, there’s no denying that it does limit the job pool.”

Sam Tyler, president of the Boston Municipal Research Bureau, said the city needs to be able to draw and retain top-notch talent, but that raises should be based on thorough performance evaluations.

“This is the mayor showing more flexibility in salary ranges. But it doesn’t mean everyone will get salary increases,” Tyler said.