The Obama administration will immediately appeal a federal judge's decision to strike down its six-month moratorium on offshore drilling.

White House press secretary Robert Gibbs said the administration would appeal a decision by a district court judge granting an injunction against President Barack ObamaBarack Hussein ObamaPaltry wage gains, rising deficits two key tax reform concerns Throwing some cold water on all of the Korean summit optimism Colorado state lawmakers advance measure to rename highway after Obama MORE's temporary ban on deepwater offshore drilling.

"We will immediately appeal to the Fifth Circuit," Gibbs said at the tail end of his daily briefing with reporters.

"Continuing to drill at these depths without knowing what happened does not make any sense," Gibbs added.

The administration's decision to ban drilling was likely "arbitrary and capricious" and would do "irreparable harm" to companies and individuals' livelihoods, federal Judge Martin Feldman wrote in his decision. Feldman granted a preliminary injunction against the moratorium's effects.

The administration has been under pressure from lawmakers in both parties from Gulf states to lift the moratorium, worrying that the ban could severely impact workers from their home states in the industry. 

Polls showed Tuesday that Americans were comfortable with the administration's short-term moratorium, though residents of Gulf states were against the ban.