The invention provides an application of stilbene glucosides in preparing drugs for treating and preventing AIDS. Structural formulas of the stilbene glucosides are show as a general formula (I), wherein R1, R2, R3, R4, R5 or R6 independently represent
hydrogen, hydroxyl, C1-C4
alkyl, C1-C4 alkoxy, C1-C4 acyloxy,
halogen,
nitryl,
trifluoromethyl or a cyano group, and pre-conditions are that at least one of R1, R2 and R3 is the hydroxyl, at least one of R4, R5 and R6 is the hydroxyl, and at least one hydroxyl of R1, R2, R3, R4, R5 and R6 is connected with
sugar. In the compounds represented by the general formula (I), an inhibitory activity (IC50) for the HIV-1
protease of 2,3,5,4-tetera-hydroxystilbene-2-O-beta-D-
glucoside of the stilbene glucosides for reaches 126 [mu]M.