Do You Need a Permit for a Fence in Ontario? Rules by Municipality
Most residential fences in Ontario don't require a building permit, but they must comply with your municipality's fence by-law. Height limits, setback rules, and material restrictions vary by city. Pool fences have mandatory requirements under the OBC.
The Short Answer: Most Fences Don't Need a Building Permit
Under the Ontario Building Code, fences that are not more than 2 metres (6.5 feet) in height generally do not require a building permit. However, this does not mean you can build any fence you want. Every Ontario municipality has a fence by-law that regulates fence height, location, materials, and setbacks. Violating the fence by-law can result in orders to remove or modify your fence, even if no building permit was required.
Fences over 2 metres in height do require a building permit because they are classified as structures under the OBC. Additionally, retaining walls that also function as fences may require a building permit depending on their height and structural requirements.
Common Fence By-Law Rules Across Ontario
While each municipality has its own fence by-law, most Ontario municipalities share similar rules.
Height Limits
Most Ontario municipalities allow fences up to 1.8 metres (6 feet) in rear and side yards, and 1.0 metre (3.3 feet) in front yards. Some municipalities allow up to 2.0 metres in rear yards. Corner lots often have special sight-line requirements that limit fence height near intersections to maintain visibility for drivers and pedestrians.
Setback from Property Lines
In most Ontario municipalities, fences can be built on or very near the property line. However, it's critical to know exactly where your property line is. Building a fence even a few inches onto your neighbour's property can create legal disputes. Consider getting a property survey before building a fence, especially if the property line location is unclear.
Material and Design Restrictions
Many municipalities restrict fence materials in front yards — chain link, barbed wire, and electric fences are commonly prohibited in residential areas. Some municipalities require the 'good side' (finished side) of the fence to face the neighbour's property. Heritage districts may have additional design requirements.
Pool Fence Requirements in Ontario
Pool fences are a special case in Ontario. Under the Ontario Building Code and most municipal pool fence by-laws, a fence or enclosure around a swimming pool is mandatory — not optional. The requirements are strict because they are designed to prevent child drownings.
Key requirements include: minimum height of 1.5 metres (5 feet) with no footholds or handholds that could help a child climb, self-closing and self-latching gates that open outward (away from the pool), maximum gap of 100 mm (4 inches) between fence components, and the fence must completely enclose the pool area. The house wall can serve as one side of the enclosure, but any doors or windows opening to the pool area must have alarms or self-closing mechanisms.
Pool fence violations are taken very seriously. Municipalities conduct inspections and can issue orders requiring immediate compliance. Fines for non-compliance can be significant.
Fence Costs in Ontario
Fence costs in Ontario vary by material and length. Typical costs per linear foot include: pressure-treated wood ($25-$45), cedar ($35-$60), vinyl/PVC ($30-$55), chain link ($20-$35), and wrought iron or aluminum ($40-$80+). For a typical 150-linear-foot residential fence, expect to pay $4,000 to $9,000 installed.
If you need a building permit (fence over 2 metres), add $200 to $500 for the permit fee. If you need a property survey to confirm the property line, add $500 to $1,500.
What to Do Before Building a Fence
Before building a fence in Ontario, take these steps: 1) Review your municipality's fence by-law for height, setback, and material requirements. 2) Get a property survey or at minimum confirm your property boundaries with your neighbour. 3) Call Ontario One Call (1-800-400-2255) to have underground utilities located — this is free and legally required before digging. 4) Talk to your neighbours — while not legally required in most municipalities, it prevents disputes. 5) Check if your property is in a heritage district or has restrictive covenants that may limit fence types. 6) If your fence is over 2 metres, apply for a building permit before construction.
Frequently Asked Questions
Get a Property-Specific Permit Feasibility Report
This guide provides general information. For a comprehensive analysis of your specific Ontario property — including zoning, setbacks, conservation authority requirements, development charges, and applicable government grants — run a PermitSnapshot report.
Ontario Permit Updates
Get free guides on building permits, zoning changes, and government grants delivered to your inbox. No spam — just practical Ontario construction insights.
Professional Disclaimer
This is an AI-generated informational snapshot. It is NOT legal, engineering, architectural, or permitting advice. All data must be verified with the municipality and qualified licensed professionals. Do not make construction, purchasing, or investment decisions based solely on this report.