Switching to an Electric Water Heater: Your Step-by-Step Guide

November 8, 2026by Bob McArthur

Thinking of ditching your gas water heater? You’re likely tired of the pilot light, worried about gas lines, or just want something simpler. This guide walks you through the real steps.

We will cover whether you should switch at all, how to pick the right electric model, the real cost breakdown, and the hands-on steps for a safe installation or conversion.

I’ve swapped out dozens of these units on service calls and did the same project in my own home. The biggest thing you need isn’t a fancy tool, it’s a solid plan before you touch a single wire or pipe.

First Things First: Is Switching to Electric Right For You?

Switching your water heater is a big decision. You need to see the full picture before you pick up a single tool. Let’s break down what you’re really getting into.

Gas vs. Electric: The Core Comparison

Here’s the quick side by side look. This table lays out the basic trade-offs.

Gas heaters heat water faster and cost less to run in most areas. Electric heaters are simpler to install, often cheaper to buy, and can be more efficient on paper. Different types of water heaters have varied benefits.


Operating Costs, Upfront Price, and Efficiency

Your utility bill tells the real story. Natural gas has historically been cheaper than electricity per unit of energy in most of the country. Check your last bill. Compare the cost per therm of gas to the cost per kilowatt-hour of electricity.

A standard gas water heater might use about 40 therms a month, while an electric one might use 400 kWh. Do the math for your local rates when comparing gas vs electric water heater costs.

The sticker price tells a different story. A standard 50-gallon electric tank often costs $200-$400 less than its gas counterpart right off the shelf.

Efficiency metrics can be confusing. Gas heaters lose heat up the flue. Their efficiency is measured in Uniform Energy Factor (UEF). A good one is around 0.67. Electric heaters have no flue loss, so their UEF is higher, often over 0.90. This doesn’t mean they’re cheaper to run, just that they waste less of the energy they pay for.

Can You Convert a Gas Heater to Electric?

No. You cannot convert a gas water heater into an electric one. The tank itself is built differently.

A gas tank has a large flue running up the center for the burner. An electric tank has ports in the sidewall for one or two heating elements. You cannot safely or effectively retrofit electric elements into a gas tank design.

Switching from gas to electric means a full replacement. You are buying a brand new electric water heater and installing it, rather than just performing a gas water heater replacement.

Understanding Recovery Rate

This is the biggest practical difference you’ll feel. Recovery rate is how many gallons of hot water the heater can produce in one hour.

Gas heaters are fast. A typical 40-gallon gas unit can recover about 40 gallons per hour. Electric heaters are slower. A similar 40-gallon electric unit might only recover about 14 gallons per hour.

What does this mean for you? With an electric heater, if you use up the hot water in the tank, you’ll wait longer for more. A long shower can empty the tank, and the next person might have to wait an hour or more for a full tank of hot water again.

To compensate for slower recovery, many homeowners install a larger electric tank or use strategies like staggered showers.

Getting Your House Ready: The Pre-Installation Checklist

Once you decide to switch, preparation is everything. Rushing leads to leaks, shocks, or failed inspections. Follow this list.

Safety First: Shut Everything Down

Before you touch the old heater, make it safe. Do these steps in order.

  1. Turn the gas control valve on the heater to “OFF.”
  2. Go to your main gas shutoff valve and turn it to the off position. This is usually a quarter-turn valve.
  3. Shut off the cold water supply line to the heater.
  4. Turn off the electrical power to the area at the circuit breaker. Even gas heaters have an electric ignitor or fan.

Never assume a line is safe. Test that gas and water flow have stopped by trying to light a burner (after gas is off) and opening a hot water tap.

Electrical Requirements: Building a New Circuit

Your old gas line is now useless. You need a proper electrical circuit. This is often the most complex part of the job.

  • Voltage: All standard electric tank water heaters require 240 volts.
  • Dedicated Circuit: The heater must be the only thing on this circuit.
  • Breaker Size & Wire Gauge:
    • 30-amp breaker typically uses 10/2 wire (for smaller, low-wattage heaters).
    • 40-amp or 50-amp breaker typically uses 8/2 wire (common for 4500-watt elements).
    • 60-amp breaker typically uses 6/2 wire (for large units or 5500-watt elements).

