An independent guide to local permits & inspections

Project permit guide

Do I Need a Permit for a Swimming Pool?

Reviewed · 19 cited sources

Short answer

Almost always for an in-ground pool, and usually for an above-ground pool deeper than 24 inches. The model International Residential Code exempts only prefabricated pools less than 24 inches deep, and pools typically need separate electrical, plumbing, and barrier approvals as well.

On this page 15 sections

Swimming pools are among the most heavily regulated residential projects. They combine deep water, electricity, large excavations, and a serious drowning risk for young children. Nearly every in-ground pool needs a building permit, and most above-ground pools do too. Spas and hot tubs usually need at least an electrical permit.

The rules come from the building code, the electrical code, local zoning, and in many places a state pool barrier law. To confirm the rules at your address, find your local building department.

What the model code exempts

Section R105.2 of the 2021 International Residential Code (IRC), Building item 7, exempts from a building permit “Prefabricated swimming pools that are less than 24 inches (610 mm) deep.” That covers wading pools and many small inflatable pools. A pool deeper than that, or any pool built on site, is not exempt under the model code. The exemption covers the building permit only; R105.2 also says exempt work must still comply with the code, and its electrical exemptions do not include wiring a pool pump.

For the pool itself, IRC Section R327.1 (2021 edition) says the design and construction of pools and spas “shall comply with the International Swimming Pool and Spa Code” (ISPSC). The ISPSC holds the barrier, entrapment, and equipment rules. States adopt it with their own amendments, and some states have separate pool safety statutes that apply on top of, or in place of, the code. Some cities also set a lower depth trigger for permits.

When you usually need a permit

Expect permits for:

  • Any in-ground pool, whether concrete (gunite or shotcrete), vinyl-lined, or fiberglass.
  • Above-ground pools 24 inches deep or more.
  • Hardwired spas and hot tubs, and any spa installed in the ground or built into a deck.
  • Pool equipment: pumps, filters, heaters, and lighting. Electrical and gas work need their own permits.
  • Pool barriers, including fences, walls, gates, and door alarms where required.
  • Decks, patios, and retaining walls built as part of the pool project, which may need separate review.
  • Remodeling an existing pool, such as replacing the shell, changing the depth, or replacing equipment with different electrical requirements.

Work that is often exempt

Depending on local rules, these may not need a permit:

  • Prefabricated pools under 24 inches deep, including most inflatable and wading pools.
  • Routine maintenance such as cleaning, replastering in kind, or replacing a pump with an identical model (some jurisdictions still require an electrical permit for equipment replacement).
  • Plug-in spas that use a listed cord-and-plug connection, where local rules allow it. Barrier or cover requirements may still apply.

Barrier requirements

Barriers are the heart of residential pool safety rules. Section 305 of the 2021 ISPSC requires outdoor pools and spas to be surrounded by a barrier that meets these rules:

  • Height (305.2.1). At least 48 inches above grade, measured on the side away from the pool. The gap under the barrier can be no more than 2 inches over grass or gravel, or 4 inches over a solid surface such as concrete.
  • Openings (305.2.2). No opening that a 4-inch sphere can pass through.
  • Climbability (305.2.5-305.2.8). If horizontal members are less than 45 inches apart, they must be on the pool side and vertical spacing is limited to 1 3/4 inches. Chain-link openings are limited to 1 3/4 inches.
  • Clear zone (305.2.9). Pool equipment outside the barrier, such as pumps, filters, and heaters, must sit at least 36 inches from the barrier so a child can’t use it to climb.
  • Gates (305.3). Pedestrian gates must open outward away from the pool, be self-closing and self-latching, and accept a lock. At residential pools, a latch release reachable from outside must be at least 54 inches above the ground (305.3.3).
  • The house as a barrier (305.4). Where a house wall forms part of the barrier and doors or low windows open to the pool, you need one of three options: alarms listed to UL 2017, a safety cover listed to ASTM F1346, or another approved protection such as self-closing, self-latching doors.
  • Above-ground pools (305.5). The pool wall can serve as the barrier if it is at least 48 inches high around the whole perimeter and the manufacturer allows it. Ladders or steps must be surrounded by a barrier or be lockable or removable.
  • Spas and hot tubs (305.1). A spa or hot tub with a lockable safety cover complying with ASTM F1346 does not need the barrier.

States amend these sections: New Jersey’s 2021 ISPSC adoption omits Section 305.4, while Utah’s 305.1 also accepts a powered safety cover on a pool. Get your department’s barrier handout before buying fencing.

Electrical and drain safety

Pool electrical work is governed by Article 680 of the National Electrical Code (NFPA 70). Typical requirements include GFCI protection for pool pumps and receptacles near the pool, equipotential bonding of the pool shell, metal parts, and nearby metal fixtures, minimum distances for receptacles, and clearances from overhead power lines. Phoenix, for example, points pool applicants to the NEC’s Table 680.9(A) for overhead conductor clearances. Bonding is one of the most important inspections on a pool, because it reduces the risk of shock in and around the water.

