The COVID-19 pandemic has compelled countries worldwide to enforce stringent measures to maintain social distancing, by locking down populations and restricting all kinds of transport. Besides their impact on the virus, these dramatic changes may also have positively contributed to a sustainable environment. The study aims to measure the effect of COVID-19 on environmental sustainability by employing the autoregressive distributed lag (ARDL) model. The study is based on the daily data of COVID-19 confirmed cases; confirmed deaths; manually generated lockdown data by the indexing method; and NO2, NH3, SO2, and CO levels from March 3, 2020, to July 27, 2021. This research study investigates the long- and short-term relationship between COVID-19 and the aforementioned greenhouse gases. The findings suggest conclusively that NO2, SO2, and CO declined during the COVID-19 period in India because these gases are anthropologically emitted by transport, industries, and fossil fuel burning. On the other hand, the evolving NH3 is not related to COVID-19 confirmed cases and deaths but is impacted by lockdown because ammonia emission is directly related to agricultural activities. Therefore, a decline in pollutants such as greenhouse gases during the COVID-19 period until July 2021 was observed. This means the prioritized control of human activities can be helpful to enhance the quality of the environment.