Under a two-page temporary restraining order granted to Harvard, US District Judge Allison Burroughs on Thirsday enjoined Trump's proclamation from taking effect pending further litigation of the matter amid an escalating dispute between the Ivy League school and Republican president.
The judge ruled Trump's directive prohibiting foreign nationals from entering the United States to study at Harvard for the next six months would cause "immediate and irreparable injury" before the courts have a chance to review the case.
Burroughs in May had blocked Trump from implementing a separate order prohibiting Harvard from enrolling international students, who make up more than a quarter of its student body. Harvard on Thursday amended its lawsuit to challenge the new directive, claiming Trump is violating Burroughs' decision.
"The Proclamation denies thousands of Harvard's students the right to come to this country to pursue their education and follow their dreams, and it denies Harvard the right to teach them. Without its international students, Harvard is not Harvard," the school said in the filing.
Burroughs' order on Thursday also continued a separate temporary restraining order she issued on May 23 against the administration's restriction on international student enrolment at Harvard.
Earlier on Thursday, White House spokesperson Abigail Jackson called Harvard "a hotbed of anti-American, anti-Semitic, pro-terrorist agitators," claims that the school has previously denied.
"Harvard's behaviour has jeopardised the integrity of the entire US student and exchange visitor visa system and risks compromising national security. Now it must face the consequences of its actions," Jackson said in a statement.
Trump cited national security concerns as justification for barring international students from entering the US to pursue studies at the Cambridge, Massachusetts-based university.
Under Trump's proclamation, the suspension would initially be for six months but could be extended. Trump's order also directed the US State Department to consider revoking academic or exchange visas of any current Harvard students who meet his proclamation's criteria.
In Thursday's court filing, Harvard said Trump had violated federal law by failing to back up his claims about national security.
"The Proclamation does not deem the entry of an alien or class of aliens to be detrimental to the interests of the United States, because non-citizens who are impacted by the Proclamation can enter the United States — just so long as they go somewhere other than Harvard," the school said.
The Trump administration has launched a multi-front attack on the nation's oldest and wealthiest university, freezing billions of dollars in grants and other funding and proposing to end its tax-exempt status, prompting a series of legal challenges.
Harvard argues the administration is retaliating against it for refusing to accede to demands to control the school's governance, curriculum and the ideology of its faculty and students.