Stair Railing Code Requirements in Ontario: What Every Homeowner Should Know Before Building

If you’re adding or replacing a stair railing on your Ottawa home, whether it’s for a deck, a porch, or a front entrance, the Ontario Building Code has clear rules. These rules are not optional. If you get them wrong, you could fail your inspection. That means a redo and a delay on your project.

At Ottawa Deck and Rail, we see homeowners (and sometimes other contractors) run into trouble with stair railings more than almost anything else. Here’s what you actually need to know, explained in plain language.

This article covers OBC Section 9.8. It’s meant as general guidance for homeowners in the Ottawa area. Rules can vary by city, so always check with your local building department before you start building.

Height: The Number That Trips Everyone Up

Stair guards get measured differently than deck guards. This mixes people up all the time.

  • The minimum height for a stair guard is 36 inches (900 mm). You measure this straight up from an imaginary line that runs across the front edges of the stair treads. You do not measure from the tread surface itself.
  • This 36-inch rule stays the same even when the stairs lead up to a deck or landing that needs 42 inches. Stairs and landings get measured differently on purpose.
  • If your top rail works as both the guard and the handrail you grip, you can build it up to 42 inches. The 36-inch minimum still applies, 

but you have room to go taller if your design calls for it. 

  • Commercial buildings and multi-unit residential buildings must use 42 inches no matter what.
  • The handrail itself (the part you actually grab) has its own height range: 34 to 38 inches. You measure this the same way, from the nosing line.

Long Stairs: Do You Need a Post in the Middle?

This is one of the most common questions we hear, especially for longer staircases.

The short answer is no. The Building Code does not set a maximum distance between posts on stairs. There’s no rule that says you need a post every six feet. That number gets repeated a lot in the trade, but it’s an industry habit, not a code requirement.

What the code actually requires is that your guard can handle a horizontal push of 0.75 kN per metre (about 51 pounds per linear foot) without bending too much. So the real question isn’t “how far apart can my posts be.” It’s “will this specific span, with this specific rail system, pass that load test.”

Here’s how that plays out in practice:

  • Most aluminum railing makers publish a maximum span for their products. On stairs, this is usually 5 to 6 feet. That’s tighter than the 6 to 8 foot span you’d see on a flat deck, because a diagonal stair run is less rigid than a flat one.
  • Ontario also has an appendix called SB-7. It contains ready-made drawings for common wood deck and stair railings. If you build exactly to one of these drawings, an inspector generally has to approve it without asking for extra engineering.
  • If your span is longer than what the manufacturer allows or what SB-7 shows, you’ll need engineering proof to back it up (more on that below).

Bottom line: a long stair run doesn’t automatically need a middle post. It needs a rail system that’s proven on paper to handle that span.

Wood Stairs vs. Concrete Stairs: Different Anchoring, Same Rules

The height rules, load rules, and opening rules stay the same no matter what your stairs are made of. But how you anchor the posts changes completely, and that’s where a lot of installation problems start.

Wood stairs (stringers and treads):

  • Installers usually bolt posts through the stringer with carriage bolts or through-bolts, using a washer and nut on the other side. Heavy-duty structural screws also work.
  • One common method: notch the bottom of the stringers, tie them together with a solid board, then anchor the post to that board. This spreads the load across a wider area instead of relying on one single point.
  • You can also use surface-mounted metal post bases, but you must install them exactly as the manufacturer instructs, using fasteners rated for the load.

Concrete stairs and landings:

  • Posts get anchored using concrete screws or expansion anchors driven into the slab. Never nail them in, and never rely on adhesive alone for a structural connection.
  • For metal or aluminum systems, the post usually sits on a welded base plate that gets bolted or screwed into the concrete, rather than being embedded directly into the slab.
  • We generally recommend against embedding a metal post directly into concrete for outdoor use. Moisture can get trapped against the buried part of the post and corrode it from the inside over the years. This weakens the connection with no visible warning sign. Keeping the post on top of the concrete, anchored through a base plate, holds up much better over time.

 

Either way, your fastening method has to meet the same 0.75 kN/m load standard. The surface underneath just changes which hardware you use, not the standard you need to hit.

