“The positions of Turkey and Mr Erdogan in recent months on the US plots against the Islamic Republic have been firm and excellent,” he said.
Rouhani was speaking in Tehran on Wednesday, before departing for Ankara to attend the fifth high-level meeting of Iran-Turkey strategic cooperation council.
“[He] told Americans in a frank language that the time the US was dictating policies to others is over and this country can no more issue instructions for regional countries from the other side of the world,” he said.
Rouhani was referring to frequent announcements by Turkish officials protesting the return of US sanctions that had been suspended under the 2015 nuclear deal.
Last month, Turkish Foreign Minister Mevlut Cavusoglu warned Washington against its new sanctions on Iran, saying “meaningful dialogue is much more useful” than sanctions.
Turkey has also objected to the Trump administration’s demand that it slash imports of Iranian petroleum products in six months, arguing that the time frame is too tight given his country’s demand for cheap energy supplies.
Rouhani said the two sides will discuss broadening cooperation in the banking, energy, transit and environment sector.
During the trip to Turkey, an economic meeting involving the two sides’ private sector companies will be held, he said.
They will also discuss the Syria conflict and the fight against terrorism, he said.