The primary prerequisite for socioeconomic growth is good health, hence promoting residents' health is a vital objective of public policies. It is yet up for debate whether or not the digital economy (DE), which will be crucial to future economic growth, will eventually result in improvements in residents' health. Utilizing the China Family Panel Studies (CFPS) data in 2020, we explore how the DE affects residents' health. The findings reveal that residents' health is greatly enhanced by the DE. The eastern region sees a more dramatic improvement in residents' health as a result of the DE. Additionally, the DE can improve residents' health through the promotion of regional green development. The study's findings add to our knowledge of how the DE impacts residents' health while also offering recommendations for achieving universal health.