Replacing a tankless water heater is a major home upgrade that delivers endless hot water, slashes energy bills, and frees up valuable space. Unlike bulky tank models, tankless units heat water on demand using flow sensors and high-output burners or electric elements. But swapping one out isn’t a simple plug-and-play project. The process requires careful planning, infrastructure checks, and often professional expertise—especially since most tankless heaters demand significant upgrades to existing gas, electrical, and venting systems.
This guide walks you through every step of replacing a tankless water heater, from assessing your home’s readiness to choosing the right model, removing the old unit, and safely installing the new one. You’ll learn how to avoid costly mistakes like undersized gas lines, electrical overloads, and improper venting. With clear insights into code compliance, sizing, and long-term maintenance, you’ll be equipped to make smart decisions that ensure reliable performance for over 20 years.
Evaluate System Compatibility Before Replacement

Before disconnecting any pipes or scheduling an installer, verify your home can actually support a new tankless unit. The most expensive mistake homeowners make is assuming their current setup will work, only to discover mid-installation that the gas line, electrical panel, or venting falls short.
Verify Gas Line Capacity for Gas Models
Tankless gas heaters demand far more BTU input than traditional tanks, often requiring 90,000 to 130,000 BTU/H. Your existing half-inch gas line may not deliver enough volume, especially when shared with a furnace or stove.
- Most installations need an upgrade to a 1-inch gas line from the meter to the unit.
- A licensed plumber should pressure-test the line to confirm it holds without leaks under high demand.
- Install a sediment trap (drip leg) on the gas inlet to keep debris from clogging the burner.
Assess Electrical Load for Electric Models
Electric tankless units draw massive power, with larger models pulling up to 133 amps at 240 volts. Your breaker panel must have both physical space and sufficient amperage capacity.
- Units over 12.2 kW typically require two double-pole breakers rated between 40 and 70 amps each.
- Use 6-gauge copper wire rated for 65 amps; 8-gauge is acceptable only for lower-draw models.
- If your main panel is near capacity, you may need a subpanel or a utility service upgrade.
Confirm Venting and Clearance Requirements
Gas units cannot reuse old tank heater vents or chimneys. Flue gases from tankless models are cooler and more corrosive, requiring dedicated stainless steel or polymer venting.
- Concentric vent kits combine intake and exhaust in a single pipe, ideal for through-wall installations.
- Condensing models produce acidic water, so install a condensate neutralizer or trap.
- Maintain at least 6 inches of clearance from combustibles and 12 inches from windows or doors.
Choose the Right Replacement Model

