Tehran: Iran threatened Wednesday to enrich its uranium stockpile closer to weapons-grade levels in 60 days if world powers fail to negotiate new terms for its 2015 nuclear deal, raising regional tensions as a US aircraft carrier and bombers headed to the Middle East to confront Tehran.

A televised address by President Hassan Rouhani, who once pledged that the landmark deal would draw Iran closer to the West, saw the cleric instead pressure Europe to shield Tehran from the sanctions imposed by President Donald Trump withdrawing the US from the agreement exactly a year earlier.

Rouhani's threats put the world on notice that it cannot continue to rely on Iran complying with terms of the unraveling deal in the coming weeks.

Meanwhile, a US campaign of sanctions hammering Iran's anemic economy and blocking its sale of oil on the global market is only making life worse, putting further pressure on both its Shiite theocracy and its 80 million people.

Rouhani himself compared the situation to a medical emergency for the Islamic Republic, only 40 years after its founding.

"We felt that the nuclear deal needs a surgery, and the painkiller pills of the last year have been ineffective," Rouhani said. "This surgery is for saving the deal, not destroying it."

Iran on Wednesday stopped its sale of excess uranium and heavy water as a first step, Rouhani said, something required under the deal. The US last week ended deals allowing Iran to exchange its enriched uranium for unrefined yellowcake uranium with Russia, and to sell its heavy water, which is used as a coolant in nuclear reactors, to Oman.

In 60 days, if no new deal is in place, Iran will increase its enrichment of uranium beyond the accord-permitted 3.67 per cent which can fuel a commercial nuclear power plant. Rouhani did not say how far Iran would be willing to enrich, although the head of its nuclear program again reiterated Iran could reach 20 per cent enrichment within four days.

Once a country enriches uranium to around 20 per cent, scientists say the time needed to reach the 90 per cent threshold for weapons-grade uranium is halved. Iran long has maintained its nuclear program is for peaceful purposes. However, Iranian state television's English-language service Press TV, citing sources close to presidency, said the country would withdraw from the Nuclear Nonproliferation Treaty if Europeans sought to sanction Iran at the UN Security Council.

Rouhani also said that if the 60 days pass without action, Iran will halt a Chinese-led effort to redesign its Arak heavy water nuclear reactor. Such reactors produce plutonium that can be used in nuclear weapons.

Iran notified Britain, Russia, China, the European Union, France and Germany of its decision earlier in the day. All were signatories to the nuclear deal and continue to support it. Iranian Foreign Minister Mohammad Javad Zarif met Wednesday in Moscow with his Russian counterpart Sergey Lavrov and offered a letter as well.

"If the five countries join negotiations and help Iran to reach its benefits in the field of oil and banking, Iran will return to its commitments according to the nuclear deal," Rouhani said.

Zarif separately issued his own warning from Moscow."After a year of patience, Iran stops measures that (the) US has made impossible to continue," he tweeted. World powers have "a narrowing window to reverse this." Reaction came swiftly from Israeli Prime Minister Benjamin Netanyahu, a staunch critic of Iran and the nuclear deal.

"I heard that Iran intends to continue its nuclear program. We will not allow Iran to obtain nuclear weapons," Netanyahu said. "We will continue to fight those who seek to take our lives, and we will thrust our roots even deeper into the soil of our homeland." US Secretary of State Mike Pompeo, in London, said America "will wait and observe" what Iran does next.

"They have made have made a number of statements about actions they have threatened to do in order to get the world to jump," Pompeo said.

Rouhani also made an implicit threat as well to Europe, saying Iran now cooperates on issues like targeting Afghan opium and hashish traffickers and controlling immigration.

"You are obliged ... for your own security, for protecting your youths against drugs as well as controlling influx of immigrants," the president said.