The invention relates to a slow-release and long-acting composite fertilizer. The composite fertilizer is prepared from, by weight, 5-10 parts of Lactobacillus plantarum, 5-10 parts of Geotrichum candidum, 5-10 parts of microzyme, 5-10 parts of a microbial inoculum, 80-120 parts of straws, 30-50 parts of bagasse, 30-50 parts of rice husk, 30-50 parts of mushroom fungus residues, 30-50 parts of animal night soil, 30-50 parts of water, 30-50 parts of a modified carrier, 0.5-1 part of a water retaining agent, 3-6 parts of gelatin, 0.5-3 parts of beta-cyclodextrin, 3-5 parts of alkyl glycoside, 0.5-2 parts of a composite enzyme preparation, 0.5-1 part of citric acid, 5-10 parts of potassium fulvate powder, 5-10 parts of ammonium molybdate, 5-10 parts of urea phosphate, 5-10 parts of ferrous sulfate, 3-5 parts of zinc sulfate heptahydrate, 3-5 parts of sodium borate, 3-5 parts of sorbitan fatty acid ester and 1-3 parts of N-(n-butyl)thiophosphoric triamide. The composite fertilizer has a coating structure, so the fertilizer effect is lasting and controllable, and the utilization rate of nutrient elements is high.