Therefore, the present study was designed to study whether the flavonoid compound isolated from Herba Epimedii, namely icariin, exerts an antidepressant-like effect in a perimenopausal depression model by activation of the PI3K–AKT pathway, and to provide objective experimental evidence for the potential clinical application of icariin in the future. Here, AKT1 is linked to depressive disorder.