Soil-transmitted helminthiasis remains a notable health problem in developing countries. In 1990 in Shanghai, a city in eastern China, 47% of the population was affected. Due to a series of comprehensive approaches, the prevalence decreased to 0.5% in 2009. We collected 10-year surveillance data to assess the epidemic situation of soil-transmitted helminth (STH) infections in Shanghai. Stool samples and questionnaires from participants were collected. The Kato-Katz technique was used to detect infections with Ascaris lumbricoides, hookworm (Ancylostoma duodenale and Necator americanus), and Trichuris trichiura. From 2014 to 2023, a total of 77,685 participants were screened for parasitic infections, and the overall prevalence of STH infections decreased from 0.1% to 0% in Shanghai. Of 77,685 participants, 25 (0.03%) were positive for intestinal helminths, with the most common parasite being A. lumbricoides (72.0%). Generally, elderly participants from rural areas with lower education levels were more likely to be infected with STHs. A total of 2,914 questionnaires were collected, and most respondents (72.6%) had good knowledge about the transmission routes of STHs. However, 12.3% of participants did not know the damage to health caused by STHs, and 19.3% had no idea of how to prevent infection. These data demonstrate the current state of STH infections in Shanghai. The results suggest that various comprehensive measures should be encouraged, continuously implemented, and strengthened accordingly so that STH elimination can be integrated into the Healthy China initiative by 2030.