In the hydrogen generator, the electrolysis electrode part electrolyzes water, but there is a porous ceramic catalyst that can be combined with oxygen generated during electrolysis to prevent the generation of ozone. Also, the resistance value of water is measured, but the change in the type of electrolyte dissolved in water and the concentration of the electrolyte is measured, and the voltage is varied according to the measured resistance value and applied to the water. Electrolyze water in an optimal amount with dissolved components to prevent the generation of harmful components.水素発生装置において、電気分解電極部が水を電気分解するが、多孔質セラミック触媒があって、電気分解時に発生する酸素と結合してオゾンの発生を防止することができる。また、水の抵抗値を測定するが、水に溶けている電解質の種類及び当該電解質の濃度による変化を測定して、該測定された抵抗値によって電圧を可変させて印加することによって、水に溶けている成分によって最適量で水を電気分解して、人体に有害な成分の発生を予防する。