You must match the wire gauge and breaker size to the heater’s specifications listed on its label. Using undersized wire is a fire hazard.

Selecting the Right Tank Size

Bigger is usually better with electric, thanks to that slow recovery rate. Don’t just guess.

Use the First Hour Rating (FHR). This number, found on the Energy Guide label, tells you how many gallons of hot water the heater can deliver in the first hour of use. It accounts for tank size and recovery rate.

A simple estimate: a 1-2 person home needs an FHR of about 40-50 gallons. A 3-4 person home needs 50-70 gallons. For a family of 4 or more, I installed an 80-gallon electric heater in my own home to prevent morning cold showers. When sizing a unit, the key is to match capacity to usage patterns and peak demand. In the next step, you’ll learn how to choose water heater size capacity for your home.

Permits and Codes (IPC/UPC)

Most localities require a permit to install a new water heater. An inspector will check the work.

They follow model codes like the International Plumbing Code (IPC) or Uniform Plumbing Code (UPC). Common things they check:

  • A proper temperature and pressure relief valve discharge line.
  • Correct electrical connections and conduit.
  • Strapping or seismic bracing if required in your area.
  • Proper sediment trap and shutoff on the old gas line (which will be capped).

Call your local building department. Getting a permit protects you. An uncertified installation can void your home insurance if something goes wrong.

Straightforward Cost Breakdown

Know what you’re paying for. Here’s where the money goes.

  • Unit Price: $500 – $1,500 for a standard 40-80 gallon electric tank.
  • New Electrical Run: $300 – $1,200. This depends on distance from your panel and if your panel has space. This is the big variable.
  • Plumbing: $200 – $500 for basic water connections, drain pan, and discharge pipe.
  • Permits: $50 – $200.
  • Professional Labor (if not DIY): $500 – $1,000 for installation.

The total for a professional install often lands between $1,500 and $3,500. The new electrical circuit is usually the most expensive single part after the tank itself.

The DIY vs. Pro Verdict: What Can You Handle?

This entire job gets a difficulty rating of 8 out of 10. It mixes simple plumbing with serious gas and electrical work where one mistake has big consequences. You need to know your limits.

As a homeowner, you can confidently handle several parts. Draining and moving the old tank is straightforward. Connecting new water lines with threaded fittings is also within reach if you’re comfortable with a pipe wrench and Teflon tape. I’ve prepped and moved many old tanks in my own basement to make room for new equipment.

You must hire a licensed professional for two critical phases. Any work on the gas supply line, including capping it, is a pro-only task. Running a new, dedicated 240-volt electrical circuit from your panel and wiring it into the heater is strictly for a licensed electrician.

Hiring pros isn’t just about skill, it’s about legality, insurance, and safety; an improper gas cap can leak, and faulty electrical wiring can cause a fire, potentially voiding your home insurance if you did the work yourself. Most areas also require permits and final inspections for this type of fuel change, which a licensed contractor will handle.

Step-by-Step: Swapping the Gas Heater for an Electric One

Phase 1: Safe Removal of the Old Gas Unit

Safety is everything here. Follow these steps in order.

  1. Turn off the gas supply. Find the dedicated shut-off valve on the flexible gas line feeding the heater and turn it to the off position (the valve handle will be perpendicular to the pipe).
  2. Shut off the cold water supply to the heater. It’s the pipe with a valve on top of the tank.
  3. Connect a garden hose to the tank’s drain valve and run it to a floor drain or outside. Open the drain valve and a nearby hot water faucet to let air in and drain the tank completely.
  4. Once drained, disconnect the water lines. Use two wrenches-one to hold the fitting on the tank, one to turn the coupling nut-to avoid twisting the pipes in your wall.
  5. Disconnect the flexible gas line from the union fitting at the heater’s control valve. This is the point where your licensed plumber takes over to properly cap the gas line at the source.
  6. Remove the vent pipe from the draft hood on top of the heater. You may need to cut through foil tape or loosen sheet metal screws.

