Two ellagic acid glycosides were isolated by bioassay-guided fractionation from the antimicrobial ethyl acetate fraction of the ethanol extract from Gleditsia sinensis spines, and identified as 3-O-methylellagic acid-4'-(5''-acetyl)-alpha-L-arabinofuranoside (1) and 3-O-methylellagic acid-4'-O-alpha-L-rhamnopyranoside (2). Both compounds were isolated from this plant species for the first time, and 1 is a new compound. The two compounds showed significant antifungal activity against the spore germination of rice blast fungus Magnaporthe grisea, with an IC(50) value of 13.56 microg mL(-1) for 1 and 16.14 microg mL(-1) for 2.