A study analyzing data from over 130 million individuals found that antibiotics, antivirals, vaccines, and anti-inflammatory medications are associated with a reduced risk of dementia. This supports the idea that infections and inflammation contribute to dementia and highlights the potential of repurposing existing drugs for prevention or treatment.