Suction outlets and drain covers must prevent entrapment. The federal Virginia Graeme Baker Pool and Spa Safety Act (15 U.S.C. 8003) requires every pool and spa drain cover made or sold in the United States to meet the ASME/ANSI A112.19.8 entrapment standard. Its stricter equipment rules, such as safety vacuum release systems for single main drains, apply to public pools, not backyard pools. For residential pools, ISPSC Section 310.1 requires suction entrapment avoidance under APSP 7 (ANSI/PHTA/ICC 7), with an exception for listed portable spas.

How the rules differ by state and city

State pool safety laws and local amendments change the barrier height, the safety options, and even what counts as a pool. Four examples, checked against official sources in October 2026:

  • Florida (statewide). The Residential Swimming Pool Safety Act, Florida Statutes Chapter 515, defines a swimming pool as one holding water over 24 inches deep, including above-ground pools, hot tubs, and nonportable spas (515.25). To pass final inspection, a new residential pool needs at least one safety feature (515.27): a barrier meeting 515.29, an approved safety cover, exit alarms of at least 85 dB on doors and windows to the pool, self-closing, self-latching doors with the release at least 54 inches high, or an in-pool alarm certified to ASTM F2208. The barrier must be at least 4 feet high, and a house wall can be part of it only if it has no door or window opening to the pool. Failing to equip a new pool is a second-degree misdemeanor. Portable spas with an ASTM F1346 cover and small “kiddie pools” without motors are exempt (515.37).
  • Arizona (statewide). ARS 36-1681 requires an enclosure around any pool with water 18 inches or more deep that is wider than 8 feet, a lower trigger than the IRC’s 24 inches. The enclosure must be at least 5 feet high, at least 20 inches from the water’s edge, with gates that latch at least 54 inches up and open outward. Where the house forms part of the enclosure, the options include a 4-foot inner fence, a key-operated motorized safety cover, or self-latching doors plus high latches, screwed-in screens, or limited-opening locks on windows facing the pool. The law does not apply to a residence where all residents are at least 6 years old, or where a city has an equal or stricter ordinance.
  • Phoenix. Phoenix enforces the 2024 ISPSC with city amendments and requires a 5-foot barrier fence, inspected at pre-plaster. If the house wall is part of the barrier, every door to the pool area must be self-closing and self-latching, pet doors are not allowed, and windows need latches at least 54 inches above the floor or, except bedroom egress windows, screwed-in stops or screens. The approved barrier must stay for the life of the pool. Zoning requires a 3-foot setback from exterior property lines, and a property survey or signed survey waiver is needed when the water’s edge is less than 5 feet from a property line. Under the city’s submittal guideline, applications using an approved standard pool plan go in by email with a $75 plot plan review fee; custom pools pay valuation-based review and permit fees.
  • Miami-Dade County. The county’s building fee schedule (Implementing Order 4-63, effective June 30, 2025) charges a flat $640 to install a residential pool or spa and $169 to repair one. Trade permits are separate: the current electrical fee sheet lists $148.68 per residential pool or spa and the plumbing fee sheet lists $99.13 for residential pool piping.

What the inspection covers

A typical in-ground pool goes through several inspections:

  1. Layout or pre-excavation, confirming the location and setbacks match the approved plan (some departments include this in the first inspection).
  2. Steel and bonding. Before concrete or shotcrete, the inspector checks reinforcing steel and the bonding grid.
  3. Plumbing, usually a pressure test of pool piping before it is buried.
  4. Electrical, including underground conduit, bonding, equipment wiring, and lighting.
  5. Gas, if there is a gas heater.
  6. Barrier and final. The inspector checks the fence, gates, door protections, equipment, and finished work. Many departments require this before the pool is filled or used.

Above-ground pools and spas usually have fewer inspections, often electrical and barrier or final.

What to have ready when you apply

Pool applications generally ask for more than most residential projects:

  • Site plan showing property lines, the house, the pool, equipment pad, decking, barrier and gate locations, and distances to property lines, structures, septic systems, and easements.
  • Pool construction drawings, often prepared or stamped by an engineer for in-ground pools, or the manufacturer’s specifications for above-ground and fiberglass pools.
  • Electrical plan showing the equipment, circuits, and bonding.
  • Equipment specifications for pumps, heaters, and drain covers.
  • Barrier details, including fence height, materials, and gate hardware.
  • Grading and drainage information, and where pool water will be discharged when draining.
  • Contractor license numbers for the pool contractor and trades.
  • HOA approval where required.

Pool permits often carry higher fees than simpler projects because they involve plan review and multiple trades. Our building permit cost guide explains how fees are typically calculated.

Quick checklist before you build

  • Confirm with zoning that the pool, equipment pad, and decking fit the setbacks and stay out of easements.
  • Decide on your barrier option (fence, house wall with door protections, or safety cover) and check it against the local barrier rules.
  • Apply for the building permit and the electrical, plumbing, and gas permits, or confirm your contractor is pulling them.
  • Contact 811, the free before-you-dig service, a few business days before excavation and wait until every utility has marked its lines.
  • Keep approved plans on site, and schedule each inspection before covering steel, piping, or conduit.
  • Confirm which inspections must pass before you fill the pool, and keep the barrier in place from then on.

