Deck Stair Handrail Code: When You Need One, Height, and Graspable Rules

Grey stairs with black railing leading up to an exterior deck on the back of a condo

Reviewed and updated October 2026.

The short answer: under the International Residential Code (IRC), which Michigan adopts through the Michigan Residential Code, deck stairs with four or more risers need a continuous, graspable handrail on at least one side, with the top of the rail 34 to 38 inches above the stair nosings. Separately, any deck surface more than 30 inches above grade needs a guardrail: at least 36 inches tall on the deck, at least 34 inches along the stairs, with openings that stop a 4-inch sphere. Your local building department has the final say, and inspectors do differ on what counts as “graspable.”

Below: how the codes get from the IRC to your township, what “graspable” and “continuous” mean in practice, the exact heights, and the Trex railing options that pass.

Handrail Building Codes

The laws for handrails will vary based on where you live and the codes in your area. It’s best to call your local building department to confirm the requirements before building.

Each state mainly determines its Residential Code from the International Residential Code book, also known as the IRC. And while the IRC updates its codes every three years, the time it takes each state to update will vary. Here in Michigan, a new codebook is adopted typically every six years.

States will largely adopt the IRC codes, but with their own adjustments. That’s because a lot of things vary from state to state that needs to be accounted for: such as temperatures, frost depths, soil conditions, and extreme weather patterns.

Local municipalities then follow their state’s code. While you shouldn’t be running into different flavors of the code from municipality to municipality, it does happen. What this means is that you may have a specific municipality be more stringent than their state’s code, but by law cannot be more lenient than what state code requires.

Handrail Requirements

Let’s get clear on the type of handrail you need to meet these codes. Handrails are found on stairs, it’s what you grab on to when using stairs. Typically, handrails are small in diameter and not irregularly shaped. They need to be graspable, simply meaning you must be able to grip them easily. The IRC spells that out: a round handrail must be 1¼ to 2 inches in diameter (a “Type I” rail), and the rail needs at least 1½ inches of clearance from any wall or post so your hand can wrap around it. The ends must return to a post or wall, or end in a newel, so a sleeve or pocket can’t catch on it.

Handrails must also be continuous, running uninterrupted from the bottom step to the top of the deck. Longer rails that are “broken up” with another railing post won’t meet the code. Jump to the below section for a solution: “Trex ADA Handrail”.

When is a Handrail Required?

According to the IRC, any stairs with four or more risers require a continuous and graspable handrail.

Keep in mind that the number of risers isn’t the same as the number of steps. In actuality, stairs with three steps generally have four risers, but it’s easy to overlook the last riser that leads to the surface of the deck.

Watch: when your deck stairs need a handrail, explained on a real build (3:42).

What’s the Necessary Handrail Height on Stairs?

The handrail code for stairs requires you to install the handrails at a specific height. The top of the rail must be between 34 inches and 38 inches above the nosing of the stair treads.

Are Handrails Required on Both Sides of Stairs?

You aren’t required to install a handrail on both sides of your deck stairs. They can be placed on either side as long as it runs uninterrupted the entire length of the stairs.

But the height of your deck will bring another similar code into play—this one to do with guardrails.

Guardrail vs. Handrail

Simply put, handrails are for hands to grasp while walking up or down your deck stairs. But railings (also referred to as guardrails) are designed to prevent anyone from falling off the sides.

The code states that when a deck is 30 inches or more off the ground, you’re required to install a guard rail on the open sides of your stairs and the deck’s surface. Guards must be at least 36 inches tall on the deck and at least 34 inches along the stairs (measured from the nosings), and the balusters have to be close enough that a 4-inch ball can’t pass through. We cover guard heights and spacing in detail in Deck Railing Requirements.

Watch: when a deck needs a guardrail, and when it doesn’t (2:43).

Trex Handrails

When you’re looking for the correct handrails, Trex has you covered!

Out of Trex’s three railing options, their Signature railing is considered graspable. Even so, this is dependent on your local municipality or sometimes even the individual inspector. Before moving forward, it’s best to call your building department or work with a local deck builder who’s familiar with the local regulations.

But if you’ve decided on using the Trex Select or Transcend railing, you can always add a separate handrail. The same goes for any option where you’ve added a cocktail board. A cocktail board won’t pass the “graspable” test, so the stairs get a separate handrail.

Trex ADA Handrail
Once again, Trex has you covered. They offer an elegant and beautiful solution they call their “ADA Continuous Graspable Handrail.” It’s a round powder-coated aluminum rail that secures to your existing stairs’ railing posts.

The cost to install the ADA handrail will vary based on the design of the stairs. For example, how long the stairs are or if there’s a landing, etc. It’s a small line item on a new build; the fastest way to see it in context is our online deck estimator.

Conclusion

There you have it! While the handrail codes for stairs vary by location, you should have a good idea of when you need to install one.

Remember, a graspable and continuous handrail is required when you have four or more risers. And you should install them between 34-38 inches above the stair nose tread. Also, railings (or guardrails) are necessary when your deck is 30 inches or higher above the grade.

These codes and regulations are in place for a reason. And you can have peace of mind knowing you’re taking the necessary steps to keep yourself and your friends and family safe. Two related codes homeowners ask about next: whether your deck needs a permit (almost always, in Michigan) and stair lighting requirements.

At Custom Deck Creations, we build composite decks for clients across Southeast Michigan. We’ll work with you to design and build the perfect deck for your yard, including making sure all the railings are up to code! If you’re ready to take the next step, give us a call, and we’ll provide you with a custom quote based on your specific project!

Also, feel free to check out our gallery to see our recent projects or visit our learning center to learn more about composite decking.

Ready for a low-maintenance deck?

Custom Deck Creations designs and builds custom Trex composite decks for homeowners across Southeast Michigan — Canton, Ann Arbor, Ypsilanti, Northville, Plymouth and the rest of our service area — backed by a Lifetime Transferable Workmanship & Materials Warranty and hundreds of five-star Google reviews.

Get your free quote →

Prefer to talk? Call (734) 931-6700.

Grey stairs with black railing leading up to an exterior deck on the back of a condo