The invention discloses a pig feed capable of enhancing immunity. The pig feed is prepared from the following raw materials in parts by weight: 120 to 130 parts of corn flour, 30 to 40 parts of wheat bran, 20 to 30 parts of cottonseed meal, 10 to 15 parts of watermelon peel, 4 to 5 parts of eggplant peel, 1 to 2 parts of licorice, 1 to 2 parts of folium ginkgo bilobae, 2 to 3 parts of folium artemisiae argyi, 1 to 2 parts of hawthorn fruit powder, 1 to 2 parts of limestone power, 5 to 6 parts of soybean meal, 6 to 9 parts of peas, 2 to 3 parts of grape seeds, 2 to 3 parts of camellia seeds, 1 to 2 parts of sucrose, 4 to 5 parts of feed attractant and a proper amount of water. According to the pig feed, the raw materials are natural, and are reasonably and scientifically proportioned, and the addition of chemical synthetic medicaments is avoided, so that the immunity of pigs can be effectively enhanced, the pig feed is nutrient-rich, and has broad market prospect, the daily gain can also be increased, the growth of the pigs is promoted, and culture benefits are improved; the added grape seeds have the effects of enhancing the immunity, protecting blood vessels and the like; the camellia seeds have the effects of enhancing the immunity of the pigs and resisting cancer.