A majority of Americans back President Trump’s order temporarily blocking nearly all immigration into the US during the coronavirus outbreak, according to a new poll.

Sixty-five percent said they support the action while 34 percent said they were opposed, a Washington Post/University of Maryland survey released Tuesday showed.

Broken down by party lines, 83 percent of Republicans favor it, while Democrats are split — 49 percent oppose and 49 percent support.

Among independents, 67 percent support it.

The survey was conducted after Trump announced his immigration proposal on April 20 and presented more details when he signed the executive order on April 22.

The president said he imposed the 60-day suspension to protect American workers.

“This will ensure that unemployed Americans of all backgrounds will be first in line for jobs as our economy reopens,” the president said at the White House coronavirus briefing last Wednesday. “We will also preserve our health care resources for American patients. We have to take care of our patients and our great American workers and that’s what we are doing.”

A majority of respondents — 66 percent — said the guidelines on how stores and restaurants operate during the pandemic are appropriate, while 17 percent said they are too restrictive and 16 percent said they don’t go far enough.

Asked about limits on public gatherings, 64 percent said the restrictions are appropriate, 14 percent said they are too restrictive and 22 percent said they aren’t strict enough.

Among Democrats, 72 percent said their state’s guidelines on businesses are appropriate, and 62 percent of Republicans agree, as do 66 percent of independents.

Twenty-seven percent of Republicans said the restrictions are too much, compared to 8 percent of Democrats and 17 percent of independents.

The poll was conducted nationally between April 21 and 26 and surveyed 1,008 adults.

It has a plus/minus 3.5 percentage-point margin of error.