Extreme outdoor heat is associated with higher dementia risk, especially in socially vulnerable areas, emphasizing the need for targeted community strategies.