跳到主要内容Skip to main content
日常地产随写 · Nov 2, 2026 · 15 min read
📖 Tax, Legal & TRESA

Building a Backyard Deck or Shed in Ontario: When You Need a Permit and the Zoning Rules That Apply Anyway

The permit is the question everyone asks first, and the one that is easiest to answer last. Where the structure sits, how big and tall it is, and whether it is attached, plumbed or roofed decide most of the answer before anyone looks at a permit form.

Arthur Zhao · Broker · AZ Real Estate Partners · 2026-11-02
Quick Answer

Does a backyard shed or deck in Ontario need a building permit, and do zoning rules still apply if it doesn’t?

Three layers answer it. The province exempts a shed from the permit requirement if it is not more than 15 m², one storey, detached, storage-only and has no plumbing (2024 Building Code, Div. C, 1.3.1.1.(6)). The Code has no matching deck exemption, so for decks the city draws the line: Toronto requires a permit for a deck more than 60 cm (24 in) above ground. And the zoning by-law applies whether or not a permit is needed: in Toronto, an ancillary building or structure in the Residential Zone category may not be located in a front yard (By-law 569-2013, 10.5.60.10(1)).

Source: Ontario 2024 Building Code Compendium, Division C, 1.3.1.1.(6); City of Toronto, When do I need a building permit? (2026); City of Toronto Zoning By-law 569-2013, Chapter 10 (version date July 31, 2024, amendments to April 30, 2026)

I’m Arthur Zhao, a Toronto real estate Broker. A family that has just moved in usually has its first summer list drafted before the boxes are gone: a shed for the mower and the bikes, and a deck off the back door so the kitchen opens onto something better than a step and a patch of grass. Both feel like weekend projects. Both are also things the city has rules about, and those rules are not only about permits.

The permit is what everyone asks about first, but it is easier to answer last. Start with where the structure sits on the lot, then how big and tall it is, then whether it is attached, plumbed or roofed. Only after that does the permit question have a clean answer. This article walks through it in that order, using the 2024 Ontario Building Code and the City of Toronto’s zoning by-law as the worked example. If you live outside Toronto, your city has its own by-law and its own permit page, and the numbers may differ.

Where on the lot: front yard, setbacks, distance from the house

→

How big and how tall: height, floor area, lot coverage

→

Attached? Plumbing? Roof or cover?

→

Only then: does it need a building permit?

→

Confirm with your local building department before you build

1. Where on the lot

Toronto’s rules for sheds, detached decks and similar structures sit in Article 10.5.60 of Zoning By-law 569-2013, which governs ancillary buildings or structures in the Residential Zone category. The clause numbers below come from the City’s Chapter 10 office consolidation (version date July 31, 2024, including city-wide amendments up to April 30, 2026). Other Ontario municipalities have their own zoning by-laws with their own numbers.

The front yard is off the table

The first location rule is short: “An ancillary building or structure in the Residential Zone category may not be located in a front yard” (10.5.60.10(1)). It does not depend on size, and it does not depend on whether a building permit is needed. A shed small enough to skip the permit is still a shed in a front yard.

Setbacks from the rear and side lot lines

Rear lot line. In ordinary cases, the minimum rear yard setback for an ancillary building or structure is 0.3 metres (10.5.60.20(2)(C)). Two situations change that: on a through lot where the neighbour’s house fronts the street behind you, the setback matches that house’s required front yard setback (10.5.60.20(2)(A)); and on a lot deeper than 45 metres, a structure taller than 2.5 metres or larger than 10 m² in floor area must be set back half its height (10.5.60.20(2)(B)).

Side lot lines. A structure in a side yard uses the house’s own required side yard setback (10.5.60.20(3)(A)). In the rear yard, it depends on distance from the house: less than 1.8 metres from the house, it uses the house’s side setback (10.5.60.20(3)(B)); 1.8 metres or more away, a separate set of rules applies (10.5.60.20(3)(C)), which is worth reading for your own lot type.

Distance from the house

An ancillary building or structure taller than 2.5 metres, or with a gross floor area greater than 10 m², “must be at least 1.8 metres from a residential building on the same lot” (10.5.60.30(1)). That 1.8-metre distance also changes the height and size limits in the next part, so measure it before you choose a kit.

Decks follow different location rules depending on whether they touch the house. A deck attached to or within 0.3 metres of a building must comply with the zone’s required minimum building setbacks (10.5.40.50(2)), with limited encroachments allowed: in a rear yard, a platform no higher than the first storey may encroach the lesser of 2.5 metres or 50% of the required rear yard setback, subject to a side-lot-line distance (10.5.40.60(1)(C)). A freestanding deck that is at least 50% open on its sides and sits no closer than 0.3 metres to the house needs rear and side setbacks equal to the greater of 0.3 metres or the height of its floor above the ground below (10.5.60.20(11)).

2. How big and how tall

Once the spot works, the by-law limits the structure itself. These caps apply to the shed you buy and to everything else ancillary on the lot.

Height and storeys

