While the initial cost of a tankless water heater may be higher than that of a traditional water heater, they are often more energy-efficient, resulting in lower utility bills over time. Additionally, tankless water heaters have a longer lifespan, which can offer cost savings in the long run.