The invention discloses capsules for treating respiratory tract and digestive tract cancers. The capsules are prepared by taking the following traditional Chinese medicines in parts by weight as active pharmaceutical ingredients: 40-60 parts of ginseng, 8-14 parts of calculus bovis factitious, 40-60 parts of pseudo-ginsheng, 10-15 parts of hairyvein agrimonia herb and bud, 8-10 parts of solanum lyratum, 25-45 parts of Chinese Paris rhizome, 25-45 parts of membranous milkvetch root, 25-45 parts of radix sophorae flavescentis, 8-15 parts of ganoderma, 10-30 parts of dried mushroom, 10-30 parts of glabrous greenbrier rhizome, 40-75 parts of longhairy antenoron herb, 8-12 parts of common dysosmatis rhizome and root, 25-45 parts of barbed skullcap herb, 15-21 parts of salvia chinensis, 18-25 parts of spreading hedyotis herb, 10-15 parts of baical skullcap root, 8-12 parts of licorice, 6-14 parts of Indian Iphigenia bulb, 35-55 parts of indigo, 10-15 parts of black nightshade herb, 10-15 parts of asparagus and 8-10 parts of paniculate swallowwort root. The medicament disclosed by the invention is finely extracted from pure Chinese herbal medicines and has obvious analgesic, calmative and anti-cancer effects; the effect of suppressing respiratory tract and digestive tract tumors can achieve 45%; and the medicament is low in price and is a safe and effective treatment way.