Tankless Water Heater Installation: Full Cost & Steps

Table of Contents
- Prefer a Licensed Tankless Water Heater Installer in San Jose?
- Things to Consider Before Gas Tankless Water Heater Installation
- Step-by-Step Tankless Water Heater Installation Process
- Gas vs. Electric Tankless Water Heaters: Which One Is Right for You?
- Common Mistakes to Avoid During Tankless Water Heater Installation
- How Much Does Tankless Water Heater Installation Cost?
- Maintenance Tips for Your Tankless Water Heater
- When Should You Choose DIY Over Professional Installation?
- Tankless Water Heaters in San Jose
- Frequently Asked Questions
A tankless water heater installation in San Jose involves sizing the unit for your household, making sure the gas line (or electrical service) can supply it, running new venting or mounting the unit outdoors, connecting the water lines, and having the work permitted and inspected.
Because a gas tankless unit needs far more gas than a tank heater and its venting must meet code, it’s a job for a licensed installer. This guide explains each step so you know what to expect, and what drives the cost.
Gas models need correct gas-line sizing, combustion air and venting; electric models need enough panel capacity, correctly sized circuits and the manufacturer’s wiring. Tankless installations must meet the California Plumbing, Mechanical and Energy Codes and the City of San Jose’s water heater requirements.
A licensed installer's job. The steps below explain what a correct installation includes so you can plan and check the work. Gas piping, venting, electrical circuits, pressure testing and startup should be done by a licensed plumber (and electrician where needed) under a City permit. If you ever smell gas, leave the home and call 911 and PG&E from outside.
Prefer a Licensed Tankless Water Heater Installer in San Jose?
If gas-line sizing, electrical capacity, venting, permits or plumbing changes make a DIY installation impractical, CPI Service handles the whole job: we size the unit to your hot water demand, prepare the gas, electrical, water and vent connections, install the heater, pull the permits, and test temperature, flow and controls before we finish. CPI Service holds California CSLB License #1101278. See tankless water heater installation.
Things to Consider Before Gas Tankless Water Heater Installation
Before installing a gas tankless unit, confirm the home has enough gas capacity, a compliant vent route, suitable water connections, mounting space, power for the controls, and the permits. Gas capacity matters most: a whole-home tankless unit can burn far more gas per hour than a tank heater, so the gas line’s length and size, the other gas appliances, the meter and the regulator all have to be checked against the manufacturer’s requirements. Many installation problems start with a gas line, vent or circuit that was never checked against the new heater’s demand.
- Hot water demand. Tankless units are sized by flow rate (gallons per minute) and temperature rise. Count the fixtures you run at the same time. The City requires the unit to meet California Energy Code efficiency rules and to deliver the capacity the California Plumbing Code calls for.
- Water quality. Hard water scales the heat exchanger; service valves for annual flushing should be installed.
Tools and Materials Needed
An installer brings basic plumbing, mounting, sealing and safety equipment, plus fuel-specific parts. The manufacturer’s installation manual lists model-specific fittings, vent parts, valves and electrical requirements. See essential plumbing tools for the basics.
- Pipe wrench and adjustable pliers
- Plastic or metal pipe cutter
- Thread sealant tape or pipe dope (gas-rated on gas threads)
- Measuring tape and level
- Mounting bracket, screws and anchors suited to the wall
- Drill with the right bits
- Gloves and safety glasses
- Bucket for draining
- Service (isolation) valves for the water lines
- The vent pipe and fittings the manufacturer lists
- Gas-rated fittings, or the specified electrical connectors and wire, depending on the fuel
Safety and Preparation
The gas, water and power are shut off, and the location, vent route, gas capacity, wiring and clearances are confirmed against the manufacturer’s requirements before work starts. An undersized gas supply, wrong voltage or bad venting can create serious hazards.
- Turn off the gas supply, water supply and electrical power before starting.
- Confirm the gas type (natural gas or propane) and gas capacity match the heater.
- Inspect the existing gas, water and electrical connections for damage or unsuitable parts.
- Check that the location has the required clearances and service access.
- Confirm the vent route and materials meet the manufacturer’s specifications.
- Check that the electrical supply matches the required voltage and grounding.
- Wear gloves and eye protection while disconnecting, mounting and connecting.
- Don’t restore any utility until every connection is complete and checked.
Permits and Code Requirements
In San Jose, installing or replacing a water heater requires a plumbing permit, and all new electrical work requires an electrical permit; for a single-family home or duplex both can be applied for in one session on SJPermits. New or altered gas piping must be sized for the load and pressure-tested as the code prescribes. The work must follow the California Plumbing, Mechanical and Energy Codes and the manufacturer’s instructions. Location rules from the City include:
- Attics are allowed if access, clearances, a switched light and a nearby outlet are provided; the attic can’t be reached through a bedroom or bathroom.
- Exterior walls (side or back) are allowed for units listed for outdoor use, subject to HOA CC&Rs. PG&E requires at least 36 inches of horizontal clearance between the gas meter and a tankless unit on the same wall.
- Leak protection. Where an undetected leak could damage the structure, a watertight pan with a ¾-inch drain is required.
- Bedrooms and bathrooms. Gas units can’t go in a bedroom, bathroom or closet that opens into one unless they’re listed for direct venting.
To stay on track with the permit:
- Get the permits before installation.
- Add an electrical permit if new wiring or circuits are needed.
- Keep the permit card and the manufacturer’s instructions for the heater and vent on site for the inspector, plus the gas line sizing worksheet if gas lines are involved.
- Schedule all required inspections, including the final.
Step-by-Step Tankless Water Heater Installation Process
The installer removes the old unit, mounts the new heater, connects the water and the gas or electrical supply, installs the venting and safety valve, and tests the system. Because the work involves gas piping, circuits, venting and code compliance, it’s a licensed installer’s job; the City recommends licensed contractors for permitted plumbing work.
Step 1: Remove Your Old Water Heater
The old heater is shut down, drained and disconnected. Manufacturers recommend fully shutting down the utilities and draining before disconnecting, and any gas or electrical disconnection is for a qualified person.
- Turn off the power or gas. Switch off the dedicated breaker for an electric heater; for a gas unit, close the gas shutoff valve before disconnecting anything.
- Close the water supply feeding the heater.
- Let it cool, then drain it. Connect a hose to the drain valve and run it to a drain or outside.
- Disconnect the water lines once the supply is off and the unit is drained.
- Disconnect the gas or electrical connection after confirming it’s fully isolated; cap the gas line.
- Remove the old heater with a dolly and a helper. San Jose residents can schedule a no-cost Junk Pickup for a drained tank.
Step 2: Mount the New Unit
The location needs structural support, the required clearances and access for plumbing, venting and service.
- Mark the position using the manufacturer’s clearance and height requirements.
- Check the wall. Confirm the wall or framing can carry the heater, and add blocking if needed.
- Install the bracket level, with fasteners suited to the wall.
- Hang the heater on the bracket and align it with the mounting points.
- Secure and level it, fastening the remaining mounting points.
- Leave service access for the vent, plumbing, inspection and maintenance.
Step 3: Connect the Gas and Electrical Lines
This step belongs to a licensed installer: wrong gas sizing, wiring or grounding can cause fire, explosion, shock or a heater that won’t run. The installer checks the unit’s BTU input, gas pressure, circuit requirements and grounding against the manufacturer’s specifications before connecting anything.
- Connect the gas supply with approved piping and fittings sized for the unit’s BTU demand, supply pressure, pipe length and the other appliances on the line. Tankless units usually need more gas than a tank heater: often a dedicated line from the meter, and sometimes a larger meter from PG&E.
- Install the electrical connection. Gas units need a 120-volt outlet for their controls; outdoors it must be GFCI-protected with a weatherproof cover (or the unit hard-wired). Electric units need circuits, breakers and wire sized to the heater.
- Ground the unit per the instructions and the electrical code.
- Test the gas joints. New or altered gas piping is pressure-tested as the code requires, and every joint is leak-checked before the heater runs.
- Check the electrical connections: tight terminals, correct conductors, no exposed wire.
- Don’t start the heater yet; the water, vent and safety steps come first.
Step 4: Connect the Water Lines
The cold inlet and hot outlet are connected with approved materials, properly sized pipe and service valves. Crossed lines, debris or the wrong pressure can damage the unit or cause leaks, so manufacturers direct this to a qualified plumber.
- Connect the cold water inlet with approved fittings and the required pipe size.
- Connect the hot water outlet to the home’s hot water piping.
- Install service valves on the hot and cold lines for future flushing and maintenance.
- Purge the lines of debris and air before normal operation.
- Check the water pressure is within the manufacturer’s range.
- Restore water slowly and check every connection for leaks.
Step 5: Install the Venting
An indoor gas tankless unit must vent combustion gases outdoors using the materials, pipe sizes, routing and terminations approved for that model. Bad venting can let combustion gases, including carbon monoxide, into the home, so a qualified installer does this work.
- Use the approved vent system. Most tankless units use positive-pressure vents installed to the vent manufacturer’s instructions, often stainless steel because the condensate is slightly acidic; some condensing models allow plastic vent pipe. Type B vent isn’t acceptable for positive-pressure venting.
- Route it outdoors within the manufacturer’s limits for length, fittings and direction.
- Slope and support it as the vent instructions require, so condensate drains properly.
- Seal every joint airtight.
- Place the termination with the required clearances from windows, doors, air intakes and other openings, and at least 4 feet from a property line (City of San Jose).
- Provide combustion air where required: correctly sized openings within the top and bottom 12 inches of an enclosure; garage installations typically need openings to the outside.
- Inspect the finished vent for loose joints, unsupported sections or obstructions.
Outdoor units vent on their own, which is one reason they’re popular in the South Bay.
Step 6: Install the Safety Valve
A pressure relief valve lets the heater release excess pressure before it becomes dangerous. The City requires a listed pressure-only relief valve where required, with a discharge capacity at least equal to the heater’s BTU input.
- Use the correct valve type and rating for the heater.
- Install it at the designated connection, using the supplied fittings and gasket.
- Keep it accessible and oriented as the manual requires.
- Run the discharge piping to an approved termination per local code.
- Check for leaks at the valve, fittings and piping.
- Never modify or block the valve.
Step 7: Start Up the System
Startup comes only after the water, gas or electrical, vent and safety connections are complete and checked. A qualified installer does the final startup and any commissioning the manufacturer requires.
- Restore the water gradually and confirm the heater and piping fill.
- Restore gas or power only when all installation work is done.
- Check for leaks at water and gas connections before and during first operation.
- Run a hot water fixture and confirm the heater fires and delivers steady hot water.
- Set the temperature; about 120°F is the CPSC’s recommendation to reduce scald risk.
- Watch for problems: error codes, unusual sounds or unstable temperatures.
- Final check of the unit, venting, safety parts and connections, then the City inspection.
Gas vs. Electric Tankless Water Heaters: Which One Is Right for You?
A gas tankless heater suits homes with enough gas supply and higher simultaneous demand; an electric model can suit smaller homes, lower-demand uses or properties without gas. The choice depends on flow rate, incoming water temperature, gas or electrical capacity, installation complexity and utility rates. ENERGY STAR notes that tankless units are rated by gallons per minute, so match capacity to demand rather than choosing by fuel alone.
| Criteria | Gas tankless | Electric tankless |
|---|---|---|
| Energy source | Natural gas or propane | Electricity |
| Hot water demand | Often suited to whole-home demand | Often suited to lower or moderate demand, point-of-use, ADUs |
| Installation needs | Enough gas supply, combustion air, approved venting | Enough panel, circuit and wiring capacity |
| Complexity | Usually higher because of gas piping and venting | No combustion venting, but electrical upgrades are common |
| Operating cost | Depends on gas rates and efficiency | Depends on electric rates and demand |
| Space | Room for venting and clearances (or outdoors) | Compact, no vent |
| Maintenance | Burner, venting, condensate and water side | Mostly water side and electrical parts |
| Best use | Homes with gas service and higher demand | Smaller homes, low demand, or no gas service |
For a whole-home all-electric option, many South Bay homeowners choose a heat pump water heater instead of electric tankless, because it uses far less electricity; see how an electric water heater is installed.
How to Install an Electric Tankless Water Heater
The order of work: prepare a location with wall support, clearances and access; turn off power and water; drain and remove the old unit; mount the new heater; connect the cold inlet and hot outlet; have a licensed electrician or qualified installer match the voltage, breaker, wire size and grounding to the heater (requirements vary a lot by model, and many whole-home units need large dedicated circuits or a panel upgrade, with an electrical permit); restore the water and check for leaks with the power still off; then restore power and test temperature and flow. Never energize the unit before it’s full of water.
How to Install a Gas Tankless Water Heater
The order of work: prepare the location and the route for gas, water, power and venting; shut off gas, water and power; remove the old heater; mount the new unit level and secure; have a licensed plumber size and connect the gas supply; connect the water lines with service valves; install the pressure relief valve and its discharge; install the venting to the outdoors; check every water, gas, electrical and vent connection with the required leak and pressure tests; then follow the manufacturer’s startup procedure and verify ignition, temperature, flow and venting. Manufacturers’ manuals direct gas sizing, venting, connections and leak testing to qualified installers.
Common Mistakes to Avoid During Tankless Water Heater Installation
These mistakes cause weak hot water, failed inspections, damaged equipment, gas or exhaust hazards and early problems:
- Incorrect gas-line sizing. An undersized line starves the burner, so the unit shuts off or delivers lukewarm water. Sizing must account for BTU demand, pipe length, pressure and the other appliances.
- Improper venting. Wrong vent materials, size, routing or termination can let exhaust and carbon monoxide into the home.
- Insufficient electrical supply. Electric units need substantial dedicated capacity; the wrong breaker, wire size, voltage or grounding is a hazard.
- Reversed or poorly connected water lines. Swapped hot and cold, loose fittings or debris cause leaks and poor performance.
- Incorrect pressure-relief installation. The wrong valve or a blocked or misrouted discharge is a pressure hazard.
- Ignoring manufacturer clearances, which affects venting, combustion air and service.
- Skipping permits or inspections, which can cause problems with insurance and resale.
- Improper startup. Firing or energizing before the unit is filled, purged, leak-tested and checked can damage it.
- Treating it as a DIY project. Gas sizing, venting, wiring, leak testing and code compliance need specialized knowledge; no service valves also makes annual flushing hard.
How Much Does Tankless Water Heater Installation Cost?
In San Jose, tankless water heater installation typically costs $1,800 to $6,000 or more, installed. The price depends mostly on the fuel type, the heater’s capacity, the existing gas or electrical service, and whether you’re replacing a tankless unit or converting from a tank.
| Job | Relative cost | What it usually involves |
|---|---|---|
| Tankless-to-tankless replacement | $ (lower end of the range) | Existing gas line, vent and valves reused or adapted |
| Tank-to-tankless conversion, gas | $$–$$$ (toward the higher end) | Larger gas line, new vent or outdoor mounting, outlet, service valves, permits |
| Electric tankless, whole home | $$–$$$ | Large dedicated circuits; a panel or service upgrade can push it past the range |
What drives the price:
- The unit’s size and efficiency (ENERGY STAR certified condensing models cost more; see ENERGY STAR tankless water heaters)
- Gas line upgrades from the meter, and sometimes a larger meter
- New venting, or an outdoor installation that avoids it
- Electrical work: an outlet for gas units, circuits or a panel upgrade for electric models
- Permits and code upgrades, plus removal of the old heater
- Access to the installation location
CPI inspects the existing setup first to confirm upgrades, permit scope and the right unit size, then quotes the installation as a fixed price before work starts. See water heater installation cost for more.
Maintenance Tips for Your Tankless Water Heater
Most manufacturers call for regular or annual maintenance; hard water and heavy use mean more frequent service.
- Flush the heat exchanger at least once a year (more often with hard water) to remove scale.
- Clean the inlet water filter screen.
- Check for leaks at connections and valves.
- Keep gas-model vent terminations clear of debris, leaves and pests.
- Have combustion parts checked (burner, igniter, flame sensor) by a qualified technician.
- Have the pressure relief valve checked during routine service.
- Check the condensate drain and neutralizer on condensing models.
- Follow the manufacturer’s schedule, since requirements differ by model.
- Use a qualified technician for flushing or work on gas, combustion, electrical or internal parts when the manufacturer requires it.
CPI can include tankless flushing in regular maintenance; see our membership plans.
When Should You Choose DIY Over Professional Installation?
DIY is reasonable only for limited preparation or maintenance that doesn’t involve gas piping, electrical circuits, venting, permits or major plumbing changes. Anything involving gas sizing, wiring, venting, pressure testing, plumbing changes or code compliance calls for a licensed plumber (and electrician where needed). See our water heater services.
| Factor | DIY may be reasonable when | Use a licensed professional when |
|---|---|---|
| Heater type | Basic preparation or routine maintenance | Installing a gas or whole-home electric tankless heater |
| Gas supply | No gas work is involved | Gas piping, sizing, pressure testing or connections are needed |
| Electrical | No wiring or circuit changes | New circuits, breakers, wiring, grounding or panel work |
| Venting | No combustion venting | Vent routing, terminations, clearances or wall or roof penetrations |
| Plumbing | Only minor work on accessible piping | Lines must be resized, rerouted, relocated or pressure-tested |
| Permits | No permitted work is involved | The project needs plumbing, gas, electrical or mechanical permits |
| Skill | You’re doing only low-risk tasks from the manual | You’re unsure about gas sizing, electrical load, venting or code |
| Warranty | DIY work doesn’t conflict with the warranty | The manufacturer requires or recommends professional installation |
Tankless Water Heaters in San Jose
- Outdoor installation. San Jose’s mild climate makes outdoor-rated tankless units a practical choice, saving the cost and space of indoor venting.
- Air District rules. The Bay Area Air District is phasing in zero-emission standards for new gas water heaters; ask us how the current rules affect a tankless installation in your home.
- Rebates. Gas tankless units don’t usually qualify for local electrification rebates, while heat pump water heaters often do through San Jose Clean Energy.
CPI Service installs tankless water heaters throughout San Jose and the South Bay. See tankless water heater installation and our water heater services, request a free estimate or call (408) 978-3093.
Frequently Asked Questions
Can a tankless water heater be installed outside?
Yes, if the unit is listed for outdoor use. Many gas models are, which avoids running a vent through the house, and San Jose's mild climate suits them. The City allows them on an exterior side or back wall (check your HOA's CC&Rs), and PG&E requires at least 36 inches of horizontal clearance from the gas meter on the same wall. Outdoor units have built-in freeze protection, but exposed water lines should still be insulated.
Who installs tankless water heaters?
A licensed plumber installs the heater, the water and gas connections and the venting. A licensed electrician may also be needed when an electric model requires new circuits, wiring or panel work. The installer should know the fuel type, the manufacturer's requirements and local code.
Does a tankless water heater need an expansion tank?
Usually not for the heater itself, because it doesn't store hot water, but a closed plumbing system (for example with a pressure regulator or check valve) may still require one under the California Plumbing Code. Your installer will check the home's pressure-control devices.
How far does a tankless vent have to be from windows and property lines?
There's no single number: it depends on the manufacturer, the vent type and local code. The City of San Jose requires every tankless vent to terminate at least 4 feet from a property line, and positive-pressure vents must follow the vent manufacturer's instructions. Clearances from windows, doors and air intakes come from the heater's installation manual.
How do I insulate an outdoor tankless water heater?
Insulate the exposed water piping with approved pipe insulation and follow the manufacturer's freeze-protection instructions, which usually rely on the unit having power. Don't wrap or cover the heater itself unless the manufacturer allows it, because that can block combustion air, the vent, service openings or drainage.
Do I need a permit to install a tankless water heater in San Jose?
Yes. Installing or replacing a water heater requires a plumbing permit and inspection, and all new electrical work requires an electrical permit. New or altered gas piping is part of the permitted work and must be pressure-tested. For a single-family home or duplex, the permits can be applied for together online through SJPermits.
Can I replace a tank water heater with a tankless one?
Yes, but the conversion often needs a larger gas line (sometimes a larger meter), new venting, an outlet or circuit, plumbing changes or a new mounting location. A licensed installer should check the home's gas, electrical and venting before you choose a unit.
How long does a tankless installation take?
A tankless-to-tankless replacement is usually quicker, because the gas line, vent and connections are already in place. A tank-to-tankless conversion usually takes a full day, sometimes longer if the gas line, venting or electrical service needs upgrading, plus the time for permits and inspection.
Can I install a tankless water heater myself?
Only limited preparation and routine maintenance, such as cleaning the inlet filter, are reasonable DIY tasks. Gas sizing and piping, venting, electrical circuits, pressure testing and permitted work should be done by a licensed plumber (and electrician where needed).
Where should a tankless water heater be installed?
On a wall that can support it, with the clearances the manufacturer requires, a practical route for the gas, water, power and vent, and room for service. Gas models need an approved vent route, and outdoor installations need a unit listed for exterior use. San Jose's rules also cover attics, leak pans, and keeping gas units out of bedrooms and bathrooms unless they're direct-vent.
CPI and Alex were extremely helpful when our local church’s water heater kept malfunctioning and needed replacing. From the initial diagnosis, explanation and recommendation of replacement, we always felt that our needs were being tailored to. Not only were they extremely kind, knowledgeable and professional, but they also were diligent and efficient during their time.
We’re truly grateful for their excellent work and would highly recommend CPI to anyone in need of plumbing or heating services, especially for those in larger community buildings like churches like ours.
Stephen S., Google review
Read more reviews →Serving San Jose and the South Bay
CPI Service is based at 2880 Aiello Dr in San Jose and serves homes and businesses across the South Bay and the Peninsula. See all the areas we serve.