President Rouhani left the capital of Armenia, Yerevan for Kazakhstan late on Wednesday.
During his visit to Armenia, Dr Rouhani met with the President and the Prime Minister of Armenia, attended the meeting of high-ranking delegations of Iran and Armenia, as well as the Iranian-Armenian business forum.
The Islamic Republic of Iran and the Republic of Armenia also signed five cooperation documents and memoranda of understanding.
He left for Kazakhstan as the second leg of his tour at the official invitation by his Kazakh counterpart.