The intensification of heatwaves dues to climate change is a significant concern, with substantial impacts on ecosystems and human health, particularly in developing countries. This study utilizes NASA Earth Exchange Global Daily Downscaled Projections (NEX-GDDP-CMIP6) and projected population data accounting for China’s population policies to project changes in various grades of heatwaves (light, moderate, and severe) and the population exposure to heatwaves (PEH) in Xinjiang under three shared socioeconomic pathways (SSP1–2.6, SSP2-4.5, and SSP5-8.5). The results show that the number of days and intensity of heatwaves in Xinjiang are projected to increase. Heatwaves occurring in Xinjiang will predominantly be severe heatwaves (SHW) in the long-term under the SSP5-8.5 scenario, and the number of SHW days projected to increase by 62 ± 18.4 days compared to the reference period. Changes in heatwaves are anticipated to influence PEH, estimating population exposure to light, moderate, and severe heatwaves (LPEH, MPEH, and SPEH) at 534.6 ± 64 million, 496.2 ± 43.5 million, and 1602.4 ± 562.5 million person-days, respectively, in the long-term under the SSP5-8.5 scenario. The spatial distribution of PEH is projected to be consistent with that of the reference period, with high values persisting in Urumqi, Kashgar and Hotan. Changes in PEH are primarily driven by climate effects, followed by interactive effects, while population effects contribute the least. Therefore, mitigating climate change is crucial to reduce the PEH in Xinjiang.