Sleep quality significantly affects the quality of life of older persons. Therefore, this study explored the relationship between sleep quality and living environment of older persons in China to provide a theoretical basis for therapies to alleviate sleep disorders in older persons. A total of 6211 subjects > 60years of age in Anhui Province, China, were evaluated using the Pittsburgh Sleep Quality Index and a self-reported questionnaire. Multivariate logistic regression analysis revealed that living alone (OR = 1.26, 95% CI 1.09-1.46) and living in a rural area (OR = 1.19, 95% CI 1.06-1.34) were significantly associated with a high incidence of sleep disorders in older persons. Living near a park or foot paths suitable for exercise or walking was significantly associated with a lower incidence of sleep disorders in older persons (OR = 0.87, 95% CI 0.77-0.96). Individual factors such as female sex (OR = 1.30, 95% CI 1.14-1.48) and depression (OR = 2.80, 95% CI 2.47-3.19) were also associated with sleep quality in older persons. These data indicate a correlation exists between living environment and sleep quality.