Selecting the correct tankless unit ensures reliable hot water and avoids costly rework. Focus on fuel type, flow rate, and your local climate.
Gas vs. Electric: Which Suits Your Home?
| Factor | Gas Tankless | Electric Tankless |
|---|---|---|
| Best for | Whole-home use, cold climates | Moderate use, warm climates |
| Venting required | Yes (complex) | No |
| Gas line upgrade | Often needed | Not applicable |
| Electrical upgrade | Minimal (control only) | Major (panel and circuits) |
| Installation cost | Higher ($1,500–$3,000) | Moderate ($1,200–$2,500) |
If your home already has natural gas service and space for venting, gas is usually more cost-effective for larger households.
Size by Flow Rate, Not Tank Volume
Tankless heaters are rated in Gallons Per Minute (GPM) at a specific temperature rise. To size your unit correctly:
- List the fixtures likely to run simultaneously (e.g., a 2.5 GPM shower plus a 1.5 GPM sink equals 4.0 GPM demand).
- Determine your incoming water temperature, which can drop to 40°F in northern states and around 60°F in the south.
- Calculate the needed temperature rise. For a 105°F shower, northern homes need a 65°F rise while southern homes need only 45°F.
- Match the GPM demand to the unit’s output. A 4.0 GPM demand with a 65°F rise requires a high-capacity gas unit with 110,000+ BTU.
| Household Size | Recommended GPM | Typical Use Case |
|---|---|---|
| 1–2 people | 1.7–2.8 GPM | One bathroom, low simultaneous use |
| 2–3 people | 2.8–4.0 GPM | Two bathrooms, moderate use |
| 3+ people | 4.0+ GPM | Whole home, multiple showers |
Undersizing leads to cold showers when multiple fixtures run. Slightly oversizing is safer and future-proofs your system.
Shut Off Utilities and Remove the Old Unit
Safety always comes first. Never begin work without cutting off water, gas, and power.
Turn Off All Supplies
- Close the main cold-water shutoff valve feeding the heater.
- Shut off the gas at the main valve near the meter or appliance.
- Switch off all breakers connected to the unit, since some units have multiple circuits.
- Verify power is dead using a non-contact voltage tester.
Drain and Disconnect Safely
- Attach a garden hose to the drain valve and route it to a floor drain or bucket.
- Open a hot water faucet elsewhere in the house to allow air in and prevent a vacuum lock.
- Open the drain valve and let the unit empty completely.
- Disconnect the water lines with a wrench, expecting some residual water.
- Unhook the gas line for gas models, wrapping threads with gas-rated tape before disconnecting.
- Remove electrical wiring for electric models, labeling each wire before disconnection.
Take Down the Old Unit
- Unscrew the mounting brackets from the wall.
- Carefully lower the unit, since some weigh over 50 pounds.
- Dispose of the old unit responsibly. Many recyclers accept copper and stainless steel components.
Mount and Connect the New Unit
Proper positioning and secure mounting prevent vibration, leaks, and future service headaches.
Install in a Code-Compliant Location
- Indoor units need 4 to 6 inches of clearance on all sides for airflow and service access.
- Outdoor-rated models can be mounted outside, which eliminates venting complexity.
- Avoid freezing zones. Even indoor units in unheated garages or basements need freeze protection.
Secure the Unit to the Wall
- Use the manufacturer-supplied standoffs, especially for electric models.
- Anchor directly into wall studs or use heavy-duty toggle bolts.
- Confirm level installation with a bubble level during mounting.
- Leave front access open for filter cleaning and diagnostics.
Connect Plumbing Lines Correctly
Improper plumbing can cause leaks, pressure loss, or scale buildup that shortens the unit’s life.
Install Required Valves and Safety Devices
Every tankless installation should include:
- A manual shutoff valve on the cold-water inlet, required by most codes.
- Isolation valves on both the inlet and outlet for easy future servicing.
- A Pressure Relief Valve (PRV) rated for 150 psi, with discharge piping routed to a drain.
- A thermostatic mixing valve if scald protection is needed, especially in homes with children.
Use Flexible Connectors and Flush Lines
- Connect with stainless steel braided flex lines to reduce strain on fittings.
- Flush the water lines before final connection, since debris can clog flow sensors.
- Wrap pipe threads with plumber’s tape and tighten securely without over-torquing.
Test for Leaks Immediately
- Slowly turn on the water supply.
- Open a hot faucet to purge air from the lines.
- Inspect all joints with a dry cloth, looking for dampness or drips.
- Fix any leaks before proceeding to the next step.
Handle Gas or Electrical Connections

This phase is where most DIY attempts fail or create serious safety hazards.
For Gas Units: Upgrade and Vent Properly
- Install a new gas line if upgrading from half-inch to 1-inch pipe.
- Use gas-rated thread sealant, either yellow tape or pipe dope.
- Install a sediment trap before the unit’s gas inlet.
- Pressure-test the line with a manometer at 0.5 PSI for 10 minutes with no pressure drop.
- Check for leaks using soapy water or a gas detector. Never use an open flame.
Install Manufacturer-Specific Venting
- Use only approved vent kits made of PVC, CPVC, or stainless steel.
- Keep vent runs as short and straight as possible, with maximum length varying by model (often 50 to 100 feet equivalent).
- Install a condensate trap for condensing units, draining to a floor drain or neutralizer.
- Terminate outside at least 12 inches from doors, windows, or air intakes.
For Electric Units: Wire to Code Standards
- Install the correct breakers, such as two 60-amp double-pole breakers for a 32 kW unit.
- Run 6-gauge copper wire from the panel to the unit, keeping runs short to reduce voltage drop.
- Ground the unit properly to the grounding bus bar.
- Follow NFPA 70 (NEC) in the United States or CSA C22.1 in Canada exactly.
Mismatched wiring can overheat, damage the unit, or cause a fire.
Start Up and Calibrate the System
Now it’s time to bring the unit online safely and correctly.
Purge Air from Water Lines
- Open all hot water faucets in the house.
- Turn on the cold-water supply.
- Let water run until the flow is steady and air-free, which may take 1 to 2 minutes.
- Close faucets starting from the lowest point and working up.
Restore Power and Gas
- For gas units, turn on the gas supply first, then restore electrical power.
- For electric units, close breakers only after water is flowing through the unit.
- Press the on/off button on the unit or remote control.
Calibrate for Your Environment (Gas Models)
Use the DIP switch settings to adjust:
- Altitude, since installations above 2,000 feet require adjustment.
- Gas type, ensuring the setting matches natural gas or propane. Never interchange them.
- Vent length, since longer runs may need fan speed adjustment.
Refer to the manual for correct settings. Incorrect calibration causes poor ignition or overheating.
Test Operation and Finalize Setup

