The cost of replacing a hot water heater unit in 2022 can vary substantially based on your needs. A heater replacement with a 50-gallon tank unit can cost between $400 and $1,000 on average. If you want to go tankless, the price tag might range between $1,500 and $2,500.