A liquid fertilizer containing biogas slurry is composed of 50-80 weight parts (the same as below) of biogas slurry concentrated solution, 20-30 parts of urea, 15-25 parts of potassium dihydrogen phosphate, 1-3 parts of calcium chloride, 2 -4 parts of magnesium sulfate heptahydrate, 1-1.5 parts of ferric chloride hexahydrate, 0.8-1 parts of zinc sulfate heptahydrate, 0.5-1 parts of boric acid, 0.4-0.7 parts of ammonium molybdate tetrahydrate, 0.2-0.3 parts of cupric sulfate pentahydrate, 0.1-0.2 parts of manganese chloride tetrahydrate, 3-5 parts of citric acid monohydrate, 1-5 parts of ascorbic acid, 1-5 parts of between 80, whose pH value is 7-8.5, the use of liquid fertilizer is diluted 500-2000 times with water, the pH value is adjusted to 6-7 by acid, the liquid fertilizer can be used as soilless culture and / or foliage fertilizer to spray, has advantages of stable fertilizer, rich and perfect nutrient ingredients, abundant sources of material, low cost, environmental protection, large usable floor area due to convenient transportation.