Verify everything works before considering the job complete.
Run a Full Functional Test
- Open a hot water faucet and listen for the ignition click and flame sound (gas) or hum (electric).
- Confirm water heats within 3 to 5 seconds.
- Monitor for error codes such as E1 for ignition failure or E3 for flow sensor issues.
- Test simultaneous use by running a shower and kitchen sink together to confirm flow stability.
Reattach Cover and Restore Interface
- Reconnect the user interface ribbon cable if it was removed.
- Snap the front panel back into place.
- Program temperature settings, typically 120°F for safety and efficiency.
Document and Schedule Maintenance
- Keep the installation manual and warranty card in a safe place.
- Set a reminder for annual maintenance tasks:
- Clean the inlet water filter.
- Inspect venting for blockages.
- Descale the heat exchanger every 1 to 3 years, more often in hard water areas.
Frequently Asked Questions About Replacing a Tankless Water Heater
How long does it take to replace a tankless water heater?
A professional installation typically takes 4 to 8 hours, depending on whether infrastructure upgrades are needed. DIY projects often take longer, especially when gas or electrical upgrades are involved.
Can I replace a tankless water heater myself?
DIY replacement is technically possible for experienced homeowners, but professional installation is strongly recommended. Gas and electrical work carry serious safety risks, and improper installation can void warranties and violate local codes.
Do I need to upgrade my gas line for a new tankless heater?
Most likely, yes. Tankless units require 90,000 to 130,000 BTU/H, which typically demands an upgrade from a half-inch to a 1-inch gas line. A licensed plumber should assess your specific setup.
What size tankless water heater do I need for a family of four?
A family of four usually needs a unit rated at 4.0+ GPM, especially in colder climates where incoming water temperatures are lower. Sizing should account for the highest simultaneous demand across all fixtures.
How often does a tankless water heater need maintenance?
Annual maintenance is recommended, including cleaning the inlet filter and inspecting the venting. Descaling the heat exchanger every 1 to 3 years is also important, particularly in areas with hard water.
Are tankless water heaters worth the investment?
Yes, for most homeowners. Tankless units last over 20 years (roughly double the lifespan of tank heaters), reduce energy bills by 8% to 34% depending on usage, and free up significant floor space.
Key Takeaways for a Successful Tankless Water Heater Replacement
Replacing a tankless water heater is a high-stakes project that blends plumbing, electrical, and combustion expertise. The most critical steps happen before installation: verifying gas line capacity, confirming electrical panel readiness, and choosing the right flow rate for your household. Skipping these assessments leads to cold showers, system overloads, and costly mid-project surprises.
While skilled DIYers can handle portions of the process, professional installation is strongly advised, especially for gas models. A licensed installer ensures code compliance, preserves your warranty, and prevents dangerous mistakes like gas leaks or electrical fires. When done correctly, your new tankless system will deliver reliable hot water for over 20 years, cut energy consumption significantly, and reclaim valuable space in your home.
Your next step: schedule an assessment with a licensed plumber or HVAC specialist to evaluate your home’s infrastructure and provide a detailed quote for your replacement project.









