This study aims to explore the molecular mechanism and potential active ingredients of Danhe granules in improving the blood lipid level of hypercholesterolemia by intestinal TICE (transintestinal cholesterol excretion) through in vivo experimental research, network pharmacology methods, and molecular docking. The diet‐induced hypercholesterolemia rat model evaluated the effects of Danhe granules on fecal cholesterol levels and intestinal TICE‐related protein expression in rats. Based on the experimental results, the network pharmacology method was used to predict the potential active ingredients, and the binding strength between the potential active ingredients and key targets was further confirmed by molecular docking. Danhe granules increased LDLR, ABCG5, ABCB1, and LXRα which can promote the uptake of cholesterol by intestinal cells and the excretion of cholesterol into the intestine, and then reduce the levels of serum LDL‐C and TC and increase the level of fecal TC, so as to achieve the effect of treating hypercholesterolemia. The results of network pharmacology and molecular docking showed that 19 active ingredients had good binding activity with the targets. These may be the active ingredients of Danhe granules for the treatment of hypercholesterolemia. This study revealed the molecular mechanism of Danhe granules in the treatment of hypercholesterolemia via TICE, and preliminarily clarified the potential effective ingredients. It provides new ideas for the treatment of hypercholesterolemia and the development of new drugs.