A hydrogen generation apparatus for accommodating magnesium-based hydride and then generating hydrogen when water or an aqueous solution containing any one of an acidic and alkaline substance is poured, comprising: a hydrogen generation container (1, 60, 90) including an inner container (11, 62, 92) whose upper side is opened for accommodating magnesium-based hydride and an outer container (12, 61, 91) covering the inner container (11, 62, 92), the outer container (12, 61, 91) being provided with an exhaust hole (61b, 96b) for exhausting generated hydrogen and a liquid injection hole which is arranged above the inner container (11, 62, 92); a liquid tank (3, 50) for storing liquid that is water or the aqueous solution; a pipe (4a, 4b, 76) connected to the liquid tank (3, 50) and the liquid injection hole; a pump (5, 71) for operating to suction the liquid from the liquid tank (3, 50) and then pour the liquid through the pipe (4a, 4b, 76) into the liquid injection hole so as to generate hydrogen by pouring the liquid into the magnesium-based hydride; a pressure gauge (18, 65, 95) for measuring a pressure inside of the outer container (12, 61, 91); and a control means (74, 9) for controlling the amount of the liquid caused to flow through the pipe (4a, 4b, 76) by the pump (5, 71) on the basis of the pressure value of the pressure gauge (18, 65, 95), the hydrogen generation apparatus is characterized by comprising a second pipe connected to the exhaust hole (61b, 96b), wherein the liquid tank has a box shape and is provided with a hydrogen pipe which is joined to an upper bottom part of the liquid tank, one end of the hydrogen pipe is connected to the second pipe, and the other end of the hydrogen pipe is arranged near an inner bottom surface of the liquid tank. a hydrogen generation container (1, 60, 90) including an inner container (11, 62, 92) whose upper side is opened for accommodating magnesium-based hydride and an outer container (12, 61, 91) covering the inner container (11, 62, 92), the outer container (12, 61, 91) being provided with an exhaust hole (61b, 96b) for exhausting generated hydrogen and a liquid injection hole which is arranged above the inner container (11, 62, 92); a liquid tank (3, 50) for storing liquid that is water or the aqueous solution; a pipe (4a, 4b, 76) connected to the liquid tank (3, 50) and the liquid injection hole; a pump (5, 71) for operating to suction the liquid from the liquid tank (3, 50) and then pour the liquid through the pipe (4a, 4b, 76) into the liquid injection hole so as to generate hydrogen by pouring the liquid into the magnesium-based hydride; a pressure gauge (18, 65, 95) for measuring a pressure inside of the outer container (12, 61, 91); and a control means (74, 9) for controlling the amount of the liquid caused to flow through the pipe (4a, 4b, 76) by the pump (5, 71) on the basis of the pressure value of the pressure gauge (18, 65, 95), the hydrogen generation apparatus is characterized by comprising a second pipe connected to the exhaust hole (61b, 96b), wherein the liquid tank has a box shape and is provided with a hydrogen pipe which is joined to an upper bottom part of the liquid tank, one end of the hydrogen pipe is connected to the second pipe, and the other end of the hydrogen pipe is arranged near an inner bottom surface of the liquid tank.