A study in the Journal of Affective Disorders found women in midlife who were approaching the age when perimenopause starts were at a 40% greater risk of depression.