Midlife obesity, high systolic blood pressure, and high total cholesterol were all significant risk factors for dementia, each of them increasing the risk around two times.