DIY Install Tankless Water Heater: Step-by-Step Guide
Learn to safely install a tankless water heater yourself with this step-by-step guide covering model selection, venting, wiring, and testing for code compliance and efficient hot water.
By following this guide, you’ll complete a safe, code-compliant DIY install tankless water heater for your home. You’ll need the right model (electric or gas), proper venting, correct gas/water supply connections, electrical service capacity, and basic hand tools. This quick path outlines planning, safety checks, and a step-by-step approach to mounting, connecting, and testing the unit.
Safety and Code Considerations
Before you lift a wrench, confirm your local codes and permits for a tankless water heater installation. According to Install Manual, permissions may be required for gas piping, venting, and electrical work, even for DIY installs. Start by reading your jurisdiction's building codes and scheduling any inspections that may be required. This initial planning reduces risk and keeps you compliant with safety standards. Review manufacturer installation instructions and local amendments, so you know exactly which clearances apply to your space. If you are renting, check with your landlord before making changes. Always plan for safe work practices, lockouts, and the proper disposal of old equipment.
Sizing and Model Selection
The performance of a tankless water heater depends on matching the unit to peak hot-water demand and climate. In practice, you’ll choose between electric and gas models, and then select a capacity that suits your family’s usage. The Install Manual team emphasizes accurate sizing to avoid cold-water issues or wasted energy. Consider the number of simultaneous fixtures (shower, faucet, dishwasher) and your climate, which affects heat rise. Keep in mind that electrical service and gas supply must support the chosen unit. This section helps you chart out your household hot-water profile and pick a model that balances comfort, efficiency, and upfront cost.
Electric vs Gas Tankless: Pros and Cons
Electric tankless heaters are generally easier to install where you have adequate electrical capacity, but they depend on available amperage and circuit protection. Gas units typically provide higher flow and quicker hot water, yet require venting, gas piping, and combustion safety measures. The best choice depends on your existing utility infrastructure and local codes. The Install Manual guidance highlights that whichever path you choose, the connection points must be accessible and clearly labeled for future service. For many homes, a hybrid approach may be worth considering. This section weighs energy use, maintenance needs, and reliability in practical terms.
Venting and Gas Lines: Key Realities
Venting is a critical safety requirement for gas-powered tankless water heaters. You must size and run venting per the manufacturer’s instructions and your local code. Avoid improper venting, which can lead to dangerous carbon monoxide buildup and inefficient operation. Gas line work should meet code standards, including correct pipe sizing and pressure testing. Install Manual analysis shows that vent configuration is a frequent cause of DIY issues, so plan these elements early and have a professional verify your plan if you’re unsure. Ensure all joints are sealed and tested before commissioning.
Plumbing Connections and Water Quality
Installing a tankless water heater hinges on secure plumbing connections and clean water supply. Use dedicated shutoff valves for both hot and cold lines, and install isolation valves for easy service in the future. Poor water quality or mineral buildup can shorten the life of the unit, so consider a pre-filter or water-softening solution if your area has hard water. Follow manufacturer guidelines for pipe materials (copper or approved plastics) and seal threads with appropriate tape. The goal is to create leak-free connections that remain secure under pressure changes and temperature swings.
Electrical Requirements and Safety
Electric tankless heaters demand sufficient service capacity, proper grounding, and correct wiring methods. Verify that your electrical panel can handle the added load and that you have an appropriately rated circuit and disconnect near the unit. Use GFCI protection where required and follow all electric codes for safe installation. If a dedicated circuit and proper enclosure are not available, consult a licensed electrician. The safety focus here is preventing shock, fire, and nuisance trips while ensuring reliable operation.
Mounting, Venting, and Location Considerations
Choose a location that allows easy service access, supports the heater’s weight, and provides safe venting routes if required. Leave the recommended clearance around the unit for maintenance and future replacements. Mounting should use appropriate brackets and fasteners rated for the wall material. Plan for interior vs. exterior placement, humidity exposure, and potential condensation. Proper location helps minimize heat loss, maximizes efficiency, and simplifies troubleshooting.
Testing, Commissioning, and Handover
Once wired, vented, and plumbed, perform a careful leak check on all connections. Purge air from the water lines and run the unit according to the manufacturer’s startup procedure. Check for steady hot-water output and steady pressure, then inspect for gas leaks if applicable. Document the startup process, settings, and any deviations from the plan. This final step ensures a smooth handover to occupants and a verifiable baseline for future maintenance.
Authoritative Resources
For code references and safety guidance, consult official sources such as:
- https://www.energy.gov
- https://www.energystar.gov/
- https://www.cpsc.gov/ These resources help you verify compliance and stay informed about best practices for home-water-heater installations.
Tools & Materials
- Tape measure(3-6 ft minimum extension for positioning)
- Cordless drill with appropriate bits(for mounting bracket and service panels)
- Adjustable wrench and channel locks(for fittings and valves)
- Pipe wrench (set)(for gas and water lines)
- PTFE plumber’s tape (gas-grade where applicable)(seal threads on gas and water connections)
- Pipe cutter or hacksaw(for copper/PEX pipes)
- Teflon tape (water lines)(for water connections)
- Gas leak detector spray (optional)(for final leak checks)
- Pressure gauge test kit (optional)(if testing water pressure)
- Safety glasses and gloves(protect during work)
- Voltage tester(verify live circuits before touching)
- Vent components (per model)(as required by the unit)
Steps
Estimated time: 2-3 hours
- 1
Verify local codes and permits
Check local building codes and obtain any required permits before starting. Confirm whether gas piping, venting, or electrical work requires inspections. Document clearance requirements for mounting and access. This prevents code violations and makes the installation smoother.
Tip: Call your building department early to understand permit steps and inspection timelines. - 2
Select model and confirm service readiness
Choose electric or gas based on home infrastructure and space. Verify electrical panel capacity or gas supply adequacy, along with venting needs if applicable. Align the chosen model’s requirements with your home’s service panels and fuel sources.
Tip: Have the manufacturer’s spec sheet handy to compare amperage or gas pressure needs with your service. - 3
Shut off utilities and prep workspace
Turn off the main power, gas supply (if applicable), and the cold water line feeding the existing heater. Drain the system and clear the installation area. Gather tools and lay out components to minimize scrambling during installation.
Tip: Label all shut-off valves and create a simple one-page plan for quick reference. - 4
Mount the unit and prepare mounting area
Choose a wall with solid backing and accessible clearance for maintenance. Install mounting brackets per manufacturer specs and ensure level alignment. Verify that the venting path (if needed) has a clear, unobstructed route before proceeding.
Tip: Mark drill points first, then double-check level and alignment before drilling. - 5
Connect water, gas/electric, and venting
Attach cold-water supply and hot-water output using approved fittings. For gas units, connect the gas line and install venting per code; for electric units, ensure proper wiring and disconnects. Seal threads with appropriate tape and tighten fittings to manufacturer torque specs.
Tip: Turn off all power and gas during connections; use leak detection spray on joints after assembly. - 6
Test, purge, and document startup
Open water and gas/electric supplies gradually and purge air from lines. Check for leaks, inspect vent connections, and confirm hot-water output. Record startup settings, run a full-cycle test, and secure any required inspections.
Tip: Keep a startup log and take photos of each connection for future reference.
Got Questions?
Is it safe to install a tankless water heater myself?
Installing a tankless heater yourself can be safe for a capable homeowner who follows codes, uses proper materials, and adheres to the manufacturer’s instructions. If you’re unsure about gas, venting, or electrical work, consult a licensed pro. Always prioritize safety and code compliance.
Yes, it can be safe for capable homeowners, but only if you follow codes and install correctly; when in doubt, hire a professional.
Do I need permits for a DIY install?
Permit requirements vary by locality. Many jurisdictions require permits and inspections for gas, venting, and electrical work associated with a tankless heater. Check with your local building department before starting to avoid penalties.
Permits vary by location, so check with your local building department before starting.
What tools do I need for a DIY install?
You’ll need standard plumbing and electrical tools, including wrenches, a pipe cutter, thread seal tape, a drill, and safety gear. Always use items specified by the manufacturer for your model and keep shut-off valves accessible.
A good set of wrenches, cutters, seal tape, a drill, and safety gear usually covers the basics.
How can I know if my electrical service is sufficient?
Review the unit’s electrical requirements and compare them to your panel rating. If the spec calls for a heavy load or a dedicated circuit, you may need an electrician to assess capacity and ensure proper protection.
Check the unit’s electrical needs against your panel, and consult an electrician if uncertain.
Can I install electric and gas units in the same home?
Yes, many homes support both options, but you must meet separate venting, piping, and wiring requirements. Choose the path that aligns with your current utility setup and local codes.
You can, but each path has distinct venting, piping, and wiring needs; choose based on your home setup.
What if I rent or live in a condo?
Renters and condo residents should check lease agreements and building rules. Obtain permission from the property owner and coordinate with the management to ensure compliance and approvals.
If you rent or live in a condo, get written permission and follow building rules.
Watch Video
Main Points
- Plan and verify permits before starting
- Size the unit to match hot-water demand
- Choose electric or gas based on your home’s setup
- Vent, seal, and test connections thoroughly
- Document startup steps for ongoing maintenance

