Swimming Pool & Spa Equipment Clearance Calculator
Find the required clearance of a receptacle, luminaire, or switching device from the inside wall of a pool, an outdoor spa, or an indoor spa or hot tub under NEC 680.22, 680.42, and 680.43. Pick the installation and the element, and the tool returns the fixed distance the code requires; enter a measured distance or height and it also tells you whether the placement complies.
How to use this calculator
- Choose the installation: a permanently installed pool or outdoor spa/hot tub (NEC 680.22, which outdoor spas follow per 680.42), or an indoor spa or hot tub (NEC 680.43).
- Select the element: the required receptacle, another receptacle, a new luminaire or ceiling fan, an existing luminaire (pools only), or a switching device.
- Read the required clearance and the exact NEC subsection it comes from. Receptacles and switches return a horizontal distance from the water; luminaires return a minimum height above the water.
- Optional: enter the measured horizontal distance, and for a luminaire its height above the maximum water level and whether it is GFCI protected. The tool returns a compliant, does-not-comply, or needs-review verdict.
- All horizontal distances are measured from the inside wall of the pool or spa; luminaire heights are measured above the maximum water level.
NEC reference
This calculator implements the NEC 2020 equipment clearances of Article 680: 680.22(A) for pool receptacles (the required receptacle 6 to 20 ft horizontally and not more than 6 ft 6 in high, other receptacles at least 6 ft, and GFCI within 20 ft), 680.22(B) for luminaires (12 ft above the water within 5 ft horizontally for new work, the 5 to 10 ft GFCI zone, and the existing-fixture 5 ft allowance), and 680.22(C) for the 5 ft switch standoff; 680.42 applies those same rules to outdoor spas and hot tubs; and 680.43 for indoor spas and hot tubs (the 6 to 10 ft receptacle and the 12 ft / 7 ft 6 in luminaire heights). The overhead-conductor clearances of Table 680.9 for spans over the water are a separate rule and out of scope here.
Results are for reference only. Verify against the applicable adopted edition of the NEC and consult a licensed electrician for code compliance.
Pool and spa clearances at a glance
Every distance below is a fixed NEC 2020 value measured from the inside wall of the water (heights are measured above the maximum water level). Outdoor spas and hot tubs follow the pool column through 680.42; indoor spas and hot tubs use the 680.43 column.
| Element | Pool / outdoor spa (680.22) | Indoor spa / hot tub (680.43) |
|---|---|---|
| Required receptacle | 6 to 20 ft, ≤ 6 ft 6 in high, GFCI | 6 to 10 ft, GFCI |
| Other receptacle | ≥ 6 ft; GFCI within 20 ft | ≥ 6 ft; GFCI within 10 ft |
| New luminaire within 5 ft horizontal | ≥ 12 ft above water | ≥ 12 ft, or 7 ft 6 in with GFCI |
| Luminaire 5 to 10 ft horizontal | GFCI unless ≥ 5 ft above water | Not applicable |
| Existing luminaire within 5 ft horizontal | ≥ 5 ft above, rigid, GFCI | Not applicable |
| Switching device | ≥ 5 ft (unless barrier) | ≥ 5 ft |
The receptacle rule has both a floor and a ceiling: the required receptacle keeps a person 6 ft back from the water but must still be within reach, so it cannot sit past 20 ft (10 ft for an indoor spa). The luminaire rule trades height for distance, and the switch rule is a single 5 ft standoff.
The luminaire zones, in plain terms
NEC 680.22(B) treats a pool luminaire by how far it sits horizontally from the water. Within 5 ft, a new fixture has to be 12 ft above the maximum water level, high enough that no one in or beside the pool can reach it. Between 5 and 10 ft, the height requirement relaxes: the fixture needs GFCI protection unless it is at least 5 ft above the water and rigidly attached. Beyond 10 ft, 680.22(B) sets no pool-proximity clearance at all, though general wet-location and GFCI rules still apply. An existing luminaire already within 5 ft is not forced up to 12 ft; it may stay at 5 ft above the water if it is rigidly attached and GFCI protected. An indoor spa under 680.43(B) uses the 12 ft height, reducible to 7 ft 6 in when the fixture is GFCI protected.
Because 680.22(B)(1) reads "within 5 ft" and 680.22(B)(4) reads "5 ft to 10 ft," the two zones overlap at the 5 ft and 10 ft marks. This tool resolves those ties to the stricter rule, so a fixture at exactly 5 ft is held to the 12 ft height and one at exactly 10 ft still falls in the GFCI zone, never the more permissive reading.
Worked example: a backyard pool
A permanently installed pool needs its required convenience receptacle. Set 8 ft from the inside wall, it satisfies 680.22(A)(1), which puts the required receptacle at least 6 ft but not more than 20 ft from the water, GFCI protected and no more than 6 ft 6 in above grade. A pool-pump receptacle can sit closer at 6 ft, the minimum for any receptacle, and it too needs GFCI because it is within 20 ft.
A new post light 3 ft from the edge must be 12 ft above the water under 680.22(B)(1). If the same light is moved out to 7 ft, it falls in the 5 to 10 ft zone: at 6 ft above the water and rigidly attached it needs no GFCI, but drop it below 5 ft above the water and 680.22(B)(4) requires GFCI protection. The pool light switch must sit 5 ft back from the water per 680.22(C), unless a fence separates it from the pool.
Common mistakes
- Forgetting the receptacle maximum. The required receptacle has a ceiling as well as a floor: 20 ft for a pool, 10 ft for an indoor spa. A receptacle 30 ft away does not satisfy the required-receptacle rule.
- Using the pool 20 ft limit for an indoor spa. The indoor spa required receptacle maximum is 10 ft under 680.43(A), not 20 ft.
- Holding a new luminaire to 5 ft above the water. The 5 ft height is the existing-fixture allowance, and only with rigid attachment and GFCI. New work within 5 ft horizontally is 12 ft.
- Skipping GFCI in the 5 to 10 ft luminaire zone. A fixture there below 5 ft above the water must be GFCI protected.
- Confusing equipment clearance with overhead line clearance. Spans passing over the water are Table 680.9, a separate rule, not 680.22(B).
Frequently asked questions
How far does a receptacle have to be from a pool?
The required receptacle is 6 to 20 ft horizontally from the inside wall and no more than 6 ft 6 in high, GFCI protected, under 680.22(A)(1). Other receptacles are at least 6 ft away, and any within 20 ft must be GFCI protected.
How high does a pool light have to be?
A new luminaire within 5 ft horizontally of the water must be 12 ft above the maximum water level per 680.22(B)(1). Between 5 and 10 ft it needs GFCI unless it is at least 5 ft above the water and rigidly attached. An existing fixture within 5 ft may stay at 5 ft above the water if rigidly attached and GFCI protected.
How far from an indoor spa does a receptacle go?
At least 6 ft and not more than 10 ft from the inside wall of the spa under 680.43(A), and any 125 volt receptacle rated 30 amperes or less within 10 ft must be GFCI protected.
How far does a switch go from a pool?
At least 5 ft horizontally from the inside walls under 680.22(C), unless a barrier separates the switch from the water. The same rule applies to an indoor spa through 680.43.
Does this cover power lines over the pool?
No. Overhead conductor clearances over a pool are Table 680.9, a separate grid of distances, and are out of scope here. Use the Overhead Conductor Clearance Calculator for spans over the water.
Related calculators
- Overhead Conductor Clearance Calculator: the vertical clearance of an overhead span over the ground or a roof per NEC 230.24 and 225.18.
- GFCI Breaker Sizing Calculator: where GFCI protection is required and how to size the breaker.
- Working Space Clearance Calculator: the working space in front of electrical equipment per NEC 110.26(A).
- EV Charger Circuit Calculator: size the branch circuit and breaker for an EVSE per NEC Article 625.
Studying for the licensing exam? Our own NEC Code Quickstart works all twelve exam calculations start to finish, each with the code reference. Also in paperback. Going for the master license? NEC Master Electrician Exam Practice has 300 master-level questions with fully worked, table-cited answers, built on the 2023 NEC.
Running an electrical contracting business? Jobber handles scheduling, invoicing, and job management. Start a 14-day free trial.
Already have the software and the follow-up still is not happening? That is an unfilled seat rather than a missing tool. Our own Role Build covers the seat: three duties built to run start to finish inside the tools you already pay for.
For deeper NEC training on pool and spa electrical installation, Mike Holt's NEC courses are the industry standard.
Working from the printed code? NEC code books and tab sets are available from Mike Holt.
This page contains affiliate links. ElectricalToolbox may earn a commission when you sign up or buy through them, at no additional cost to you.
Get new tools and reference cards by email
Occasional emails when a new calculator, guide, or printable card ships. No spam, unsubscribe anytime.