The invention discloses a fruit tree ecological fertilizer prepared from the raw materials of, by weight: 300-340 parts of dried live stock and poultry manure, 60-70 parts of weathered coal, 30-35 parts of fly ash, 10-12 parts of plant ash, 10-12 parts of humic acid, 20-24 parts of urea, 13-16 parts of potassium chloride, 8-10 parts of potassium dihydrogen phosphate, 6-9 parts of magnesium chloride, 1-2 parts of sulfur, 6-9 parts of an EM inoculant, 10-15 parts of a soil conditioner, and proper amount of water. According to the fertilizer, dried live stock and poultry manure is adopted as a main raw material, and the ecological fertilizer is prepared through microbial fermentation and composting. The ecological fertilizer is rich in various functional microbes and rich trace elements, and assists in improving soil structure. The fertilizer has nourishing, conditioning, and health-care functions upon crop growth. Also, the added fly ash has a porous honeycomb tissue, and has high specific surface area, high absorption activity, and high water absorption performance. The other components in the humic acid fertilizer are combined, and have synergetic effects in improving soil, stimulating crop growth, improving agricultural product quality, and the like.