Note: Please be advised that an electrical permit is required for swimming pools capable of holding water in depth greater than 42 inches. The permanent wiring required is governed by Article 680 of the 2014 National Electrical Code, which states in part:
A receptacle that provides power for a water pump motor shall be permitted between 6 feet and 10 feet from the inside walls of the pool and shall be single and grounding types and shall be protected by a ground-fault circuit interrupter.
At least 1, 125-volt 15-20 amp receptacle on a general-purpose branch circuit shall be located a minimum of 6 feet from, and not more than 20 feet from, the inside wall of the pool.
All 125 volt receptacles located within 20 feet of the inside walls of the pool shall be protected by a ground-fault circuit interrupter.
Double insulated pool pumps are permitted to be used on swimming pools capable of holding water in depth greater than 42 inches.
Article 400 - Flexible Cords and Cables, "400.8. Uses Not Permitted...: (1) As a substitute for the fixed wiring of a structure" will be adhered to.