PM will first stop in Rwanda for a two-day visit, becoming the first Indian prime minister to do so, and will attend the BRICS Summit in South Africa after that, TS Tirumurti, Secretary (Economic Relations) in the MEA told reporters at a briefing.
India is expected to sign a defence cooperation agreement, he said.
PM Modi is scheduled to visit Uganda from July 24-25, where he will address the Ugandan Parliament, Tirumurti said.
On the last leg of his trip, Modi will go to South Africa where he will attend the BRICS Summit during which a host of issues related to international security and peace will be discussed.
BRICS includes Brazil, Russia, India, China and South Africa.