Skip to main content
How Can We Help?

Search for answers or browse our knowledge base.

Print

Pool Fence Layout Guide: Ideas, Spacing and Where to Put the Gate

A pool fence should sit at least 20 inches from the water’s edge — 24 to 36 inches if you have the room — and most yards use one of four layouts: a straight run across the yard, a full perimeter, a U against a wall, or an L between two structures. This guide walks you through choosing yours in seven steps, from walking the yard to marking the line, and ends at the calculator that turns your layout into a parts list.

  1. 1Pick a layout
  2. 2Place the gate
  3. 3Distance from water
  4. 4Turns & curves
  5. 5Obstacles & gaps
  6. 6Measure
  7. 7Mark it

Step 1: Walk the Yard and Pick a Layout Style

Stand where people actually enter the pool area and look at where a fence could start and end. Think about how much room you want inside it, what’s in the way (steps, planters, furniture, raised decks, property fences), and every other way into the pool:

  • Doors leading from the house
  • Low windows
  • Doggy doors
  • Side gates or garage entries

Mark a first pass with chalk, rope, or a garden hose so you can see it, and keep it simple: as few turns and sections as you can, and don’t divide the yard more than you need to.

Most yards end up as one of these four layouts.

LayoutHow it worksBest when
Straight run across the yardOne straight line from one side to the other, leaving the rest of the yard openYou have a wall, property fence, or the house on both sides — the easiest install
Full perimeterFollows the general shape of the pool and surrounds the whole pool areaOpen yards with no structures to terminate against
U-shapeA house wall or yard fence forms one side; the fence makes the other threeThe pool sits along a wall or the property line
L-shapeConnects two existing structures — a wall and a property fence — to close off a cornerThe pool sits in a corner of the yard

Straight Run Across the Yard

HouseGatePoolFence lineProperty fenceSeen from above · not to scale

One straight line from one side of the yard to the other, leaving the rest of the yard open. Best when you have a wall, property fence, or the house on both sides — it’s the easiest install, holds tension best, and looks cleanest.

Pool Fence Straight Run Across Yard
Straight Pool Fence Run Across Yard

Full Pool Perimeter

PoolGateFence goes all the way aroundSeen from above · not to scale

The fence follows the general shape of the pool and surrounds the entire pool area. Best for open yards with no structures to terminate against.

All Around the Pool Fence Layout

U-Shaped Layout

HousePoolGateEnds atthe houseEnds atthe houseSeen from above · not to scale

A house wall or yard fence forms one side of the barrier, and the pool fence forms the other three in a “U.” Best when the pool sits along a wall or the property line.

U-Shaped Pool Fence Layout

L-Shaped Layout

HousePropertyfencePoolGateEnds at the property fenceSeen from above · not to scale

The fence connects two existing structures, like a wall and a property fence, to close off a corner of the yard. Best when the pool sits in a corner.

L-Shaped Pool Fence  Layout Example

Choosing the right layout depends on your yard, the space you have, and how you use your outdoor area. Straight runs are the easiest; the other three all work, but every turn is a place where tension gets harder to hold (see Step 4).

Concrete is the best surface for a tensioned mesh fence. Dirt, grass, and turf installations work, but they are less secure, more likely to shift, and harder to maintain, and the gate needs a gate pad or the U-Safe® Gate Kit with two concrete footings. For grass, dirt, or turf, PVC sleeves are set in poured concrete footings.

Step 2: Choose Where the Gate Goes

Every pool fence needs at least one self-closing, self-latching gate, and it’s the part of the fence you’ll use most. Put the main gate where people naturally walk in — near the pool steps, off the patio seating area, or on the walkway to the pool — with enough open space on both sides for it to swing freely and for people to enter safely.

Larger yards or pools with several access points can take a second gate. Even then, keep one main gate where you normally enter the pool area.

Two rules that come from how the gate works:

  • Put it on a straight stretch. A gate needs a straight line to hang and swing properly — plan for a minimum of 9’ 7” of straight fence around it.
  • Put it on hardscape. Drill the gate into concrete, pavers, or another hard surface. On dirt, grass, or turf you need a gate pad, or the U-Safe® Gate Kit, which sits on two concrete footings instead of a full gate pad.
Install gates in straight lines and in hardscape
U-Safe Gate Kit with Standard Footing

