On board hydrogen generation from the hydrolysis of an active metal is very attractive due to its economical, convenient, and safe reasons. A Mg-graphite pellet has been designed as a hydrogen source for portable fuel cell. Mg (1 g) + 0.10 g graphite pellet showed an excellent hydrogen generation rate that is equivalent to 15.8 ml/g.min from its hydrolysis. The hydrogen generation rate of the pellet is significantly increased due to the galvanic corrosion by galvanic cells between Mg anode and graphite cathode in a 10.wt. % NaCl solution at a room temperature.