In the electrolysis of molten NaCl, Cl2 is obtained at the anode as a by product.


If an aqueous solution of NaCl is electrolyzed, Cl2 will be obtained at the anode but at the cathode, H2 will be obtained (instead of Na). This is because the standard reduction potential of Na (E°= − 2.71 V) is more negative than that of H2O (E° = − 0.83 V). Hence, H2O will get preference to get reduced at the cathode and as a result, H2 is evolved