Step 3: How Far Should a Pool Fence Be From the Water?

Rule of thumb: at least 20 inches from the water’s edge, and 24 to 36 inches if you have the room.

At least 20 inches from the water’s edge, and 24 to 36 inches or more if you have the room. Twenty inches is the ASTM minimum — any closer and the fence becomes an obstacle for someone getting out of the pool.

Leaving more space inside the fenced area lets you:

  • Walk comfortably around the pool
  • Perform cleaning and maintenance
  • Avoid the fence feeling cramped around the pool

Walk the line at your chosen distance and adjust the chalk or hose from Step 1.

Step 4: Plan the Turns, Curves, and Level Changes

A removable mesh fence works because it’s tensioned from end to end. Straight lines hold that tension easily; every direction change makes it harder. So keep the fence path as simple as your yard allows. When possible:

  • Keep fence runs relatively straight
  • Avoid zig-zag patterns around small obstacles
  • Limit sharp corners or frequent turns
  • Avoid placing the fence across steps or large elevation changes
The simpler the better
Avoid unnecessary turns
Avoid unnecessary turns, elevation changes (steps etc)

Curved, Kidney-Shaped, and Freeform Pools

HousePoolGateGentle bends,straight betweenSeen from above · not to scale

The fence doesn’t have to follow every curve of the pool. In most installations it’s better to run the fence in gentle straight sections between the curves rather than matching every contour. This makes installation easier, keeps the fence looking clean, avoids zig-zags, and keeps the tension from pulling in several directions at once.

Curvy Layout Alternative for Pool Fence Installations

When the yard does need a turn, the fence handles it three ways: a soft turn for gentle curves, a double-pole corner for 90° turns, or All-Safe’s Corner Post. Which to use, and the exact spacing and drill angles, are covered in the Installation Quick Guide. For now, just mark where each turn falls.

Step 5: Check for Obstacles and Gaps

Walk the line once more looking for two things.

Things in the way, or next to the fence. Common obstacles include:

  • Stairs or raised deck areas
  • Planters or landscaping features
  • Outdoor furniture
  • Property fences or walls

Anything climbable near the fence — a bench, a large planter, a storage box — could give a child a way over the barrier, so plan to keep those clear on both sides.

Openings a child could get through or under. General pool safety guidelines include:

  • Openings between vertical fence elements should be less than 4 inches
  • The space between the bottom of the fence and the ground should be no more than 1 inch
  • The fence should connect securely to walls, posts, or other termination points without leaving gaps

Always check your local building codes, as requirements can vary by location.

Access Point - Gap where fence stops at rock formation
Access Point - Gaps at steps, planters or walls

Step 6: Measure and Estimate How Many Sections You Need

All-Safe® removable pool fence sections come pre-assembled in 15-foot sections, with poles spaced 36 inches apart.

|——15 ft——|——15 ft——| Gate |——15 ft——|

  1. Walk the full path of your layout and measure the total distance.
  2. Subtract about 3 feet for each gate opening.
  3. Divide what’s left by 15 feet to get your section count.

Write down two numbers: feet on concrete and other hard surfaces, and feet on grass, dirt or turf. The calculator asks for each, because sections in the ground go into PVC sleeves set in poured concrete footings.

Example: if your layout measures 90 feet and you plan one gate: 90 feet − 3 feet (gate opening) = 87 feet, and 87 ÷ 15 ≈ 6 fence sections. Your final section is often trimmed to fit during installation so the fence ends cleanly at a wall, post, or termination point — that’s normal.

Most installations include one self-closing, self-latching gate; larger yards or multiple entry points may include more. For the exact list — sections, gate quantities, turns, wall connections, and the extra parts — read the DIY Pool Fence Materials & Calculation Guide, or let the DIY Pool Fence Calculator build it from your layout.

Step 7: Sketch It and Mark It

Draw the layout with your measurements on it, then put the real line on the deck with a tape or chalk line. Walk it one last time and confirm:

  • The fence has enough space around the pool
  • The gate is in the best location, on a straight stretch
  • The fence runs smoothly without sharp angles you can avoid
  • Obstacles and gaps have been dealt with
  • You know what each end meets: a solid wall or fence post it can attach to, or nothing that can hold it (that end needs a post of its own)

