Switching from a gas to an electric water heater means removing the gas unit, safely closing its gas supply, adapting the vent and installing a correctly sized electrical circuit. A licensed plumber and electrician can often complete the conversion in a day; it’s generally not a DIY job because gas, wiring and permits are involved.
Start by identifying the replacement type and checking your electrical panel, space and local permit rules before you order a heater. The new unit must fit the household’s hot-water demand as well as the available circuit.
A standard electric tank commonly needs a dedicated 240-volt circuit, so the old gas heater’s location does not guarantee the electrical service is ready.
What to remember
Confirm the new heater’s voltage, wattage and circuit requirements before buying it.
Have a licensed electrician assess panel capacity and plan the dedicated circuit.
Hire a qualified pro to disconnect and cap the gas line and handle required permits.
Never energize an electric tank until it is completely full of water.
How to Switch From Gas to Electric Water Heater
Switching from a gas water heater to an electric water heater is possible, but it isn’t a direct swap: the electric unit needs a properly sized dedicated circuit, and the gas supply and vent must be handled safely. To switch from a natural gas-powered water heater, choose and size the replacement, check the site and electrical panel, obtain required permits, remove the gas unit, prepare the electrical and plumbing connections, then install and test the new heater.
Myth
An electric water heater can plug into the gas heater’s existing outlet.
Fact
Most standard electric tanks need a dedicated 240-volt circuit, not a nearby general-purpose outlet. The panel, wiring route and heater nameplate all affect what installation is required.
The right replacement depends on the home. A standard electric tank stores heated water; a heat-pump model moves heat from surrounding air into the tank and needs suitable space and operating conditions; an electric tankless unit heats water on demand but can require substantial electrical capacity. For a closer comparison, see electric vs gas water heater.
1
Choose and size the heater
Compare household hot-water use and the available installation space; don’t assume the old tank’s capacity is automatically the right fit.
2
Check the site and arrange permits
Have the panel and installation location assessed, and confirm local permit and inspection requirements before work begins.
3
Remove the gas heater safely
A qualified professional disconnects the gas unit, addresses the gas supply and deals with its vent as required.
4
Prepare and install the replacement
Coordinate the required electrical and plumbing work, then install, fill and test the electric heater according to its instructions.
A professional crew may finish in a day, but a panel upgrade, vent closure, difficult drainage or inspection requirements can extend the job. You can research models, measure the space and arrange permits; gas connections, vent work and 240-volt wiring belong to qualified tradespeople unless you’re legally permitted and qualified to do them.
Confirm the heater’s installation manual and local requirements before buying supplies; product 1 is for RV combo-unit switches, not a household gas-to-electric conversion.
RV combo-unit switch
Camper Comfort RV Water Heater Switch
Product 1 switches between gas and electric heating on compatible RV water heaters. It doesn’t adapt a household heater’s gas line, vent or electrical circuit.
For a 50-gallon gas-to-electric switch, first check whether the replacement fits the home and whether the electrical service can support it; matching the old tank’s capacity alone doesn’t settle either question. Switching from gas to electric is manageable when the site, hot-water demand and circuit requirements line up, but the electrician needs to verify them before you buy.
Gather These Details Before Choosing
Record the current tank capacity, its height and diameter, and the locations of water and vent connections.
Note how many people use hot water and when demand peaks; compare that pattern with replacement options rather than assuming equal gallon capacity means equal performance.
Photograph the existing heater’s nameplate and record its electrical requirements, if listed.
Measure the installation area and check the route for moving the old unit and bringing in the new one.
Ask an electrician to verify service and panel capacity, open breaker space, the new heater’s nameplate requirements, the wire route and whether an upgrade is needed.
Standard electric tanks commonly use a dedicated 240-volt circuit, but the correct breaker and conductor sizes depend on the unit’s nameplate, installation instructions and applicable code. An existing gas-heater circuit or a nearby outlet doesn’t prove the wiring or panel is adequate.
Heat-pump models need the manufacturer’s specified air space and operating-temperature range, plus a plan for condensate disposal. Electric tankless models can draw enough power to exceed what a home’s service can support; a large wattage or BTU figure by itself doesn’t show that the unit can serve your household.
Account for the Old Vent
Electric water heaters don’t need combustion venting, but the old vent opening still needs to be safely closed or repurposed as required. Don’t leave an unused opening exposed to weather or pests.
A nearby outlet isn’t a shortcut around the electrical assessment, and tankless suitability depends on both the home’s service capacity and hot-water demand. If you’re considering a tankless conversion, compare the installation requirements before settling on a model: switching from a tank to a tankless water heater.
Prepare the Gas Line, Vent and Water Connections
To switch from a gas water heater to an electric one, the safe procedure is to shut down and drain the old tank, have the gas line and vent made safe, then connect and test the replacement before energizing it. A hot-water oil boiler or indirect tank may need a different plumbing conversion; have a plumber identify whether you’re replacing a tank or changing the whole heating arrangement.
Use Licensed Trades
Gas shutoff, vent work, electrical isolation and hot water can cause fire, electric shock, carbon monoxide exposure or burns. Use licensed tradespeople where required, and follow the heater manual and local code. Don’t treat this planning sequence as DIY instructions.
Tools and Parts to Coordinate
Replacement heater and its manufacturer instructions
Tape measure and flashlight for access and connection checks
Drain hose and a safe location for tank water
Approved water connectors and fittings
Electrical circuit materials selected and installed by the electrician
Gas-line cap or other approved fitting selected and installed by the licensed gas professional
Any required drain pan and condensate-routing parts
The work is usually coordinated in this order: shut off gas and water, isolate power to nearby circuits, let the water cool, and drain the tank to a safe location. The old heater is then disconnected and removed; a licensed professional disconnects and safely caps the gas branch. The electric tank no longer uses the gas vent, so have the vent opening and any roof or wall penetration properly closed or repurposed—not left loose or open.
1
Confirm the work plan
Have the plumber and electrician confirm the heater location, connections, circuit needs and any permit requirements before removal.
2
Shut down and drain
The tradespeople shut off the gas and water, isolate relevant power, allow the tank to cool and drain it safely.
3
Remove and make safe
Have the old unit removed, the gas branch safely disconnected and capped, and the unused vent opening and penetrations properly addressed.
4
Install and connect
The plumber connects the water lines, T&P valve discharge piping, and any required drain pan or condensate route. The electrician installs and verifies the dedicated circuit.
5
Fill and check before powering
Fill the tank and open a hot faucet until water flows steadily. Have the plumber check the connections for leaks before the electrician restores power.
6
Verify operation
Follow the manufacturer’s startup instructions and have the tradespeople confirm the heater and safety components are operating as intended.
From HeaterGuides · our own guidePages 9 to 13 are the fault flowcharts: no hot water, noises, smells and leaks, in order.Water Heater Owner's ToolkitFix the common faults yourself, keep it running for years, and know when a repair is money wasted.No-hot-water flowcharts, gas and electricFlush, anode, relief valve and descaling stepsRepair-or-replace calculator (Excel)$14.99$9.99Get it for $9.99See what's inside and watch the 2-minute video →18-page printable PDF + Excel calculator · instant download · 30-day refund
Avoid Leaks, Electrical Damage and Permit Trouble
Switching from gas to electric is a substantial job, not a direct appliance swap: you need a suitable dedicated circuit, safe gas and vent work, and correctly connected plumbing. The exact requirements depend on the heater and local rules, so ask the building department and licensed trades before work starts.
Mistake
Likely consequence
Prevention
Powering the tank before it’s full
Dry-fired heating elements can fail.
Fill the tank and confirm steady water flow from a hot faucet before restoring power.
Reusing an unsuitable circuit or using undersized or incorrectly protected wiring
Electrical damage or an unsafe installation.
Have an electrician size, install and verify the dedicated circuit for the heater.
Loose water connections
Leaks can damage nearby floors and materials.
Have the plumber check every connection before startup.
Missing or incorrectly routed T&P discharge piping
A safety discharge may be blocked or directed unsafely.
Have the plumber install and route it as required; never cap or plug the valve or its discharge line. Hot discharge can scald.
Leaving the gas branch uncapped or the vent opening exposed
Gas leakage or an unsafe opening in the building envelope.
Have a licensed professional make the gas line and unused vent safe, even if other gas appliances remain in service.
Check these points before the replacement heater is energized.
Permits and Licensed Work
Permit rules vary by city and state. Before work begins, ask your local building department whether plumbing, electrical or mechanical permits and inspections apply. Gas-line work, vent modifications, 240-volt electrical work and T&P discharge piping are jobs for licensed trades in most places; use a licensed plumber or electrician where required.
Run This Checklist Before You Buy or Call
Yes, you can switch a house from oil heat to electric, but that’s a separate heating-system conversion; this guide covers changing a gas water heater to electric. For the water heater, choose the replacement around household hot-water demand, then confirm the space, electrical supply, gas work and inspection plan before ordering.
Start with the candidate heater’s nameplate and installation manual. Electric tank models can require a dedicated 240-volt circuit; the exact voltage, breaker and wire requirements depend on the model, so don’t assume the old heater’s setup will work. Ask an electrician to assess panel capacity and quote the circuit before you buy.
Check the local building department for permit and inspection requirements. In most places, gas connections and 240-volt electrical work belong to licensed trades; confirm who will close the gas line, make the old vent safe, connect the water lines and T&P relief discharge piping, and arrange the final inspection. Never cap or plug the T&P valve.
Before You Buy or Schedule the Job
Confirm household demand and replacement type, such as a storage tank or tankless unit.
Measure the installation space, including access for delivery and service.
Check the exact electrical requirements on the candidate heater’s nameplate and manual.
Have an electrician assess panel capacity and price the required circuit before purchase.
Ask the building department which permits and inspections apply.
Confirm who will close the gas line, address the old vent, connect water and relief piping, and book final inspection.
Questions People Ask
Can I switch a 50-gallon gas water heater to a 50-gallon electric one?
Yes, if the electric model fits and your panel can support its dedicated circuit. The same tank capacity doesn’t guarantee the same recovery rate, so compare the units’ first-hour ratings against your household’s peak hot-water use.
Can a gas water heater be replaced with an electric tankless heater?
Yes, but an electric tankless unit can require substantial electrical capacity, sometimes beyond what an existing home service can provide. Have an electrician check the service and panel before you buy; a tankless model’s flow rate also needs to cover the fixtures you expect to run at once.
Can I convert a gas tankless water heater to an electric tankless water heater?
You can replace one with the other, but the gas unit’s connections won’t serve the electric model. The conversion requires safe gas-line closure and electrical work sized to the new heater, so have licensed tradespeople confirm the service capacity and local permit requirements first.
Can I change a bottled-gas water heater to electric?
Yes. A bottled-gas unit still needs its fuel supply safely disconnected, and the electric replacement needs a suitable circuit; the fact that the fuel comes from a bottle doesn’t change those electrical requirements. Have a licensed professional handle the gas connection and check local permit rules.
Is it easy to switch from gas to electric hot water?
Usually not as a direct swap: the electrical supply, gas line, vent and plumbing all need to be addressed. The job may be straightforward when the panel has capacity and the replacement fits, but new wiring or service upgrades can add work and cost.
Should I switch from an electric water heater to a heat-pump water heater?
A heat-pump water heater can use less electricity than a standard resistance tank, but it needs suitable installation space and operating conditions. Check the model’s clearance, room-temperature and condensate-drain requirements, then compare its capacity and first-hour rating with your household’s demand.
Before you go · a welcome giftGet the Water Heater Owner's Toolkit for $4.99Fix the common faults yourself, keep it running for years, and know when a repair is money wasted. Normally $14.99; your welcome price saves $10.00. We'll email your link right now.or buy it now for $9.99 without the gift →One email with your link now. We never share your address.