The invention relates to organic fertilizer and a preparation method thereof. The organic fertilizer comprises main materials, auxiliary materials and microflora, wherein the main materials comprise the following raw materials: human and animal waste, fruit residue, cane trash, grain stillage, saccharified residue, vinegar residue, starch pulp, cassava residue, citric acid residue, soy sauce residue, sodium glutamate residue, soybean curb residue, oil residue, rape cake, cottonseed and rapeseed meal and slops; the auxiliary materials comprise the following raw materials: furfur, sawdust, ricehull flour, leaves and weeds, melon vines, rice straw, pine nut shells and peanut shells; the microflora comprises the following bacteria: bacillus subtilis, bacillus megatherium, bacillus mucilaginosus, bacillus licheniformis, bacillus thuringiensis, bacillus laterosporus, bacillus mucilaginosus, streptomyces jingyangensis, mycorrhiza fungi, azotobacter vinelandii, bacillus coagulans, aspergillusoryzae and paecilomyces lilacinus. The organic fertilizer can promote the growth of crop roots, improve the fertilizer absorption capacity and reduce the occurrence of pest damage, ensures that the content of nutritional ingredients in crop fruits is high, and is simple in preparation method.