The present invention discloses a fermented pig feed, which is prepared from the following raw materials by weight: 100 to 130 parts of corn, 10 to 17 parts of tea dreg, 4 to 6 parts of bone meal, 10 to 16 parts of soybean powder, 2 to 3 parts of banana leaf, 1 to 2 parts of hybrid pennisetum herb, 2 to 3 parts of cayenne pepper leaf, 3 to 5 parts of celery powder, 3 to 4 parts of pitaya peel, 2 to 3 parts of matteuccia struthiopteris, 2 to 4 parts of brewer's yeast powder, 3 to 4 parts of pomelo skin, 5 to 7 parts of beet pulp, 2 to 3 parts of lily, 1 to 2 parts of licorice and 2 to 3 parts of nutrition flavoring agent. According to the present invention, piling fermentation of the pig feed improves the feed taste, extends the shelf life of the feed, prevents pathogenic microorganisms in pigs' body from colonizing, growing and reproducing, and restores and maintains the pigs' intestinal microflora balance, thereby improving immunity and disease resistance, enhancing disease resistance and antibacterial ability, and reducing the incidence of pigs.