A new study has found that men have a greater chance of developing Alzheimer's if they have a stroke, while women are more at risk if they are depressed.
The research also found that a low level of education could also influence the chance that both sexes will develop the disease.
None of the 7,000 people in the French study had dementia at the start of the study while 42% were classed as having mild cognitive impairment (MCI).
The study, published in the Journal of Neurology, Neurosurgery and Psychiatry, found said men with MCI "were also more likely to have a higher body mass index, diabetes and stroke, whereas women were more likely to have poor subjective health, to be disabled, to be socially isolated, and to suffer from insomnia".
The study found that the main risk factor for men going on to develop dementia was a variation in the ApoE gene, while the second highest risk factor was having a stroke, with men 2.8 times more likely to develop dementia if they had suffered one.
Men with a low level of education were also 2.3 times more likely to develop dementia.
Meanwhile, women with the ApoE gene were 2.3 times more likely to develop dementia and twice as likely to develop it if they had a low level of education. They were also twice as likely to develop dementia if they had depression.