Pool fences

Florida pool fence rules, in plain words

What a pool barrier has to be in Florida, which fences pass, and what one costs — from a Tampa company that builds them.

By the Vilo Fence team, TampaUpdated November 11, 2026

The short answer

In Florida, a fence around a home pool has to be at least 48 inches tall, with no more than 2 inches of space at the ground and no opening a 4-inch ball can pass through. Gates must open outward, away from the pool, and be self-closing and self-latching; the latch release goes on the pool side unless it is at least 54 inches up.

Those details are in the Florida Building Code’s residential pool section (R4501.17), which carries out the state’s pool safety law (Chapter 515). Our pool-code aluminum fence is $31.72–$34.72 a foot installed.

On this page
  1. Height and gaps
  2. Pickets and rails
  3. Gates and latches
  4. Which fences pass
  5. Permits and inspections
  6. Other options

Height and gaps

  • At least 48 inches tall, measured on the side away from the pool.
  • No more than 2 inches between the bottom of the fence and the ground (4 inches when the barrier sits on top of an above-ground pool).
  • No opening a 4-inch sphere can pass through — anywhere in the fence or gate.
  • Nothing to climb. A solid barrier can’t have ledges or cut-outs that work as footholds.

Pickets and rails

The rule for picket fences depends on how far apart the horizontal rails are, because close rails make a ladder:

If the rails areThen
Less than 45 in. apart (top to top)The rails go on the pool side, and the space between pickets can’t be more than 1¾ in.
45 in. or more apartThe space between pickets can’t be more than 4 in.
Chain linkThe mesh can’t be bigger than 2¼ in., unless slats close the openings to 1¾ in.

That is why pool fences look the way they do: aluminum pool fences use a “pool code” layout with pickets close together, and the rails face the pool.

Gates and latches

  • Opens outward, away from the pool.
  • Self-closing and self-latching — let go and it shuts and locks on its own, from any open position.
  • Latch release on the pool side, at least 3 inches below the top of the gate, with no opening bigger than ½ inch within 18 inches of the release. A release at least 54 inches up may be on either side.
Check your gate today: open it halfway and let go. If it doesn’t close and latch by itself, it doesn’t meet the rule — and it’s the most common thing to fix.

Which fences pass

  • Aluminum — the usual pool fence: open, so the pool stays visible, and it lets wind through. Our pool-code style (flat-top, 2 rails, 4 ft) is $31.72–$34.72 a foot installed; aluminum walk gates start at $425 — tell us it’s for a pool so the gate gets self-closing hinges and a pool latch. See aluminum fence cost.
  • Vinyl — a solid privacy fence with no footholds can serve as the barrier; picket styles depend on the rail spacing. We check the style against the rule on the measure.
  • Chain link — passes with small enough mesh (2¼ in. or less) or slats.
  • Glass and aluminum railing around a pool deck — see pool railing.

Permits and inspections

A barrier around a new pool is inspected as part of the pool’s permit. Replacing the fence around an existing pool depends on where you live: some places that exempt ordinary fences still require a permit for a pool barrier — Pasco County, for one, treats a pool-barrier fence as structural work that needs a permit. See fence permits in Tampa Bay, or ask us; we check your address’s rules before every install and help with the paperwork when a permit is needed.

Other ways the law allows

Florida’s pool safety law (Chapter 515) requires a new residential pool to have at least one of these features — a fence is the most common:

  • A barrier (fence) that meets the rules above
  • An approved pool safety cover
  • Exit alarms on doors and windows that open onto the pool area
  • Self-closing, self-latching doors to the pool area
  • A pool alarm

A wall of the house can count as part of the barrier only if it has no door or window that opens directly onto the pool area.

Questions

Questions people ask

How tall does a pool fence have to be in Florida?
At least 48 inches, measured on the side away from the pool, with no more than 2 inches of space at the ground.
Which way does a pool gate have to open?
Outward, away from the pool. It also has to close and latch by itself.
How high does the pool gate latch have to be?
The release goes on the pool side of the gate, at least 3 inches below the top. A release at least 54 inches above the ground can be on either side.
What is the 4-inch rule?
No opening in the fence or gate can let a 4-inch ball pass through — about the size of a small child’s head.
How much does an aluminum pool fence cost?
Our pool-code aluminum fence is $31.72–$34.72 a foot installed, and aluminum walk gates start at $425. Your exact price — including the pool gate hardware — comes from a free on-site measure.

Fence in your pool.

Enter your address to see times for a free on-site measure.

    Want a number first? See your price

    Prefer to talk? (813) 443-0771 · Mon–Fri 8–5 · Sat 8–12 · Se habla español · Falamos português