Building a new deck or replacing an old railing is one of those projects where homeowners assume "taller is safer" and leave it at that — but the Ontario Building Code (OBC) sets specific, non-negotiable requirements for guard height, baluster spacing, and load capacity. Get it wrong and you risk a failed inspection, a stop-work order, or worse, an insurance headache after an accident. This guide walks through what GTA homeowners actually need to know before the posts go in the ground.
Do You Even Need a Guard (Railing)?
Under the OBC, a guard is generally required on any deck where the walking surface is more than 600mm (about 24 inches) above the adjacent finished grade. If your deck sits lower than that — a ground-level patio deck, for example — you typically don't need a guard at all, though many homeowners add a low rail or planter edge for aesthetics or pet containment.
Once your deck clears that 600mm threshold, guard height becomes mandatory, and the required height depends on how far the deck surface is above grade.
Typical Guard Height Requirements
As generally applied under the OBC for houses and similar residential occupancies:
- 900mm (35.4") minimum guard height where the walking surface is not more than 1800mm (about 5'11") above the adjacent ground or surface below.
- 1070mm (42") minimum guard height where the walking surface is more than 1800mm above grade.
This means a modest single-step-up deck typically only needs a 900mm rail, while a second-storey walkout deck in a sloped-lot home in Vaughan or Caledon will almost always need the taller 1070mm guard.
Stair guards along the open side of deck stairs also have their own minimum height requirement (commonly 900mm measured vertically from the nosing of the treads), which is different from the flat-deck guard height — a detail that trips up a lot of DIY builds.
Baluster (Picket) Spacing
Beyond height, the OBC restricts how much space can exist between balusters, cables, or horizontal rail components. The governing principle is that openings must not permit the passage of a sphere of a specified diameter — commonly referenced as roughly 100mm (about 4 inches) — to prevent small children from slipping through or climbing the rail. Horizontal cable or rod railings are scrutinized closely here, since horizontal members can act like a ladder for a climbing child; some municipalities require additional spacing restrictions or climbability provisions for horizontal-style railings.
Because these details are enforced at the municipal building department level and can be updated through local amendments, always confirm exact spacing and height requirements with your city's building division before finalizing your design — this is especially important in Brampton, Mississauga, and Toronto, where plan examiners sometimes flag borderline details that a generic online spec sheet won't catch.
Load Requirements
Guards aren't just height and spacing — they also need to resist a specified lateral load (a horizontal push force) without failing. This is why flimsy pressure-treated 2x2 balusters toe-nailed into a top rail routinely fail inspection, while properly through-bolted posts, continuous blocking, and engineered railing systems pass. If you're using a composite or aluminum railing system, manufacturer installation specs are usually written to meet code load requirements out of the box — but only if installed exactly per their instructions, including post spacing and fastening hardware.
Permits and Inspections
In most GTA municipalities, a deck requiring a guard (i.e., more than 600mm above grade) also requires a building permit, and the railing height and baluster spacing are checked at the framing/final inspection stage. For the full permit picture — including which decks are exempt and what drawings you'll need — see our companion post on deck permits in Brampton, Mississauga and Toronto. If you're still deciding on decking material before you even get to railings, our breakdown of composite vs pressure-treated deck costs is a useful starting point.
2026 Railing Cost Estimates (GTA)
Railing material has a big impact on total project cost, maintenance, and how long it takes to pass inspection cleanly. These are rough, labour-included estimates for a typical GTA residential deck railing in 2026; always get a site-specific quote since post spacing, stair runs, and grade changes affect pricing.
| Railing Type | Estimated Cost (per linear foot, installed) | Maintenance | Notes |
|---|---|---|---|
| Pressure-treated wood (vertical balusters) | $45 – $75 | Re-stain/seal every 2–3 years | Cheapest, but most prone to code-spacing errors if DIY |
| Cedar (vertical balusters) | $60 – $95 | Re-stain/seal every 2–3 years | Better appearance, same spacing rules apply |
| Aluminum/metal picket system | $90 – $150 | Low — occasional cleaning | Pre-engineered for code compliance, popular for resale |
| Glass panel (framed or frameless) | $180 – $300+ | Low — occasional cleaning | Premium look, excellent for view lots, higher cost |
| Composite/PVC railing | $110 – $170 | Very low | Matches composite decking, consistent fastening specs |
Pre-Build Checklist
Before you order materials or book a contractor for a new deck railing, confirm the following:
- Height of the deck surface above adjacent grade at every point (slopes matter — some decks are 900mm on one side and 1800mm+ on the other)
- Whether a building permit is required in your specific municipality (Brampton, Mississauga, Toronto, Vaughan, and Caledon each administer this slightly differently)
- Required guard height for your deck's height-above-grade condition
- Baluster or infill spacing rules, especially if using horizontal cable or glass panels
- Stair guard height along open stair stringers
- Post attachment method and lateral load capacity (through-bolted vs surface-mounted)
- Manufacturer installation specs if using a pre-engineered aluminum, glass, or composite system
- Final inspection requirements and timing with your local building department
Why Code Compliance Matters Beyond the Inspection
A railing that doesn't meet guard height or spacing requirements isn't just a paperwork problem. It's a genuine safety issue — particularly with young kids or when hosting larger gatherings — and it can become a liability or disclosure issue when you sell the home. Home inspectors routinely flag non-compliant deck railings during resale inspections, which can stall a deal or force last-minute remediation at a worse price than doing it right the first time.
If you're planning a new deck, replacing an aging railing, or dealing with a stop-work order over a spacing or height issue, getting the design right before construction starts saves time, money, and re-inspection headaches.
Contact Reformity Inc. through our quote form to get a code-compliant deck railing plan and accurate pricing for your GTA property.
Related Services
