Both social defeat stress and environmental enrichment stimulate adrenal glucocorticoid secretion, but they have opposing effects on hippocampal neurogenesis and mood. Hypothalamic-pituitary-adrenal (HPA) axis dysregulation and decreased neurogenesis are consequences of social defeat. These outcomes are correlated with depressive states, but a causal role in the etiology of depression remains elusive. The antidepressant actions of environmental enrichment are neurogenesis-dependent, but the contribution of enrichment-elevated glucocorticoids is unexplored. Importantly, for both social defeat and environmental enrichment, how glucocorticoids interact with neurogenesis to alter mood is unknown. Here we investigate causal roles of glucocorticoids and neurogenesis in induction of depressive-like behavior and its amelioration by environmental enrichment in mice. By blocking neurogenesis and surgically clamping adrenal hormone secretions, we showed that neurogenesis—via HPA axis interactions —is directly involved in precipitating the depressive phenotype following social defeat. Mice adrenalectomized prior to social defeat showed enhanced behavioral resiliency and increased survival of adult-born hippocampal neurons compared to sham-operated defeated mice. However, mice lacking hippocampal neurogenesis did not show protective effects of adrenalectomy. Moreover, glucocorticoids secreted during environmental enrichment promoted neurogenesis and were required for restoration of normal behavior after social defeat. The data demonstrate that glucocorticoid-dependent declines in neurogenesis drive changes in mood following social defeat and that glucocorticoids secreted during enrichment promote neurogenesis and restore normal behavior after defeat. These data provide new evidence for direct involvement of neurogenesis in the etiology of depression, suggesting that treatments promoting neurogenesis can enhance stress resilience.