Save 10% When You Pay by Interac e-TransferRated 4.9+ ★★★★★ by 250+ Customers
BarrierBoss™

What Are the Code Requirements for Hog Wire Railing in Canada in 2026?

Hog Wire Railing Looks Great on Pinterest. Here Is Whether Your Province Will Let You Build It.

The answer is usually yes, with the right mesh size and spacing. But Canada is not one code. The National Building Code sets the baseline, provinces adopt it on their own schedule, and at least one province restricts the look entirely. Here is what actually matters before you build.

TL;DR

  • The National Building Code of Canada (NBC) sets the baseline, but provinces adopt and amend it on different schedules. There is no single Canadian railing requirement.
  • The 100mm (4-inch) sphere rule is the make-or-break spec: no opening in the guard infill can let a 100mm sphere pass through, including under the bottom rail.
  • Guard height is typically 900mm (36 in) for drops under 1.8 metres and 1070mm (42 in) for drops at or above that, with some municipalities requiring 42 inches regardless of height.
  • Ontario restricts climbable horizontal elements, including most hog wire and horizontal cable railing, in residential guards. This is a major exception to the rest of the country.
  • BC, Alberta, and most other provinces permit horizontal mesh infill that meets the 100mm sphere rule, provided the guard protects a level under 4.2 metres.
  • BarrierBoss 6-gauge dip-coated panels are available in code-compliant mesh sizes for provinces that allow this style, backed by a 40-year warranty.
Always confirm with your local building department before you build. Building codes in Canada are enforced provincially and often amended municipally. What is legal in Kelowna may not be legal in Toronto, even though both technically reference the same National Building Code.

Which Code Applies to Hog Wire Railing in Canada?

The National Building Code of Canada (NBC) is a model code. It provides the technical framework, but it has no legal force on its own. Provinces adopt the NBC, modify sections to suit local priorities, and enforce it through provincial codes such as the BC Building Code or the Ontario Building Code. Municipalities can then layer on their own amendments and permit requirements on top of that.

This matters enormously for hog wire railing specifically, because the provinces do not agree on whether horizontal mesh infill is allowed at all. Most of Canada follows the NBC 2020 approach, which removed the blanket climbability restriction for guards protecting levels under 4.2 metres. Ontario has not adopted that change and continues to restrict climbable horizontal elements in residential guards.

The 100mm Sphere Rule, Explained

This is the single most important code requirement for hog wire railing across every province, and the one most people get wrong.

The rule: no opening in a required guard can allow a 100mm (approximately 4-inch) sphere to pass through. The purpose is child safety. A 100mm opening is roughly the size of a toddler's head. If a sphere that size can pass through any gap in your railing infill, including between wire intersections, between the bottom rail and the deck surface, or between the top rail and the mesh, it fails.

This is where standard agricultural hog wire and cattle panels run into trouble. Traditional ag-grade mesh uses openings as wide as 150mm by 150mm (6x6 inches) or larger. That is fine for livestock containment. It is a code violation for a deck guard.

The Stretching Problem

Some installers stretch a wider mesh to fill a frame, which can distort openings beyond 100mm at certain points. Inspectors check with an actual sphere or test ball, and they check at multiple points across the panel, including diagonally on square grids. Mesh that opens up even at one intersection will fail.

Guard Height Requirements

Application Typical Requirement Notes
Guard required when drop exceeds 600mm (24 in) in most provinces Always confirm the local threshold; some municipalities differ
Residential deck/balcony, drop under 1.8m 900mm (36 in) minimum Standard across most of Canada
Residential deck/balcony, drop 1.8m or more 1070mm (42 in) minimum Some municipalities (including parts of Metro Vancouver) require 42 inches regardless of drop height
Pool enclosure guards 1220mm (48 in) minimum in most provinces Additional pool-specific code applies; confirm provincially
Stairs (handrail height) 865 to 1070mm from stair tread Handrail and guard are different components with different rules

Building to 1070mm (42 in) from the start is never wrong and gives you a buffer if local amendments are stricter than the provincial minimum.

Structural Load Requirements

Your hog wire railing is not just decorative. Canadian code requires it to resist real force from people leaning, bumping, or falling against it. The NBC specifies a horizontal line load (commonly 0.75 kN per metre for typical residential guards) plus a point load test, rather than the pounds-based figures used in US codes.

