Skip to content
City of Markham · York
MarkhamIQ
MarkhamIQ
Editions
Service guide

Fence by-law in Markham

How high a fence can be in a front, side, rear or corner yard, how to share the cost of a boundary fence, how to ask for an exemption, and the fence a pool needs.

Every answer sourcedWho runs it: City of Markham By-law Enforcement and Licensing; Building Standards for swimming pool enclosure permits. Every answer below was checked against its source on December 3, 2026; the source is linked under each one.

The short answer

Markham's Fence By-law 277-97 applies to every fence in the city except agricultural fences. A front-yard fence can be up to 1.2 metres (4 feet) high, and fences along the sides and back of a lot with two interior side yards can be up to 1.8 metres (6 feet). A fence that breaks the by-law can lead to a fine of up to $5,000, and a pool needs its own enclosure permit.

Last verified

From 2 official sources.

How high a fence can be

4 questions
  1. How high can a fence be in Markham?

    In a front yard, up to 1.2 metres (4 feet). Properties with two interior side yards may build fences along their side property lines and across the back up to 1.8 metres (6 feet). On a corner property, a fence along the exterior flank yard, the side that runs along the other street, can be up to 1.2 metres (4 feet). The by-law applies to all fences in Markham except agricultural fences.

    Fence heights in Markham (Fence By-law 277-97, as the City summarizes it)

    Checked
    Fence heights in Markham (Fence By-law 277-97, as the City summarizes it)
    Where the fence isMaximum height
    Front yard1.2 m (4 ft)
    Along the side lot lines and the back, on a property with two interior side yards1.8 m (6 ft)
    Corner property, along the exterior flank yard1.2 m (4 ft)

    A plain-language summary from the City's By-law Guide for Markham Homeowners; the by-law itself has the full rules.

    Table source: City of Markham, Fences & Swimming Pools

    Source: City of Markham, Fences & Swimming Pools

  2. Can I add lattice, and what if my lot slopes?

    You can build a fence along the rear of your property with 0.3 metres (1 foot) of lattice on top, as long as the whole fence does not exceed the maximum height. A fence must follow the shape of the land as much as possible, so on a sloping lot it must reasonably follow the slope. A fence built across a natural or created waterway, such as a stream, must be designed so it does not block drainage.

    Watch for: For a fence over a waterway, the City says to contact By-law Enforcement and Licensing at 905-479-7782.

    Source: City of Markham, Fences & Swimming Pools

  3. Do the height rules apply if my lot backs onto a commercial lot or a highway?

    No. The City says the height rules do not apply to fences on a property that backs onto a commercial lot, a railway line or a major highway.

    Source: City of Markham, Fences & Swimming Pools

  4. What is the penalty for breaking the fence by-law?

    Homeowners who contravene any part of the by-law can be fined up to $5,000, according to the City's summary.

    Source: City of Markham, Fences & Swimming Pools

Exemptions, neighbours and pools

3 questions
  1. How do I ask for an exemption from the fence by-law?

    Apply online through the City's Fence Exemption Permit. You give the location and fence type; By-law Enforcement staff review the application and set up a property inspection, and you may be asked for more documents; then you are called with the decision, and certification if the exemption is approved. The City says it needs fourteen days of lead time to set up inspections and process every application.

    Watch for: The City's page does not state a fee. For questions, call By-law Enforcement & Regulatory Services at 905-477-7000 ext. 2359.

    Source: City of Markham, Fence Exemption Permit

  2. Does my neighbour have to share the cost of a fence on our boundary?

    When a fence is built down the middle of the boundary so its posts straddle both properties, it is a division fence and both neighbours share the cost. To share the cost you must first serve notice by registered mail at least 14 days before you begin. If you cannot agree on the type and cost, the by-law requires your neighbour to pay only the basic cost of a simple 4-foot-high chain-link fence, and you pay the rest of a more expensive fence. A neighbour who refuses can be served notice by registered mail and is legally required to pay within 30 days.

    Watch for: The City treats this as a private matter between neighbours and will not get involved; to share costs more evenly you can work it out in a provincial court. Fences built by condominium corporations belong to the corporation, and their cost is a common expense paid through condominium fees.

    Source: City of Markham, Fences & Swimming Pools

Official sources and contacts

2 official pages
City of MarkhamFences & Swimming PoolsThe official page this guide’s first answer is checked against. The office that runs the service has the final word on a case of your own.Open markham.ca
Who to contact
By-law Enforcement and Licensing
905-479-7782 · customerservice@markham.ca
Fence exemption applications (By-law Enforcement & Regulatory Services)
905-477-7000 ext. 2359

Sources

  1. City of MarkhamFences & Swimming PoolsRetrieved December 3, 2026
  2. City of MarkhamFence Exemption PermitRetrieved December 3, 2026

Every answer on this page traces to one of these documents.

Last checked 2 official pages from City of Markham