Iranian Foreign Minister Mohammad Javad Zarif (R)

Iran's Foreign Minister Mohammad Javad Zarif will leave nuclear talks in Vienna and return to Tehran on Sunday, state media reported, saying the trip was pre-planned.

"Iran and the US foreign ministers have given their teams necessary guidelines regarding how to proceed with the text and its details," reports said, quoting a media official from Iran's negotiating team.

Iran's IRNA and ISNA news agencies said that "after a one-day stay in Tehran," Zarif would return to Vienna but "in case more time is needed to work on the text of the agreement negotiations can continue after the June 30 deadline".