Zoning and HOA rules are separate

Zoning rules often control where a pool can go: setbacks from property lines, distance from the house, lot coverage, and the location of noisy equipment. Building into a utility easement usually takes the utilities’ sign-off; Phoenix, for example, requires a letter of encroachment clearing the pool with every local utility. Floodplain rules may apply, and some areas restrict pools near slopes or bluffs. HOAs commonly regulate pools, fences, and screening.

Questions to ask your building department

  • Which pool and barrier code has the city adopted, and are there local amendments?
  • Do above-ground, inflatable, or plug-in spa installations need permits here?
  • Which inspections are required, and which must be passed before filling the pool?
  • Do I need separate electrical, plumbing, and gas permits?
  • Does the pool need a zoning review or setback approval?

For more about the inspection sequence, see building inspection stages. If you’re planning a pool fence, our fence permit guide covers zoning height limits as well.

Frequently asked questions

Do above-ground pools need a permit?

Often, yes. The model IRC exempts only prefabricated pools less than 24 inches deep, so a typical above-ground pool with deeper walls usually needs a permit, along with a compliant barrier and an electrical permit for the pump. Some cities exempt temporary or inflatable pools, so check locally.

Does a hot tub need a permit?

A hot tub usually needs at least an electrical permit, because it is typically hardwired to a dedicated circuit with a disconnect and GFCI protection. Barrier rules apply to spas too, but under ISPSC Section 305.1 a spa or hot tub with a lockable safety cover complying with ASTM F1346 does not need the fence-type barrier. If the tub sits on a deck, the deck must be designed for the added weight.

How tall does a pool fence have to be?

Under ISPSC Section 305.2.1, at least 48 inches, measured on the side away from the pool, with self-closing, self-latching gates that open outward. Some places go higher: Arizona's state law (ARS 36-1681) and the City of Phoenix require a 5-foot enclosure. Get your local rules before buying fencing.

Can I fill my pool before the final inspection?

Usually not. Many departments require the barrier and electrical bonding to pass inspection before the pool can be filled or used. Ask your department exactly which inspections must be passed first.

Who is responsible for getting the pool permit?

When you hire a pool contractor, the contractor typically pulls the building permit and coordinates the electrical and plumbing permits. Some states license pool contractors specifically. If you install the pool yourself, you are responsible for the permits and inspections.

Sources

  1. 2021 International Residential Code, Chapter 1 Scoping and Administration (Section R105 Permits) (codes.iccsafe.org)
  2. 2021 IRC as adopted in Colorado (UpCodes), Chapter 1 Scope and Administration (R105.2) (up.codes)
  3. 2021 IRC as adopted in Colorado (UpCodes), Chapter 3 Building Planning (R327 Swimming Pools, Spas and Hot Tubs) (up.codes)
  4. Utah Swimming Pool and Spa Code 2021, based on the 2021 ISPSC (UpCodes), Chapter 3 General Compliance (up.codes)
  5. New Jersey Swimming Pool and Spa Code 2021, based on the 2021 ISPSC (UpCodes), Chapter 3 General Compliance (up.codes)
  6. 15 U.S.C. Chapter 106, Pool and Spa Safety (Virginia Graeme Baker Pool and Spa Safety Act), GovInfo (govinfo.gov)
  7. Florida Statutes Chapter 515, Residential Swimming Pool Safety Act (2025) (flsenate.gov)
  8. Arizona Revised Statutes 36-1681, Pool enclosures (azleg.gov)
  9. City of Phoenix Planning & Development, Pool/Spa Permits (phoenix.gov)
  10. City of Phoenix, Pool Barriers Requirements (TRT/DOC/00144, rev. 01/26) (phoenix.gov)
  11. City of Phoenix, Pool/Spa Residential Permits FAQ (TRT/DOC/00913) (phoenix.gov)
  12. City of Phoenix, Pool/Spa Permit Guidelines, Residential Submittals (TRT/DOC/00914) (phoenix.gov)
  13. Miami-Dade County, Building Fee Schedules, Refunds & Cancelations (miamidade.gov)
  14. Miami-Dade County RER Building Fee Schedule (Implementing Order 4-63, effective June 30, 2025) (miamidade.gov)
  15. Miami-Dade County, Electrical Fee Sheet (miamidade.gov)
  16. Miami-Dade County, Plumbing and Gas Fee Sheet (miamidade.gov)
  17. U.S. Consumer Product Safety Commission, Pool Safely (poolsafely.gov)
  18. National Fire Protection Association, NFPA 70 National Electrical Code (nfpa.org)
  19. Call 811 - Know what's below before you dig (call811.com)

This guide is general information, not legal or code advice. How we research · Suggest a correction