A preparation method of a traditional Chinese medicine micro-ecological oral preparation for preventing and treating staphylococcosis in chickens comprises the following steps of taking eucommia, a barberry root, a root of Chinese pulsatilla, fructus forsythiae, hyodeoxycholic acid, herba violae, hibiscus mutabilis, fructus chaenomelis, poria cocos, waxgourd peel, astragalus mongholicus, codonopsis pilosula and liquorice, carrying out superfine grinding on other traditional Chinese medicines than hyodeoxycholic acid, adding an alcohol solution, boiling with strong fire, holding the temperature with soft fire, cooling, filtering, concentrating filtrate, adding white sugar for boiling, cooling to the room temperature, inoculating lactobacilli, tea fungus and saccharomycete, fermenting for 96-118h till white fungus blocks grow, and III, diluting the bacterium masses and bacterium liquid at 1:(50-80), and carrying out secondary fermentation for 18-24h to form the micro-ecological oral preparation. The traditional Chinese medicine micro-ecological oral preparation can increase the quantity of beneficial florae in an intestinal tract, improve an immunologic function and enhance disease resistance of chicken bodies. The method has the benefits that a content of cholesterol in an egg is reduced; a content of essential amino acid is increased; a preventive effect is good; a cure rate reaches 95%; the preparation method is simple; a content of live bacteria is high; and the oral preparation is convenient to use, green and non-residual.