What may be the biggest battle yet in Donald Trump's trade war is about to begin.

The Trump administration heads to the US Supreme Court on Wednesday, facing off against small businesses and a group of states who contend most of the tariffs it has put in place are illegal and should be struck down.

If the court agrees with them, Trump's trade strategy would be upended, including the sweeping global tariffs he first announced in April. The government would also likely have to refund some of the billions of dollars it has collected through the tariffs, which are taxes on imports.

The final decision from the justices will come after what could be months of poring over the arguments and discussing the merits of the case. Eventually they will hold a vote.

Trump has described the fight in epic terms, warning a loss would tie his hands in trade negotiations and imperil national security.

On Sunday, the president said he will not attend the hearing in person as he did not want to cause a distraction.

I wanted to go so badly... I just don't want to do anything to deflect the importance of that decision, he said. It's not about me, it's about our country.

Trump previously said that if he does not win the case the US will be weakened and in a financial mess for many years to come.

The stakes feel just as high for many businesses in the US and abroad, which have been paying the price while getting whipped about by fast-changing policies.

Trump's tariffs will cost Learning Resources, a US seller of toys made mostly overseas and one of the businesses suing the government, $14m (£10.66m) this year. That is seven times what it spent on tariffs in 2024, according to CEO Rick Woldenberg.

They've thrown our business into unbelievable disruption, he said, noting the company has had to shift the manufacturing of hundreds of items since January.

Few businesses, though, are banking on a win at the court.

We are hopeful that this is going to be ruled illegal but we're all also trying to prepare that it's setting in, said Bill Harris, co-founder of Georgia-based Cooperative Coffees.

His co-op, which imports coffee from more than a dozen countries, has already paid roughly $1.3m in tariffs since April.

In deciding this case, the Supreme Court will have to take on a broader question: How far does presidential power go?

Legal analysts say it is hard to predict the justices' answer, but a ruling siding with Trump will give him and future White House occupants greater reach.

Specifically, the case concerns tariffs that the Trump administration imposed using the 1977 International Emergency Economic Powers Act (IEEPA), which the White House has embraced for its speed and flexibility. By declaring an emergency under the law, Trump can issue immediate orders and bypass longer, established processes.

Trump first invoked the law in February to tax goods from China, Mexico and Canada, saying drug trafficking from those countries constituted an emergency.

He deployed it again in April, ordering levies ranging from 10% to 50% on goods from almost every country in the world. This time, he said the US trade deficit - where the US imports more than it exports - posed an extraordinary and unusual threat.

Opponents say the law authorises the president to regulate trade but never mentions the word tariffs, and they contend that only Congress can establish taxes under the US Constitution.

They have also challenged whether the issues cited by the White House, especially the trade deficit, represent emergencies.

Members of Congress from both parties have asserted the Constitution gives them responsibility for creating tariffs, duties and taxes, as well.

More than 200 Democrats in both chambers and one Republican, Senator Lisa Murkowski, filed a brief to the Supreme Court, where they also argued the emergency law did not grant the president power to use tariffs as a tool for gaining leverage in trade talks.

Meanwhile, last week the Senate made a symbolic and bipartisan move to pass three resolutions rejecting Trump's tariffs, including one to end the national emergency he declared. They are not expected to be approved in the House.

Still, business groups said they hoped the rebuke would send a message to the justices.

Three lower courts have ruled against the administration. After the Supreme Court hears arguments on Wednesday it will have until June to issue its decision, although most expect a ruling to come by January.

Whatever it decides has implications for an estimated $90bn worth of import taxes already paid - roughly half the tariff revenue the US collected this year through September, according to Wells Fargo analysts. Trump officials have warned that sum could swell to $1tn if the court takes until June.

If the government is forced to issue refunds, Cooperative Coffees will absolutely try to recoup its money, said Mr Harris, but that would not make up for all the disruption. His business has had to take out an extra line of credit, raise prices and find ways to survive with lower profits.

Overall, the case has complicated the White House's trade deals, with global ramifications that are yet to be fully realized. It remains unclear how the Supreme Court will rule, reflecting the broader implications for trade, economic stability, and presidential powers in the U.S.