0818 GMT April 19, 2019
The visits, aimed at strengthening regional and bilateral cooperation are taking place at the invitation of Rouhani's Turkmen and Azerbaijani counterparts, Parviz Esmaeili said.
In Ashkhabad and Baku, President Rouhani is to confer with his counterparts on bilateral questions, IRNA wrote.
He and his entourage are also to attend business forums to be held in Turkmenistan and Azerbaijan, Esmaeili added.
During his stay in the two neighboring countries, several memoranda of understandings will be signed, the official said.
Rouhani first visits Turkmenistan, then he will fly to Azerbaijan on Wednesday.
The Iranian president will leave for Tehran on Thursday.