Loading

Deck Railing Codes

All decks higher than 30" above grade must have a guardrail. If you choose to install a guardrail on a deck lower than 30", the railing must still meet code requirements. Decks attached to single family detached homes are generally regulated under the rules of the International Residential Code (IRC). The IRC requires guardrails to be at least 36" in height, measured from the deck surface to the top of the rail. Note that some local jurisdiction or state require higher, such as 42" in California. Commercial decks attached to multi-family buildings, such as apartment buildings or businesses, are regulated under the International Building Code (IBC). The IBC requires 42" high guardrails. In either case, you are allowed to build taller guardrails as long as they conform to all other requirements stated in the code.

Deck Railing Codes
PinterestSave

A variety of styles are allowed as long as the interior sections of the rail don’t possess any openings large enough to pass a 4” diameter sphere through. In the case of guardrails for stairs, there is an exception that allows up to a 6” diameter sphere through the triangle opening formed by the stair riser, stairtread and bottom rail. The guardrails must be strong enough to withstand a concentrated 200 lb. force anywhere along the top of the rail.

There is also a safety factor required by the code, so testing loads are higher for manufactured railing systems. To achieve this, you should check to make sure you meet the post spacing requirements for the type of posts you are using and how they are attached to the deck. The sweep space between the deck surface and the bottom rail must be less than 4".

Decks more than 30 inches above the ground must have a railing (referred to as a “guard” in building codes) with a top rail at least 36 inches above the deck surface. However, some states and municipalities require railings to be 42 inches high. The openings between balusters or between the bottom rail and the decking must not exceed 4 inches. Additionally, the triangular gaps formed by stair treads, risers, and the bottom rail must be small enough to prevent the passage of a sphere larger than 6 inches.

Engineered railing systems must be tested and certified to meet IRC and IBC building codes. The tests include:

  • Infill Load Test: The strength of the balusters are tested so that a one-square foot area must resist 125 lbs. of force.
  • Uniform Load Test (for IBC applications): The top rail must be able to sustain 125 lbs./foot length of force applied horizontally or vertically.
  • Concentrated Load Test: The top rail must be capable of holding a point load of 500 lbs. of force applied to the mid span, on the side of a post and on top of a post.

A safety factor of 2.5 is included in the numbers listed above.

 

Popular Railings Articles
Glass Railing

Glass Deck Railing Ideas and DIY Installation Tips

All glass panels used for deck railings must be safety-tempered and shatter-resistant. Learn how to install glass railing panels and get ideas for your deck.

Deck Railing Types

Deck Railing Ideas & Style Guide

Looking to enhance your deck with the perfect railing? This guide explores various deck railing styles and materials, helping you balance aesthetics, functionality, safety, and affordability.

Deck Railing Types

Steps To Build & Secure A Deck Railing Planter

Railing planters are an easy way to add some color to your deck without taking up space. Follow these simple steps and get started on your railing planters today.

Next Step: Features Articles
Benches, Planters & Skirting

Deck Skirting

Skirting can be an attractive feature that can be added to any low-level deck.

Arbors & Pergolas

How to Install a Shade Sail

Shade sails are a stylish way to keep your deck cool and shady. Learn how to install a shade sail in your backyard.

Building

Building an Outdoor Kitchen? Here’s What You Should Consider Before You Start

Building an outdoor kitchen is an investment that can add value to your home. Learn what you should consider before building an outdoor kitchen on Decks.com.

Get more helpful resources delivered right to your inbox

Explore Articles by Topic

Popular Railings Articles
Deck Railing Parts

Baluster Basics: Types, Installation Tips, and Deck Design Ideas to Transform Your Space

Discover everything you need to know about deck balusters, from code requirements to material options and installation tips. Explore practical advice and stylish infill alternatives to help bring your project to life with confidence.

Deck Railing Parts

Deck Handrails

Find out if your deck stairs need a handrail and how to build one that’s safe and code compliant.

Deck Railing Types

Low-Maintenance Composite Deck Railing Options

Composite railing systems offer a low-maintenance alternative to traditional wood railings. Learn why composite is the best railing system at Decks.com.

Next Step: Features Articles
Outdoor Ideas

5 Best Ways on How to Hide Trash Cans Outside

Outdoor trash cans can be an unwanted eyesore. Discover how you can easily cover them up and add an extra touch of beauty to your yard.

Outdoor Ideas

Best Outdoor Dining Room Ideas For 2025

Create the perfect outdoor dining space for you and your guests. Make the most of your deck or patio with our list of outdoor dining area ideas and pictures.

Outdoor Ideas

Best Plants & Flowers to Brighten Up Your Deck

If you’re looking to brighten up your outdoor space this summer, try adding one of these plants or flowers to your deck or patio.

Get more helpful resources delivered right to your inbox

Explore Articles by Topic