Openings and Anti-Climb Rules on Stairs

These rules apply to stairs just as much as they apply to decks, and they’re a common reason inspections fail:

  • No gap anywhere in the guard can let a 4-inch sphere pass through.
  • The “stair triangle” (the space formed by the tread, riser, and bottom rail) gets a bit more room: no 6-inch sphere can pass through it.
  • No part of the guard can have a foothold between 5.5 and 35.5 inches above the stairs that a child could use to climb it.
  • This is why horizontal cable railings and horizontal-slat designs are a hard sell on stairs. Inspectors often reject them outright, or they’ll require written approval first, because these designs look like a ladder.
Requirement Value
Stair guard minimum height 36" (900 mm) from nosing line
Handrail height range 34"–38" (865–965 mm)
Combined guard/handrail max 42" (1,070 mm)
Horizontal guard load 0.75 kN/m (about 51 lb/ft)
Max opening (general) 4" (100 mm) sphere
Max opening (stair triangle) 6" (150 mm) sphere
Anti-climb zone 5.5"–35.5" (140–900 mm)
Handrail extension past top/bottom of stair 12" (300 mm) minimum
Wall clearance for handrail 1.5" (38 mm) minimum
Handrail graspable diameter (round) 1.2"–1.7" (30–43 mm)
Typical stair post spacing (manufacturer spec, not code minimum) 5–6 ft (1.5–1.8 m)

How Is Any of This Actually Tested?

Nobody shows up with a load cell and tests your specific railing on your driveway. Inspectors check for compliance through paperwork and visual inspection, not physical testing:

  • Manufacturer engineering letters: for aluminum, steel, or glass railing systems, the manufacturer usually has a letter from a professional engineer that confirms the system meets the load requirements at certain spans. This is your best piece of paperwork if anyone ever questions your span or design.
  • CCMC evaluation: some manufactured systems carry a listing from the Canadian Construction Materials Centre that inspectors can check directly.
  • SB-7 prescriptive drawings: if you build a wood railing to match a standard SB-7 drawing, you don’t need an engineering letter. Matching the drawing is your proof.
  • Visual and physical inspection: inspectors check post size, anchoring, spacing, and opening sizes. They’ll also push and shake the railing to test for wobble.
  • Formal load testing: this is rare. It only happens for unusual or custom designs that have no engineering paperwork to fall back on.

What Happens If an Inspector Rejects Your Railing?

 

Building or replacing a stair railing in the Ottawa area? Ottawa Deck and Rail installs
code-compliant aluminum, glass, and wood railing systems for decks, porches, and stairs
— reach out for a free quote.

Stair Railing Code in Ottawa FAQs

Does my stair railing need to be 42 inches like my deck railing?

No. Stair guards only need to be 36 inches high, measured from an imaginary line through the front edges of the stair treads. This stays true even if the stairs lead up to a deck or landing that requires 42 inches. The two get measured differently on purpose.

Not necessarily. The Ontario Building Code doesn’t set a maximum distance between posts on stairs. What it does require is that your railing can handle a horizontal push of 0.75 kN per metre without excessive flex. Most aluminum systems are engineered for a 5 to 6 foot span on stairs, so a long run needs a proven rail system, not automatically a mid-post.

It’s a tough sell. Any part of the guard can’t have a foothold between 5.5 and 35.5 inches above the stairs that a child could use to climb. Horizontal designs tend to look and act like a ladder, so inspectors often reject them outright or require written pre-approval before you build.

Yes. Wood stairs typically get bolted through the stringer with carriage bolts or lag screws. Concrete stairs need concrete anchors or expansion screws driven into the slab, usually through a base plate rather than embedding the post directly into the concrete. Embedding a metal post in concrete can trap moisture and corrode it from the inside over time.

You have options. Start by asking for the rejection in writing, since the Building Code Act requires this. Most disputes get resolved right at the building department once you provide an engineering letter or an SB-7 reference drawing. If the disagreement is about a technical code requirement, you can request a hearing with the Building Code Commission, though permit refusals and zoning issues follow different appeal paths.