A study published in the journal Neurology found that quitting smoking is associated with a lower risk of dementia. The research shows that people who avoid major weight gain after quitting get the most benefit.