Media playback is unsupported on your device Media caption Trump brushes 'dandruff' off 'perfect' Macron

US President Donald Trump has warned Iran of "big problems" if it resumes the nuclear programme it agreed to curb in a 2015 international accord.

Speaking at the White House with French President Emmanuel Macron, Mr Trump called the Iran deal "insane".

Mr Macron, who is lobbying Mr Trump to preserve the deal, said it was possible to forge a new Iran accord.

The US president has been threatening to reject an extension of the Obama-era nuclear pact by a 12 May deadline.

Germany's Chancellor Angela Merkel is due to visit the US capital on Friday to make a last-minute bid to dissuade Mr Trump from potentially torpedoing the Iran agreement.

Media playback is unsupported on your device Media caption What French people think about Trump and Macron meeting

"It won't be so easy for them to restart," Mr Trump said in the Oval Office on Tuesday when a journalist asked him about the possibility of Iran relaunching its nuclear programme if the deal is scrapped.

"They're not going to be restarting anything. They restart it they're going to have big problems, bigger than they've ever had before."

Iranian Foreign Minister, Javad Zarif, later told the Associated Press Iran would "most likely" abandon the nuclear accord if the US pulled out.

He told the news agency that Washington would only damage its talks with North Korea by proving the US reneges on its promises.

On Monday, Iranian President Hassan Rouhani threatened "severe consequences" if the US withdrew from the deal.

Mr Trump said on Tuesday: "If Iran threatens us in any way, they will pay a price like few countries have ever paid."

Media playback is unsupported on your device Media caption The ups and downs of Trump and Macron

Mr Macron, on a three-day visit to the US, is the first foreign leader to be treated to a state visit during the Trump presidency.

At a joint news conference on Tuesday, he said he had had a very frank discussion with Mr Trump.

The French president also told reporters he believed it was possible to forge a new agreement to address concerns about Tehran.

"We want sustainable stability and I believe the discussions we've had together make it possible to open the way, to pave the way for a new agreement," said Mr Macron.

Under the deal, Tehran agreed to mothball its nuclear programme, which it maintains was for peaceful civilian purposes, in return for an easing of economic sanctions.

Image copyright Getty Images Image caption Mr Trump wipes away "dandruff" from Mr Macron's shoulder

Mr Trump has long complained that the accord - signed by the US, Iran, Europe, Russia, China and Germany - does nothing to halt Iran's support for militant groups in the region such as Hezbollah.

The US president is also demanding that signatories to the pact agree permanent restrictions on Iran's uranium enrichment. Under the current deal they are set to expire in 2025.

At one point during Tuesday's Oval Office photocall, Mr Trump wiped "dandruff" from Mr Macron's shoulder.

"We do have a very special relationship," Mr Trump told journalists gathered in his office.

Image copyright Getty Images Image caption The dining room has been prepared ahead of Tuesday dinner

"In fact I'll get that little piece of dandruff off.

"Little piece! We have to make him perfect. He is perfect."

The Iran deal is not the only potential source of discord between the two leaders.

Also on the agenda is the Paris climate accord, the US decision to recognise Jerusalem as the capital of Israel, and planned US tariffs on EU steel and aluminium.

Earlier in the day, Mr Macron and his wife were welcomed to the White House with a military ceremony and a 21-gun salute.

In welcoming remarks, Mr Trump thanked France for joining the US and Britain earlier this month in launching air strikes after an alleged chemical attack in Syria.

On Tuesday evening, the White House will host an official state dinner for the Macrons, who will be served lamb and jambalaya, a traditional Cajun stew.