In this study, forest residues (limbs, tops, and branches) and straw (from wheat and barley) are considered for producing biohydrogen in Western Canada for upgrading of bitumen from oil sands. Two types of gasifiers, namely, the Battelle Columbus Laboratory (BCL) gasifier and the Gas Technology Institute (GTI) gasifier are considered for biohydrogen production. Production costs of biohydrogen from forest and agricultural residues from a BCL gasification plant with a capacity of 2000 dry tonnes/day are $1.17 and $1.29/kg of H-2, respectively. For large-scale biohydrogen plant, GTI gasification is the optimum technology. The delivered-biohydrogen costs are $2.19 and $2.31/kg of H-2 at a plant capacity of 2000 dry tonnes/day from forest and agricultural residues, respectively. Optimum capacity for biohydrogen plant is 3000 dry tonnes/day for both residues in a BCL gasifier. In a GTI gasifier, although the theoretical optimum sizes are higher than 3000 dry tonnes/day for both feedstocks, the cost of production of biohydrogen is flat above a plant size of 3000 dry tonnes/day. Hence, a plant at the size of 3000 dry tonnes/day could be built to minimize risk. Carbon credits of $119 and $124/tonne Of CO2 equivalent are required for biohydrogen from forest and agricultural residues, respectively. (C) 2009 Elsevier Ltd. All rights reserved.