A hydrocarbon such as methane is contacted with a catalyst under moderate conditions of temperature and pressure and decomposed into carbon, which remains on the catalyst, and hydrogen, which is mechanically removed. The hydrogen produced is about 94% pure when the charge stock is methane.