Can You DIY a Water Heater Installation?

Water heater installation sits right at the edge of code, gas, and electrical work, which is why it's a pro-only recommendation here. A straightforward electric tank-to-tank swap is sometimes tackled by very experienced DIYers, but gas units, tankless conversions, and anything touching venting should go to a licensed plumber — mistakes here range from a flooded utility room to a genuine carbon monoxide risk.

Difficulty
Hire a Pro
Time
2–4 hours (professional install)
Potential Savings
N/A — see below

This project requires a licensed professional

Requires licensing, specialized equipment, or carries serious safety risk.

The guidance below covers what to expect from the process and how to work effectively with your contractor.

Find a Water Heater Installation Pro Near You

Get free quotes from top-rated local pros. No obligation.

Sponsored — BuildCost may earn a referral fee at no extra cost to you. This site connects you with independent service professionals through a third-party matching platform.

What to Expect from the Process

1
Shut off water, power/gas, and drain the old unit

Fully drain the tank before disconnecting anything — a full tank is 300+ lbs and dangerous to move.

2
Disconnect and remove the old unit

Disconnect water lines, and gas or electrical supply, then remove the old tank using an appliance dolly.

3
Set the new unit and check code requirements

Confirm the new unit needs an expansion tank, seismic strapping, drip pan, or other code-required accessories — these are commonly missed on a straight swap and can fail inspection.

4
Connect water lines

Sweat or push-fit new connections, install a new pressure-relief valve discharge line routed correctly per code, and check for leaks under pressure.

5
Connect power or gas and venting

For gas units, connect the gas line, verify with a leak detector, and confirm venting meets clearance and slope requirements. For electric, verify correct wiring and breaker sizing.

6
Fill, test, and inspect

Fill the tank before powering on (running an electric element dry destroys it), check for leaks at every connection, and schedule the required permit inspection.

Pro Tips

  • A permit and inspection is required in most jurisdictions even for a straight swap — skipping it can be a real problem at resale
  • Tankless conversions almost always need new venting sized for the unit — budget for this even if the quote doesn't initially include it
  • Ask whether the new unit needs an expansion tank on a closed plumbing system — many homes now require one by code that the old unit didn't have

Watch Out For

  • ⚠Gas line work done incorrectly is a fire and carbon monoxide risk — this is not an area to learn on the job
  • ⚠A water heater without a properly routed pressure-relief valve discharge line can cause serious scalding or property damage if the valve activates
  • ⚠Skipping the permit/inspection can create real problems at resale when an inspector flags unpermitted work

Why You Need a Pro

  • →Any gas line connection, disconnection, or modification
  • →Tankless conversions, which usually require new venting and often a larger gas line
  • →Any electrical work beyond plugging into an existing dedicated outlet
  • →Basically all of it — this is the one category on this site where we don't recommend DIY beyond a simple electric tank swap for very experienced homeowners