Metals reacting with water
Only metals above hydrogen in the reactivity series will react with water. The speed of the reaction depends on how high up the metal is in the reactivity series. Some metals, such as iron, have slow reactions with water, while others like potassium react vigorously with water.
Some metals react with cold water to form a metal hydroxide and hydrogen gas:
sodium + water ⟶ sodium hydroxide + hydrogen
Other metals react with gaseous water to form a metal oxide and hydrogen gas:
magnesium + water ⟶ magnesium oxide + hydrogen