Replacement water heaters typically are required to meet current building codes, which may mean upgrading the existing water and gas lines, installing new valves and other parts, and the addition of an expansion tank[2] to minimize pressure build-up.