The invention discloses a veterinary medicine used for treating poultry diarrhea and a preparation technology thereof. The veterinary medicine used for treating poultry diarrhea comprises an inflammation diminishing layer, a sustained-release layer and a diarrhea alleviating layer which are sequentially adhered from the outside to the inside; the inflammation diminishing layer is prepared from thefollowing raw materials in parts by weight: 10-15 parts of rhizoma coptidis, 20-35 parts of roots of Chinese pulsatilla, 9-17 parts of kudzuvine roots, 10-20 parts of honeysuckle flowers, 10-15 partsof cogon grass rhizome, 3-15 parts of fructus forsythiae, 8-19 parts of baical skullcap roots, and 13-17 parts of herba houttuyniae; the sustained-release layer is prepared from the following raw materials in parts by weight: 80-90 parts of corn flour, 50-60 parts of soybean flour, and 5-10 parts of an adhesive; and the diarrhea alleviating layer is prepared from the following raw materials in parts by weight: 3-5 parts of rhizoma coptidis, 5-15 parts of white atractylodes rhizome, 17-25 parts of baked ginger, 10-15 parts of Chinese yams, 3-6 parts of radix astragali, 1-3 parts of Chinese angelica roots, 5-7 parts of white peony, 5-13 parts of corydalis tubers (yanhusuo), 5-12 parts of radix aucklandiae, 5-8 parts of radix sanguisorbae, 5-9 parts of halloysite, 9-23 parts of cutch, and 10-20 parts of liquorice roots. The veterinary medicine used for treating poultry diarrhea is capable of performing anti-inflammatory treatment on poultry before realizing of the anti-diarrhea effect; and thus, relatively good diarrhea alleviating effects can be achieved on the poultry.