The invention discloses feed for improving the immunity of weaning piglets. The feed consists of the following components in parts by weight: 100-200 parts of corn flour, 150-180 parts of rice meal, 150-200 parts of flour, 100-180 parts of expanded soybean meal, 30-50 parts of fish meal, 120-150 parts of soybean meal, 80-120 parts of soybean concentrate, 80-120 parts of whey powder, 80-120 parts of glucose, 50-100 parts of serum concentrate, 20-45 parts of soybean oil, 20-45 parts of calcium hydrogen phosphate, 30-60 parts of calcium formate, 5-15 parts of lysine, 1-3 parts of methionine, 3-6 parts of threonine, 5-10 parts of compound trace elements, 1-2 parts of compound vitamin, 1-2 parts of probiotics, 10-20 parts of short chain fatty acids, 5-8 parts of organic compound acid, 0.5-1 part of enzyme preparation and 1-2 parts of plant extracts. The feed provided by the invention can be used for improving the sub-health status generated in the weaning process, avoiding the negative growth of the weight of piglets, reducing the mortality and incidence of diseases, and realizing the rapid growth of weaning piglets.