BackgroundPresently, global aging has become increasingly serious, whereas the health concerns brought by aging have become a public issue that warrants an urgent solution from all countries across the world. Therefore, this research paper discusses the influence of neighborhood health on elderly individuals’ health, and extending a realistic basis for the other economies to improve the neighborhood environment and promote the health of the elderly.MethodsBased on the data of CHARLS2018, this research paper adopts the samples that fulfill the study requirements (N = 7326). we constructed a comprehensive research framework integrating oprobit regression model, heterogeneity analysis, conditional mixed process(CMP)robustness testing, Furthermore, the KHB decomposition method is implemented to ascertain the influential mechanism of NMH and NPH on the mental- and physical health of elderly persons.ResultsThe oprobit regression model analysis indicates that NMH 0.434 and NPH 0.550 exert positive influences on the elderly’s mental- and physical health. Meanwhile, the effects of conditional mixed process on NMH and NPH stand at 0.381 and4.372, which are different from the oprobit regression results; thereby, indicating the existence of endogeneity. Afterward, KHB mediating effect confirms that Internet use, gift reciprocity, and charity activity contribute 30.21% and 16.83% to mental- and physical health, respectively.ConclusionsFirstly, the NMH and NPH demonstrate a positive influence on the mental- and physical health of the elder population. However, there exist heterogeneous differences. Secondly, the conditional mixed process deals with the endogeneity of NMH and NPH. Thirdly, social integration, social interaction, and social engagement serve as significant transmission mechanisms for the influences of NMH and NPH on the health of elderly persons.