Conclusions and Relevance In this cohort study, after adjusting for measured confounders, long-term exposure to wildfire and nonwildfire PM2.5 over a 3-year period was associated with dementia diagnoses. As the climate changes, interventions focused on reducing wildfire PM2.5 exposure may reduce dementia diagnoses and related inequities.