Maximum height is 2.5 metres if the structure is less than 1.8 metres from the house, and 4.0 metres in all other cases (10.5.60.40(2)). Height is measured from average grade to the highest point (10.5.60.40(1)). Whatever the height, an ancillary building or structure “may not have more than one storey” (10.5.60.40(3)).

For decks attached to a house, the floor of a platform at or below the first storey of a house (other than an apartment building) may be no higher than 1.2 metres above the ground at any point below it, with exceptions where the platform is attached to or within 0.3 metres of certain walls (10.5.40.50(4)).

Floor area and lot coverage

  • One structure close to the house: anything less than 1.8 metres from the house is capped at 10.0 m² of floor area (10.5.60.50(3)).
  • All ancillary structures combined (pools excluded): no more than 60.0 m² on a lot with 12.0 metres of frontage or more, and 40.0 m² in all other cases (10.5.60.50(2)).
  • Lot coverage: ancillary buildings and structures count toward lot coverage, and together may not cover more than 10 percent of the lot area (10.5.60.70(1)(A)–(B)). That 10% cap does not apply to a lot with a detached or semi-detached houseplex, or a house with a secondary suite, if overall coverage of all buildings and structures stays at or below 45% (10.5.60.70(1)(C)).

If the garage, an existing shed and the new one together already approach the total, the next shed may be the one the by-law does not allow, even if it is small.

3. Attached? Plumbing? Roof?

These three questions are where a small project quietly turns into a different category.

Plumbing. The Building Code Act, 1992 treats “a structure occupying an area of ten square metres or less that contains plumbing” as a building (s.1(1), clause (b)). Size stops protecting you once there is a sink or a drain. The Building Code’s shed exemption requires that the shed “has no plumbing,” and Toronto’s permit page says an accessory structure that “is attached to an existing building and/or has plumbing” needs a permit “regardless of its size.”

Attached. The Code’s exemption also requires the shed to be “not attached to a building or any other structure.” A lean-to built against the house or the garage is outside it.

Roof or cover. Toronto’s deck exemption is written for an uncovered deck. The same page lists “enclosing an existing deck, porch or patio of any size” as permit work, and lists decks, porches and solariums among additions to an existing building that need a permit. The page does not address pergolas, gazebos or covered decks directly.

One more definition is worth knowing: under s.1(1)(a) of the Act, a “building” includes a structure occupying more than 10 m² “consisting of a wall, roof and floor or any of them.” The words “or any of them” are how a structure with only a floor, such as a deck, can fall inside the Act.

⚠️Toronto’s deck exemption is written for an uncovered deck. If a roof, screens or walls are in the plan, even for a later year, check with Toronto Building before the deck goes in: the City’s page lists enclosing a deck “of any size” as work that needs a permit.

4. Only now: does it need a permit?

The starting rule is s.8(1) of the Building Code Act: “No person shall construct or demolish a building or cause a building to be constructed or demolished unless a permit has been issued therefor by the chief building official.” The exemptions are narrow.

Shed. According to Ontario’s Building Code Compendium (2024), under the 2024 Building Code (O. Reg. 163/24), Division C, Sentence 1.3.1.1.(6), a shed is exempt from the permit requirement under s.8 of the Act, and from compliance with the Code, if it:

  • is not more than 15 m² in gross area,
  • is not more than one storey in building height,
  • is not attached to a building or any other structure,
  • is used only for storage purposes ancillary to a principal building on the lot, and
  • does not have plumbing.

Toronto’s permit page also lists accessory structures such as garages, workshops, carports, pool houses and cabanas larger than 10 m² (107 sq ft) as needing a permit. If your “shed” is really a workshop, read that line too.

Deck. Toronto’s page says a permit is needed to “Construct a deck more than 60 centimetres (24 inches) above ground.” Its exemption for an uncovered deck applies, in the page’s own words, provided:

  • “its finished deck level is not more than 60 cm (24 inches) above the adjacent finished grade; and/or”
  • “it does not form part of an exit required under the building code; and”
  • “complies with the Zoning Bylaw.”

The “and/or” is the City’s wording. I have quoted it rather than paraphrased it, because the conditions read differently depending on how it is taken. If your deck is close to the line or forms part of a path out of the house, put the question to Toronto Building before you build.

💡 My own read: the 60 cm deck line in Toronto is a municipal administrative line, not a Building Code exemption. The Code’s Sentence 1.3.1.1.(6) names sheds; it says nothing about decks. Toronto has drawn its deck line at 60 cm, and another city can draw it somewhere else. So for a shed you can read the Code, but for a deck the document that matters is your own city’s permit page, not the Code.

The provincial Building Code’s shed exemption vs. Toronto’s permit page

