Electric tankless water heaters will not function during a power outage. Gas models also typically require electricity to power the control panel and ignition, so a backup power source, like a generator, may be needed.