If you're installing a pool in Ontario, your fence isn't just a safety feature—it's a legal requirement. The Ontario Building Code (OBC) mandates specific height, gate, and spacing rules for pool enclosures, and municipalities in Kitchener-Waterloo-Cambridge enforce them strictly during permit inspections.

Here's what you need to know to build a compliant pool fence.

Minimum Fence Height Requirements

Ontario Building Code requires pool enclosures to be at least 1.2 metres (4 feet) high, measured from grade level. Most homeowners build 1.5 metres (5 feet) to provide better security and privacy.

Key height rules:

If your pool deck is elevated, the fence must be measured from the deck surface, not from the ground below. This often catches homeowners off-guard during inspections.

Gate Specifications and Self-Closing Hardware

Every pool enclosure gate must be self-closing and self-latching. No exceptions.

Ontario gate requirements:

You can install the latch on the pool side of the fence as long as it's at the required height. Many homeowners use magnetic or spring-loaded latches rated for outdoor use in Ontario's freeze-thaw climate.

Popular compliant gate hardware options:

If your pool enclosure uses your house as one side of the barrier, every door leading to the pool area must have a self-closing device and high-mounted latch, or an alarm that sounds when the door opens.

Picket and Mesh Spacing Rules

The OBC limits openings in your pool fence to prevent children from squeezing through or getting their heads stuck.

Maximum spacing:

For horizontal rail fences (common with aluminum and vinyl), the OBC specifically prohibits designs that create a "ladder effect." If you use horizontal members, they must be on the pool side of the fence only, and pickets must be closely spaced to eliminate toeholds.

Glass and acrylic panels are compliant if they're at least 5 feet tall with no gaps at the bottom. They're popular for pool decks because they don't obstruct sightlines, but expect to pay $150-250 per linear foot installed.

Pool Enclosure Permit Requirements in KWC

You need a building permit to install a pool fence in Kitchener, Waterloo, and Cambridge. Permit costs typically range from $50-200 depending on the municipality and whether you're combining it with a pool permit.

What's required for the permit application:

Most municipalities process pool fence permits within 2-3 weeks, but expect delays in spring when permit offices are busiest. If you're hiring a contractor, they usually handle the permit application as part of the installation.

For step-by-step permit guidance, see our Kitchener deck permit application guide, Waterloo permit process, or Cambridge permit walkthrough.

Fence Setback and Property Line Rules

Your pool fence must meet municipal setback requirements from property lines, just like decks and sheds.

Typical KWC setbacks:

If your pool fence needs to be closer to the property line than bylaws allow, you can apply for a minor variance through the Committee of Adjustment. Processing takes 4-8 weeks and costs $1,000-1,500.

Before you dig post holes, call Ontario One Call at 811 to mark underground utilities. It's free and legally required. Learn more in our Ontario One Call guide.

Fence Material Options and Costs (2026 Pricing)

Ontario pool fences are commonly built from vinyl, aluminum, wood, or chain-link. Each material meets code if installed to proper height and spacing specs.

Installed cost per linear foot (2026):

| Material | Cost Range | Lifespan | Maintenance |

|----------|------------|----------|-------------|

| Chain-link | $20-35 | 15-20 years | Minimal |

| Pressure-treated wood | $30-50 | 10-15 years | Annual stain/seal |

| Cedar | $40-60 | 15-25 years | Biennial stain |

| Vinyl | $45-70 | 20-30 years | Wash yearly |

| Aluminum | $50-80 | 25-40 years | Minimal |

For a typical 100-linear-foot pool enclosure (25×40 ft area), expect total installed costs:

Vinyl and aluminum are popular in Ontario because they handle freeze-thaw cycles without warping or rotting. Wood fences need regular maintenance but cost less upfront.

If you're also building a pool deck, consider using the same material for visual consistency. See our pool deck ideas guide for material comparisons.

Above-Ground Pools and Deck Barriers

Above-ground pools with walls at least 1.2 metres (4 feet) high and no permanent access ladder don't require a separate fence—the pool wall acts as the barrier. But as soon as you add a deck, everything changes.

If your pool deck has stairs or a ladder:

Many homeowners build a gated enclosure around the deck stairs only, leaving the rest of the deck open. This is compliant as long as there's no other access point to the deck or pool.

Removable ladders that you take off when the pool isn't in use do not eliminate the need for a fence if you have a permanent deck. Inspectors evaluate your setup based on the permanent structures, not your daily habits.

For above-ground pool deck projects, check our low deck vs. elevated deck comparison for permit and cost guidance.

Inspection and Compliance Timeline

After you install your pool fence, the municipality schedules a final inspection to verify compliance. Inspectors check:

Common failure points:

If your fence fails inspection, you'll need to fix the issue and schedule a re-inspection. Most municipalities charge $50-100 for re-inspection visits.

Once approved, you'll receive a final inspection certificate. Keep this document—it proves compliance if you ever sell your home or make insurance claims related to your pool.

Winter Maintenance and Gate Hardware

Ontario winters are hard on pool fence gates. Snow buildup and freeze-thaw cycles can damage self-closing hinges and latches if you don't maintain them.

Annual winter prep:

Self-closing hinges rated for -30°C typically last 10-15 years in Ontario. Budget $100-200 every decade to replace gate hardware before it fails.

For broader winter maintenance tips, see our winter deck care guide.

Common Questions

Can I use my existing backyard fence as a pool barrier?

Yes, if it meets OBC height (5 feet minimum), spacing (4-inch max gaps), and has a compliant self-closing, self-latching gate. Most older fences don't meet these specs and need to be upgraded or replaced. An inspector will evaluate your existing fence during the permit process.

Do I need a fence if my pool is only used seasonally?

Yes. Ontario law doesn't distinguish between seasonal and year-round pools. If you have a pool that can hold water, you need a compliant enclosure, even if you drain it in winter. The barrier requirement is permanent, not seasonal.

What happens if I don't install a pool fence?

You can be fined by your municipality, and your homeowner's insurance may refuse to cover pool-related claims. If a child is injured on your property due to an unsecured pool, you face both legal liability and potential criminal charges under Ontario's pool safety laws.

Can I install the fence myself or do I need a licensed contractor?

You can install your own pool fence as long as it meets OBC requirements and passes inspection. However, most homeowners hire licensed fence contractors to ensure compliance and avoid re-inspection costs. Contractor-installed fences typically include a 1-5 year warranty on workmanship.

How close can my fence be to the pool edge?

The OBC doesn't mandate a minimum distance between the fence and pool edge—only that the fence encloses the pool area. Most homeowners leave 2-4 feet between the fence and pool for maintenance access and safety. Check your local bylaws for any additional clearance requirements around the pool coping.

🎨
See what your deck could look like

Upload a backyard photo and preview real decking materials with AI — free, instant, no sign-up.

Try PaperPlan free →

Planning a deck? Get 1–3 quotes from vetted local builders — free, no pressure.

Get free quotes →