Habitat quality is a crucial expression of the value of ecosystem services. Habitat quality issues caused by human activities are troubling dilemmas worldwide, and there is an urgent need to assess the impact of the large-scale human activity intensity on habitat quality. In this study, Northern Shaanxi, China, is used as an example to demonstrate how the impact on habitat quality can be explored by simulating the intensity of human activities using nighttime light remote sensing data from 2000 to 2020. Defense Meteorological Satellite Program-Operational Linescan System (DMSP-OLS) data, Visible Infrared Imaging Radiometer Suite-Day-Night Band (VIIRS-DNB) data, and Integrated Valuation of Ecosystem Services and Tradeoffs (InVEST) model were used in this study. The results showed that from 2000 to 2020, human activity intensity in Northern Shaanxi increased by 361.4 %, and the habitat quality decreased by 2.3 %. Habitat quality was more spatially clustered and spatially dependent than habitat degradation. Human activity intensity and habitat quality were significantly correlated. Habitat quality in Yulin city decreased significantly compared with that in Yan'an city. The differences in human activity types and economic structures of Yulin and Yan'an were an important factor for this phenomenon. The assessment of the impact of human activity intensity on habitat quality using nighttime light data is feasible and can be applied in other larger regions worldwide.