When Li Xiaoming, a farmer in rural Sichuan province, needed to renew her health insurance last year, she did something unusual: she handled the entire process on her phone in under an hour. No long bus ride to the county seat. No waiting in a queue that snakes around the building. No puzzling over which office window to approach. "Before, this would have taken me a whole day," she said. "Now I feel like the government is actually listening."

A new study published in the journal Frontiers suggests that Li's experience is not just a matter of convenience — it may be connected to her mental health.

Researchers from the study linked provincial Digital Government Development Indices from 2020 and 2022 with survey data from the Chinese General Social Survey in 2021 and 2023, covering hundreds of thousands of residents across China's provinces. Their findings: provinces with more advanced digital government systems — meaning better websites, apps, and online services — tended to have residents who reported better mental health. This connection held even after accounting for other factors like income and education.

The study identified two main ways this works. First, when government services are easier to access online, people spend less time and energy dealing with paperwork and bureaucracy. That reduction in daily stress shows up in better mental health. Second, smoother interactions with government make people feel happier about their lives overall.

Perhaps surprisingly, the mental health benefits appeared even stronger for rural residents than for city dwellers. The researchers say this makes sense: rural residents often face bigger obstacles when dealing with government in person — longer travel distances, fewer local offices, and more complicated procedures. When those barriers disappear online, the relief is greater.

However, the study also found that the benefits were not equal for everyone. People with more education, fewer existing health problems, and greater comfort using smartphones and computers showed the strongest mental health gains. People who struggle with technology did not benefit as much.

The researchers argue that these findings have real implications for policymakers. Governments that have invested in digital services primarily to save money or improve efficiency may be getting an unexpected bonus — healthier, happier citizens. But they warn that digital government only helps those who can actually use it. The study recommends that governments pair online improvements with support for people who lack digital skills or internet access, ensuring that the mental health benefits reach everyone.

For Li Xiaoming and millions like her, the question is practical: Will the government keep making its services easier to use, or will those who cannot navigate a smartphone be left behind? The research suggests that the answer matters for more than just convenience — it may shape how people feel about their lives.