President Trump is urging upstate New Yorkers to flee if they don’t have jobs — to states like Wisconsin which just announced Foxconn is building a new $10 billion plant that will create 3,000 openings.

“You’re going to need people to work in these massive plants,” Trump told the Wall Street Journal.

“I’m going to start explaining to people, when you have an area that just isn’t working like upper New York state, where people are getting very badly hurt, and then you’ll have another area 500 miles away where you can’t get people, “I’m going to explain, you can leave. It’s OK. Don’t worry about your house,” Trump said.

New York Democratic leaders slammed the remarks.

“President Trump’s comments regarding upstate New York are beyond reprehensible. Instead of working to unite this country, he has chosen a dangerous path that will only divide us,” said Assembly Speaker Carl Heastie (D-Bronx).

Richard Azzopardi, Gov. Cuomo’s spokesman, said Trump was off-base.

“We deal in facts – not fake news,” Azzopardi said.

“The facts are unemployment has been cut nearly in half and private sector jobs are at an all-time high in New York. We may not be a swing state, but New York – upper and otherwise — has every industry, every culture, and everything else to offer.”

But upstate areas have higher unemployment rates than the nation as a whole. Last month, the unemployment rate nationwide was 4.4 percent. In Buffalo, for example, it was 5.1 percent.

Even some New York Republicans said Trump’s remarks stung.

“Upstate New York is a wonderful place to live, work and raise a family. Anyone who spends two minutes in any community upstate knows that,” said Scott Reif, spokesman for Senate Majority Leader John Flanagan (R-Smithtown).

“We all realize the need to take additional steps to make it more affordable to live and work there. We hope the New York City Democrats will work with us to get it done.”

But state Republican Party Chairman Ed Cox defended Trump for pointing out real problems.

“New York is bleeding more citizens than any other state,” Cox said.