According to the MEA, the decision has been taken in view of the situation arising out of the Covid-19 pandemic in the country.
"While appreciating the invitation to the Prime Minister by UK Prime Minister Boris Johnson to attend the G7 Summit as a special invitee, given the prevailing COVID situation, it has been decided that the Prime Minister will not attend the G7 Summit in person," MEA spokesperson Arindam Bagchi said.
Also Read | China warns Bangladesh against joining Quad, says it will damage bilateral relations
The G7 comprises the UK, Canada, France, Germany, Italy, Japan and the United States. The summit will be held from 11-13 June in Cornwall, UK.
Though India is not part of the G7 group, UK PM Boris Johnson, as the host of this year's summit, had invited PM Modi to attend the summit. He had also invited leaders of Australia, South Korea, South Africa to attend the summit.
Boris Johnson had also called off his scheduled visit to India last month in view of the coronavirus pandemic. He and PM Modi held a virtual summit later on May 4.
Also Read | Israel, Hamas exchange attacks amid surging tensions