An active social life could significantly reduce the risk of dementia and mild cognitive impairment in the elderly.