This cost guide is for Sonoran Desert (Phoenix, Tucson, Yuma), so its prices, rules and local advice may not match where you are. See the guide for Las Vegas, NV.

Plumbing

Water heater replacement cost in the Sonoran Desert (2026): Phoenix, Tucson and Yuma

By BookTheFix TeamUpdated November 22, 2026 ¡ 7 min read

Hot water heater replacement code requirements

This guide is for homes in Phoenix, Tucson and Yuma.

Replacing a standard tank water heater averages about $1,700 installed. A basic electric tank can start around $970, and a large gas tank can reach $4,000. Tankless systems average about $2,800 installed and run up to about $4,500, plus up to about $800 when a new gas line is needed. Code items such as venting, a drain pan and a relief line are part of a proper install and show up in the price.

Typical prices

JobAs low asAverageAs high as
Tank water heater, installed$970$1,700$4,000
Tankless water heater, installed$1,058$2,800$4,500
New gas line for a tankless heater——$800

These figures are published ranges and averages from cost guides, listed under Sources, shown so you know what to expect. They are not quotes or price limits. A dash means the guide doesn’t publish that figure. The company that does the work sets the price after seeing the job.

Why your price can be higher or lower

  • The company. Overhead, licensing, insurance, warranty terms and whether they charge flat-rate or hourly.
  • Size and fuel. Tank capacity, gas or electric, and high-efficiency or heat pump models change the equipment cost.
  • Bringing it up to code. Relief-valve drain lines, drain pans, gas shutoffs, expansion tanks and raising garage gas units 18 inches are often part of a replacement.
  • Venting and gas lines. Tankless units often need a larger gas line and new venting, which adds labor and material.
  • Location. Attic, closet and tight garage installs take longer than an open garage floor.
  • Permits, inspection and haul-away of the old tank, plus after-hours or emergency calls.

Hard water is the big Sonoran Desert factor

Tap water in the Phoenix area is hard: the City of Phoenix notes hardness in Arizona can reach 20 grains per gallon, and those minerals deposit scale in pipes, fixtures and water heaters.

  • Sediment insulates the bottom of a gas tank from the burner, so it takes longer and more gas to heat water. You may hear popping or rumbling.
  • In electric tanks, scale builds up on the lower element until it burns out.
  • The anode rod, which protects the tank from rust, wears out faster.
  • Tankless units need their heat exchanger descaled regularly in hard water, often once a year, or they lose efficiency and throw error codes.

What the code requires (and why quotes include it)

In the City of Phoenix, a water heater replaced by a licensed contractor doesn’t need a permit. A homeowner replacing an electric water heater themselves does. Other Valley cities set their own rules. Inside Tucson city limits, permits go through the City of Tucson Planning and Development Services Department. Homes in unincorporated Pima County go through Pima County Development Services instead. Inside Yuma city limits, permits go through the City of Yuma Building Safety Division. Homes in unincorporated Yuma County go through Yuma County Development Services instead. Common requirements include:

  • A temperature and pressure relief line that drains to an approved place, ending a few inches above the floor or ground and pointing down.
  • A drain pan that drains to a proper place when the heater sits where a leak would cause damage.
  • Gas heaters in a garage raised 18 inches off the floor, and a gas shutoff valve near the heater.
  • An expansion tank when the home has a closed plumbing system, such as a check valve or pressure regulator.
  • Proper venting for gas units, and an electrical disconnect for electric units.

Requirements vary by city, so ask your plumber which apply to your address.

Repair or replace?

  • A leaking tank means replacement. Tanks can’t be patched.
  • No hot water, or not enough, is often a part: a gas valve, igniter or thermocouple on gas units, or an element or thermostat on electric units. These are usually worth repairing on a newer heater.
  • Rusty hot water, a rotten-egg smell or loud rumbling point to a worn anode rod or heavy sediment. On an older tank, that is often a sign replacement is coming.

Tank or tankless?

  • Tank: lower up-front cost and simpler repairs. Size it for your household (40 to 50 gallons covers most homes, larger for big families).
  • Tankless: endless hot water, a smaller footprint and longer life, but a higher install price, possible gas line and venting upgrades, and yearly descaling in hard water.
  • Heat pump water heaters use far less electricity than standard electric tanks. The federal tax credit that applied to them ended for equipment installed after December 31, 2025, so check current utility and manufacturer rebates instead.

Hiring the right pro

Plumbing work in Arizona needs a license from the Arizona Registrar of Contractors (R-37 for plumbing). Look up the company on the Arizona Registrar of Contractors website (roc.az.gov). Jobs over $1,000 in labor and materials, or any job that needs a permit, need a licensed contractor.

Hiring a licensed contractor also protects you. If a licensed residential contractor doesn’t do the work properly on the home you live in (or plan to live in), Arizona’s Residential Contractors’ Recovery Fund can pay up to $30,000 per claim. Unlicensed contractors aren’t covered.

Ready for quotes? Find local plumbing companies in the BookTheFix Contractor Directory.

Sources

This article is general information for homeowners. Every home and system is different, so have a licensed professional evaluate yours before making repair or replacement decisions.

More from the Education Center