Modi, who is leaving for Iran on Sunday, will also pay a two-day visit to Qatar from June 4.
At the invitation of the US President Barack Obama, the prime minister will visit Washington DC on June 7-8, 2016, the external affairs ministry announced on Friday.
"The main objective of the forthcoming visit of the prime minister would be to consolidate the progress made in diverse areas such as economy, energy, environment, defence and security, and to intensify cooperation for the future," it said.
The prime minister has also been invited by the Speaker of the US House of Representative, Paul Ryan, to address a Joint Meeting of the US Congress which he has accepted, it added.
Modi, who was invited by Obama for a bilateral visit when Modi travelled to the US for the nuclear summit in March, will be the fifth prime minister of India to address a joint meeting of Congress.
Earlier, prime ministers Manmohan Singh (July 19, 2005), Atal Bihari Vajpayee (September 14, 2000), P V Narasimha Rao (May 18, 1994) and Rajiv Gandhi (July 13, 1985) addressed the joint meeting of the US Congress.
The US Congress has been a source of strength for the India-US strategic partnership and the India Congressional Caucus is the largest such group in the US Congress, the MEA said.
During the visit, Modi will have interaction with CEOs of major US companies.
Realization of the full potential of Indo-US economic partnership has been a key priority for both the countries and the progress achieved in this regard is reflected in the increased investment flows, the ministry said.
'It has turned out to be a humiliating defeat'
How to prevent losses in a major quake
Why Sairat is such an important film
Has India's anti-trust watchdog lost its drive?
How Rahul let Assam slip from Congress' hand