# Does the electrolysis of water produce chlorine gas?

http://orbitingfrog.com/2014/11/02/electrolysis-of-water-with-pencils-and-a-9v-battery/

This article seems to indicate that "a small amount of Chlorine may be produced as you [perform electrolysis on water]". Is this true? I thought it was just H2 and O2 produced.

• Water chloration is used to kill some bacteria and microbes in tap water. More info en.wikipedia.org/wiki/Water_chlorination that menas, that chlorine can be produced. – Jaroslav Kotowski Oct 13 '15 at 5:53
• If you use tap or lake water, it will contain a noteable amout of $\ce{NaCl}$ whose chloride ion will be electrolysed to $\ce{Cl2}$. This has nothing to do with water chlorination. (Actually the article says to ‘use a spoonful of salt’, so you’re actively adding more chloride.) – Jan Oct 13 '15 at 8:03
• If you use salt for the electrolyte, you won't get much oxygen... mostly chlorine (and hydrogen at the negative electrode, of course). – DrMoishe Pippik Oct 13 '15 at 21:47

## 3 Answers

It's the tablespoon of salt he added, giving the chlorine when electrolysis is done. I have done electrolysis with salt-free water (though a bit acidic to get the water to electrolyze faster) and chlorine was nowhere to be found.

Electrolysis of saltwater produces hydrogen and chlorine; and leaves sodium hydroxide behind.

You get chlorine gas as a product only when NaCl is added, as mentioned by @Nihilist_Frost. Even on addition of NaCl, oxygen gas must be the product(expected) because it has slightly lesser reduction potential than chlorine. But this is not the case because of over-potential of oxygen, which makes this half-reaction unfavorable. This is specifically termed as Bubble Overpotential.

P.S.: I tried to find a link for bubble over-potential, but I am afraid it is not available on the internet.

P.S.S.: Electrolysis of pure water produces only H2 and O2, and that too of very high purity (in the range of 99.5%)

I've read the question and read the replies. Firstly the question is misleading as water does not conduct electricity, it is only the impurities in the water that do which is why an electrolyte is always added to water during the process of electrolysis. Secondly when an electrolyte is added to water the water becomes a solution of the electrolyte, for example, add sodium chloride to water it will become a sodium chloride (salt) solution. So when we look at the products of the electrolysis of a salt solution we can see that we are splitting the sodium from the chloride producing chlorine at the anode and a sodium based gas at the cathode (which is palmed off as hydrogen). This is characteristic of any electrolysis process involving a solution. So to answer your question, one should always produce chlorine by electrolysis when there is a chloride present in the solution.