The invention discloses a medicine for treating gallstones. The medicine consists of the following Chinese herbal medicinal raw materials in parts by weight: 60g of lysimachia christinae hance, 45g of radix isatidis, 25g of mirabilite, 70g of fructus forsythiae, 40g of radix scutellariae, 15g of aristolochiae lignum, 7g of radix bupleuri, 15g of root of red-rooted salvia, 12g of rhizoma corydalis, 7g of nutgrass galingale rhizome, 12g of fructus toosendan, 20g of angelica, 7g of radix paeoniae alba, 5g of poncirus trifoliate, 25g of curcuma aromatica, 10g of fingered citron, 30g of radix astragali, 15g of chrysanthemum, 15g of felwort, 30g of serrate rabdosia herb, 7g of oriental wormwood, 27g of plantain herb, 10g of rhizoma alismatis, 16g of talcum, 5g of liquorice, 20g of lygodium japonicum, 25g of gardeniae, 15g of curcuma zedoary, 10g of amur cork tree bark, 20g of costus root, 22g of silybum marianum, 8g of poria cocos, 25g of dendrobe, 35g of hawthorn and 20g of pericarpium arecae. The medicine for treating gallstones has the advantages of being free from side effect, low in price, high in recovery rate, low in recurrence rate and rapid to become effective.