An empty 50-gallon tank still weighs over 100 pounds. Use a sturdy appliance dolly or hand truck to move it. Tipping it on its side on a furniture dolly works too. For the old vent opening in your wall or ceiling, seal it with a proper metal cap or flashing to keep out drafts and pests.

Phase 2: Installing the New Electric Water Heater

Get your new unit positioned near the existing water lines. The first mechanical step is installing the Temperature and Pressure (T&P) relief valve. Wrap its threads with Teflon tape and screw it tightly into the designated port on the tank. This valve is a critical safety device, so install it correctly.

Next, install dielectric unions on the hot and cold water nipples of the new tank. These special fittings prevent corrosion where dissimilar metals meet. Connect your existing water lines to these unions. Hand-tighten first, then give each connection a final quarter-turn with a wrench. Turn the cold water supply back on slowly to fill the tank, checking every connection for leaks before moving on. In the next step, you’ll install the water tank outlet connections to route water from the tank to the house plumbing. This helps ensure a secure, leak-free discharge path as the system is brought online. Remember to open a hot water faucet in the house to purge air from the system as it fills.

This is the full stop for a DIYer. Inside the new heater’s junction box, you’ll see terminals for two hot wires and a ground. A licensed electrician must connect the dedicated 240-volt circuit wires to these terminals, ensuring correct voltage, amperage, and secure connections. They will also bond the equipment ground. Once they confirm power is correct, you can set the thermostat on the unit’s access panels.

Living With Your New Electric Water Heater

Close-up of a weathered outdoor faucet shaped like a hand with water flowing

Installation is just the start. Keeping your electric water heater running for years takes a simple routine. Forget about pilot lights and venting. Your new maintenance focuses on three things inside the tank. A simple maintenance schedule helps you stay on top of these checks. This routine is easy to follow and keeps your heater performing reliably.

Your Simple Maintenance Schedule

Treat this like changing your furnace filter. Set a reminder for these three tasks.

  • Anode Rod Check (Every Year): This is the most important job. The rod sacrifices itself to protect your tank from rust. Pull it once a year and inspect it. If it’s less than 1/2 inch thick or heavily corroded, replace it. A fresh anode rod is the cheapest insurance for a long tank life.
  • Drain Sediment (Every 6-12 Months): Minerals settle at the bottom, insulating the lower heating element and causing inefficiency. Hook a garden hose to the drain valve, run it to a floor drain or outside, and open the valve until the water runs clear. Do this more often if you have hard water.
  • Test the T&P Valve (Every Year): The Temperature and Pressure relief valve is a critical safety device. Lift its test lever briefly until water discharges into the drain pipe, then let it snap back. You should hear a gush of water. If no water comes out or it drips afterward, replace the valve immediately.

Maintenance Differences: Gas vs. Electric

Switching fuels changes your chore list.

  • Gone: No more checking or relighting a pilot light. No annual inspections of the vent or flue for blockages.
  • Now Critical: The anode rod. Electric heaters often use two heating elements that are directly immersed in water and can fry quickly if scale builds up. Regular draining to prevent scale on the elements is non-negotiable.

“Red Flag” Troubleshooting Guide

When problems pop up, check these common issues first.

  • No Hot Water:
    1. Check your home’s main electrical panel. One of the two dedicated breakers for the heater may have tripped.
    2. If power is good, a heating element has likely failed. You’ll need a multimeter to test them.
  • Rusty or Smelly Water: Your anode rod is gone. The tank is now corroding. Replace the rod immediately to try and salvage the tank.
  • Water Leaking From the Tank: If it’s from the T&P valve pipe, the valve may be faulty or the tank is overheating. If it’s from the tank body itself, the interior is likely corroded through. A leaking tank body means a full replacement is needed.
  • Not Enough Hot Water: This often points to a failed lower heating element (the primary one) or a massive sediment layer insulating it.

Tips for Efficient Use

A few adjustments lower your bill and wear on the system.

Set the thermostat to 120°F (49°C). This is plenty hot for most uses and reduces energy use and mineral buildup. For bigger savings, install an external timer control. Programming the heater to only run during off-peak hours can significantly cut your electricity costs. I have mine set to heat water before morning showers and evening dishes, and it stays off overnight.

