The invention discloses a functional bioorganic fertilizer and a semi-organic fertilizer and a preparation method thereof. The method comprises the following steps of: adding microzyme into livestock manure to perform anaerobic and aerobic fermentation; deodorizing, drying and crushing (after biogas slurry of residues after fermentation in a methane tank is separated, the biogas dregs are dried and crushed); adding a certain amount of humic acid, amino acid, borax, ammonium molybdate and zinc sulfate, or also adding nitrogen, phosphor and kalium inorganic nutrients; automatically blending materials by using a computer according to a proportion; after uniformly stirring, granulating by using a granulator, and drying, cooling and screening the grains; and coating a synergist and nitrogen-fixing, phosphorous-dissolving and potassium-releasing composite bacteria on qualified grains to prepare the functional bioorganic and semi-organic fertilizers. The product has the functions of preserving moisture and fertility, resisting drought, coldness, plant diseases and insect pests and the like, improves the soil structure, promoting the proliferation of beneficial microorganisms in soil, jointly participating substance circulation of a soil ecosystem and the like, has quick response and long effect, is mainly used as a base fertilizer for crops to save time and manpower, can realize waste recycling, protects ecological environment, integrates land utilization, land nourishment and land protection, and ensures constant soil productivity.