Virginia Pool Fence Requirements at a Glance

Fence Required?
RequiredSources verified September 2026
Minimum Height
48 inches (4 feet)
Maximum Opening Size
4 inches (1¾" where horizontal members < 45" apart)
Gate Requirements
Self-closing, self-latching, opens outward, able to take a lock. Outside-reachable latch at 54"+; a pool-side-only latch 3" below the top.
Permit Required?
Yes, from your city or county building department
Applies To
All residential pools >24 inches deep

Virginia Pool Barrier Law

Virginia has one building code for the whole state, the Uniform Statewide Building Code (USBC, 13VAC5-63), which cities and counties enforce. For homes, the Virginia Residential Code sends pool design and construction to the Virginia Swimming Pool and Spa Code, the 2021 International Swimming Pool and Spa Code (ISPSC) with Virginia amendments. Its barrier rules apply to pools, spas and hot tubs that can hold more than 24 inches of water.

Barrier rules (ISPSC Section 305)

  • At least 48 inches high on the side away from the pool, and that height kept for 3 feet outside the barrier
  • No more than 2 inches between grass, soil or gravel and the bottom; 4 inches over a solid surface such as concrete
  • No opening a 4-inch sphere can pass through; 1.75-inch spacing where horizontal rails are less than 45 inches apart
  • Pedestrian gates that open outward, close and latch by themselves, and can take a lock; utility gates kept locked when not in use
  • A latch reachable from outside at least 54 inches up, or a pool-side-only latch at least 3 inches below the top of the gate
  • Pumps, filters and heaters outside the barrier kept at least 36 inches from it

The lock wording is the model code's: gates must be "equipped to accommodate a locking device." It is not a Virginia add-on.

House wall as part of the barrier. Where doors or low windows in the house open to the pool, Section 305.4 requires one of these: listed door and window alarms (UL 2017) with the shut-off switch at least 54 inches up, a safety cover meeting ASTM International (ASTM) standard F1346, or another approved means such as self-closing, self-latching doors.

Always Verify With Your Local Authority

State and local laws change. This information reflects our best research as of September 2026, but you must confirm current requirements with your local building department before installing or modifying any pool barrier. The Uniform Statewide Building Code replaces local building codes (Code of Virginia 36-98); some cities, such as Virginia Beach, also keep pool rules in their city code.

Last reviewed: September 2026. Report an error →

Official source: Virginia Uniform Statewide Building Code (13VAC5-63)

Above-Ground Pools in Virginia

An above-ground or on-ground pool that can hold more than 24 inches of water needs a barrier too. The pool wall can serve as the barrier if its bottom is on grade, its top is at least 48 inches above grade all the way around, it meets the opening rules and the manufacturer allows it. A barrier can also be mounted on top of the wall to reach 48 inches.

Ladders and steps must be secured, locked or removed, with no 4-inch opening left behind, or surrounded by a barrier of their own. Mesh fences may not be mounted on top of an on-ground pool.

Confirm Your Above-Ground Setup Locally

Ask your building department whether your pool wall and ladder hardware qualify before you buy. Some localities add rules of their own.

Ready to get your fence installed?

Use our free tool to estimate costs and get quotes from local pros.

Calculate My Cost

County & Local Variations in Virginia

Localities enforce the statewide code and run their own permit processes, and some add local ordinances. These examples come from local sources; ask your own building department about anything else.

JurisdictionKey Notes
Virginia BeachAll pools and barriers need a building permit. The city's code enforcement office publishes a barrier guidebook (dated 08/2016). City Code 34-36 requires a fence around any outdoor pool, whatever its construction date, with a fine of up to $300 for each day of violation.
James City CountyThe barrier needs its own permit, separate from the pool. County Ordinance 15-28 does not allow an automatic cover to serve as the barrier for an in-ground pool (county handout, rev. 03/2025).
York CountyA building permit is required for all new pools, hot tubs and spas; the county's pool guidelines follow the Virginia Residential Code and the 2021 ISPSC.
ChesapeakePublishes residential pool, spa and hot tub guidance.

Always verify requirements with your local building department before purchasing or installing any pool fence.

Pool Fence Cost in Virginia

We found no published source that prices pool fences by state or city, so these are national installed ranges from our pool fence cost guide. Quotes where you live can land above or below them.

MaterialInstalled, per linear footFull breakdown
Removable mesh$15 to $35Mesh fence cost
Aluminum$30 to $60Aluminum fence cost
Vinyl / PVC$20 to $45Vinyl fence cost
Tempered glass$90 to $500Glass fence cost

National typical installed ranges, not quotes. Multiply by your fence perimeter. Some sources include one gate in the figure; extra gates, permits and hard deck surfaces add to the total. Sources: HomeGuide (Feb 3, 2026), Life Saver Pool Fence (Aug 5 and Sep 23, 2026) and Pool Guard USA (May 20, 2025). Full source list and method: pool fence cost guide. Reviewed September 2026.

Not sure what your state requires?

Look up your exact requirements in our state-by-state database.

View State Requirements

Virginia Pool Fencing: One Statewide Code, Local Permits

Virginia's pool barrier rules are the same across the state: the Uniform Statewide Building Code applies the 2021 pool code, and localities enforce it. What differs from place to place is the permit process and, in some counties, a local ordinance on top.

James City County is a good example of the local layer. It wants a separate barrier permit and does not let an automatic cover stand in for the barrier on an in-ground pool. Ask your building department what it adds before you design around a cover or a house wall.

Two details catch people. Gates must be able to take a lock, which is model-code language, and a house wall only counts with alarms, a safety cover or another approved protection at the doors and low windows.

Virginia Pool Fence FAQs

Yes. The Uniform Statewide Building Code applies the Virginia Swimming Pool and Spa Code, based on the 2021 International Swimming Pool and Spa Code, which requires a barrier around pools, spas and hot tubs that can hold more than 24 inches of water. Cities and counties enforce it.

48 inches, measured on the side away from the pool, with that height kept for 3 feet outside the barrier. The bottom gap can be no more than 2 inches over soil or grass, or 4 inches over concrete.

Gates must be equipped to accommodate a locking device, which is the model code's wording. Pedestrian gates must open outward and close and latch by themselves, and utility or service gates must stay locked when not in use.

Yes, with added protection at doors and low windows that open to the pool: listed alarms with the shut-off switch at least 54 inches up, a safety cover meeting ASTM F1346, or another approved means such as self-closing, self-latching doors. A local ordinance can limit these options.

Yes, when the pool can hold more than 24 inches of water. The pool wall can be the barrier if it is on grade, at least 48 inches high all around and approved by the manufacturer, and the ladder or steps can be secured, locked or removed.

A violation of the Uniform Statewide Building Code is a misdemeanor punishable by a fine of up to $2,500, and the court orders the violation fixed (Code of Virginia 36-106). A locality may also adopt a schedule of civil penalties for violations that are not corrected.

Sources

Every rule on this page traces to one of these. We link the primary source so you can check it yourself.