The Water Science Snippet: Energy Factors and Efficiency

Understanding the Energy Factor (EF) Label

That bright yellow EnergyGuide sticker isn’t just for show. The Energy Factor (EF) rating tells you how efficiently the unit converts energy into hot water. Think of it like miles-per-gallon for your water heater.

For standard electric tank heaters, a good EF is typically between 0.90 and 0.95. The higher the EF number, the less electricity it wastes, which means lower operating costs for you. Heat pump water heaters will have a much higher EF, often above 3.0, because they move heat instead of just creating it. That efficiency translates into lower operating costs over time, making heat pump water heaters worth it for many homes. If you’re weighing options, consider upfront costs and climate to see if it’s the right fit.

Hard Water is the Enemy of Efficiency

If you skipped the water softener section, listen up. Water hardness, measured in grains per gallon (gpg), directly attacks your electric heater. The dissolved minerals (calcium and magnesium) solidify into scale when heated.

This scale coats the heating elements like a crust on a baking pan. That layer of scale forces the elements to work harder and longer to heat the same amount of water, which destroys efficiency and burns out elements. This is why the sediment draining schedule is so vital, especially in hard water areas.

Gas vs. Electric: The Energy Story

Here’s the core difference in simple terms.

A gas heater burns fuel (natural gas or propane) in a burner at the bottom of the tank. The heat from that flame travels up through a flue in the center to heat the water. Some heat is lost out the vent.

An electric heater uses resistance heating. Electricity flows through the two elements (like in a toaster or electric stove coil), which get red-hot and transfer heat directly to the surrounding water. While nearly 100% of the energy goes into the water, electricity is often a more expensive energy source than gas per unit of heat delivered. The trade-off is the higher upfront efficiency for potentially higher ongoing energy costs, depending on your local utility rates. Understanding water heater consumption efficiency helps you compare running costs over time. Small adjustments in thermostat settings and insulation can improve efficiency without sacrificing comfort.

Common Questions

What’s the most critical safety step before removing the old gas heater?

Shut off the gas supply at the main valve, not just at the appliance. Verify it’s off by trying to light a stove burner (with caution) or listening for flow. This step is non-negotiable for preventing a gas leak.

Why is a dedicated electrical circuit mandatory for an electric water heater?

A 240-volt heater draws immense, constant power. A dedicated circuit with the correct wire gauge and breaker prevents overloading your home’s wiring, which is a serious fire hazard. Your heater’s label specifies the exact amperage required.

How do I choose the right size electric water heater?

Look at the First Hour Rating (FHR) on the EnergyGuide label, not just tank gallons. For an electric model, you generally need a larger FHR than with gas to compensate for its slower recovery rate and avoid running out of hot water during back-to-back use.

Can I skip the permit for this kind of conversion?

No. A permit ensures an inspector verifies the safe capping of your gas line and proper high-voltage electrical work. Unpermitted work can void your home insurance and create dangerous, hidden hazards in your walls.

What’s the biggest trade-off I’ll notice after switching?

You’ll gain simpler, safer operation with no pilot light or venting. The trade-off is a slower recovery rate, meaning the tank takes longer to reheat after heavy use. Planning around this-like larger tank size or staggered showers-is key to satisfaction.

Your Blueprint for a Safe Switch

Always start with a professional assessment of your home’s electrical capacity to avoid surprises mid-project. For safety and reliability, hire a licensed plumber and electrician to handle the gas disconnection and new installation.

Bob McArthur
Bob is a an HVAC and plumbing industry veteran. He has professionally helped homeowners resolve issues around water softeners, heaters and all things related to water systems and plumbing around their homes. His trusted advice has helped countless of his clients save time, money and effort in home water systems maintenance and he now here to help you and give you first hand actionable advice. In his spare time, Bob also reviews home water systems such as tankless heaters, water softeners etc and helps home owners make the best choice for their dwelling. He lives around the Detroit area and occasionally consults on residential and commercial projects. Feel free to reach out to him via the contact us form.