ONTARIORenovation Guide

Permits & Regulations

Do I Need a Permit for a Fence in Ontario?

Ontario fences usually don't need a building permit, but by-laws limit heights and pool enclosures have rules. What applies in the GTA.

Last updated: Checked against official sources: 2 min readBy the Ontario Renovation Guide editorial team

The short answer

  • A typical backyard fence doesn't need a building permit in Ontario municipalities.
  • Fence by-laws set maximum heights. Rear-yard fences are commonly limited to about 2 m, and front-yard fences to about 1 to 1.2 m.
  • Pool enclosures have specific requirements and often need a permit.
  • Request utility locates before digging post holes.
On this page

Fences are one of the few projects where the building permit question is usually easy: a typical residential fence doesn't need one. The rules that do apply come from your municipality's fence by-law.

No building permit, but by-laws apply

Fences generally aren't treated as buildings, so they don't need a building permit. Mississauga's guidance, for example, lists fences among projects that don't need one. What does apply:

  • Fence by-laws that set maximum heights in front, side and rear yards
  • Sight-line rules near driveways and corners, so drivers can see pedestrians
  • Pool enclosure by-laws, which set minimum heights, gate and latch requirements, and often require a permit
  • Zoning in some cases, for example near ravines or on corner lots

Heights in Toronto and Mississauga

Toronto (Municipal Code Chapter 447): rear-yard fences are generally limited to 2.0 m. In a front yard, a fence within 2.4 m of a lot line that abuts a street is limited to 1.2 m. Other situations, such as fences next to multi-residential or commercial properties, have their own limits.

Mississauga: rear-yard fences are generally limited to 2 m. Front-yard fences are limited to 1 m, or 1.5 m if they're open construction. If your backyard is next to a neighbour's front yard, a fence within 4.5 m of their driveway generally has to be open construction.

Heights are measured from grade, and how grade is measured is defined in each by-law. Lattice on top of a fence usually counts toward the height.

Fences: how GTA municipalities compare
MunicipalityWhat the city's published guidance says
TorontoNo building permit, but Chapter 447 limits heights. Rear-yard fences are generally limited to 2.0 m, and front-yard fences near the street to 1.2 m. Pool enclosures have separate requirements.
MississaugaNo building permit. The fence by-law generally limits rear-yard fences to 2 m and front-yard fences to 1 m (1.5 m if open construction). Pool enclosures need a permit.
BramptonFence heights are set by by-law. Check with the city before building, and remember that pool enclosures have their own rules.
OakvilleNo building permit for a typical fence, but zoning and fence rules control height and location.
VaughanFence heights and locations are regulated by by-law. Pool enclosures need a permit.
MarkhamFence heights are set by by-law. Pool enclosures need a permit.
Plain-English summaries of each municipality's published guidance, last checked October 5, 2026. Rules change: follow the official links on each city's page before you build.

Pool enclosures

If the fence encloses a pool or hot tub, it's a pool enclosure, and different rules apply: minimum heights, limits on climbable openings, self-closing and self-latching gates, and often a permit and inspection before the pool is filled. Check your municipality's pool enclosure by-law before you build.

Retaining walls

A short retaining wall usually doesn't need a building permit (Mississauga's threshold, for example, is under 1 m). Taller walls, or walls supporting a driveway or structure, may need a permit and engineering.

Before you dig

Request free utility locates through Ontario One Call before digging post holes. Your contractor will often arrange it; confirm who's responsible.

Boundary fences and neighbours

If the fence is on the property line, talk to your neighbour first. Agree on location, height, style and how costs will be shared, and put it in writing. A survey confirms where the line actually is.

Taller fences: exemptions

Some municipalities, including Toronto, have an exemption process for fences that don't meet the by-law. It involves an application and fees and isn't automatic. Plan for a by-law-compliant height unless you've been granted an exemption.

Ready to price it? See our fence cost guide.

Frequently asked questions

How high can a backyard fence be in Toronto?

Toronto's fence by-law generally allows rear-yard fences up to 2.0 m. Front-yard fences within 2.4 m of a lot line that abuts a street are limited to 1.2 m. Other situations have different limits, so check Chapter 447.

How high can a fence be in Mississauga?

Mississauga generally allows rear-yard fences up to 2 m and front-yard fences up to 1 m, or 1.5 m if the fence is open construction. There are special rules near a neighbour's driveway.

Can I get an exemption to build a taller fence?

Some municipalities, including Toronto, have a process to apply for an exemption from the fence by-law. It involves an application, fees and notice, and isn't guaranteed.

Official sources

We summarize official information in our own words and link to the source. Requirements can change, so confirm details with the source before relying on them. Our editorial standards

Project Costs

How much does a fence cost in Ontario?

What a new wood privacy fence costs per linear foot in Toronto and the GTA, plus gates, old fence removal, height and worked examples for typical backyards.

Calculator

Fence Cost Calculator

Get a planning range for a new wood or modern fence in Ontario by length, height, material, gates and old fence removal.