Prime Minister Narendra Modi made the pledge at the Glasgow conference.
This is the first time the country has made such a commitment.
Net zero, or becoming carbon neutral, means not adding to the amount of greenhouse gases currently in the atmosphere.
In contrast, China has announced plans for carbon neutrality by 2060, while the US and EU aim to hit net zero by 2050.