# Can you create pure sodium metal by electrolysis of aqueous NaCl rather than molten NaCl?

I was researching how to make pure sodium from salt because I think it would be interesting to do. In all of the articles I read that talked about using NaCl they said to melt it and then use electrolysis. Would dissolving the NaCl in water then using electrolysis work? Electrolysis of NaCl dissolved in water produces H gas at one electrode and Cl gas at the other, which would leave O and Na. So could you just use electrolysis until a lot of Na was produced then boil off the water? Would the O bond to the Na to produce Na2O? If it would make sodium oxide then how difficult would it be to remove the O to get just the sodium?

Electrolysis of a NaCl solution produces NaOH as a remainder, not $Na_2O$. Even if Sodium reacted in such a electrolysis, it would react with water to produce $H_2$ and NaOH again.