Iran will not open talks with the United States that will only benefit Donald Trump, supreme leader Ayatollah Ali Khamenei said Friday, insisting the US president's sanctions policy had failed.

Decades-old tensions between Tehran and Washington have soared in the past year, with the sworn enemies appearing several times to come to the brink of war.

The tensions have been rising since 2018, when Trump withdrew the United States from a landmark nuclear accord and unilaterally reimposed crippling sanctions.

"There is no doubt that sanctions are a crime, a blow from the US to Iran," said supreme leader Ayatollah Ali Khamenei in a televised speech.

"But the smart Iranian has made the best use of this attack, this animosity and benefited... by using sanctions as a means to increase national self-reliance."

Khamenei said Western "think tanks admit that the maximum pressure (policy) of sanctions and US force has not succeeded."

The 2015 deal between Tehran and major powers promised relief from sanctions in return for limits on Iran's nuclear programme.

Iran's supreme leader Ayatollah Ali Khamenei rules out new talks with the United States, saying their sole goal would be President Donald Trump's re-election
Iran's supreme leader Ayatollah Ali Khamenei rules out new talks with the United States, saying their sole goal would be President Donald Trump's re-election KHAMENEI.IR / -

After abandoning the agreement, the United States reimposed sanctions on Iran's vital oil exports and its access to the international banking system, and pressured allies and rivals alike to fall in line.

Iran has responded by trying to boost its non-oil exports, particularly to neighbouring countries.

"This has caused the country's economy to be naturally less reliant on oil," Khamenei said, casting the development in a positive light.

Khamenei condemned calls for Iran to open new talks with the United States, saying he would not agree to meetings that were aimed only at boosting Trump's re-election hopes.

The 81-year-old even called Trump an "old man", even though he is seven years older than the US president.

"This old man in charge, he apparently made some propaganda use out of his negotiations with North Korea. Now he wants to use (talks with Iran) for the (November 3 US presidential) election."

Khamenei said that in return for new talks, the US would demand: "Reduce your defensive capability, destroy your regional power and give up the vital nuclear industry."

"No logic dictates giving into the aggressor's demands," he said.