Porch And Deck Railing Height Codes

Nick Durante
by Nick Durante

Home additions like porches and decks can increase home value and provide a fun space to enjoy the fresh air. Most importantly, porches and decks add character to your, and that is invaluable. Porch and deck railing height codes are important because they make it all possible as long as you are compliant.

The deck and porch railing needs to be at least 36” from the surface or 42” from the surface in California. Deck posts need to be spaced less than 8’ apart in homes and 6’ apart for commercial buildings. A porch doesn’t need a rail at all if it is under 30”, although it is much safer to install one.

It is important to find out your local porch and deck railing requirements. Failure to comply can stop you from getting a permit and can even result in fines. Follow along as we explore porch and deck railing height codes and all of the important determining factors.

Deck Railing Code Requirements

Some deck railing code requirements are stringent, such as the minimum 36” height rule. However, other categories, such as deck rail spacing codes between states and even municipalities in some cases. Different deck and porch railing requirements apply to businesses and decks with built-in seating.

Porch and deck railing height codes are important and they exist solely for safety purposes. Deck rails prevent dangerous falls and rail posts must be able to support at least 200 pounds. Many factors play into deck railing code requirements. Let’s take a look at the key factors in porch and deck railing height codes.

Deck Rail Height Code

Building codes dictate that you install a rail that is at least 36” tall for your deck or porch. This height is ideal because it can prevent adults, children, and pets from falling off of the deck. However, the deck railing height code can vary based on where you live.

Homeowners in California are required by code to build at least a 42” guardrail. Commercial businesses, condos, and apartment buildings must have a 42” guardrail as well no matter where you live. Deck rail height refers to the distance between the deck or porch floor to the top of the guardrail.

The only exception to that case is if your deck has built-in seats. In that case, you need 36”-42” between the top of the seats and the top of the guardrail depending on where you live.

Deck Rail Spacing Code

Deck rail posts cannot be any more than 8’ apart for the ideal structural integrity. The rail posts shouldn’t be more than 6’ apart if you have 4’x4’ posts or they won’t be able to support the weight. Well-installed rails should support 200 pounds, and that is why rail spacing is so important.

Rail posts cannot support weight as well if they are located too far apart. Each point of the rail on posts spaced too far apart will be able to handle less weight. Posts are also an important safety feature to prevent small children and pets from falling.

Deck posts spaced 6’ apart can easily handle the maximum weight at any point of the rail. Steel deck posts and railing is the most durable option, but they are more difficult to install.

Stair Railing Height Code

Deck stair railing must not be any less than 34” inches above the stair. The rail cannot exceed 38” above the stair nosing either or it will violate building codes. A height of 34”-38” is the perfect height for adults and children alike to hold onto the guardrail.

The same rules apply if you have a ramp on your porch or deck. Commercial buildings need to make sure that their porch is ADA-compliant and that includes having the right size rail for their stairs or ramp.

2nd Story Deck Railing Height

You cannot install railing on a 2nd story deck that is taller than 42” as a general rule of thumb. However, local building codes vary and you may have a different maximum 2nd story deck railing height in your area. However, many municipalities will allow you to install taller deck railing as long as there are slats.

A solid deck railing without slats can qualify the deck as an enclosure, and that requires different building permits. The general rule is that decks aren’t allowed to be covered with roofs or enclosed in any way. You won’t be able to get a permit for an enclosed deck throughout most places in the United States.

Call your local permit office to find out their criteria for what deems a space an outdoor enclosure. That may not be an issue where you live, but each municipality has different stipulations so it’s important to inquire. A 2nd story deck railing outside of the minimum and maximum height won’t be able to pass an inspection.

Deck Without Railing Code

You don’t need railing for a porch or deck that is under 30” tall. Building codes may not require railing for short porches and decks, but it’s still a great idea to install it. Railing can increase curb appeal depending on the style that you choose, so it’s a worthy investment.

Deck railing is also worth it even if it’s not required because it may help you sell your home. Some prospective buyers may be turned off by a porch or deck without a railing. That isn’t the case for everyone, but the last thing some buyers want to do is immediately spend the money to install deck railing.

How Much Does a Porch Railing Cost?

It costs an average of $90 per linear foot to install a porch railing, but costs vary based on labor and materials. For example, vinyl porch railing generally costs $18 per linear foot or less before you factor in labor rates. Labor is the biggest cost factor for the average homeowner when you hire a professional to install porch railing.

Professionals often charge $25 per foot or more for labor which adds up quickly with the price of the materials. This can make for an expensive project if you choose expensive materials like steel, pressure-treated wood, and composite. Deck and porch railing installation can cost as much as $8,000 if you choose premium materials and have to cover a lot of ground.

With that said, deck railing installation can also cost less than $500 with cheap materials like vinyl. You can save money and only pay for the cost of the materials with DIY porch railing installation. It is worth the cost to hire a professional if you are inexperienced because installing porch and deck railing can be dangerous depending on the height.

Do Deck Railings Need to be Pressure Treated?

Deck railings aren’t typically required to be pressure treated, but it is a great idea. Deck railing posts are susceptible to wood rot and moisture damage that can weaken their structural integrity. Pressure-treated wood is more likely to withstand prolonged moisture without suffering damage.

Moisture can work its way from the deck posts to the railing in some cases. This is the worst-case scenario and is a perfect example of why pressure-treated wood is worth it. Pressure-treated wood costs an average of $25 per linear foot.

Composite deck railing is a great alternative to lumber because wood rot and moisture damage won’t happen. However, compositive decks and railing are more expensive at $55 per linear foot on average. Composite decks and railing last up to 30 years or more, so they are worth the investment.

What is the Best Material For Deck Railing?

Steel and aluminum are the best materials for deck railing, aluminum takes the cake by a small margin. Aluminum has the edge over steel because it is durable, weather-resistant, and among the easiest materials to install. Steel is visually appealing and can withstand poor weather, but installation can be much trickier without professional help.

Vinyl deck railing is cheap and easy to install, but it cannot hold up to prolonged moisture exposure. It costs roughly $18 per linear foot to install vinyl deck railing, and that is the main appeal. Wood deck railing is the classic option, but it is susceptible to rotting and you may need to replace it quickly.

Composite is the priciest material for deck railing besides steel. It can cost as much as $60 per linear foot to install composite deck railing in some cases, but it’s among the best materials. Aluminum and composite are great options if you don’t want to have to worry about moisture.

Summing It Up

Porch and deck railing needs to be at least 36” tall. California has different regulations and their minimum porch and deck railing height is 42”. Railing is unnecessary if your porch is less than 30”, but it is still important for safety.

A 2nd story deck still needs railing, but it cannot exceed 42” or else you won’t be able to pull a permit. Some places let you exceed 42”, but only if there are slats in the railing and there is no roof above it. Never space out your porch and deck posts more than 8’ apart, or you will weaken the railing.

The railing won’t be able to handle the weight and it could easily give out. Space the posts out 6’ apart so that they can handle weights up to 200 pounds. Contact your local permit office to find out how the porch and deck railing height codes vary in your municipality.

Related Guides

Nick Durante
Nick Durante

Nick Durante is a professional writer with a primary focus on home improvement. When he is not writing about home improvement or taking on projects around the house, he likes to read and create art. He is always looking towards the newest trends in home improvement.

More by Nick Durante

Next