The contained hydrogen sulfide in the biogas would lead to corrosion of the metal equipment. In addition, the high concentration of hydrogen sulfide can also harm the health of humans and animals. As for renewable energy for both environmental protection and safety, the biogas must be removed and purified before being used. In this study, a solid-state desulfurization device was designed. The biogas flows through the bottom of the transparent desulfurization column which is made of acrylic glass. The iron oxide particles were placed in the desulfurization column as desulfurizer. The biogas desulfurization test was carried out by changing the different biogas flow and the height of the iron oxide particles in the desulfurization column, the change of the hydrogen sulfide concentration with the test time was measured and the removal rate of hydrogen sulfide in the biogas was analyzed. The experimental result shows the removal rate of hydrogen sulfide decreases with the increase in biogas flow, and it also increases with the iron oxide particle height in the desulfurization column. A longer stagnation within the desulphurization column improves the removal efficiency of hydrogen sulfide. In addition, the removal efficiency of hydrogen sulfide gradually decreases with an increased desulfurization period. The average desulfurization efficiency was 95.16% at a biogas flow of 25 ℓ/min, iron oxide particle height of 15.3 cm and desulfurization period of 70 minutes.