The judge's order says that the pass must be reinstated as a CNN lawsuit against Donald Trump continues.
Mr Acosta's press pass was taken after he clashed with the president during a news conference earlier this month.
The judge said the White House decision likely violated the journalist's right to due process and freedom of speech.
Speaking outside the court, Mr Acosta praised the decision and told reporters "let's go back to work".
Read More (...)