Pakistan is the fifth most populous country in the world. Its ecological environment is facing numerous stresses such as climate change, rapid urbanization, natural disasters, and a decline in air quality. Thus, the scientific understanding of spatial and temporal changes in Pakistan's ecological environment is crucial for formulating an informed strategy for regional sustainability. This study used the Google Earth Engine platform and the Remote Sensing Ecological Index (RSEI) to investigate ecological vulnerability in three provinces of Pakistan for 1990, 2000, 2010, and 2020. Landsat 5 and Landsat 8 datasets are used to construct RSEI indicators and Principal Component Analysis (PCA) is adopted to objectively compute RSEI for the past three decades. The results indicated that (1) the ecological vulnerability of the Punjab province exhibited a slightly improved trend from 1990 to 2020 with overall dominance of ‘moderate’ level vulnerability in all four years; (2) The Sindh province has exhibited a declining trend of the ecological environment with ‘poor’ ecological vulnerability contributing to 28.6% of the total area in 2020 as compared to 1.04% of the total area in 1990; and (3) The ecological environment of Balochistan province has shown resilience to some extent during 1900–2010 with the dominance of a ‘moderate’ level of ecological vulnerability. However, a decline is observed between 2010 and 2020. These research results can provide support for the Punjab, Sindh, and Balochistan provinces in achieving sustainable development while conserving the regional ecological environment.