The invention relates to a traditional Chinese medicine composition for treating anemia caused by gastrointestinal tumors and a preparation method thereof. According to the traditional Chinese medicine composition, traditional Chinese medicines such as prepared rhizome of rehmannia, radix paeoniae alba, ligusticum wallichii, ginseng, angelica sinensis, astragalus membranaceus, radix actinidiae chinensis, colla corii asini, bletilla striata and carbonized hair are used as raw materials, wherein prepared rhizome of rehmannia and radix paeoniae alba are feminine and soft blood replenishing products, angelica sinensis and ligusticum wallichii are qi-in-blood medicines, ginseng and astragalus membranaceus are added for consolidating and controlling blood, bletilla striata and carbonized hair are added for healing sores and stopping bleeding, colla corii asini adheres to stop bleeding and generate blood and enhance the functions of stopping bleeding and nourishing blood, and radix actinidiaechinensis is added for resisting tumors and ulcer and promoting wound healing. A whole-body internal application method and a local surgical ointment external application method are applied. The traditional Chinese medicine composition disclosed by the invention can be used for treating anemia caused by gastrointestinal tumors by taking the traditional Chinese medicine composition in two ways. The internal administration method can tonify qi, enrich blood, support the healthy energy and consolidate the basis. The ointment is externally applied, is adhered to a local part of a tumor, is adhered to a tumor blood vessel, and is used for treating local ulcers and ulcers of the tumor, healing ulcers and promoting tissue regeneration, controlling blood circulation and stopping bleeding, and specially treating bleeding, so as to treat the symptoms of the tumor.