Hydrogen fuel can be produced from methane or by electrolysis of water. As of 2020, the majority of hydrogen (∼95%) is produced from fossil fuels by steam reforming or partial oxidation of methane and coal gasification with only a small quantity by other routes such as biomass gasification or electrolysis of water.