The ruling on Monday extended an earlier one barring Elon Musk and his associates from reviewing student loan data and other potentially sensitive records.
The Department of Government Efficiency described in court filings bears little resemblance to the no-holds-barred approach taken by Elon Musk and praised by President Trump.
In an opinion on Tuesday, a federal judge found that suspension of programs aimed at training and supporting educators would have “grave effect on the public.”
It appears to be the first time a federal judge has acted to constrain Elon Musk, a top adviser to President Trump. The judge also ordered agency functions be partially restored, though that relief could be temporary.
Mr. Musk’s Department of Government Efficiency has largely been shrouded in secrecy, but court cases are one way opponents of President Trump’s overhaul efforts have sought clarity.
A federal judge in Washington ordered Elon Musk’s team and the Office of Management and Budget to begin releasing internal documents “as soon as practicable.”
The order prohibited the agencies from “unlawfully impounding congressionally appropriated foreign aid funds” owed to contractors and grant recipients. It applied to work completed before Feb. 13.