Trump's order included, among other things, economic sanctions for officials within the criminal court who work with investigations into American citizens or the country's allies, for example Israel. Trump's message came in February, and the president accused the court of unfairly targeting the US and Israel.
According to the presidential order, American citizens who provide services to Karim Khan, chief prosecutor for the ICC, or others covered by the sanctions, may face criminal or civil penalties.
Judge Nancy Torresen describes it as the presidential order violating freedom of speech.
Neither the ICC nor the White House has so far commented on Torresen's decision.
The ICC and many of the court's member countries, including Sweden, have previously condemned the sanctions.
In November, the ICC issued an arrest warrant against Israel's Prime Minister Benjamin Netanyahu and former Defense Minister Yoav Gallant. An arrest warrant was also issued against terrorist-stamped Hamas military leader Mohammed Dayf, who was later confirmed to be dead.