The hydrogen is released and the hydroxide bonds with the sodium to make sodium hydroxide . Olives are often soaked in sodium hydroxide to soften them , while pretzels and German lye rolls are glazed with a sodium hydroxide solution before baking to make them crisp . Owing to the difficulty in obtaining food grade sodium hydroxide in small quantities for home use , sodium carbonate is often used in place of sodium hydroxide .