Since taking office in January, the president has been struggling to enact a ban that passes court muster.
A three-judge panel from the 9th circuit narrowed a previous injunction from a lower federal court to those people “with a credible bona fide relationship with the United States”.
It also said that while the president has broad powers to regulate the entry of immigrants into the United States, those powers are not without limits.
“We conclude that the president’s issuance of the proclamation once again exceeds the scope of his delegated authority,” the panel said.
The ban targets people from Chad, Iran, Libya, Somalia, Syria and Yemen seeking to enter the US. Trump has said the travel ban is needed to protect the US from terrorism.
The state of Hawaii, however, challenged it in court, and a Honolulu federal judge said it exceeded Trump’s powers under immigration law.
Trump’s ban also covers people from North Korea and certain government officials from Venezuela, but the lower courts had already allowed those provisions to go into effect.
The same three-judge 9th Circuit panel, which limited a previous version of Trump’s ban, heard arguments earlier this month.
Trump issued his first travel ban targeting several Muslim-majority countries in January, which caused chaos at airports and mass protests.
He issued a revised one in March after the first was blocked by federal courts.
That expired in September after a court fight and was replaced with the current version.
The ban has some exceptions. Certain people from each targeted country can still apply for a visa for tourism, business or education purposes, and applicants can ask for an individual waiver.
“We are pleased that the supreme court has already allowed the government to implement the proclamation and keep all Americans safe while this matter is litigated. We continue to believe that the order should be allowed to take effect in its entirety,” US justice department spokeswoman Lauren Ehrsam said in a statement.
More about: #Travel-ban