The invention discloses application of 2,3,5,4-tetrahydroxystilbene-2-O-beta-D-glucoside to preparing medicaments for treating depression, in particular to application of 2,3,5,4-tetrahydroxystilbene-2-O-beta-D-glucoside as an active ingredient to preparing medicaments for treating depression. The invention provides the application of the 2,3,5,4-tetrahydroxystilbene-2-O-beta-D-glucoside as the medicaments for treating depression, and the 2,3,5,4-tetrahydroxystilbene-2-O-beta-D-glucoside is hardly innoxious and is applied to preparing medicaments for preventing or treating various depression symptoms including endogenous depression, reactive depression, masked depression, secondary depression caused by medicaments, menopausal or post-natal depression, depression induced by traumatic braininjury or brain death and depressive neurosis and medicaments for treating diabetes and depression complications and related diseases.