[Problem] The purpose of the present invention is to provide a rechargeable, compact, and inexpensive electrolytic hydrogen and oxygen gas inhaler that can be freely carried around by a user, and can also selectively generate hydrogen and oxygen. [Solution] This electrolytic hydrogen and oxygen gas inhaler is characterized by comprising: an electrolytic cell that can store water and is constituted from an upper part and a lower part, which are integrally molded together and the interiors of which are fluidically connected to each other; a pair of electrodes that are disposed in the lower part of the electrolytic cell, are upright in a direction substantially parallel to the longitudinal direction of the electrolytic cell, and face each other in the lateral direction; a battery; and a control board that supplies power from the battery. This invention is also characterized in that: the supply of power from the battery to each of the electrodes is allowed or cut off by the control board; a partitioning member is provided integrally molded together with the lower part of the electrolytic cell so as to pass between the pair of electrodes and extend downward from the boundary between the upper part and the lower part of the electrolytic cell; the pair of electrodes are fluidically connected in the lower part of the electrolytic cell; and an opening/closing means is further provided for enabling switching of a gaseous connection between the upper part of the electrolytic cell, and one and/or the other of the pair of electrodes separated by the partitioning member.La présente invention a pour but de fournir un inhalateur de gaz hydrogène et oxygène électrolytique rechargeable, compact et économique pouvant être facilement porté par un utilisateur et pouvant par ailleurs générer sélectivement de l'hydrogène et de l'oxygène. À cet effet, l'inhalateur de gaz hydrogène et oxygène électrolytique selon l'invention comprend : une cellule électrolytique qui peut stocker de l'eau et