President Trump plans to announce at least a temporary ban on refugees and immigrants from a handful of Muslim-majority countries plagued by Islamic terrorism.

Trump argued on the campaign trail that the US had no way of knowing whether refugees from war-torn countries such as Syria could be disguised terrorists.

Trump also wants to suspend issuing visas for people from Iran, Iraq, Libya, Somalia, Sudan, Syria or Yemen for at least 30 days, according to the draft.

All are predominantly Muslim countries. The specifics could change, sources told the AP.

There is likely to be an exception for refugees fleeing religious persecution if their religion is a minority in their country, including Christians trying to get out of Muslim-majority countries where their communities have come under attack.

The bans would stay in place at least until specifics of what Trump has called “extreme vetting” can be worked out.

As president, Trump can use an executive order to halt refugee processing.

President George W. Bush used that same power after the Sept. 11, 2001, attacks.

Refugee security vetting was reviewed and the process was restarted several months later.

Trump had initially called for an outright ban on immigration from Muslim countries “until we can figure out what’s going on” following terror attacks in California and Western Europe by ISIS-inspired terrorists.

He later backed away and called for the tougher vetting of immigrants from Muslim countries that are hotbeds of Islamic terrorism.

The president on Wednesday also called for the hiring of 5,000 additional border-patrol agents, which Congress would have to approve.

He said the US would end what critics call a “catch-and-release system” at the border.

Under the Obama administration, some immigrants caught entering the US illegally were freed and told to report back to immigration officials at a later date. Many didn’t, and disappeared into the population.