Mineralocorticoid (MR) and glucocorticoid receptors (GR) are abundantly expressed in the limbic brain and mediate cortisol effects on the stress-response and behavioral adaptation. Dysregulation of the stress response impairs adaptation and is a risk factor for depression, which is twice as abundant in women than in men. Because of the importance of MR for appraisal processes underlying the initial phase of the stress response we investigated whether specific MR haplotypes were associated with personality traits that predict the risk of depression. We discovered a common gene variant (haplotype 2, frequency ∼0.38) resulting in enhanced MR activity. Haplotype 2 was associated with heightened dispositional optimism in study 1 and with less hopelessness and rumination in study 2. Using data from a large genome-wide association study we then established that haplotype 2 was associated with a lower risk of depression. Interestingly, all effects were restricted to women. We propose that common functional MR haplotypes are important determinants of inter-individual variability in resilience to depression in women by differentially mediating cortisol effects on the stress system.