The National Electrical Code (NEC) doesn't have a specific code for tankless water heaters. However, the NEC has guidelines that electric water heaters should follow, including wiring methods and the use of proper disconnecting means. Most manufacturers specify the electrical requirements, which usually follow the NEC's general guidelines for electrical appliances.