Existing issues between the two countries such as refugees, water, transport and security could be resolved, said the Supreme Leader in a meeting with the Afghan president.
President Rouhani said a more secure and developed Afghanistan will lead to more trade exchanges and an upgrade in Tehran-Kabul social and cultural interaction.
President Ashraf Ghani has told Mohammad Javad Zarif that Afghanistan and Iran, which share common interests, should cooperate to fully tap into their potential.
The outcome of popular votes led to the formation of the national unity government in Afghanistan and Iran supports what is based on the will and desire of the Afghan people, said Zarif.
A senior Iranian official has underlined the need for extensive and strategic cooperation between Iran and Afghanistan and the continuation of security consultations between the two countries.