The invention discloses a traditional Chinese medicine for treating biliary ascariasis. The traditional Chinese medicine is prepared from the following medical materials in parts by weight: 12 parts of radix bupleuri, 12 parts of radix scutellariae, 12 parts of kudzu root, 9 parts of rhubarb, 12 parts of fructus aurantii immaturus, 10 parts of processed rhizoma pinelliae, 12 parts of radix paeoniae alba, 12 parts of codonopsis pilosula, 10 pieces of Chinese dates, 9 parts of rhizoma coptidis, 9 parts of pericarpium zanthoxyli, 18 parts of fructus mume, 20 parts of raw hawthorn, 20 parts of betel nut, 5 parts of asarum, 6 parts of dried ginger, 10 parts of cortex phellodendri, 12 parts of Chinaberry bark, 12 parts of Rangoon creeper, 12 parts of common carpesium fruit, 12 parts of mole, 12 parts of gelidium amansii, 12 parts of rattan plam, 12 parts of athyrium sinense, 12 parts of herba artemisiae scopariae, 12 parts of bidens alba, 9 parts of anisodus tanguticus, 12 parts of fried gardenia, 9 parts of cinnamon, 5 parts of monkshood, 12 parts of ishige okamurae, 12 parts of Chinese cypress, 9 parts of szechwan chinaberry fruit, and 10 parts of rhizoma corydalis. The clinical experiments show that the traditional Chinese medicine can treat biliary ascariasis safely and effectively.