The invention provides a fertilizer with a disease and pest resistant effect for loquat planting. The fertilizer is prepared from an organic fertilizer, urea, ammonium bicarbonate, humic acid, ammonium phosphate, selenium sodium humate, potassium sulfate, monopotassium phosphate, sodium citrate, chitosan, milkvetch root powder, radix salviae miltiorrhizae powder, garlic powder, sorbitol, yeast powder, microelements, a soil modifier and an antioxidant. According to the fertilizer with the disease and pest resistant effect for loquat planting, the components are reasonable, the nutrition is rich and balanced, necessary nutrient substances, nutritional ingredients and the microelements in the growth process are included, loquats are promoted to grow rapidly and healthily, the immune capacity of loquat trees can be improved, and the morbidity of the loquat trees is effectively decreased. The soil modifier and the antioxidant can effectively improve the soil environment for loquat growth, dry matter accumulation is promoted, the root activity of the loquats is increased, the fruit yield is increased, the fruit ripening time is shortened, the produced loquat fruits are large, the kernels are small, the taste is sweet, and the nutrient substances are rich.