Electrolysis of water is the decomposition of water (H2O) into oxygen (O2) and hydrogen gas (H2) due to an electric current being passed through the water. The reaction has a standard potential of −1.23 V, meaning it ideally requires a potential difference of 1.23 volts to split water.
This technique can be used to make hydrogen fuel (hydrogen gas) and breathable oxygen; though currently most industrial methods make hydrogen fuel from natural gas instead.
Jan Rudolph Deiman and Adriaan Paets van Troostwijk used, in 1789, an electrostatic machine to make electricity which was discharged on gold electrodes in a Leyden jar with water. In 1800 Alessandro Volta invented the voltaic pile, and a few weeks later William Nicholson and Anthony Carlisle used it for the electrolysis of water. When Zénobe Gramme invented the Gramme machine in 1869 electrolysis of water became a cheap method for the production of hydrogen. A method of industrial synthesis of hydrogen and oxygen through electrolysis was developed by Dmitry Lachinov in 1888.
A DC electrical power source is connected to two electrodes, or two plates (typically made from some inert metal such as platinum, stainless steel or iridium) which are placed in the water. Hydrogen will appear at the cathode (where electrons enter the water), and oxygen will appear at the anode. Assuming ideal faradaic efficiency, the amount of hydrogen generated is twice the amount of oxygen, and both are proportional to the total electrical charge conducted by the solution. However, in many cells competing side reactions occur, resulting in different products and less than ideal faradaic efficiency.