The invention discloses a foam carbon preparation method based on waste biomass. The method comprises the following steps that waste biomass is pretreated; 2, the waste biomass is liquefied; 3, a liquefaction product is resinified, and a resin product is obtained; 4, the resin product is foamed, and a foam carbon precursor is obtained; 5, the foam carbon precursor is chemically activated and carbonized, and foam carbon is obtained. According to the foam carbon preparation method based on the waste biomass, the forestry waste biomass, the agriculture waste biomass and the aquatic plant waste biomass are taken as raw materials and can partially replace traditional petroleum and coal chemical industry intermediates to serve as raw materials for synthesizing the foam carbon, therefore, the economic cost is effectively reduced, and the raw material shortage problem is solved. By combining a liquefaction technique, a resinification technique, a foam carbon precursor preparation technique and an activation technique, the porous foam carbon with the uniform size and the ordered structure can be synthesized, and the application value and the economic benefit of the foam carbon are increased.