A solution of sodium chloride is electrolyzed and sodium hydroxide is made around the cathode , where water is reduced to hydrogen gas and hydroxide ion . The hydrogen is released and the hydroxide bonds with the sodium to make sodium hydroxide . Solid sodium hydroxide is obtained from this solution by the evaporation of water .