Iran's President Hassan Rouhani has rejected the resignation of Foreign Minister Mohammad Javad Zarif.
"The presidential office said the resignation had not been accepted," Iran's foreign ministry spokesman Bahram Qasemi said.
The top diplomat had announced his intention to step down on Instagram on Monday evening.
According to Iranian law, the resignation needs to be endorsed by the president for the move to go into effect.

Pakistan bombs targets in Afghan cities, minister calls it 'open war'
Indian court throws out alleged corruption case against opposition leader
Bill Clinton to give private testimony to Congress about EpsteinĀ
Hillary Clinton tells panel she has no information on Epstein
US, Ukraine discuss post-war reconstruction as Russia pummels grid