
Old and run-down porch railings can be an eyesore and pose a risk of falling. Find out how much it costs to replace your worn out porch railings with new materials.
Stay on track with the right rail dimensions
Railing height requirements protect your home from falls, with handrails needing 34 to 38 inches and guardrails requiring 36 to 42 inches when measured vertically.
Your deck needs guardrails when it stands above 30 inches, and your staircase requires handrails with four or more risers to meet residential building codes.
Local building codes vary by state and jurisdiction, so you need to verify your area's specific railing height requirements before starting any deck or staircase project.
Hiring a local stair company keeps your project compliant with building codes and handles precise measurements for handrails and guardrails that meet safety standards.
If you’re in the early stages of building a new deck or installing a fresh staircase, you might be wondering how high your rails need to be to stop you from falling off. First, this will depend on what kind of rail you’re dealing with—handrails versus guardrails, for instance—and whether you’re building on a residential or commercial lot. This guide breaks down the proper railing height codes for all possible situations so you never have to go hunting for the right requirements.
Railing height codes are a set of requirements for the various types of rails found on home features like stairs and decks. Designed with safety in mind, the modern recommendations have been tried and tested to ensure they’re at an ideal placement to prevent the risks associated with tall structures, like falling.
That being said, all railing height codes are not the same. Stair railing height codes differ from deck railing height codes, so it’s a good idea to familiarize yourself with each before starting a project.
Although they need not always be followed, depending on special circumstances that we’ll talk about later, you may be required to follow them by law and local building codes. This is especially true if the new construction is taking place in a commercial building. Regardless of whether you have to obey them or not, making use of them is a good way to create a safe home environment for you and others.
Railing height codes are prescribed by organizations and legislatures, like The International Residential Code (IRC), the International Building Code (IBC), Americans with Disabilities Act (ADA), and the Occupational Safety and Health Administration (OSHA). Their recommendations differ between residential and commercial buildings—the height requirements for the former are generally shorter, while taller codes are enforced in the latter for legal and accessibility reasons, as well as safety.
Keep in mind that codes vary slightly from state to state, so double-check with your local jurisdiction before making any big moves. Alternatively, a nearby pro will already be intimately familiar with the codes in your area, so you may want to hire a stair company near you to take this work off your plate.

For both residential and commercial buildings, the recommended handrail height code is between 34 and 38 inches when measured vertically from the top of the handrail (or gripping area) to the nosing or bottom of each step, as well as on ramps with a slope greater than 1:20, according to standards set by the IRC, IBC, and ADA. These requirements apply to both interior staircase handrails as well as those on outdoor staircases leading up to decks, balconies, or terraces.
These rails are featured on everything from balconies to staircase landings, as well as being the main type of railing on decks. Unlike handrails, they don’t need to be short enough to comfortably accommodate where your hand falls since you won’t be using them for support. This means that their minimum height requirement is also slightly taller—they should be at least 36 inches and up to 42 inches high when measured vertically from the top of the rail to the bottom of the posts.
There are a couple of instances when railing height codes don’t need to be followed—namely, when structures in residential buildings aren’t tall enough to merit extra safety precautions. In general, you don’t need to worry about them if your deck is below 30 inches or if your staircase features less than four risers. Otherwise, you’ll need to obey the regulations to avoid both personal injury and local code violations.
Incredible workers! Very skilled with the machinery, climbing, cutting, roping, and removal. Handled everything. Professionals!
I m so impressed with Custom Paint Jobs LLC s craftsmanship. They truly care about quality.
Storms Mobile Welding was great to work with. They were prompt, professional and did an overall excellent job on the project. I highly recommend.
Excellent choices and quality of materials. Workmen were very efficient and took their work very seriously. Pride of workmanship and cleaned up beautifully at end of job. Would recommend this company highly.
Great job...edging and pre clean up went well with a great job with seal coat. Friendly, efficient and professional.
Great tree company, very professional and honest. Glad we found them, they had the best pricing
It was wonderful working with Yordy and his team. They were very professional and are experts in what they do. They have completed the work on time, with better quality and with in fairly reasonable price. We just started with backsplash work , but liking his work, we went on to provide...
We hired Jim to replace our hardwood floors with new hardwood. He and his helper Jerry did a fantastic job. Their work ethic is impeccable!! We would highly recommend McColl Floors!
The job went extremely well. Work was done as promised and the job came out better than expected due to Mr. Moyer's commitment to excellence and personal pride in providing the best work possible. He is one of those professionals who is not satisfied until the customer is completely happy...
We needed to have a wall cabinet resized so that we could fit a larger refrigerator underneath. I removed the cabinet from the wall myself and brought it in, where Wally was able to resize it for me in his shop. The results were perfect: it's exactly the size that I asked for, and...
From average costs to expert advice, get all the answers you need to get your job done.

Old and run-down porch railings can be an eyesore and pose a risk of falling. Find out how much it costs to replace your worn out porch railings with new materials.

Discover the cost to install a stair railing, including average prices, key cost factors, and tips to save on your project.

Discover how much a wrought iron railing costs. Get detailed price breakdowns, installation factors, and tips to save on your new railing project.

Your deck railings help prevent injuries, but only if they’re the proper height. Discover the ideal deck railing height to ensure your safety and compliance with building codes.

When is a railing required on a deck? If you’re not sure that your deck follows the law, explore these critical deck railing requirements.

Stair railing heights can be adjusted somewhat, but building and safety codes have parameters to obey. Read on and learn how to arrive at precise, usable measurements.