In a message to Major General Baqeri released on Saturday night, Ayatollah Khamenei said according to the received information, the flood-stricken people in the two provinces are in dire need of assistance and equipment of the Armed forces.
The Leader further asked him to order the dispatch of more equipment to the two provinces for relief operations.
Earlier on Saturday, General Staff of the Iranian Armed Forces announced that its forces were planned to be deployed to the flood-hit areas to take part in the rescue operations.
Heavy rains have affected over 56,000 people in at least 70 villages in Golestan and more than 200 others in Mazandaran, according to local officials.
The flooding has claimed the lives of five people and destroyed hundreds of homes over the past few days.
High water has forced evacuations of several small farm communities as all farmland has been swamped, local reports said.
Footage from both provinces showed massive flows of water running over roads and streets, with cars being washed away, people struggling to walk, and traffic being disrupted.