A tank water heater is really only efficient for 10 to 15 years. You'll pay more in repairs and energy costs after that time than it's worth. On the other hand, tankless water heaters can last 20 years or more.