The invention discloses a traditional Chinese medicine composition for preventing and treating hepatobiliary diseases. The composition is prepared from fructus citri sarcodactylis, flos chrysanthemi,fructus lycii, radix puerariae, fructus mori, fructus citri, flos rosae rugosae, poria cocos, fructus crataegi, semen cassiae, herba taraxacum, rhizoma phragmitis, isodon amethystoides or serrate rabdosia herb. The traditional Chinese medicine composition has the advantages that through the synergistic effect of the fructus citri sarcodactylis, flos chrysanthemi, fructus lycii, radix puerariae, fructus mori, fructus citri, flos rosae rugosae, poria cocos, fructus crataegi, semen cassiae, herba taraxacum, rhizoma phragmitis, isodon amethystoides or serrate rabdosia herb, both the symptoms and root causes of hepatobiliary diseases are systematically solved; the root causes of the hepatobiliary diseases are eliminated by clearing heat, removing toxicity, dispelling wind, removing heat, nourishing yin, moistening dryness, removing heat from the liver, astringing the liver, activating blood and dissipating blood stasis; cough is relieved and the body is not harmed through diuretic therapy and defaecation; the symptoms of the hepatobiliary diseases are treated by soothing the liver, harmonizing stomach, nourishing the liver and kidney, tonifying the spleen, clearing damp, reinforcing qiand nourishing blood; the related viscera of the hepatobiliary system can cooperatively work in harmony to form a virtuous cycle with a viscera function to prevent relapse.