A tankless water heater unit costs $800-$2,500. The installation is where the budget surprises happen. First-time tankless installs (replacing a tank heater) run $2,000-$5,000 total because the infrastructure needs upgrading: larger gas line, new stainless steel venting, condensate drain, and sometimes electrical work. Replacing an existing tankless with a new one is much cheaper -- $1,500-$3,000 -- because the infrastructure is already in place. Here is what drives the cost and how to budget accurately.