Guides
Calgary Railing Code: What Your Deck Guard and Handrail Must Meet
The Calgary railing code is not a separate city bylaw. Calgary enforces the National Building Code – 2023 Alberta Edition, and the City checks your railing at the deck inspection. The code splits a railing into two things: a guard, which stops people falling off the edge, and a handrail, which you hold on the stairs. Below are the numbers each one has to meet, taken from the code itself and the City's deck pages.
When does a deck need a railing?
A guard is required on every open side where the walking surface is more than 600 mm above the surface next to it, measured within 1.2 m of the edge. That covers decks, porches, landings and the open sides of stairs. A wall counts as protection, so a side against the house needs no guard.
The 600 mm figure also lines up with the City's permit trigger. An uncovered deck above 0.6 m needs a Building Permit, so most decks that need a guard also need a permit. Our Calgary deck permit guide covers that side.
National Building Code – 2023 Alberta Edition, Division B, Sentence 9.8.8.1.(1) (second printing, August 2026), checked November 2026.
How high does a deck railing have to be?
| Deck surface above finished ground | Minimum guard height |
|---|---|
| Not more than 1,800 mm | 900 mm (about 3 ft) |
| More than 1,800 mm | 1,070 mm (about 3 ft 6 in) |
The 900 mm height applies to exterior guards serving one home, or a house with a secondary suite. Any other guard, such as one shared by two separate homes, needs 1,070 mm. On stairs, the guard height is measured straight up from a line drawn through the tread nosings.
National Building Code – 2023 Alberta Edition, Division B, Sentences 9.8.8.3.(1), (3) and (4) (second printing, August 2026), checked November 2026.
Same heights (0.9 m under 1.8 m, 1.07 m at 1.8 m or more) per calgary.ca decks page, checked November 2026.
What is the 100 mm rule for balusters?
Openings in a required guard must be small enough to stop a 100 mm (about 4 in) sphere from passing through. That is the gap between balusters, pickets or panels, and the gap under the bottom rail. On stairs there is one extra check: the triangle formed by the riser, the tread and the bottom rail must stop a 150 mm sphere.
The code also says the gap between two balusters must still meet the 100 mm limit when the balusters are pushed apart with a small load. Thin or loose pickets that flex open can fail even if they were spaced right on day one.
National Building Code – 2023 Alberta Edition, Division B, Sentences 9.8.8.5.(1), 9.8.8.5.(2) and 9.8.8.2.(2) (second printing, August 2026), checked November 2026.
Can a deck railing have horizontal rails or cable?
The code's climbing rule is narrower than most people think. It bans any member, attachment or opening between 140 mm and 900 mm above the floor that makes the guard easier to climb. But it only applies to guards protecting a level more than 4.2 m above the level below.
For a horizontal or cable design on any deck, confirm it with the City at plan review before you order material. Horizontal designs still have to meet the 100 mm opening rule above.
National Building Code – 2023 Alberta Edition, Division B, Sentence 9.8.8.6.(1) (second printing, August 2026), checked November 2026.
City of Calgary uncovered deck checklist, sample deck cross section, last update August 2026.
What are the handrail rules for deck stairs?
- When it's needed: exterior stairs serving one home need no handrail if they have 3 risers or fewer. With more than 3 risers, one handrail is required.
- Height: 865 mm to 1,070 mm, measured straight up from a line drawn along the stair nosings.
- Length: continuously graspable from the bottom riser to the top riser.
- Clearance: at least 50 mm between the handrail and the surface behind it (60 mm if that surface is rough).
The guard and the handrail are two separate rules. On many deck stairs one rail is built to do both jobs, so its top has to land inside the 865 mm to 1,070 mm handrail range and still meet the guard height. More detail is in our outdoor stair railing guide.
National Building Code – 2023 Alberta Edition, Division B, Sentences 9.8.7.1.(3) and (4), 9.8.7.2.(1), 9.8.7.4.(1) and (2), 9.8.7.5.(1) (second printing, August 2026), checked November 2026.
What does the code say about glass railings?
Glass in a guard must be safety glass: tempered or laminated glass to CAN/CGSB-12.1, or wired safety glass to CAN/CGSB-12.11-M. On top of that, the City of Calgary deck checklist lists frameless glass railings as a feature that needs engineering. Glass set in a frame or posts is not on that list.
Weighing glass against aluminum? Our glass vs. aluminum railing guide compares the two.
National Building Code – 2023 Alberta Edition, Division B, Sentence 9.8.8.7.(1) (second printing, August 2026), checked November 2026.
Engineering for frameless glass per the City of Calgary uncovered deck checklist (Division C, 2.4.1), last update August 2026.
Which code edition does Calgary use?
Alberta put the National Building Code – 2023 Alberta Edition in force on May 1, 2024, and a second printing was published on August 17, 2026. The City's deck page still cites the 2019 edition, but its guard heights and 100 mm opening match the 2023 text above.
Verified against alberta.ca, November 2026.
Who checks the railing?
The City does. Your permit drawings must show the railing height from the deck surface, the open space between railings and the guardrail material. After the deck structure, handrail and stairs are done, you book an inspection. The inspector passes or fails it, and the deck is not complete until it passes.
calgary.ca decks page and uncovered deck checklist, checked November 2026.
Ready to build?
See our Calgary deck railings page for material options, or get a free design consultation. We handle the permit from application to inspection.
Sources
- National Building Code – 2023 Alberta Edition, NRC Publications Archive, Division B, Subsections 9.8.7. and 9.8.8.
- City of Calgary: Decks
- City of Calgary: Uncovered Deck Required Documents Checklist
- Government of Alberta: Building codes and standards
Build it with us
Railings in Calgary · Railings in Airdrie · Railings in Cochrane · Railings in Okotoks
Written by
Iqbal Maan, Founder, Arch & Bow — a design-led deck, fence, railing, pergola, patio and fire pit builder serving Calgary and Airdrie homeowners, launching direct-to-homeowner in December 2026.