However, the pyrolysis-gasification method for hydrogen production from biomass materials has some demerits. Firstly, higher temperature during pyrolysis inhibits the production of biomass char, converting more carbon into tar and carbonaceous gas , which may lead to a diminution in hydrogen production during the subsequent gasification. Moreover, incomplete conversion of biochar during gasification reduces hydrogen yield and concomitantly increases the formation of toxic gas CO, which poses another problem of this type of hydrogen production technology . To sustainably obtain hydrogen energy from agricultural feedstocks, this study investigated the generation pattern of hydrogen and other byproduct gases from biomass material (with or without pyrolysis pretreatment) during gasification and subsequently found out the optimum conditions for hydrogen production.