This is where wire gauge becomes critical. Unlike thin 11-gauge or 14-gauge wire that bends and deforms under load, a properly tensioned 6-gauge wire holds its shape and comfortably meets infill load requirements. Thinner gauges can bow outward under force, and an inspector who sees visible deflection may flag it even if it does not technically fail a load test.

BarrierBoss panels use 6-gauge dip-coated wire with an electrogalvanized base, which means the structural integrity holds up for decades. The 40-year warranty is not just about corrosion. It is about the wire keeping its shape and strength over time.

Which Provinces Allow Hog Wire Railing?

British Columbia

Allowed. The BC Building Code follows the NBC 2020 approach: horizontal infill, including mesh and cable, is permitted for guards protecting levels under 4.2 metres, provided it meets the 100mm sphere rule. Some Metro Vancouver municipalities require 42-inch height regardless of deck height, so confirm locally. A building permit is required in most municipalities for guard replacement on decks over 600mm above grade.

Alberta and Most Other Provinces

Generally allowed, following the same NBC 2020 framework as BC. Confirm with your municipal building department, since adoption timelines and local amendments vary.

Quebec

Allowed under amendments adopted in 2022, following conditions similar to the NBC. Confirm with your local municipality, as Quebec applies its own construction code (CCQ) with provincial-specific details.

Ontario: The Major Exception

The Ontario Building Code restricts climbable horizontal elements in residential guards, which in practice rules out most hog wire and horizontal cable railing styles for typical residential decks, ramps, and stair guards. Ontario has not adopted the NBC 2020 change that removed this restriction elsewhere in Canada. If your property is in Ontario and you want the hog wire look, talk to your building official before ordering material. Some municipalities have considered case-by-case allowances with conditions, but this is not the default and should never be assumed.

Black Hog Wire Deck Railing Panels (Framed or Unframed) - The Boreal - BarrierBoss™

Which Hog Wire Mesh Sizes Pass the Sphere Test?

Mesh Opening Size Passes 100mm Sphere Test? Typical Use
50mm x 100mm (2x4 in) Yes Deck guard, balcony infill, stair guard
75mm x 75mm (3x3 in) Yes Deck guard, balcony infill
100mm x 100mm (4x4 in) Borderline Diagonal measures approximately 141mm and fails a diagonal sphere test even though straight-on it appears to pass. Risky; many inspectors test diagonally.
150mm x 150mm (6x6 in) No Agricultural and livestock use only

The 100mm by 100mm mesh controversy comes down to geometry: the diagonal of a square opening is longer than either side. A 100mm square has a diagonal of roughly 141mm, well over the sphere limit. If your jurisdiction tests diagonally, or if you want zero risk, go with 50mm by 100mm or 75mm by 75mm mesh. BarrierBoss offers 1x1 and 2x2 inch mesh options that comfortably clear the sphere test in either orientation.

Common Code Mistakes That Fail Inspection

  1. Wrong mesh size. Using 150mm agricultural panels because they were cheap and available. They will never pass a residential guard inspection anywhere in Canada.
  2. Gap under the bottom rail. The combined opening between the bottom of the mesh and the deck surface cannot exceed the sphere limit. Builders often leave too much gap for drainage and fail inspection on this point alone.
  3. Insufficient post spacing. Posts too far apart let the mesh bow outward under load testing. Most code-compliant installations use posts every 1.2 to 1.8 metres maximum.
  4. Loose mesh tension. Sagging mesh creates larger effective openings. An inspector will push the mesh to one side and check whether the sphere passes through the distorted opening.
  5. Weak wire gauge. Thin 14-gauge or 11-gauge wire deforms under load testing. This is the wrong place to cut costs. 6-gauge dip-coated wire handles the load requirement without drama.
  6. Building in Ontario without checking first. Given the provincial restriction on climbable horizontal elements, this is the single most expensive mistake a Canadian buyer can make with this style of railing.
  7. No permit pulled. Many homeowners skip permits for guard projects. If you sell the property and a home inspector flags an unpermitted guard, you are paying to redo it or reduce the sale price.

Choosing Code-Compliant Hog Wire Panels That Last

