The provocative statement comes weeks after the country conducted underground nuclear tests which caused a massive earthquake.
A foreign ministry spokesman said: "Since the United States is about to ignite a nuclear war, we will be exercising our right to pre-emptive nuclear attack against the headquarters of the aggressor in order to protect our supreme interest."
However experts doubt the country's ability to produce a warhead capable of being fitted to a long-range missile.
The UN is set to impose its toughest sanctions yet on Kim Jong-un's nation - they will be drafted today.
The nuke warning from North Korea was put out by the country's official news agency and accused the US of leading the calls for the crippling sanctions.
Lets see. Obama had a really bad week and it's not looking to get any better for him. Wait! Wait! There's a nuclear threat. Save us Obama Save us. Oh please we need you no matter how much you lie cheat and steal. Just don't let a two bit dictator of a country we should have leveled 60 years ago get us. We'll love you if you just save us.
North Korean leader to his soldiers: open fire for an assault on the state
| The official news agency of North Korea reported that the leader of the communist state, Kim Jong-On, met with soldiers and ordered them to open fire in case of an attack on the country.
According to the report North Korean leader, who announced the cancellation of night ceasefire agreement with South Korea following the imposition of sanctions, said that any provocation will bring his order to promote immediate forces across the border with its southern neighbor.
North Korea: cancel the cease-fire with Seoul
Against the joint military exercise of South Korea and the United States, and the sanctions imposed by the UN Security Council, North Korea announced the cancellation of the ceasefire agreement on neighbor, determined in 1953. "We pulled the red phone," they added in Pyongyang
North Korea announced tonight (Friday) that it eliminates the ceasefire agreement with South Korea, which led to the end of the Korean War in 1953. Notice of the revocation was published against the sanctions imposed on the country of the UN Security Council, while the joint exercise of the armies of the United States and South Korea.