Turkish Foreign Minister Mevlut Cavusoglu visited Iran on Saturday and met President Hassan Rouhani, Iranian state media reported, in rare previously announced talks between the regional rivals.
Cavusoglu was also due to meet his Iranian counterpart Mohammad Javad Zarif during the visit, the official news agency IRNA reported.
"Despite (their differences), the two countries' officials are looking for solutions and seeking to draw closer their points of views, especially on Iraq and Syria," IRNA reported, without giving details of the talks.
Iran, a Shia Muslim nation, is a main ally of President Bashar al-Assad in Syria's civil war, while Sunni-majority Turkey has been one of his fiercest critics and has supported his opponents.
Iran has joined Iraq in criticising the Turkish military presence in northern Iraq, which Ankara has said is at the invitation of a Kurdish regional government.
Relations between the two neighbours appear to have improved after Iran supported the government of Turkey against a failed military coup in July.