What Is the Correct Height for a Deck Railing?

Deck the halls with the right height railings

Couple relaxing on veranda
Photo: JohnnyGreig / E+ / Getty Images
Couple relaxing on veranda
Photo: JohnnyGreig / E+ / Getty Images
Highlights
  • The standard deck railing height is 36 inches, though some states require railings to be at least 42 inches tall.

  • Deck railing height requirements depend on the distance from your deck to the ground.

  • Even if railings aren’t required by law, it’s wise to install them anyway for safety and aesthetics.

  • Installing deck railings can be a DIY project, but hiring a professional ensures the railings are installed correctly and in compliance with local codes.

Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

Your deck is an extension of your living space where you can enjoy fresh air and sunshine when the weather allows. However, if your deck lacks proper railings, it can pose a safety concern, which exposes you to liability. This guide explains the rules regarding deck railing heights, how to determine the correct height, and what to do if your deck railings are not up to code.

What Is the Standard Deck Railing Height?

Deck railing measurement requirements illustrated, with the railing height being minimum of 36 inches

The standard height for a deck railing is 36 inches, though the exact requirements depend on your area's building codes. The standard railing height is in place to prevent injuries. If the railing were shorter than 36 inches, it would be easier for someone to topple over it and fall off the deck, injuring themselves in the process.

Deck Railing Height by Type

Standard deck railing heights depend on the type of deck. Here’s how railing height differs for every kind of deck.

Type of DeckRailing Height
Residential (shorter than 30 inches)No railing required
Residential (taller than 30 inches)36 inches
Residential (certain states)42 inches
Commercial42 inches

Residential Deck Railing Height

Residential deck railing height guidelines depend on the height of the deck off the ground and the state in which you live. If your deck is less than 30 inches from the ground, you may not need a railing at all. But if it’s more than 30 inches from the ground, you’ll need a railing that’s at least 36 inches tall. Certain states, including California and Washington, require deck railings to be at least 42 inches high.

Commercial Deck Railing Height

Commercial deck railing regulations are stricter than those for residential use. Commercial decks experience more foot traffic than residential ones, which increases the risk of injury. Therefore, building codes often require commercial decks to have a railing, regardless of their height above the ground, and the railings must be at least 42 inches tall.

How to Measure the Right Deck Railing Height

Home deck with view
Photo: JamesBrey /iStock / Getty Images Plus / Getty Images

To decide on the right railing height for your deck, you’ll need to take a few basic measurements.

First, measure the height of your deck off the ground. If it’s less than 30 inches tall, you’re not required by law to install a railing. But if it’s more than 30 inches off the ground, a railing is mandatory. If your deck is under 30 inches, you may want to consider installing a railing for aesthetic or safety purposes.

Next, measure 36 inches from the deck to mark the height your railing should be. Note that local regulations may require a taller railing, so check with your local administration before proceeding.

Other railing requirements are as follows:

  • The spacing between balusters must be four inches or less.

  • The spacing between the deck and the bottom of the railing must be four inches or less.

  • Railing posts must be within eight feet of each other to ensure the strength of the railings.

If you’re not sure of the requirements for deck railing height, contact a local deck builder for advice. A pro will be aware of local codes and can recommend the best deck railing height for your outdoor space.

Factors that Influence Deck Railing Height

The ideal deck railing height depends on several factors, including the height of your deck, local laws, whether the deck is in a residential or commercial setting, the presence of stairs, and whether the deck needs to be accessible to individuals with disabilities. Here’s how these factors can affect your deck railing height.

Deck Height

A deck that’s close to the ground may not require railings. However, once your deck reaches 30 inches above the ground, the International Residential Code (IRC) mandates deck railings for safety purposes.

Even if your deck’s height doesn’t require railings, it’s wise to consider installing them anyway. Without railings, accidents can occur, and even a fall from 30 inches (just under three feet) can result in injuries.

State or Local Laws

Your state or local government may have specific rules regarding deck railing height. Generally, most places require deck railings to be at least 36 inches tall, though California and Washington require them to be a minimum of 42 inches high. Check with your local building department to see whether your municipality has specific requirements regarding deck railing height.

Commercial vs. Residential Decks

Deck railing height guidelines differ when installed in a commercial versus residential setting. While a residential deck might not require a railing if it’s less than 30 inches off the ground, a commercial deck often requires a railing regardless of the height. 

The railing height requirements may also be higher. That’s because commercial decks see higher foot traffic, which can increase the risk of falls. Additionally, in a commercial setting, there are liability issues to consider.

Stairs

If your deck has stairs, it can affect the railing height requirements. The IRC requires deck stair handrails to be between 34 and 38 inches above the nose of the stair tread. In addition, the handrail must be easy to grip for safety reasons.

ADA Requirements

If you want your deck to be accessible to people with disabilities, you’ll need to follow the Americans with Disabilities Act (ADA) guidelines on deck railings. The ADA requires railings to be between 34 and 38 inches tall with a handrail that can be gripped easily.

What to Do If You Have the Wrong Deck Railing Height

If you have the wrong deck railing height, you must address the issue as soon as possible, as it could be a safety hazard—not to mention a building code violation.

Replacing your deck railing can be a DIY project if you have the right tools and are comfortable tackling it. Learning how to build a deck railing is doable, but improper installation can create a safety hazard and expose you to liability if someone falls off your deck due to an unstable railing. Therefore, hiring a pro to replace your deck railing is often the best choice to ensure safe installation that meets local building code requirements.

The cost to install a new deck railing ranges from $10 to $30 per linear foot. The bigger the deck, the more it will cost to replace your railings. Labor costs can also increase if the contractor needs to remove your current railings, install new railings with your current support posts, or replace rotten or damaged posts with new ones.

Frequently Asked Questions

No; in fact, in certain states and municipalities, deck railings must be at least 42 inches high. However, in much of the United States, building codes require deck railings to be at least 36 inches tall. Even if your local laws don’t require a 42-inch railing, you might choose to install one anyway for additional safety.

Building codes require deck railing spindles or balusters to be spaced no more than four inches apart. This is to prevent small children or pets from slipping between the railings and falling off the deck. For the same reason, the railings must also be no more than four inches from the deck floor.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to deck and porch services
From average costs to expert advice, get all the answers you need to get your job done.
a cedar deck with two patio chairs and a small table overlooking a lush green yard
May 24, 2025
May 24, 2025
Cedar is a popular decking material, best known for its natural wooden look and resistance to rot. So, how much does a cedar deck cost? Find out in this guide.
A deck with cable railing
May 26, 2025
May 26, 2025
If you’re updating a deck or staircase with a modern railing, you may be wondering how much cable railing costs. We dive into the cost factors you need to know.
Couple sitting on a deck by fire pit drinking wine
May 22, 2025
May 22, 2025
Ipe decking costs vary depending on size, construction, finish, and whether you DIY the job. Learn more about how to budget for this project.
Large wooden deck
May 28, 2025
May 28, 2025
Unstable deck stairs can lead to serious injury. Learn how to attach stairs to a deck to keep your outdoor living space safe, cozy, and secure.
A beatufitul house with a swimming pool and a wooden deck
May 27, 2025
May 27, 2025
When determining how to plan a deck, follow these tips to account for regulations, functional needs, landscaping issues, material differences, and more.
A large house with a wrap around porch
May 26, 2025
May 26, 2025
Are you wondering what factors might affect a wraparound porch’s cost? Budget for this rustic and charming addition with our cost guide.