The application belongs to the field of medicine, and discloses the application of triptorelin, especially the application of triptorelin in the preparation of medicaments for treating depression. Experiments have shown that in the forced swimming test, triptorelin can significantly reduce the immobility time of depression model mice induced by chronic restrictive stress, lipopolysaccharide, plantar injection of CFA and early social isolation, indicating that it has a positive effect on depression model mice. Obvious improvement. At the same time, triptorelin can significantly increase the expression of chronic restrictive stress-induced mouse hippocampal BDNF and neuronal synaptic plasticity-related genes c-fos, egr1, arc, npas4. Therefore, triptorelin has significant antidepressant activity, can be used to prepare medicines for treating depression, and has high clinical application value and development prospect.