Canadian building code question

What are the building code requirements for fences in Canada?

Fence requirements in Canada are primarily governed by municipal bylaws covering height, setbacks, and materials, but the building code sets specific requirements for pool enclosures and fences that serve as guards. Most residential fences do not require a building permit, but pool barrier fences and retaining-wall fences may.

Fences are one of the most common residential construction items, but the requirements come from multiple sources. Municipal bylaws set height limits, front-yard restrictions, and material guidelines. The building code applies when a fence serves as a pool enclosure, a guard at a change in elevation, or a fire-rated barrier. Understanding which rules apply prevents common disputes and compliance issues.

What to check first

  • Most residential fences are governed by municipal bylaws, not the building code directly.
  • Pool enclosure fences must meet specific building code requirements for height, gate hardware, and climbability.
  • Fences that function as guards at elevation changes must meet guard height and loading requirements.

Jurisdiction notes

Municipal bylaws

Height limits, front-yard restrictions, materials, and permit requirements are typically set by municipal fence bylaws.

Building code application

The building code applies to pool enclosures, fences acting as guards, and fences near property lines that serve a fire-rated function.

Provincial variations

Pool enclosure requirements vary by province and some provinces have specific legislation beyond the building code.

Work through it in this order

  1. Check your municipal fence bylaw for height limits, setback requirements, and permitted materials.
  2. Determine if the fence serves a code-regulated function such as a pool enclosure or guard.
  3. If a pool enclosure, verify height, gate hardware, and anti-climb provisions against the building code.
  4. Confirm whether a building permit is required based on the fence type and local requirements.

Common questions

Do I need a permit to build a fence?

Most residential fences do not require a building permit, but pool enclosures and tall fences may. Check your municipal bylaw.

What is the maximum fence height?

Municipal bylaws typically limit rear and side yard fences to 1.8 m (6 ft) and front yard fences to 1.0-1.2 m (3-4 ft), but this varies.

What are the requirements for a pool fence?

Pool enclosure fences must meet minimum height requirements, have self-closing and self-latching gates, and be designed to prevent climbing.