Temporary hardness in water can be removed by boiling. When water is boiled, the calcium and magnesium bicarbonates decompose, forming insoluble calcium carbonate (CaCO3) and magnesium carbonate (MgCO3), which precipitate out of the water.