Getting through inspection is step one. Getting through the next 20 to 40 years without replacing your railing is step two. Here is what to look for:

  • 6-gauge wire minimum. Unlike thin 14-gauge wire that dents under load and corrodes within a few years, 6-gauge wire provides the structural rigidity code requires and the longevity your investment deserves.
  • Dip-coated finish over an electrogalvanized base. This dual-layer protection is what separates a 5-year panel from a 40-year panel.
  • Code-compliant mesh openings. Stick with 1x1 or 2x2 inch mesh for the widest margin of compliance where horizontal mesh railing is permitted.
  • Welded intersections. Every wire crossing should be welded, not just woven. Welded intersections prevent the mesh from shifting and opening up over time.

BarrierBoss panels check every box for jurisdictions that allow this style. Factory-direct pricing means you are not paying distributor markup for code-compliant specs, and with BarrierDirect delivery, your panels arrive on our own trucks with our own crew. Browse the hog wire deck railing collection to see mesh sizes, gauges, and finishes.

Frequently Asked Questions

Do I Need a Permit to Install Hog Wire Railing on My Deck?

In most Canadian municipalities, yes. Any guard on a deck with a drop of 600mm or more typically requires a permit and inspection. Even where enforcement is inconsistent, installing to code protects you during a home sale or insurance claim. Call your local building department before you start.

Is Hog Wire Railing Allowed in British Columbia?

Yes. The BC Building Code permits horizontal mesh infill, including hog wire, for guards protecting levels under 4.2 metres, provided the 100mm sphere rule and load requirements are met. Some Metro Vancouver municipalities apply the 42-inch height standard regardless of deck height, so check locally before finalizing a design.

Why Does Ontario Treat Hog Wire Railing Differently?

The Ontario Building Code restricts climbable horizontal elements in residential guards as a child safety measure, on the basis that closely spaced horizontal members function like ladder rungs. Most other provinces removed this restriction when they adopted NBC 2020 changes for guards under 4.2 metres. Ontario has not made that change, so hog wire and horizontal cable railing remain restricted there for typical residential applications.

What Is the Difference Between Hog Wire for Fencing and Hog Wire for Railing?

The wire itself can be the same gauge and material. The difference is mesh opening size. Fencing applications generally do not have a sphere requirement, so wider agricultural mesh works fine for property lines. Railing applications require tighter mesh, typically 1x1 or 2x2 inch, to pass the sphere test. Always confirm the mesh dimensions are railing-appropriate before ordering.

How Much Does Code-Compliant Hog Wire Railing Cost in Canada in 2026?

Expect to pay a meaningful premium per linear foot for code-compliant materials (posts, top and bottom rails, and tight-mesh panels) compared to standard agricultural mesh, depending on frame material and wire gauge. Professional installation adds to that. Choosing 6-gauge dip-coated panels costs more upfront than thin-gauge alternatives, but a 40-year warranty means you are not replacing the mesh every 5 to 8 years.

Ready to Build It Right?

Code-compliant hog wire railing looks just as good as the non-compliant version. It just takes the right mesh size, the right wire gauge, and confirmation that your province actually allows it. Start with the NBC as your baseline, check your provincial code and any municipal amendments, and build with materials that will not give you problems at inspection or 15 years down the road.

Browse Hog Wire Deck Railing →

See shipping rates and delivery details.


Shop These Products

Black hog wire deck railing panels, The Boreal, 6-gauge welded steel — BarrierBoss Canada

Black Hog Wire Deck Railing (The Boreal)

6-gauge welded steel, code-compliant 36-inch and 42-inch heights. Pre-assembled with marine-grade fasteners included. Made in Canada. 40-year warranty.

From $54.99 CAD
Silver hog wire deck railing panels, The Cariboo, 6-gauge — BarrierBoss Canada

Silver Hog Wire Deck Railing (The Cariboo)

Same code-compliant 6-gauge construction as the Boreal in a classic galvanized silver finish. Sleek profile, easy installation. 40-year warranty.

From $54.99 CAD
Rust patina Corten steel hog wire deck railing panels, The Copperhead — BarrierBoss Canada

Rust/Patina Hog Wire Deck Railing (The Copperhead)

Corten steel weathered finish. 6-gauge dip-coated mesh for decks and balconies. Multiple sizes, framed or unframed. 40-year warranty.

From $54.99 CAD

Shop Hog Wire Deck Railing by Finish


Related Articles

Use this link to share your cart