If you’ve ever grabbed a shaky basement rail in a Toronto house and thought, “that can’t be right,” you’re already thinking about stair railing code Ontario the right way. The tricky part is that “railing” usually means two different things, and each has its own rules.
Ontario stair railing code in plain english
In Ontario, stair railing code usually covers guards and handrails. A guard stops you from falling off an open edge, like the side of a stair, landing, balcony, or deck. A handrail gives your hand something solid to hold while you move up or down the stairs.
That difference matters more than most people expect. A stair can need a guard, a handrail, or both at the same time. If your stair is open on one side, for example, the outside edge may need a guard, while the sloped rail your hand holds must meet handrail rules. Same staircase, two jobs.
Here’s the thing: a lot of inspection problems happen because somebody treats every rail like it’s one simple product. It isn’t. Code looks at fall protection, grip, spacing, height, and strength separately.

When a railing is required in ontario
Code usually kicks in when there is a real fall risk or when stairs need support for safe use. In practical terms, guards are generally required where the drop at an open side is more than 600 mm. Stairs also need a handrail on at least one side, and if the stair width is more than 1,100 mm, handrails are typically required on both sides.
That means even a clean-looking stair can still be non-compliant if it only has decorative side framing and no proper graspable handrail.
Guards on open sides, landings, decks, and balconies
Guards are commonly required along open stair sides, landings, porches, decks, and balconies where the drop exceeds that 600 mm threshold. Inside a home, that might be an open stair beside a foyer. Outside, it could be a raised porch or second-storey deck.
Exterior conditions often come with stricter requirements than interior ones. Weather, ice, and greater drop exposure change the risk, so outdoor guards usually get closer scrutiny.
Handrails for support while using the stairs
A handrail is about support and control. It helps you steady yourself, especially on narrow stairs, steeper stairs, or in winter when boots track in water and slush.
A staircase can absolutely need both a guard and a handrail. Think of a guard as the barrier that keeps you on the stair, and a handrail as the handle that helps you move safely along it. Like a seatbelt and a grab handle in a car, each does a different job.
Ontario stair railing height requirements
Height is one of the fastest ways a railing fails inspection. A rail can look perfectly fine at a glance and still miss code by enough to matter.
Measurement is where people get tripped up. Guards are measured from the finished walking surface, such as the floor, landing, or deck surface. Handrails are measured from the stair nosings, or the pitch line running along those nosings, not from some random point on the tread or side trim.
Handrail height on stairs
For stairs, the common Ontario handrail height range is 865 mm to 965 mm above the stair nosings. The rail should follow the slope of the stairs and stay consistent from top to bottom.
That consistency matters. If the height jumps around because of bad layout or awkward brackets, the rail may feel wrong in your hand even before an inspector says anything.
Guard height for interior stairs and landings
Interior guards are typically at least 900 mm high. You usually see this on open interior stairs, loft edges, and landings where there is enough of a drop to require fall protection.
If you’re replacing an older interior railing, don’t assume the old height is acceptable just because it has been there for years. Older railings get flagged all the time during renovations and resale inspections.
Exterior guard height for decks, porches, and outdoor stairs
Exterior guard heights are where the nuance shows up. In many residential situations, a guard may be 900 mm when the walking surface is up to 1,800 mm above grade, then 1,070 mm once it goes above that height.
The catch is that close calls are rarely worth gambling on. If your deck or balcony height is anywhere near that cutoff, building to 1,070 mm is usually the safer move. Sloped grades can also fool you fast, so measure from the worst-case drop, not the most flattering spot.
Spacing rules: balusters, openings, and the 100 mm sphere rule
Spacing rules are really opening rules. In plain English, a guard generally can’t have an opening large enough for a 100 mm sphere to pass through.
That’s why picket spacing matters so much. When somebody says “code spacing,” this is usually what gets checked.
Baluster spacing on stair and landing guards
In real jobs, balusters are often laid out around 95 to 98 mm on centre to stay safely under the 100 mm opening limit. That small buffer helps account for fabrication tolerances and site adjustments.
A few millimetres doesn’t sound like much, but it can be the difference between passing and redoing a section. Metal railings especially need accurate measuring because mistakes don’t hide well once installed.
The triangular opening at the bottom of the stairs
There is also a special rule for the triangular gap formed by the tread, riser, and bottom rail. That opening is commonly limited to 150 mm.
This catches a lot of people by surprise. The balusters may be fine, but the bottom triangle can still fail.
Why horizontal rails can be a problem
Horizontal rails can create a climbable pattern, basically turning the guard into a ladder. That’s a bigger concern where kids are around, but honestly it’s also just a harder design path from a compliance standpoint.
Vertical pickets are often the easier answer. Simpler to inspect, simpler to explain, and usually simpler to build right.

Safety details beyond height and spacing
Code compliance is not just a tape measure exercise. A railing can hit the right numbers and still fail if it feels loose, is hard to grip, or is anchored poorly.
That matters for homes and businesses alike. Nobody cares that the top rail is exactly right if the post wobbles when you lean on it.
Graspability, continuity, and wall clearance
Handrails need to be easy to grip and continuous along the stair run. A commonly cited round handrail diameter is 30 mm to 43 mm, or an equivalent graspable shape. Wall clearance is often cited around 40 to 50 mm, though the exact local requirement should be confirmed before fabrication.
In practice, oversized decorative rails are a common miss. They can look great in a showroom and feel awkward the second you try to wrap your hand around them.
Strength, fastening, and wobble
Guards and handrails must resist force. That means proper posts, solid blocking, suitable fasteners, and anchoring that matches the surface you’re attaching to.
Loose posts, missing backing, weak screws, or a bad connection into masonry or framing can all fail inspection even when the railing dimensions are technically correct. A “code-compliant” product means very little if the installation isn’t.
Handrail extensions and smooth ends
Handrails are often expected to continue cleanly and, in some applications, extend beyond the top and bottom risers. A common example is about 300 mm beyond the top riser.
The safety reason is simple: support should start before the tricky step and end after it. Rail ends should also return or terminate cleanly so clothing, bags, or sleeves don’t catch.
Common ontario railing mistakes that get flagged
Most failed railings don’t fail because of one dramatic flaw. Usually it’s a handful of small misses that add up.
Rail too low or measured from the wrong point
This is probably the most common one. If you measure from the tread surface instead of the nosing line, or from soil instead of finished deck surface, the final number can be wrong enough to matter.
Openings too wide
Oversized baluster gaps and oversized bottom triangles get flagged constantly. Older railings are especially prone to this, particularly during a sale, renovation, or insurance review.
Missing, non-continuous, or hard-to-grip handrails
A handrail that stops too early, breaks at a post, or uses a profile that’s awkward to hold can still fail even if it looks polished. Support has to work in real use, not just in photos.
Loose attachment or “code-compliant” kits installed wrong
The label on the box is not the finish line. Post spacing, fasteners, backing, substrate, and installation details all have to work together.
What to check before you order
Before you order a metal stair railing in Toronto, get clear on the basics: is it acting as a guard, a handrail, or both; is it interior or exterior; what height applies; what opening limits apply; and how it will actually be anchored.
Then try one simple thing before getting quotes: measure the stair width and the drop height. Those two numbers answer a surprising amount, and they usually tell you right away which code rules are about to matter most.
References
- aluminumsolutions.ca
- buildersontario.com
- buildingcode.online
- canadianunderwriter.ca
- ccohs.ca
- misterbaluster.com
- misterbaluster.com
- misterbaluster.com
- protasker.ca
- tyconrailings.ca