2024 Building Code, Div. C, 1.3.1.1.(6)
City of Toronto permit page
What it is
Provincial regulation that applies across Ontario
The City’s plain-language guide to when Toronto Building expects a permit
15 m² boundary
Exempt if “not more than 15 m² in gross area”
Permit needed for a shed “with an area of 15 square meters (161 square feet) or more”
Exactly 15 m²
Inside the exemption on the Code’s wording
Inside the permit requirement on the page’s wording
Other conditions
One storey, not attached, storage only, no plumbing
Repeats the same five conditions; attached or plumbed accessory structures need a permit regardless of size
Decks
Not covered by this Sentence
Permit above 60 cm (24 in); uncovered-deck exemption with conditions
Zoning
Exemption covers the s.8 permit and Code compliance; zoning is not mentioned
Exemption conditions include “complies with the Zoning Bylaw”
💡 Below 15 m² the two agree. At exactly 15 m² their wording points different ways, so a shed sold as exactly 15 m² is a question to put to your building department in writing, not one to settle by reading either document alone.

If it goes up without a permit

Building something that needed a permit without one is a contravention of s.8(1) of the Building Code Act, and the Act gives the city several tools.

Orders first

An inspector who finds a contravention of the Act or the Code “may make an order directing compliance” and may require it to be carried out immediately or within a set time (s.12(2)). If that order is not followed, the chief building official may order that all or part of the construction stop (s.14(1), a stop work order).

Then fines

Failing to comply with an order, or contravening the Act, is an offence (s.36(1)). According to the Building Code Act, 1992 (current consolidation, 2026), on conviction an individual faces a fine of not more than $50,000 for a first offence and $100,000 for a subsequent one (s.36(3)); for a corporation the maximums are $500,000 and $1,500,000 (s.36(4)). Failing to comply with a stop work order under s.14(1) adds a fine of up to $10,000 per day the offence continues after the compliance deadline (s.36(6)). These are maximums set by the statute, not typical outcomes.

A zoning contravention is a separate matter from the Building Code Act. A structure that is exempt from a permit can still breach the zoning by-law, and the by-law has its own enforcement route.

Outside Toronto

The Building Code and the Building Code Act apply across Ontario, so the shed exemption and the fines above are the same in every municipality. The zoning by-law and the city’s permit guidance are local. Mississauga, Markham, Ottawa and every other municipality have their own by-laws, with their own setbacks, heights and coverage limits, and their own answer on decks. The Toronto numbers in this article are a worked example, not a rule for your city. Your local building department is the office that can answer for your lot.

What to do, in order

Two short lists, one for the store and one for the phone call.

Before you buy the kit
  • ☐Find your lot on a survey or site plan and mark the front yard; nothing ancillary goes there in Toronto.
  • ☐Measure the distance from the planned spot to the house; 1.8 metres changes the height and size caps.
  • ☐Check the kit’s gross area and height against the Code’s 15 m² and one-storey conditions and your city’s limits.
  • ☐Add up the floor area of the garage and any existing sheds before adding another.
  • ☐Decide now whether it will ever get running water, a drain, or a wall shared with the house.
Before you call the city
  • ☐Write down the planned deck height above finished grade and whether it is part of a way out of the house.
  • ☐Note whether the deck will be covered, enclosed or attached, now or later.
  • ☐Have your zoning by-law’s ancillary-structure clauses open, with the clause numbers.
  • ☐Ask your local building department in writing whether the project needs a permit, and keep the reply.

Frequently Asked Questions

Q

Does a covered deck or a pergola need a permit in Toronto?

A

Toronto’s permit page exempts an uncovered deck under set conditions; a covered deck, pergola or gazebo is not on that exemption list, and the page does not address them directly. It does list enclosing a deck of any size as permit work. Ask Toronto Building before you build (City of Toronto, When do I need a building permit?, 2026).

Q

Can I put a shed on a vacant lot before the house is built?

A

Not in Toronto’s Residential Zone category. By-law 569-2013 says no above-ground part of an ancillary building or structure may be erected before the main walls of the house on the same lot are up and its roof is completed (10.5.60.1(4)). Other municipalities have their own rule on this.

Q

Can someone live or sleep in a backyard shed?

A

Toronto’s zoning by-law says an ancillary building in the Residential Zone category “may not be used for living accommodation” (569-2013, 10.5.60.1(2)). Whether a particular use crosses that line is a question for the City, not something to assume.

Q

How long does the city have to prosecute an unpermitted shed or deck?

A

Under the Building Code Act, a prosecution must start within one year after the facts first came to the knowledge of the chief building official (s.36(8)(b)). The clock runs from when the official learns of it, not from when the structure was built (Building Code Act, 1992, s.36(8)).

Q

Can a shed go in the front yard in Toronto?

A

No. By-law 569-2013 says an ancillary building or structure in the Residential Zone category may not be located in a front yard (10.5.60.10(1)). That applies even to a shed small enough to be exempt from a building permit.


Discover more from GTA Real Estate Broker | Arthur Zhao

Subscribe to get the latest posts sent to your email.

Continue reading

相关文章Related articles

您好!想了解房产买卖、投资、贷款?随时问我。 点这里开聊 →
Arthur Zhao

AZ 房产 AI 顾问

Arthur Zhao · Real Estate Broker

选个话题快速开始
Powered by AZ Real Estate Partners · 对话用于改进服务