A US appeals court reversed a judge's order that halted the planned firing squad execution of military base mass shooter Nidal Hasan.

The original date for the execution was set for 3 December before it was halted, but it was not immediately clear if yesterday's ruling meant the execution would go ahead that quickly.

A federal district court judge placed the execution on hold on 30 November, ruling that Hasan should be given time to file a last-minute challenge.

Prosecutors quickly appealed the case to the Tenth Circuit Court of Appeals.

In its ruling, a three-judge panel said it disagreed with the lower court's reasoning and lifted its stay. No dissents were noted.

Hasan could potentially try to appeal the ruling to the full bench of the Tenth Circuit or to the Supreme Court.

A military psychiatrist, Hasan killed 13 people, including 12 soldiers, and wounded 30 others in a November 2009 shooting at Fort Hood in Texas.

He was shot by a civilian police officer and is paralysed from the waist down.

Defence Secretary Pete Hegseth initially said Hasan's execution would be "public," but President Donald Trump eventually cancelled the plan to livestream it after broad backlash from both political allies and opposition.

Hasan's execution, if it proceeds, is expected to be carried out at Fort Hood and would be the first by a US military firing squad since 1945.

The last US military execution was carried out in 1961, when John Bennett was hanged for rape and attempted murder.

The American Civil Liberties Union, which is representing Hasan, said it would appeal.

"We will appeal this decision and urge the Supreme Court to avoid setting a dangerous precedent for the rule of law," the group said in a statement.