Taking the time to plan your layout carefully will make the installation much easier and give you a better-looking finished fence. Whether you’re doing it yourself or working with a pro, the better the plan, the better the result.

Use the DIY Pool Fence Calculator

Pro Tip: Choosing a Fence Color

Dark mesh fencing is the most popular option because it visually disappears when viewed from a distance, providing the clearest sightline to the pool. Lighter fence colors can look great when matched with your patio, deck, or landscaping; however, lighter mesh reflects more light, which makes the fence slightly more visible and less transparent than darker colors. When choosing a color, consider both the style of your yard and how important visibility to the pool area is for you.

Most yards use 4 ft fence. If you’re working with an inspector or agency, check their height requirement before you order.

Want to see the colors, heights, poles and gate options side by side before you finalize your plan? See Pool Fence Components.

Printable Pool Fence Planning Checklist

All-Safe® Pool Fence & Coversallsafepool.com
[email protected]

Pool Fence Planning Checklist

Take this out to the yard. Answer each item, then enter your answers in the DIY Pool Fence Calculator.

  1. Height

    4 ft5 ft

    Most yards use 4 ft. Working with an inspector or agency? Check with them first.

  2. Pole type

    Peg (½″)1″Not sure yet

    Your choice. For DIY, consider Peg first: it installs with a hammer drill, which is easy to rent or buy locally. 1″ needs a wet core drill. Compare both on Pool Fence Components.

  3. Layout See guide Step 1

    Pick one.

    • Straight run: one fence across the yard, with a wall or fence at each end
    • Full perimeter: all the way around the pool
    • U-shape: a wall makes one side, the fence makes the other three
    • L-shape: the pool is in a corner, and the fence makes two sides between two walls or fences
    • Curved: straight sections around a curved pool
  4. Distance from the water See guide Step 3

    My fence line is at least 20″ from the water everywhere.

  5. Feet of fence by surface See guide Step 6

    ConcreteGrass, dirt or turfPavers or stoneWood or composite deckTotal

    Today’s calculator: add concrete, pavers and deck for “feet in concrete,” and use the grass line for “feet in dirt.”

  6. Gates See guide Step 2

    One of the bigger costs; most yards need one, at the main entry.

    How many: None

    No gate? You open the fence at a section break. A gate can be added later.

    Each gate goes into:

    Gate 1: Hard surfaceGrass, dirt or turf

    Gate 2: Hard surfaceGrass, dirt or turf

    Each gate has at least 9′ 7″ of straight fence.

  7. Turns See guide Step 4

    Fewer is best.

    Gentle, under 45°
    45°
    90°

    None

    Gentle (under 45°):

    Corners (45°–90°): Two polesCorner Post

    Corner Post: advanced; not in grass or dirt.

  8. Ends See guide Step 7

    Skip if the fence goes all the way around.

    Can I drill into it and attach the fence? (a solid house wall, block wall or sturdy wood fence post)

    Attach?If no, the post stands on:
    StartYesNoHard surfaceGrass, dirt or turf
    EndYesNoHard surfaceGrass, dirt or turf

    Not sure it’ll hold? Plan on a post.

  9. Level changes See guide Step 4

    Does the line cross steps, a raised deck or a planter?

    NoYes, where:

  10. Obstacles See guide Step 5

    Anything climbable near the fence will be moved.

  11. Entries See guide Step 1

    I’ve checked every door, low window, doggy door and side gate into the pool area.

Next: enter your answers at allsafepool.com/diy

Need more detail? Each item matches a step in this guide: allsafepool.com/knowledge-base/how-to-pick-the-right-layout-for-your-pool-fence

Choosing colors and styles? See every option: allsafepool.com/swimming-pool-fences/pool-fence-components

Questions? Chat with us at allsafepool.com/support or email [email protected].

Your next steps

Planning to install the fence yourself? The DIY Pool Fence Guide walks through the full process, including tools, installation steps, and product options.

Was this article helpful?
4.5 out of 5 stars

4 ratings

5 Stars 75%
4 Stars 0%
3 Stars 25%
2 Stars 0%
1 Stars 0%
5
Please Share Your Feedback
How Can We Improve This Article?
Tags:
Table of Contents

Get Pricing for the Right Pool Safety Solution Near You

Fences, safety nets, or pool covers — we’ll guide you to the best option for your pool.

No obligation. We’ll connect you with a trusted local pool safety professional.