Long-term air pollution exposure was associated with a higher risk of dementia. Ischemic heart disease and heart failure appeared to enhance the link between air pollution and dementia.