Yard Rules in Hamilton, Ancaster and Burlington
Checked Lumen Landscaping
A back yard fence can be up to 2.0 m high in most of Hamilton, Ancaster included, and up to 2.5 m where Burlington’s new residential zoning applies. A pool fence has a minimum height too, private trees are protected from 20 cm across in urban Burlington and 45 cm in urban Ancaster (20 cm in a few mapped areas there), most raised or attached decks need a building permit, and all digging needs a free locate (the buried lines marked) first. These are the usual limits, and your own lot can be stricter.
The rules at a glance
This is a starting point, not every rule. Your lot’s own zoning, heritage status, conservation area or subdivision plan can be stricter. Check the linked City page, or call the City, before you build, cut or dig.
Each row is the short form; the section it links to gives the main limits, and the official page has the rest. Checked December 1, 2026, and rules change. Measurements are the by-laws’ own (1 m is about 3 ft 3 in).
| Rule | Hamilton and Ancaster | Burlington | Official page | Date checked |
|---|---|---|---|---|
| Back and side yard fence | 2.0 m at most; less under some older zoning, approved plans and agreements | 2.5 m at most under By-law 09-2026, 2.0 m where Zoning By-law 2020 still applies; townhouses and a few others differ | Hamilton Fence By-law 10-142; Burlington zoning, Part 5; Burlington By-law 2020, Part 1 | Dec 1, 2026 |
| Fence near the front lot line | 0.9 m at most within 3.0 m of it; older zoning can be stricter | 1.2 m at most within 3 m of it, in a front yard; townhouses differ | By-law 10-142, section 3; Burlington zoning, 5.5 | Dec 1, 2026 |
| Fence at a corner or driveway | 0.9 m at most in the sight triangles; a former community’s zoning (Ancaster’s is one) can be stricter | 1 m at most for solid fencing and planting in the sight triangles | By-law 10-142, sections 2 and 3; former communities’ zoning; Burlington zoning, 5.8 | Dec 1, 2026 |
| Cost of a shared fence | If neighbours cannot agree, and only after the by-law’s notice: the neighbour’s share is half the basic cost of a 122 cm chain link fence or half the actual cost, whichever is less. Urban area only; not for a pool fence | The same halves, with a 1.22 m chain link fence and a notice first; not for a pool fence | Hamilton By-law 08-108; Burlington By-law 24-2003 | Dec 1, 2026 |
| Pool fence height | 1.5 m at least; the City’s checklist shows 2.0 m at most | At a detached or semi-detached house: at least 1.2 m for vertical boards, vertical pickets or solid panels, 1.5 m for metal; 2.0 m at most. Chain link and other homes differ | Hamilton Swimming Pools; Hamilton enclosure checklist; Burlington By-law 74-2005 and its amendments | Dec 1, 2026 |
| Pool gate | Closes and latches by itself, latch inside and at least 1.35 m up, with a lock inside, and kept locked when the pool is not in use | Closes and latches by itself, latch at the top on the inside, no thumb latch; locked whenever the pool is not supervised | By-law 16-184, sections 17 to 19; By-law 74-2005, section 7 | Dec 1, 2026 |
| Pool to the lot line | 1.25 m under the city-wide zoning; 1.5 m where Ancaster’s own zoning still applies, more for an above-ground pool. Corner lots and other older zoning differ | 1.5 m to the pool’s inside wall, 0.9 m to the hard surface around it; 3 m for a pool over 1.5 m high. By-law 2020 and some lots differ | Hamilton pool setbacks; Burlington zoning, 5.6 | Dec 1, 2026 |
| Private tree | Ancaster’s urban area: a permit from 45 cm across, with exceptions. Dundas and Stoney Creek: by-laws of their own. Former City of Hamilton: no private tree by-law at present, but woodlots, endangered or threatened species and trees shared with a neighbour are still protected. Some mapped areas at the city’s edge: from 20 cm | Inside the urban boundary: a permit to injure or remove one from 20 cm across, and at any size if heritage, at risk or planted as a replacement. Woodlands follow Halton Region’s by-law | Ancaster By-law 2000-118; Hamilton tree page; Burlington tree permits | Dec 1, 2026 |
| City tree | A permit before any work that may affect it | A permit before any work around one, whatever its size; only the City prunes it | Hamilton, work near a tree; Burlington public trees | Dec 1, 2026 |
| Deck building permit | Needed for a deck attached to a building or used with a pool; a detached one over 10 square metres that is covered or more than 200 mm up; a smaller one at a door, more than 600 mm up; new or replaced guards (railings). Any other deck still has to meet the zoning | Needed for a deck connected to a house or other structure, detached and over 10 square metres, over 600 mm high, or roofed. Any other deck still has to meet the zoning | Hamilton Porches and Decks; Burlington Decks, Porches and Patios | Dec 1, 2026 |
| Any digging | A free locate (the buried lines marked) first, asked for at least 5 business days ahead, 10 for a large project | The same: it is Ontario’s law | Ontario Dig Authority (formerly Ontario One Call) | Dec 1, 2026 |
Which rules apply to your address
Ancaster is part of the City of Hamilton, so Hamilton’s fence, pool enclosure and building permit rules apply there. The zoning can differ. Hamilton’s Zoning By-law 05-200 applies to the majority of properties across the city; the rest stay under the by-laws of the former communities until they are moved in, and Ancaster’s is 87-57. The City’s interactive zoning map finds the zoning by address.
Burlington has two zoning by-laws in effect: Residential Zoning By-law 09-2026, in force since March 2, 2026, and Zoning By-law 2020. The zoning figures here are from 09-2026 unless By-law 2020 is named. Homes outside the maps of 09-2026 (rural, North Aldershot, downtown and some others) stay under By-law 2020, which has lower fence limits and other pool and deck distances: look up your address first on the map that page links. The City asks anyone planning a project to confirm the zoning with its staff, and sends owners in the Niagara Escarpment Commission’s area to the Commission.
Near a creek, a valley or the escarpment, or on a designated heritage property or in a heritage district, another approval can come first. Hamilton’s building permit page names four conservation authorities and the Niagara Escarpment Commission; Burlington’s decks page names Conservation Halton and the Commission. Fences, grading, driveway widening, porches and pools are among the work that can need a heritage permit in Hamilton. In Hamilton, an agreement or plan the City approved for your subdivision wins over the fence by-law (section 5).
For the soil, the slopes and the lots, see Hamilton Mountain and Lower City, Ancaster and Burlington.
Fence heights
Hamilton and Ancaster
Fence By-law 10-142 replaced Ancaster’s own fence by-law in 2010. In both places:
- 2.0 m is the most, except on a farm or an industrial lot.
- 0.9 m is the most within 3.0 m of the front lot line, in a corner visibility triangle (5.4 m back along each street line) and in a driveway visibility triangle (2.7 m).
- 2.4 m is allowed for a stretch of 4.5 m or less, at least 1.2 m from a side lot line and 3.0 m from the rear, outside the 0.9 m areas above.
- A screen on a deck is measured from the ground, unless it meets the same 4.5 m, 1.2 m and 3.0 m limits: then it may be 2.0 m above the deck floor.
- A little over the limit: a gate may stand 0.3 m over, an archway 0.4 m, and a decorative cap or a structural post 0.15 m.
- A deer extension: in Ward 12, the Ancaster area, away from the front lot line and the sight triangles, section 3(3)(d) allows up to four thin wires, 0.4 m over. Call 905-546-2782 to confirm it covers your lot.
- On a retaining wall, the height is measured from the top of the wall.
- Sheet metal or corrugated metal panels are not allowed in a residential zone (section 3).
- A hedge counts as a fence under this by-law only in those triangles or within 3.0 m of a street line.
The City asks for a building permit for a fence only where there is a pool, but every fence has to meet these rules and the zoning, and a heritage permit can be needed. On a corner lot or in a front yard, the City asks you to call Municipal Law Enforcement first, at 905-546-2782.
Where an older zoning by-law still applies
Zoning, a subdivision or site plan agreement or approved plan, and the pool enclosure by-law all win over the fence by-law where they conflict (section 5). So on a lot still under a former community’s zoning:
- Ancaster’s By-law 87-57, section 7.13, keeps a daylighting triangle of 10 m on a corner lot (6 m in the VA and C3 zones) clear of anything that blocks the view between 75 cm and 2.4 m above the centre line of the street.
- Dundas, Flamborough, Glanbrook and the former City of Hamilton (By-law 6593, which also limits hedges) have stricter corner or fence rules of their own, in Dundas and Glanbrook for back yards too. Check the linked by-law, or call 905-546-2782 before you build a fence there.
Burlington
By-law 09-2026, Part 5, sections 5.5 and 5.8:
- 2.5 m for residential uses, but 2.0 m where By-law 2020 still applies (section 2.4, which sets limits of its own). Where the ground slopes, a 3 m section of fence may reach 0.3 m higher if its lowest height is still within the limit.
- Measured from grade, not counting an artificial embankment, so ground built up under the fence does not raise the limit.
- 1.2 m in a front yard within 3 m of the front lot line, except along a line shared with a corner lot’s rear yard.
- At a townhouse building, 1.2 m within 3 m of a lot line on a public street, at the front, side or back.
- 3 m on a line shared with a non-residential use, or around a sport court.
- 1 m for solid fencing and for planting, hedges included, in a visibility triangle (6 m by 6 m at a street corner, 3 m by 3 m at a driveway), measured from the street pavement.
- 1.8 m for a privacy screen, from the floor of its deck, porch or balcony.
The City says most fences can be built without a permit; a pool fence cannot. The height and place rules apply either way: confirm your lot with zoning staff at 905-335-7642.
A fence on the line
Both cities ask neighbours to talk first. When they cannot agree, whoever wants the fence sends a notice by registered mail with three written quotes, the statements the by-law requires and a copy of the by-law:
- Hamilton By-law 08-108, inside the urban boundary: the quotes are for both the actual and the basic cost (which leaves out labour), work starts 21 days or more after the notice, and the neighbour has fourteen days to send other quotes. The City does not count as the neighbour (section 1), but beside a City park, ask about its own cost sharing.
- Burlington By-law 24-2003: work starts after fourteen days, the neighbour has ten business days to send other quotes, and the lowest of all the quotes sent decides.
Neither by-law applies along a road or a road reserve, and neither splits the cost of a fence a pool requires. In Hamilton, an owner who must build a fence under another by-law pays for all of it (section 12). In Burlington, the City says that where the boundary fence is the only pool fence, the pool’s owner is fully responsible for it.
We build fences and gates. If yours is failing, start with a leaning fence or rotted posts or no privacy in the backyard.
Pool and hot tub enclosures
Hamilton and Ancaster
A pool here is anything outdoors built to hold water that can be more than 0.6 m deep: a hot tub, a swim spa, a seasonal pool and a landscape pond count (a pond may have a fastened grate instead, section 16). The by-law lists a few exceptions.
The City asks for a building permit for the pool’s enclosure (not for the pool itself), and one for a deck added to the pool or beside it. Digging waits for the permit, and water waits for the City’s final approval. By-law 16-184 asks for:
- 1.5 m of height or more, outside, from the highest ground within 1.0 m.
- 1.0 m or more to the pool’s inside wall, and nothing nearby to climb.
- No gap that passes a 100 mm ball, and less for most materials: 38 mm for chain link and for most vertical wood, none between horizontal boards. Sections 20 to 22 give each one.
- Between the house and the pool, chain link or something as open, so the pool can be seen from the doors and windows of the level you walk out from.
- A hot tub that can hold more than 0.6 m of water needs a rigid cover that carries 90 kg (or meets the current ASTM standard), locked when not in use, or an enclosure. The by-law counts it as a pool, so ask Building (905-546-2720) before you install one, cover or not.
Paving or decking close to the lot line, a retaining wall or a change of grade can need a Site Alteration Permit before the enclosure permit: see the City’s checklist.
An enclosure from before this by-law (2016) that met its permit still complies while it keeps to that permit, is in good repair and is not replaced (section 2).
The setback table for single family houses gives 1.25 m at the side and rear under By-law 05-200, and 1.5 m under Ancaster’s by-law:
- Under 05-200 (section 4.11), a pool or a hot tub also stays out of the required front yard, and its 1.25 m is measured from the water’s edge.
- Under Ancaster’s by-law, an in-ground pool may not go in the front yard, and for an above-ground pool the height of its supporting structure is added to the distance.
- Under another former community’s by-law (Hamilton’s 6593 is one), a lot has its own distances, in the same table.
- With a deck attached to an above-ground pool, the distance is taken to the deck’s outer edge.
- On a corner lot, the City asks you to call Building at 905-546-2720: the table is for an interior lot.
Burlington
A permit comes before any pool, swim spa or hot tub. One application covers a pool’s zoning, trees and enclosure; a hot tub under 8 square metres has a permit of its own. A pool, like a patio or a change of grade, can also need a site alteration permit.
By-law 74-2005 as amended counts any outdoor pool or ornamental pond that can hold more than 600 mm of water, inflatable pools included, and By-law 43-2008 added hot tubs:
- No digging before the permit, and no water before the fence and gates, or a hot tub’s lid, are approved.
- A lid counts only on a hot tub that stands entirely above ground, fixed to the tub for good and locked when not in use; any other hot tub needs the fence.
- Gates stay locked whenever the pool is not supervised, and so do a house wall’s doors into the pool area.
For a detached or semi-detached house, the fence may be (other homes have rules of their own, section 6):
- Vertical boards, vertical pickets or solid panels 1.2 to 2.0 m high, with gaps up to 38 mm and the boards on the outside face; up to 100 mm only where the rails are more than 1.2 m apart and there is no diagonal brace
- Wrought iron or other metal 1.5 to 2.0 m high, with rails more than 1.2 m apart and gaps up to 100 mm
- Chain link 1.2 to 2.0 m high with links up to 38 mm, or 1.8 to 2.0 m with links up to 50 mm, with a top rail and a bottom tension wire
Horizontal boards are not on that list, and the City gives a free pool fencing consultation before you apply, at 905-335-7731. The 2.5 m a plain fence may reach is too high for a pool fence. A pool fence stands 1.2 m or more from the pool’s inside edge, with some exceptions, and no more than 100 mm off the ground. Double gates have a rule of their own (section 7).
The zoning, section 5.6, keeps a pool out of the front yard and the required exterior side yard of a corner lot, and in the rear yard only on a lot under 12 m wide. It may be 2 m high at most. A hot tub under 8 square metres is outside these distances. A lot beside a pipeline, creek, highway or railway can need more (sections 5.6 and 5.43 to 5.47), and where By-law 2020 still applies, its section 2.5 has distances of its own.
Around the water, see pool patios and a pool patio that is sinking.
Trees
City trees
Many trees on front lawns stand on the road allowance, which Hamilton owns. There, between your lot and City land, a tree is private when more than half its trunk at ground level is on your side of the line. Work that may affect a City tree needs a public tree permit, and that includes pruning it, and digging or storing material near or within the dripline.
In Burlington, a tree with any part of its trunk on City land counts as a public tree. Burlington’s public trees are protected at any size: pruning one, or planting, paving, digging or storing anything in its protection zone, counts as injury, and only the City prunes them.
A tree on the line with a neighbour
Anywhere in Ontario, a tree whose trunk stands on the line with a neighbour belongs to both owners, and cutting or injuring it without the other’s consent is an offence (Forestry Act, section 10). A tree of an endangered or threatened species is protected by the Province at any size, on your own lot too, and work near it can need approval.
Private trees in Ancaster and the rest of Hamilton
Ancaster, Dundas and Stoney Creek have by-laws of their own, and so do woodlots. The former City of Hamilton has none for private trees at present, but a woodlot, an endangered or threatened species and a tree shared with a neighbour are still protected. Inside Ancaster’s urban area, By-law 2000-118:
- Protects any tree 45 cm or more across at 1.4 m up, except willows, poplars, Siberian elms, Manitoba maples and Norway maples, and any woodland of 0.2 ha (half an acre) or more.
- Counts cutting roots, changing the grade and packing down the soil over the roots as injury, which needs a permit just as removal does.
- Allows upkeep that prunes up to a third of the live branches, but not pruning for more light or space.
- Lists exemptions, among them a 45 cm tree within 7.5 m of an occupied building (outside a woodland) and a tree certified dead, diseased or hazardous. Call 905-546-2782 before you rely on one: another rule can still protect the tree.
Some mapped areas at the edge of the city, parts of Ancaster south of Garner Road among them, are protected from 20 cm, with some exceptions (By-law 23-088 and By-law 23-087): check the maps or call 905-546-2782.
The City has drafted one by-law for its whole urban boundary, also at 45 cm, and held open houses on it in March and April 2026: ask whether it has passed.
Private trees in Burlington
Inside the urban boundary, a permit is needed to injure or remove a tree 20 cm or more across at 1.37 m up. A designated or recognized heritage tree, a tree of an endangered, threatened or at-risk species, or a replacement tree planted under a permit needs one at any size, and other approvals may apply. Several stems are added by a formula: check the linked page before calling a clump small.
Work inside a tree’s protection zone counts as injury: at least 2.4 m out from a 20 cm trunk, and more for a bigger one (the linked page has the table). A dead tree still needs the permit, with the fee waived. Pruning up to a third of a private tree’s live crown, to good arboricultural practice, does not. For a tree on the line or next door, its owner’s letter of consent goes in too.
Woodlands of 0.5 ha or more and the Region’s Greenlands follow Halton Region’s tree by-law, in the rural area too.
We do tree and shrub trimming, not tree removal. For paving near a trunk, read about tree roots lifting a walkway.
Decks
The building permit
Hamilton, Ancaster included, needs one for:
- a deck or porch of any size attached to a building, or used with a swimming pool
- a detached deck over 10 square metres, if it is covered, or if it is uncovered and more than 200 mm above the ground
- a smaller detached deck at a door, more than 600 mm above the ground
- new or replaced guards, the code’s word for railings
Any other deck still has to meet the zoning. If you are not sure, the City asks you to call Building at 905-546-2720.
Burlington’s Decks, Porches and Patios page asks for one when the deck is connected to a house or other structure, detached and over 10 square metres, more than 600 mm above grade, or roofed. A pre-building approval comes first, and Building answers questions at 905-335-7731. A patio, a pool or a change of grade can need a site alteration permit even where no building permit is needed: answer the City’s screening questions first.
The distance to the lot line
- Hamilton’s By-law 05-200, section 4.6: a deck may reach into a required yard by 1.5 m or half that yard, whichever is less.
- Ancaster’s By-law 87-57, where it still applies: a deck over 60 cm high, its stairs included, stays out of the front yard. Up to 1.2 m high, it keeps 3 m from a street line, 1.8 m from the rear lot line and 45 cm from the side. A higher one keeps farther back and has a size limit: read sections 3.39 and 9.10.
- Burlington’s By-law 09-2026, section 5.4: a deck (0.6 m or more above grade, its steps included) up to 1.2 m high keeps 1.8 m from the rear lot line and 0.6 m from an interior side lot line, and reaches no more than 1 m into the required side yard.
- In Burlington, a higher deck, not above the first storey, keeps 4.5 m from the rear and the house’s own setback at the side.
- In Burlington, at the front or a corner lot’s street side, and above the first storey (where most side and rear decks are not allowed), section 5.4 has more limits: read it first.
In Burlington, a lot beside a pipeline, creek, highway or railway can need more (sections 5.43 to 5.47 of the same Part), and where By-law 2020 still applies, its Table 1.2.1 has other distances and allows no deck in a front yard.
In Hamilton, a lot still under another former community’s by-law follows that by-law instead.
We build decks, with pages of their own for decks in Ancaster and decks in Burlington.
Before any digging
The law requires a locate before any digging in Ontario, and Ontario Dig Authority (formerly Ontario One Call) takes the request. Its locates page says:
- Ask at least 5 business days ahead for one address, 10 for several or for a large project. There is no charge.
- Whoever digs makes the request. A homeowner who hires someone should confirm it was made and that every answer is back.
- The buried lines are marked by the companies that own them. Wait until all of them have answered.
- A changed plan needs a new request, and a locate runs out: each one gives its date.
- Lines you own are left out: gas to a barbecue or pool heater, power to a shed or lights, a septic system. The owner arranges a private locate for those.
Who to call
| Question | Hamilton and Ancaster | Burlington |
|---|---|---|
| Fence height, front yard or corner lot | Municipal Law Enforcement, 905-546-2782 (fences page) | Zoning, 905-335-7642 (Burlington fences page) |
| Pool fence or deck permit | Building Division, 905-546-2720 (pools page) | Building, 905-335-7731 (decks page) |
| Zoning for one address | Planning Division, 905-546-2424 ext. 2719 (zoning page) | Community Planning, 905-335-7642 (Burlington zoning page) |
| A City tree | 905-546-2489 (tree page) | Service Burlington, 905-335-7777 (Burlington tree page) |
| A tree on your own lot | 905-546-2782 (private tree rules) | Service Burlington, 905-335-7777 (tree permits) |
| Before you dig | Ask for the locate on Ontario Dig Authority’s web portal (contact page); questions, 1-800-400-2255 | The same portal and number |
Questions people ask
Are the rules in Ancaster different from the rest of Hamilton?
Mostly no. The fence, pool enclosure and building permit rules are the City of Hamilton's. A few things are Ancaster's own: the tree by-law, 2000-118, the deer extension that Fence By-law 10-142 allows on some fences in Ward 12, and on lots not yet moved into the city-wide zoning, Zoning By-law 87-57, which has its own distances for pools and decks and its own corner sight triangle.
Is an older fence still legal if it is too tall for today's by-law?
In Hamilton it can be. Under Fence By-law 10-142, section 4, a fence that stood before June 9, 2010 and met the fence rules in force when it was built is deemed to comply, as long as it keeps the same height, length, width and material.
Can a hedge take the place of a pool fence?
Not in Hamilton: By-law 16-184, section 15, says no part of an enclosure may be a hedge or other vegetation. Burlington's By-law 74-2005, as amended, lists what may enclose a pool, and a hedge is not on the list.
Can I cut down a tree on my own lot?
It depends on the address, so check before you cut. Inside Burlington's urban boundary, a permit is needed from 20 cm across, and at any size for a heritage tree, an at-risk species or a replacement tree planted under a permit. Hamilton's tree page says Ancaster, Dundas and Stoney Creek have by-laws of their own (Ancaster's starts at 45 cm), woodlots have theirs, and there are currently none for private trees in the former City of Hamilton; some mapped areas at the city's edge are protected from 20 cm. Anywhere in Ontario, a tree whose trunk stands on the line with a neighbour belongs to both owners, and cutting or injuring it without the other's consent is an offence (Forestry Act, section 10). A tree of an endangered or threatened species is protected by the Province, and a tree on City land is not yours to cut.
Does one fence post really need a locate?
Yes. Ontario Dig Authority's home page says locates are required for any project that breaks ground, whatever the size or depth, and its locates page names fences, decks and planting a tree. There is no charge.
Who decides where the property line is?
Neither City settles it between neighbours. Burlington says it does not determine property lines and points owners to their survey. Hamilton says a fence can only be on your own property unless both neighbours agree to put it on the line, and that a dispute between neighbours is a civil matter.
About this page
We are a landscaping company, not the City. This is a plain summary of the main rules, not all of them, and not legal advice. Every figure was read on its linked page, or in the by-law that page lists, on December 1, 2026; where a page has changed since, the page is right. Real estate agents, neighbourhood groups and community sites are welcome to link here. For walls, driveways, sheds and grading, read our guide to landscaping permits in Hamilton and Burlington.