The numbers below come from Ontario Building Code 2024 (O. Reg. 163/24, amended January 16, 2025), Division B, Section 9.8.8 and Part 4 Article 4.1.5.14. These are what an inspector reaches for when they pull a tape on your top rail and put a 100 mm test ball against your spindles. Verified against the code text by a Red Seal Carpenter (Ontario CofQ) on 2026-04-15.
The most common field mistake is guessing the trigger. According to OBC 9.8.8.1.(1), a guard is required on every walking surface where the elevation difference to the adjacent surface within 1.2 m is more than 600 mm — 23-5/8", not the 30" rule people remember from the US IRC. A deck that is 23" (584 mm) above the lawn does not need a guard; one at 24" (610 mm) does — 24 inches is already past the 600 mm trigger. The 1.2 m lookout distance also matters — a 400 mm drop to a landscape bed still triggers the rule if the grade falls 900 mm within that 4 ft. Exceptions in 9.8.8.1.(2) are narrow: loading docks, repair-garage floor pits, and access provided for maintenance only. Residential doors under 9.8.8.1.(3) need either a guard or a swing-limiter whenever the exterior floor is more than 600 mm below the interior floor — the classic garden-door-with-no-deck-yet scenario. Openable windows in residential buildings fall under 9.8.8.1.(4): guard, or a limiter releasable only with tools or special knowledge holding the clear opening to 100 mm — exempt where the bottom of the openable part is more than 900 mm above the floor, or the drop on the other side is less than 1 800 mm (9.8.8.1.(5)).
OBC 9.8.8.3 gives you three numbers: 900 mm, 1 070 mm, and 1 500 mm. The default in 9.8.8.3.(1) is 1 070 mm (42-1/8"). The relief in 9.8.8.3.(2) covers all guards within a dwelling unit (or house with a secondary suite): 900 mm (35-7/16"). The relief in 9.8.8.3.(3) covers exterior guards serving not more than one dwelling unit, only when the walking surface is 1 800 mm or less above grade. That last condition catches a lot of people. A walkout deck three feet off the ground is a 900 mm guard. A second-storey deck ten feet off the ground is a 1 070 mm guard. Exterior stairs and landings more than 10 m above grade jump to 1 500 mm under 9.8.8.3.(3.1) — though at that height you are usually out of Part 9 entirely. One more quirk: 9.8.8.3.(4) measures guard height on a stair flight from the top of the guard to a line tangent to the tread nosings, not from the walking surface — so a straight top rail 900 mm above each nosing is continuous across the flight. Landings measure from the walking surface.
OBC 9.8.8.5.(1) reads simply: openings through guards shall be sized to prevent the passage of a 100 mm sphere — 3-15/16", just under 4 inches. Inspectors carry a plastic ball. The same rule applies between the bottom rail and the walking surface. The practical layout on a dwelling deck, given a 1-1/2" square pressure-treated 2×2 spindle, is 3-1/2" on-centre: 3.5" centres minus 1.5" spindle equals a 2.0" clear gap (51 mm) — well under the 100 mm limit, with 49 mm of margin for a twisted spindle or a layout drift. Going to 4" o.c. gives 2-1/2" (63.5 mm) and 4-1/2" o.c. gives 3" (76 mm) — both still legal, but you have burned most of your margin. With 2×2 spindles the pattern does not fail until the spacing exceeds 138 mm (5-7/16") on-centre, where the clear gap passes 100 mm. 3-1/2" o.c. is standard because it is forgiving. Stairs get one more sphere rule in 9.8.8.5.(2): the triangle formed by the riser, tread, and bottom rail of the flight guard shall not pass a 150 mm sphere — so the bottom rail must follow the stair slope tight to the nosing, not run parallel to the stringer with a growing gap at the bottom.
9.8.8.6.(1) says: no member, attachment, or opening located between 140 mm and 900 mm above the walking surface shall facilitate climbing. 140 mm is roughly a toddler's first step on a stiff shoe; 900 mm sits above the centre of gravity of a three-year-old. A guard that keeps an adult in won't keep a determined small kid in — a child who can get a toe at 300 mm and a hand at 900 mm can swing a leg over. This is why horizontal cable rails fail almost every residential inspection — each cable is a ladder rung. Horizontal pipe rails, ranch-style 1×4 flat rails, and lattice with climbable openings all get rejected. Even the bottom rail itself can fail if it sits 3/4" off the deck and gives a toe hold. The clean detail is vertical spindles on a bottom rail set flush with the decking, with a top-rail profile that offers nothing grippable in the climb zone.
Table 9.8.8.2 row 1 sets the dwelling-unit loads: a concentrated 1.0 kN (≈ 225 lb) at any point on the top of the guard, inward OR outward, or a uniform 0.5 kN/m — whichever governs. Infill resists 0.5 kN over 300 × 300 mm. The top of the guard takes 1.5 kN/m vertical. Common-area guards (row 3) jump to 0.75 kN/m uniform. None of these loads act simultaneously per 9.8.8.2.(4). The 225 lb reads small until you work out a corner post: 225 lb at the top of a 36" post is a 675 ft·lb (8,100 in-lb) moment at the base. A row of screws through a 2× rim joist into air cannot carry that moment — you need fasteners into the rim AND perpendicular blocking. The field-proven detail is a Simpson DTT2Z tension tie bolted through the post base into blocked rim — it turns a fastener-head problem into a steel-strap problem. Per 9.8.8.2.(6), guards built to MMAH Supplementary Standard SB-7, Guards for Housing and Small Buildings, are deemed to satisfy the loads without engineering — that is what most residential decks actually follow.
Three failures show up on nearly every deck inspection that goes wrong. First: loose 2×2 spindles. Toe-nailed with 2-1/2" finish nails, a 2×2 fails the in-plane element load test in 9.8.8.2.(2) — the 0.1 kN push rotates the spindle because toe nails have no shear resistance in the load direction. Fix with (2) #8 × 3" screws through the face of the rails into the spindle end, or a Simpson BC-style bracket. Second: missing bolt at the corner post. Corner posts nailed on instead of bolted fail — both directions of the 1.0 kN load converge at the corner and nails cannot carry that moment. Use (2) 1/2" through-bolts with washers both sides, or a DTT2Z. Third: handrail mounted to a guard post. A handrail bracket screwed to a guard post fails two rules at once — the bracket creates a climbable element in the 140–900 mm zone, and the rail breaks continuity at the post per 9.8.7.2. Mount the handrail to the opposite wall when you can, or to brackets that don't project into the climb zone. Decks with screw-attached spindles, bolted corners, and clean handrail runs sail through inspection.
Building the rest of the deck? Run the stairs through the OBC Stair Calculator, size the piers with the Deck Footing Depth Calculator, check the deck ledger attachment, or browse all Ontario Building Code tools. If you build decks for a living, ToolFluency's Ontario contractor suite runs your timesheets, jobs, and invoicing in one place.
Per OBC 9.8.8.1.(1), a guard is required wherever the elevation difference to the adjacent surface within 1.2 m is more than 600 mm (23-5/8″). NOT 30 inches like the US IRC — 600 mm is only 23-5/8″. A deck at 23″ (584 mm) doesn't need a guard; one at 24″ (610 mm) does.
By the ToolFluency team · Updated September 2026
Free Ontario Building Code 2024 guard height and load checker. Verify 900 mm / 1 070 mm guard height, 100 mm sphere rule, climbability, and Table 9.8.8.2 loads for decks, balconies, and stairs.
Part of ToolFluency’s library of free online tools for Ontario Building Code. No account needed, no data leaves your device.