Almost 70 barrels of degraded lead azide, which is used to make munitions, were found at the Iowa Army Ammunition Plant in the small town of Middletown, about 257km southeast of Des Moines, in March.
The material had become unstable and dangerous, prompting the Army to assemble experts to come up with a plan, considering options including neutralising the drums' contents with other chemicals.
However, officials said handling the drums would increase the chances of an accidental, fatal detonation, with the risk rising as temperatures drop as the US winter approaches.
The army held a public meeting in Middletown in October, but a public advisory one week ago was the first time thousands of people in other nearby communities became aware of the potential impact.
Given detonated material could disperse in the air and land on the ground, environmental groups sued to halt the operation, prompting a court to freeze the army's environmental permit on Thursday.
But late on Saturday, the Trump administration said the army planned to go ahead without a permit by invoking an emergency munitions and explosives exception to federal environmental protection laws.
"The Army must perform a controlled detonation to protect the public from the more significant threat from an uncontrolled explosion," the Justice Department said in a court filing.
The army said in a post on X on Sunday the detonation would take place on Wednesday "to allow for optimal weather conditions and all mitigation measures to be emplaced".
The army has advised people to avoid the area during the detonation and urged anyone who cannot leave beforehand to stay indoors.
Challenging the detonation, the Iowa Environmental Council and the Sierra Club's Iowa chapter argued it would release a toxic plume of lead dust into the air that could travel 160km north of the site, depending on weather conditions.
Kerri Johannsen, the council's senior director of policy and programs, said the details and prior notice provided by the army had been insufficient.
"Many folks, including state officials, did not have any heads-up about this … There was not enough information being shared," Johannsen said.
"The early recommendations from the army had a lot of people sort of with their jaws hanging open… There remain so many questions about mitigation and protection."
With AP