Santa’s being very good to state lawmakers this year.

A salary commission on Thursday recommended the first pay hikes in 20 years for legislators and top state officials — and they were hefty.

The 213 members of the state Senate and Assembly, who now earn a base pay of $79,500, will see their paychecks jump to $110,000 next year, growing to $130,000 in 2021.

Gov. Cuomo’s salary is going from $179,000 to $250,000 in 2021.

The lieutenant governor, state attorney general and state comptroller will fatten their $151,500 salaries to $220,000 in 2021.

The raises will make New York’s state legislators among the best paid in the country.

But they’ll still be earning less than their City Council counterparts, who receive $148,500 a year.

The changes take effect automatically for all offices except for governor and lieutenant governor, whose increases need legislative approval.

The hikes come with conditions for the lawmakers.

They’ll have to get rid of “lulus” — extra pay for leadership posts — and won’t be allowed to earn outside income that’s more than 15 percent of their new ­salaries.

A good government watchdog applauded the shift as long overdue in a government that has seen one legislator after another hauled off to prison for corruption.

“The limitations on outside income and stipends are long needed reforms to move New York toward a more effective and ethical government,” said John Kaehny, executive director of Reinvent Albany.

The restrictions on salary and lulus could face challenges.

In previous testimony before the commission, Assembly Speaker Carl Heastie (D-Bronx) argued that its power extended only to the pay hikes and nothing beyond.

A Heastie spokesman declined to comment Thursday on the commission’s report, saying the speaker had yet to see it.

The commission insisted it was acting within its authority.

“The statute gave the commission the authority to consider issues of overall compensation that includes the matters voted on today,” said Ilana Maier, a spokeswoman for the panel, which includes her boss, city Comptroller Scott Stringer.