The invention discloses environment-friendly pig feed and a preparation method thereof. The environment-friendly pig feed consists of the following raw materials: 60-70 parts of corn, 15-20 parts of soybean, 15-20 parts of rice chaff, 10-12 parts of leftovers of fish and shrimp, 8-10 parts of leftovers of fruits and vegetables, 3-5 parts of traditional Chinese medicine, 0.2-0.4 parts of salt and 1-2 parts of mixed microorganisms. The environment-friendly pig feed and the preparation method thereof have the advantages that the method is simple, the formula is reasonable, the palatability is good, and the nutrition is comprehensive; after the coarse grain, the fruits and the vegetables are fermented by various microorganisms, micromolecular nutrient substances are increased, so as to facilitate digestive absorption; the leftovers of fish and shrimp and the leftovers of the fruits and the vegetables are added, so that the waste can be changed into wealth, the pollution to environment caused by the leftovers and the handling expanse are reduced, in addition, the leftovers in the feed can enrich nutrition and are low in cost; the leftovers are mixed with various traditional Chinese medicines, so that the immunity is obviously enhanced, the weight is quickly increased, the skin is red, and the clothing hair is smooth; moreover, the feed does not contain any additive, so that the feed does not cause any harm to human and is safe to use.