How tall can a fence be in the GTA? By-law heights city by city
The GTA baseline is 2.0 m in a rear or side yard and 1.0 m in a front yard, with no permit. This guide names the by-law in each city and the four exceptions that change what gets built.

Key takeaways
- The GTA baseline is 2.0 m in a rear or side yard and 1.0 m in a front yard, built without a permit.
- The baseline is shared, but the instrument is not. Toronto has a dedicated fence chapter, Brampton runs fence height through its zoning by-law, and Markham issues exemption permits for taller fences.
- Toronto measures a fence on an attached uncovered deck from the deck surface, not from the ground.
- Pool enclosures are a separate permit in every one of these municipalities, and gates must be self closing and self latching.
- Height is checked against your address before quoting. A fence built 200 mm too tall is an order to remove, not a warning.
Fence height is the question we get asked before material, before style and usually before price. The answer is close to uniform across the Greater Toronto Area, and then a handful of municipalities carry a rule that catches people out. This guide sets out the baseline, names the by-law that applies in each city, and lists the exceptions that actually change what gets built.
The GTA fence height by-law baseline
In most municipalities in this region, a fence up to 2.0 m in a rear or side yard and up to 1.0 m in a front yard is permitted without a permit. Sources for the regional summary: the Ontario permit guide published by thepostholecompany.com and the Halton and Hamilton guide from peacelovelandscaping.com.
Two details sit underneath that sentence. The first is that the limit is measured on the ground the fence stands on, so a sloped lot changes the answer along the run. The second is that "without a permit" is not the same as "without rules", because the by-law still governs materials, sightlines at driveways and corner lots, and what you may not build at all.
Barbed wire and electrified wire are prohibited residentially across these municipalities. Front yard chain link is restricted in Toronto. If you are choosing between materials, the fence services pages carry the practical trade offs by material rather than by by-law.
Which by-law applies in your city
The instrument matters as much as the number. A fence in Brampton is regulated by the zoning by-law, so a variance conversation goes through a different route than a fence in Toronto, which has a dedicated fence chapter in the municipal code.
| City | Governing instrument | The rule that makes it different |
|---|---|---|
| Toronto | Municipal Code Chapter 447, Fences, consolidated 9 June 2021 | On an attached uncovered deck, maximum height is 2 m above the deck surface |
| Mississauga | Fence By-law 0397-1978 | Maximum height depends on where on the lot the fence sits; privacy screens are covered too |
| Brampton | Zoning By-law, no standalone fence by-law | 2 m rear or side, 1 m front, stated as 6 ft 6 in and 39 in |
| Markham | Fence By-law 2017-30 | The Town issues fence exemption permits for heights above the limit |
| Vaughan | Fence by-law | Prohibits spite fences, built solely to annoy a neighbour, as a named category |
| Oakville | By-law 2002-034, Fences and Privacy Screens, amended by 2011-130 | Enforced through the Administrative Penalty By-law, so non-compliance is ticketable |
| Milton | Fence By-law 97-2005 | Pool fencing runs separately under By-law 077-2010 |
| Hamilton | Fence by-law as amended, plus the Apportioning of Costs of Division Fences (Urban) by-law | Cost splitting between neighbours for a boundary fence is set out in by-law |
| Burlington | Fences page, burlington.ca | Fences may be built without a permit, subject to the by-law's regulations |
Richmond Hill, Aurora and Newmarket sit in the York Region cluster with Markham and Vaughan and follow the 2 m rear, 1 m front baseline, with permits through each town's own building division. Ajax and Oshawa are enforced municipally and indexed by Durham Region, which confirms on its permits page that permits are a lower tier matter.
Sources for the by-law identifiers above: toronto.ca legdocs 1184_447.pdf, mississauga.ca fence by-law page, brampton.ca zoning and fences page, oakville.ca popular by-laws, burlington.ca fences page, durham.ca by-laws index, plus the 2026 GTA permit guide from ocmexcavation.com for Markham and Vaughan.
The four exceptions worth knowing before you order
Most fence projects in the GTA are inside the baseline. These four situations are the ones that change the plan.
- A fence on an attached deck in Toronto. Height is measured from the deck surface to a maximum of 2 m, per City of Toronto 311 article kA06g000001cvVtCAI. On a raised deck this produces a considerably taller finished screen than the same 2 m measured from grade.
- A pool anywhere in the region. In Toronto, any structure holding water deeper than 600 mm is a pool, and a Pool Fence Enclosure Permit is required from the Executive Director before excavation. Gates must be self closing and self latching. Milton handles enclosures under By-law 077-2010, Markham under By-law 59-75, Brampton under Zoning By-law 270-2004, and Oakville under By-law 2006-071.
- Going above the limit in Markham. The Town has a fence exemption permit route, which is the correct mechanism for a taller privacy fence rather than building it and hoping.
- A heritage designated property. In Oakville, heritage designation means additional approval before a permit is issued. Heritage streets also change what looks right, which is why we handle them as heritage home fence installation.
Who pays for a fence on the property line
Hamilton is the clearest municipality on this in the region. Alongside its fence by-law, Hamilton has an Apportioning of Costs of Division Fences (Urban) by-law, which governs how the cost of a shared boundary fence is split between neighbours.
Elsewhere the conversation is a private one between owners, and the practical advice is the same in every city. Agree the line, agree the height and agree the material in writing before anyone digs. A fence set even slightly on the wrong side of a boundary is a survey problem, not a fencing problem, and it is considerably cheaper to resolve before the posts go in concrete.
How height gets verified before we quote
The by-law is checked against your municipality before the quote goes out rather than after the fence is up. That check covers three things.
- The maximum height for the specific yard the fence sits in, front, side or rear.
- Whether a topper, lattice or slat panel counts separately toward the height in that by-law.
- Whether a pool enclosure permit, an exemption permit or a heritage approval is in scope.
Two build specifications do not vary with the by-law. Posts are set in concrete below the 1,200 mm Ontario frost line, and an Ontario One Call locate is filed before digging, with a five business day minimum on a single property. That locate is required by law in Ontario, and the HCRA names building a fence explicitly as work that triggers it.
For a height built right to the rear yard limit, the privacy fence page covers board on board and tongue and groove construction. To price a run against your own address, get an estimate online and the measured price is confirmed on site before work starts.
Questions we get asked
01How tall can a fence be in Toronto?
The rear and side yard baseline across the GTA is 2.0 m, with 1.0 m in a front yard, and Toronto regulates fences under Municipal Code Chapter 447, consolidated 9 June 2021. Toronto adds a rule most homeowners miss: on an attached deck with no roof, the maximum height is 2 m above the deck surface rather than above grade, per City of Toronto 311 article kA06g000001cvVtCAI.
02Do I need a permit for a fence in the GTA?
Usually not, if the fence is within the height limits for its position on the lot. Burlington and Mississauga both state that fences may be built without a permit subject to the by-law's regulations. A pool enclosure is the main exception and requires its own permit, and Markham has a fence exemption permit route for heights above the limit.
03Who pays for a fence on the property line in Ontario?
Hamilton is the clearest municipality in the region: it has an Apportioning of Costs of Division Fences (Urban) by-law that governs how a shared boundary fence is split between neighbours. Elsewhere it is a private agreement between owners. Agree the line, the height and the material in writing before anyone digs, because a fence set on the wrong side of a boundary becomes a survey problem.
04What fences are not allowed in the GTA?
Barbed wire and electrified wire are prohibited residentially across these municipalities, and Toronto also restricts front yard chain link. Vaughan goes further and names spite fences, built solely to annoy a neighbour, as a prohibited category in its own right.
