TREADSTONE LAW · ONTARIO · DIGITAL LEGAL SERVICES · EST. MMXXI ·TSL
Licensed by the Law Society of OntarioFlat fees published upfrontWe reply to messages within 1 business daySign in
Home/Articles/Real Estate
№ 22 Real Estate

Ontario Fence Laws: Height, Materials and Where You Can Build

Find out which rules set fence height, materials and location in Ontario: municipal bylaws, the Line Fences Act, pool rules and road allowances explained.

Real Estate4 min readTSLBy the Treadstone Law Team · OntarioUpdated October 28, 2026
← All articles
Key takeaways
  • Fence height, style and permit rules are generally set by your municipality, so they differ from city to city.
  • The Line Fences Act only applies to fences on the shared boundary line, and some municipalities have exempted themselves from it.
  • Fence-viewers can address the description of a boundary fence, including materials, but they cannot decide where the boundary is.
  • Building on a road allowance can cause problems with title, mortgages and insurance.

Before you buy lumber, it helps to know which rules actually apply to your fence. In Ontario there is no single fence code. Height, style, pool enclosures and permits are usually matters for your municipality, while a separate provincial law deals with disputes over fences on the boundary.

This article sorts out which rule governs which question, and what to check before you build. It does not give specific height limits, because those vary by city and you should confirm them with your own municipality.

Which rules decide what

Fence, pool and tree rules, fees and exemption processes are municipal and vary by city. That means the same fence may be allowed in one town and need a permit or changes in another. Always check your own municipality's bylaws, not a neighbouring city's or a general summary online.

QuestionWhere the answer usually comes from
How tall can the fence be?Your municipal fence bylaw
What materials or style are allowed?Your municipal bylaw, and sometimes a fence-viewers' award for a boundary fence
Is a pool enclosure required?Municipal pool or fence bylaw
Who shares the cost of a boundary fence?The Line Fences Act, or a municipal by-law if the municipality has opted out
Where exactly is the boundary?You and your neighbour, often with a survey

Where the Line Fences Act fits in

The Line Fences Act gives owners of adjoining properties in most of Ontario a dispute procedure for fences on a shared boundary line, but it does not cover fences that are not on the boundary line. It applies only where owners cannot agree and either no fence exists and one owner wants one built, or a line fence exists and one owner thinks it needs reconstruction or repair.

If that procedure is used, three fence-viewers must be present and can address how the work is apportioned and the description of the fence, including materials. A municipal council may also pass a by-law exempting all or part of its area from the Act and assigning line-fence costs by by-law instead. So even the cost-sharing rules depend on where you live.

Placement: boundary, setback and road allowances

Where you build matters as much as how high. A fence on the boundary line is a shared matter between neighbours. A fence set back on your own land is outside the Line Fences Act. Either way, the Act does not decide where the boundary is, and owners must resolve boundary-location questions themselves.

Be careful near the street or shoreline. Road allowances are laid out by Crown surveyors and are generally 66 feet wide. A municipality may by bylaw assume an unopened road allowance for public use, and closing a road allowance needs a bylaw and public notice. The Province notes that waterfront owners often build on road allowances, which can cause problems with title, mortgages and insurance. Municipalities consider closure requests, often to convey the land to abutting owners.

A survey and a call to the municipality can confirm whether part of what looks like your yard is actually public land.

Pool fences and other special cases

Pools usually have their own enclosure requirements set by the municipality, and these can differ from the rules for an ordinary garden fence. Because the details vary by city, ask your municipality what applies before you build or buy a pool.

What to do before you build

If a neighbour disagrees, or a bylaw issue or boundary question comes up, a lawyer can review your situation.

Frequently asked questions

Is there one Ontario law that sets fence height?

Fence height and style rules are generally set by municipal bylaws, so they vary by city. Check your own municipality's bylaw before you build. The Line Fences Act deals with disputes over boundary fences, not a general height limit.

Can I put a fence wherever I want on my property?

Not always. Municipal rules, easements and the true boundary all matter. The Line Fences Act covers only fences on the boundary line, and it does not decide where that line is.

Does the Line Fences Act apply in every Ontario municipality?

No. A municipal council may pass a by-law exempting all or part of its area from the Act and assigning line-fence costs by by-law instead. Your municipal office can tell you which applies.

What if my fence ends up on a road allowance?

This can cause problems with title, mortgages and insurance. Municipalities consider closure requests, but closing a road allowance needs a bylaw and public notice. Speak with your municipality and a lawyer before building or buying near one.

Sources

Links go to official government, court and regulator pages. The law changes — confirm you are reading the current version.

This article is general information, not legal advice. Reading it does not create a lawyer-client relationship. Ontario laws, tax rates, and government programs change, and how the law applies depends on your specific facts. For advice about your situation, speak with a licensed Ontario lawyer. Treadstone Law is licensed by the Law Society of Ontario — reach us at 1-844-900-1070 or start a file online.

This is a real estate question

Start a file online — flat, published fees, reviewed by a licensed lawyer before a dollar is owed.

ContactStart a File →