Deck Stairs Building Code in Ontario: Rise, Run, and Handrail
Ontario deck stairs must follow OBC rules: 7-8" rise, 10" run minimum, 34-38" handrails, 4" sphere test. Get code specs for KWC permits.
Your deck stairs need to pass inspection. Get the rise, run, or handrail spacing wrong and your permit gets held up, or worse—you rebuild after the inspector flags it.
Ontario's Building Code sets strict requirements for deck stairs. These aren't suggestions. They're enforceable standards designed to prevent falls, and inspectors in Kitchener, Waterloo, and Cambridge check them carefully during framing inspections.
Here's what you need to know before you build.
Ontario Building Code Requirements for Deck Stairs
The Ontario Building Code (OBC) Section 9.8 governs exterior stairs on residential decks. Your stairs must meet these specifications:
Riser Height (Vertical Step)
- Minimum: 5 inches (125 mm)
- Maximum: 8 inches (200 mm)
- Maximum variation between risers: 3/8 inch (9.5 mm)
Tread Depth (Horizontal Step)
- Minimum: 10 inches (255 mm) measured from nosing to nosing
- Treads must be consistent—no variation beyond 3/8 inch
Stringer Requirements
- Minimum 2x12 lumber for cut stringers
- Minimum three stringers for stairs wider than 36 inches
- Maximum stringer spacing: 16 inches on center
Handrail Requirements (if required)
- Height: 34 to 38 inches measured vertically from stair nosing
- Graspable diameter: 1¼ to 2¾ inches (2-by lumber on edge doesn't qualify)
- Required on one side if stairs have 3 or fewer risers
- Required on both sides if stairs have 4 or more risers
Guardrail Requirements (Stair Guards)
- Required if stair height exceeds 24 inches from grade
- Minimum height: 36 inches above stair nosing
- 4-inch sphere test: no opening can allow a 4-inch sphere to pass through
- Guards must withstand 50 pounds per square foot of horizontal load
The 3/8-inch tolerance matters. Inconsistent riser heights cause trips. Your foot expects the same step height each time. When one riser is 7 inches and the next is 7½ inches, you stumble.
Most builders in KWC use 7¼-inch risers and 10-inch treads as their standard. This keeps you comfortably within code and creates a natural walking rhythm.
Calculating Rise and Run for Your Deck Height
You can't just divide your deck height by 7 and call it done. The math needs to land on code-compliant riser heights.
Step 1: Measure Total Rise
Measure from the finished deck surface to finished grade (not excavated dirt—actual grade after landscaping). Let's say your deck sits 42 inches above grade.
Step 2: Calculate Number of Risers
Divide total rise by your target riser height (most builders use 7.25 inches):
42 ÷ 7.25 = 5.79 risers
You can't build 5.79 risers. Round to the nearest whole number: 6 risers.
Step 3: Calculate Actual Riser Height
Divide total rise by the number of risers:
42 ÷ 6 = 7 inches per riser ✓ (within 5-8 inch code requirement)
Step 4: Calculate Total Run
If you're using 10-inch treads (minimum), you need one fewer tread than you have risers:
6 risers = 5 treads
5 × 10 inches = 50 inches total run
Your staircase will extend 50 inches (4 feet 2 inches) out from your deck.
Step 5: Account for Landing
OBC requires a 3-foot by 3-foot landing at the bottom of stairs if the door swings outward or if stairs change direction. Most straight deck stairs don't need this, but check your specific layout.
If your calculation lands on a riser height outside the 5-8 inch range, you need to add or subtract a riser and recalculate. Don't try to fudge it—inspectors measure every riser with a tape measure during deck framing inspections.
When You Need Handrails vs. Guardrails
The code uses different terms for different purposes, and builders sometimes confuse them.
Handrails are for gripping while you walk up or down. They run parallel to the stair slope, 34-38 inches above the stair nosing.
Guardrails (or stair guards) prevent falls off the side of the staircase. They run vertically at least 36 inches high, measured from the stair nosing.
Handrail Rules
- 1-2 risers: No handrail required
- 3 risers: Handrail required on one side
- 4+ risers: Handrails required on both sides
Most decks sit high enough to need 4+ risers. If your deck is 28 inches or higher, you're likely building stairs that require dual handrails.
Graspable Handrail Shape
A 2x4 or 2x6 laid flat doesn't meet code. You can't wrap your hand around it properly.
Code-compliant options:
- Circular handrail: 1¼ to 2 inches diameter (available at lumber yards)
- 2x4 or 2x6 turned on edge: Must be rounded/eased so it's graspable
- Metal pipe handrail: 1½ inch diameter schedule 40 pipe works well
The handrail must be continuous along the stair run—no gaps where your hand slides off. If you use posts, the handrail should run through or over them, not stop and start at each post.
Guardrail Requirements
If your stairs are more than 24 inches above grade, you need guardrails (side guards) in addition to handrails.
- Minimum height: 36 inches measured vertically from stair nosing
- 4-inch sphere rule: No gap can allow a 4-inch sphere to pass through (this prevents small children from slipping through)
- Guardrails must support 50 lbs/sqft horizontal load plus a 200-pound concentrated load
Picture balusters (vertical spindles): they need to be spaced no more than 4 inches apart center-to-center to satisfy the sphere test.
Cable railing and horizontal slat systems sometimes fail inspection in Ontario because children can climb them like a ladder. OBC discourages horizontal intermediate rails for this reason, though they're not explicitly banned. Inspectors have discretion here—vertical balusters are the safer choice for stairs.
Stringer Layout and Construction
Stringers are the angled supports that hold your stair treads. Cut them wrong and you'll have inconsistent riser heights—instant code failure.
Stringer Sizing
Use 2x12 pressure-treated lumber for cut stringers. After you cut the stair profile, you need at least 5 inches of solid wood remaining at the narrowest point (the throat). Smaller lumber doesn't leave enough meat after cutting.
For stairs 36 inches wide or less: 2 stringers
For stairs wider than 36 inches: minimum 3 stringers, spaced no more than 16 inches on center
Most deck stairs are 36-42 inches wide (comfortable for carrying things up and down). Build with 3 stringers.
Cutting Stringers
Use a framing square (also called a carpenter's square). Set stair gauges or tape to your rise and run measurements—say, 7 inches on the tongue (rise) and 10 inches on the blade (run).
Mark each step on the 2x12. The bottom riser gets shortened by the thickness of your tread material (usually 1½ inches for a 2x10 tread). If you forget this, your first step will be taller than the others.
Attaching Stringers to the Deck
Stringers must be mechanically fastened to the deck structure—not just toenailed.
Code-compliant methods:
- Joist hanger rated for stair stringers (Simpson LUS24Z or similar)
- Blocking between joists with stringers bolted to blocking using ½-inch through-bolts
- Stair stringer brackets (Simpson A66 or similar) attached to deck rim joist or blocking
Never attach stringers to deck boards or fascia. They need to connect to structural framing—rim joist, blocking, or directly to a joist.
At the bottom, stringers must bear on a concrete pad or poured footing—not bare ground. Pressure-treated lumber resists rot, but ground contact still shortens its life. A 4-inch concrete pad works fine. Some builders pour a small footing below frost line (48 inches deep in Ontario) to prevent heaving, especially in clay soils common around KWC.
Tread and Riser Material Choices
You have options beyond standard pressure-treated 2x10s.
Pressure-Treated Wood Treads
2x10 or 2x12 pressure-treated lumber is the default. It's affordable and meets code.
- Pros: Cheap ($8-12 per tread in 2026), easy to cut on site, replaceable
- Cons: Requires annual maintenance (staining/sealing), splinters, can warp
Gap your treads ⅛ inch to allow water drainage and seasonal expansion. In Ontario's freeze-thaw climate, trapped water leads to cracking.
Composite Stair Treads
Most composite decking manufacturers offer stair treads with bullnose edges. These match your deck boards and eliminate maintenance.
- Pros: No staining, no splinters, consistent appearance
- Cons: Expensive ($40-80 per tread depending on brand), may require special brackets
If you're building a composite deck, composite stair treads make sense. Mixing pressure-treated stairs with composite decking looks mismatched.
Cedar Treads
Western red cedar 2x10s offer a middle ground—better appearance than pressure-treated, less maintenance than paint or stain, but still requires sealing every 2-3 years.
Expect to pay $18-25 per tread for clear cedar in KWC. It's not pressure-treated, so it will rot faster at ground contact points.
Riser Boards (Optional)
Open risers (no vertical board between treads) are code-compliant in Ontario for exterior stairs. Closed risers (with boards) are optional.
Closed risers:
- Look more finished
- Prevent small objects from falling through
- Can trap leaves and debris (need gaps for drainage)
If you install riser boards, use 1x8 pressure-treated or composite, and leave ¼-inch gaps at the bottom for water drainage.
Handrail and Guardrail Installation Details
Getting handrails inspected-and-approved takes attention to attachment details.
Handrail Attachment
Handrails must support a 222-pound concentrated load without deflecting more than 2 inches. That means solid attachment.
Use code-rated handrail brackets spaced no more than 48 inches apart. Simpson Outdoor Accents or equivalent work well.
Attachment options:
- Through-bolt to stringers using ½-inch bolts and washers
- Bracket to guardrail posts if you have full-height posts running up the stairs
- Continuous handrail bracket systems like Simpson's ALX series
Don't use deck screws alone—they can shear under load. Use bolts or structural screws rated for the load.
Guardrail Post Spacing
Guardrail posts need to be spaced to support the 4-inch sphere rule after you install balusters or infill.
Standard spacing: 4-6 feet on center for posts, with balusters in between spaced no more than 4 inches apart.
On stairs, posts run vertically (not perpendicular to the stringer). This keeps the guardrail height consistent at 36 inches above each stair nosing.
Attach stair guardrail posts using:
- Bolted post-to-stringer brackets (Simpson FPBB44 or similar)
- Notched posts that sit on the outside face of stringers, through-bolted with ½-inch galvanized bolts
Never rely on screws alone for guardrail posts. Inspectors will fail it.
Baluster Installation on Stairs
Installing balusters on sloped stairs is trickier than on flat decks.
Each baluster must be cut at an angle to match the stair slope. The top and bottom rails run parallel to the stringer.
To maintain 4-inch spacing:
- Measure spacing horizontally (not along the slope)
- Cut balusters to length accounting for the angle
- Toe-screw or use aluminum baluster connectors at top and bottom
Some builders use pre-fab stair railing kits with adjustable angles. These cost more ($120-200 per 6-foot section) but save time and guarantee code compliance.
Common Code Violations Inspectors Flag
Inspectors in Kitchener, Waterloo, and Cambridge see the same mistakes repeatedly:
1. Inconsistent Riser Heights
The top or bottom riser is a different height because the builder didn't account for tread thickness or measured wrong. Every riser must be within 3/8 inch of the others.
2. Non-Graspable Handrails
A 2x6 laid flat fails. It needs to be graspable—you should be able to wrap your hand around it.
3. Handrails Too High or Too Low
Code specifies 34-38 inches measured vertically from the stair nosing (the front edge of each tread), not from the tread surface. A common mistake is measuring from the wrong point.
4. Guardrail Spacing Fails the 4-Inch Sphere Test
Balusters spaced 5 inches apart? Failed. That extra inch matters.
5. Stringers Attached to Deck Boards
Stringers must attach to structural framing (rim joist or blocking), not to deck boards or fascia. Deck boards aren't structural.
6. No Landing at Grade
If stairs land on bare dirt or gravel, inspectors may flag it. They want to see a solid bearing surface—concrete pad, patio stones on compacted base, or poured footing.
7. Stringers Sitting on Grade Without Footing
Pressure-treated stringers sitting on dirt will rot. They need a concrete pad or footing.
8. Horizontal Infill That Creates Climbability
Cable railings, horizontal slats, or ladder-like designs sometimes get flagged as climbing hazards. Inspectors have discretion here, but vertical balusters avoid the argument.
Avoid these mistakes and your stairs pass on the first inspection. Get one wrong and you're making a second call-out appointment—and potentially rebuilding parts of your staircase.
Permit and Inspection Process for Deck Stairs
Deck stairs are part of your overall deck permit application in Kitchener, Waterloo, and Cambridge. You don't get a separate permit for stairs—they're included in the deck permit drawings.
What to Include in Permit Drawings
Your stair drawings must show:
- Number of risers and treads
- Riser height and tread depth (with measurements)
- Stringer size, spacing, and attachment method
- Handrail and guardrail details including height and baluster spacing
- Landing or footing details at grade
Most municipalities accept hand-drawn plans as long as they're clear and dimensioned. If your deck sits more than 6 feet above grade, you may need an engineer's stamp—check with your local building department.
Inspection Timeline
Inspectors check stairs during the framing inspection, before you install deck boards or stair treads.
Inspection sequence:
1. Footings inspection (after digging, before pouring concrete)
2. Framing inspection (deck frame + stair stringers in place, before decking)
3. Final inspection (completed deck with railings, stairs, and treads installed)
Some inspectors allow you to install treads before the framing inspection, but stringers must be visible for measurement. Don't install riser boards or skirting until after framing inspection—inspectors need to see the structural connections.
Typical permit timeline in KWC: 2-4 weeks for approval, then you schedule inspections as you build.
Cost Implications of Code-Compliant Stairs
Building stairs correctly costs more than shortcuts. Budget for it.
DIY Material Costs (Pressure-Treated):
- Stringers: $30-45 each (2x12 PT, 12-foot length), need 3 for most stairs
- Treads: $8-12 each (2x10 PT), 5-7 treads for typical deck height
- Handrail kit: $80-150 for 6-foot section (brackets, rail, hardware)
- Guardrail posts and balusters: $120-200 for materials (posts, balusters, top/bottom rail)
- Concrete footing: $30-50 (bags of concrete for bottom landing pad)
Total DIY materials: $350-600 depending on stair size and complexity.
Professional Installation:
Most deck builders in KWC charge $800-1,500 per staircase for code-compliant stairs with handrails and guardrails. This includes labor, materials, and warranty.
Composite stairs (matching composite deck boards) add $400-800 to the total due to specialty tread costs and additional labor for cutting and installing bullnose treads.
If your deck requires stairs to pass inspection, it's not optional. Factor this into your overall deck budget upfront. Stairs typically represent 10-15% of total deck cost for elevated decks.
Building Stairs That Last in Ontario's Climate
Code compliance gets you past inspection. Durability keeps your stairs safe for years.
Freeze-Thaw Protection
Ontario winters cycle above and below freezing dozens of times. Water seeps into cracks, freezes, expands, and splits wood.
Protection strategies:
- Seal end-cuts on pressure-treated lumber (the ends aren't treated as deeply)
- Use deck tape on stringer tops to prevent water from soaking into the wood where treads attach
- Slope treads slightly (⅛ inch per foot) so water runs off instead of pooling
- Pour stair footings below frost line (48 inches) to prevent heaving
Clay soil around KWC holds moisture and expands when frozen. Shallow stair footings will heave in winter, throwing off your riser heights and potentially cracking concrete. If you're pouring a footing, go deep.
Fastener Choices
Use hot-dipped galvanized or stainless steel fasteners. Electro-plated screws rust out in 5-10 years in Ontario's wet climate.
For structural connections (stringers to deck, posts to stringers), use:
- Hot-dipped galvanized bolts (½-inch diameter minimum)
- Structural screws like GRK RSS or FastenMaster LedgerLok (rated for load)
For treads and balusters:
- Stainless steel deck screws (last 20+ years)
- Hidden fastener systems for composite treads (cleaner look, no screw holes for water intrusion)
Cheap screws fail. Budget $30-50 for quality fasteners and avoid callbacks.
Maintenance Schedule
Pressure-treated stairs need maintenance:
- Year 1: Let wood weather 6-12 months before staining
- Years 2-3: Clean and apply penetrating stain or sealer
- Every 2-3 years: Clean, inspect for loose fasteners, re-stain high-traffic areas (stair nosings wear faster)
Composite stairs need less:
- Twice per year: Sweep off debris, hose down with water
- Annually: Clean with composite deck cleaner (removes mildew/stains)
Common Questions
Can I build deck stairs without a permit in Ontario?
No. If your deck requires a permit (anything over 24 inches above grade in most KWC municipalities), the stairs are part of that permit. You can't build permitted stairs without including them in your deck permit drawings. Inspectors specifically check stair construction during framing inspections. Building without a permit risks fines and forced removal.
What's the maximum height for deck stairs in Ontario without a landing?
Ontario Building Code doesn't set a maximum stair height before requiring a landing, but it does require landings in specific situations: when a door swings outward over the stairs, or when stairs change direction. For straight-run exterior deck stairs, you can go from deck height to grade without an intermediate landing, even if that's 10+ feet of vertical rise. However, stairs over 12-14 risers become impractical—most builders split tall stairs into two sections with a landing for usability.
Do I need handrails on both sides for 3-step deck stairs?
No. Stairs with 3 risers or fewer only require a handrail on one side in Ontario. Once you hit 4 risers, you need handrails on both sides. The handrail must be graspable (1¼ to 2¾ inches diameter) and mounted 34-38 inches above the stair nosing. Many builders add handrails on both sides anyway for symmetry and safety, even when code only requires one.
Can stair risers be different heights if my deck slopes?
No. The Ontario Building Code requires all risers within a single staircase to be within 3/8 inch of each other. If your deck slopes or your landing isn't level, you need to adjust the bottom or top step to compensate—not vary the risers. Inconsistent riser heights are a major trip hazard and will fail inspection. The only exception is the very top riser (deck height to first tread), which can differ slightly if the deck itself is the top landing.
What happens if my stairs fail inspection in Kitchener or Waterloo?
You'll receive a correction notice listing code violations. Common failures include incorrect riser heights, non-compliant handrails, or improper stringer attachment. You fix the issues and call for a re-inspection. Most municipalities charge $75-150 for re-inspection fees if the failure was due to code non-compliance (not just incomplete work). Serious structural failures may require rebuilding parts of the staircase. This is why hiring an experienced builder or carefully following OBC specs matters—re-inspection delays and rebuild costs add up quickly.
Upload a backyard photo and preview real decking materials with AI — free, instant, no sign-up.
Permits, costs, material comparisons, and questions to ask your contractor — delivered to your inbox.