The invention belongs to the field of organic fertilizer technology, and specifically relates to a method for planting agaricus blazei murill and co-producing an organic fertilizer by using fungi residues of agaricus blazei murill. The method comprises the following technological processes: collecting crop straw, performing concentrated grinding, mixing, pre-wetting the straw with water, adding cow dung to build a pile, adding calcium superphosphate, mineral substances and quick lime during three times of moisture measurement and pile turning processes, putting the mixture into a shed, placing the mixture on a bed surface, performing secondary fermentation, arranging the bed surface, measuring moisture and spraying water, sowing seeds, performing soil covering treatment, covering soil for the second time, spraying the water, fruiting, spreading earthworm species, breeding earthworms, and screening out the earthworms to prepare the organic fertilizer. According to the method suitable for planting agaricus blazei murill in the north, provided by the invention, agaricus blazei murill is suitable for being planted in the North through secondary soil filling, the yield also can be increased, the size of the mushroom is uniform, and the quality of the mushroom is good; and the prepared organic fertilizer not only can prevent diseases and inhibit bacteria, but also can promote the growth of plants.