The present invention discloses a pumpkin residue feed with an effect of shrimp blast prevention, and a preparation method thereof, wherein the raw materials comprise, by weight, 250-280 parts of pumpkin residue, 2-3 parts of zanthoxylum bungeanum shell, 17-19 parts of flax cake, 7-8 parts of peanut vine, 12-15 parts of wheat germ, 3-4 parts of chicken bone oil, 4-5 parts of forsythia suspensa leaf, 2-3 parts of allium chinenes g.don, 2-3 parts of prunus mume, 20-25 parts of puffed rice bran, 15-17 parts of whole wheat powder, 13-16 parts of tofu residue, 11-14 parts of secale cereale bran, 0.3-0.5 part of baker's yeast, 2-3 parts of a pulsatilla chinensis extraction liquid, 1-2 parts of isatis tinctoria powder, 1-3 parts of radix scrophulariae powder, and 1-2 parts of nanometer silica. The pumpkin residue feed of the present invention has characteristics of aroma, feeding attraction, good palatability, shrimp immunity improving, shrimp virus resistance improving, shrimp blast prevention, shrimp life vitality enhancing, shrimp growth and weight gain promoting, feed digestibility improving, material consumption reducing, and feed cost reducing.