Perfect Stair Railing Height Every Time - 99.1% Code Guide

Get stair railing height right the first time. Residential, commercial, deck, ADA and OSHA numbers explained in plain English, plus how to measure it correctly.

You are standing at the top of a staircase with a tape measure in one hand and a permit application in the other, and you just realized nobody actually told you how tall a stair railing is supposed to be. You are not alone. It is one of the most Googled home improvement questions out there, and the honest answer is that it depends on a few things: whether the railing is a handrail or a guardrail, whether the stairs are inside or outside, and which code your local building department follows.

The good news is that the numbers are not complicated once someone walks you through them. In this guide we will cover the standard stair railing height for residential and commercial buildings, how interior stairs differ from a deck or porch, what ADA and OSHA expect, and exactly where to put your tape measure so the inspector does not send you back to the drawing board.

By the end, you will be able to look at any staircase in your home, garage, or backyard and know within seconds whether the railing is where it needs to be.

Homeowner measuring stair railing height with a tape measure on a wooden staircase

What Is the Standard Stair Railing Height?

The short answer: a residential stair handrail typically sits between 34 and 38 inches above the stair nosing, and a stair guardrail (the taller barrier that prevents falls off an open side) is usually a minimum of 34 to 36 inches for houses and 42 inches for most commercial buildings.

Those two numbers get confused constantly, so it helps to think of them as two different jobs. A handrail is something you grip while walking, so it sits at hand height. A guardrail is a barrier that stops a fall, so it sits closer to hip or waist height. Many staircases use one railing that does both jobs, which is exactly why the height ranges overlap.

Stair Railing Height at a Glance
Railing TypeTypical Height RangeWhere It Applies
Residential handrail34-38 inInterior and exterior stairs with 4+ risers
Residential guardrail36 in minimumOpen sides of stairs, landings, decks, porches
Commercial handrail34-38 inOffices, retail, multi-family common areas
Commercial guardrail42 in minimumOpen-sided walking surfaces, mezzanines, decks
ADA handrail34-38 inAccessible routes and ramps
OSHA guardrail42 in ± 3 inWorkplace stairs and elevated platforms
Close up diagram-style photo of a stair handrail height compared to a stair guardrail

Stair Railing Height Building Codes Explained

Most stair railing height rules in the U.S. trace back to two model codes published by the International Code Council: the International Residential Code (IRC) for houses and townhomes, and the International Building Code (IBC) for everything else. Local jurisdictions adopt one of these, often with small tweaks, so what you build always needs a final check against your city or county amendments.

Residential Stair Railing Height (IRC)

Under the IRC, a stair handrail is measured vertically from the leading edge of the stair tread (the nosing) to the top of the rail, and it needs to land between 34 and 38 inches. That range exists so the rail is comfortable to grip whether you are 5 feet tall or 6 foot 4.

Guardrails on residential stairs, landings, and raised floors that drop more than 30 inches need to reach at least 36 inches high, measured from the walking surface. This is separate from the handrail requirement, and on many stairs the same railing assembly is built tall enough to satisfy both.

One detail that trips people up during a home renovation: the code applies once a stairway has four or more risers on one side, and it also covers the walls or open sides of the stairway itself, not just the very top landing.

Residential wooden staircase with code compliant handrail in a bright modern home

Commercial Stair Railing Height (IBC)

Commercial and multi-family buildings fall under the IBC, and the numbers shift a bit. Handrails still sit in the 34 to 38 inch range, but guardrails jump to a 42 inch minimum on stairs, balconies, mezzanines, and any walking surface more than 30 inches above the grade or floor below.

The extra height reflects higher foot traffic and a broader range of building occupants, from office workers to warehouse staff. If you are converting a garage or outbuilding into a commercial space, budget time to review this with your local building department, because the jump from 36 to 42 inches changes your railing material list and sometimes your framing plan.

Commercial stairwell with tall 42 inch metal guardrail in an office building
Residential vs. Commercial Stair Railing Height
RequirementResidential (IRC)Commercial (IBC)
Handrail height34-38 in34-38 in
Guardrail height36 in minimum42 in minimum
Triggered at4+ risers30+ in drop
Baluster spacingSphere no larger than 4 inSphere no larger than 4 in
Graspable handrailRequiredRequired

Interior vs. Exterior Stair Railing Height

The math does not actually change much between indoor and outdoor stairs. What changes is the environment the railing has to survive, and a few practical details worth planning around before you buy materials.

Interior Stair Railing Height

Inside the house, whether it is your main staircase, a basement stairway, or a set of steps down to a sunken living room, the same 34 to 38 inch handrail rule applies. Basement stairs are worth double-checking because they are often built later or by a previous owner without a permit, and short headroom can tempt people to mount the rail lower than code allows.

If you are working out room flow around a staircase, our ceiling height calculator and rough opening calculator are handy for making sure headroom and door clearances line up once the new railing is in place.

Exterior and Deck Stair Railing Height

Outdoor stairs, porch steps, and deck stairs follow the same residential numbers: a 34 to 38 inch handrail and a 36 inch minimum guardrail wherever the drop is more than 30 inches. The difference is durability. Exterior railings need weather-resistant hardware, proper flashing where posts meet a deck or patio, and a finish that will not corrode after a few winters.

If you are planning a deck rebuild alongside the stairs, it is worth reviewing our modern patio ideas and building materials calculator together, since railing height, post spacing, and material choice usually get decided in the same conversation.

Split scene comparison of an interior staircase railing and an exterior deck stair railing
Interior vs. Exterior Stair Railing Height
LocationHandrail HeightGuardrail HeightExtra Consideration
Interior stairs34-38 in36 in minimumHeadroom and basement clearance
Porch stairs34-38 in36 in minimumWeather-resistant hardware
Deck stairs34-38 in36 in minimumPost flashing and footing depth
Exterior steps to grade34-38 in36 in minimumFrost heave and drainage

How to Measure Stair Railing Height the Right Way

Nine times out of ten, a stair railing that fails inspection was measured from the wrong starting point. Here is the sequence that avoids that mistake.

  1. Find the nosing linePicture a straight, sloped line touching the leading edge (the nosing) of every stair tread. This imaginary line, not the flat part of each step, is where your measurement starts.
  2. Measure straight up, not along the slopeFrom that nosing line, measure vertically (straight up, plumb) to the top of the handrail. Do not measure along the angle of the stairs, since that will read taller than the true code height.
  3. Check landings separatelyOn a flat landing, measure from the floor surface itself, not from the sloped nosing line, since there is no stair angle to account for once you reach level ground.
  4. Confirm guardrail height from the walking surfaceFor an open-sided guardrail on a landing, deck, or balcony, measure from the finished floor or deck boards straight up to the top of the rail.
  5. Re-check after any finish flooring goes downAdding tile, hardwood, or carpet changes your finished floor height, which can quietly push an already-correct railing below the minimum. Always remeasure after flooring is installed.
Close up of a carpenter's tape measure held plumb against a stair railing post

ADA and OSHA Stair Railing Height Requirements

ADA and OSHA are not building codes, and it is worth keeping them separate in your head from the IRC and IBC. ADA covers accessibility on public and commercial routes, while OSHA covers workplace safety, and both use slightly different language than a residential code inspector will.

ADA Handrail Height

The ADA Standards for Accessible Design call for handrails on accessible routes and ramps to sit between 34 and 38 inches above the ramp or stair surface, measured the same way as a standard code handrail. ADA also adds detail requirements most residential codes skip, like a specific handrail diameter, clearance from the wall, and how far the rail must extend past the top and bottom of the run.

OSHA Guardrail Height

OSHA’s general industry standard for stairs (29 CFR 1910.29) requires stair rail systems on workplace stairways to be 42 inches, plus or minus 3 inches, measured from the tread surface to the top rail. That range gives some flexibility for existing installations, but new construction is typically built to a clean 42 inches to stay safely inside the tolerance.

Stair Railing Height - Complete 2026 Code Requirements
ADA vs. OSHA Stair Railing Height
StandardApplies ToHeight Requirement
ADAAccessible routes, ramps, public stairs34-38 in handrail
OSHA (1910.29)Workplace stairways and platforms42 in ± 3 in guardrail

Stair Railing Height by State and Province

Most U.S. states and Canadian provinces build on the same IRC and IBC framework, but they adopt different edition years and sometimes add local amendments. California, New York, Washington, Pennsylvania, Wisconsin, Michigan, Minnesota, Massachusetts, Colorado, Maine, and Delaware have all made small adjustments in past code cycles, and Canadian provinces like Ontario, Alberta, British Columbia, and Nova Scotia work from the National Building Code of Canada with their own provincial edits.

Because these amendments change with each code adoption cycle, treat the ranges in this guide as the reliable starting point and confirm the current local numbers with your building department or a licensed contractor before you finalize a design, especially for a permitted deck, porch, or interior stair rebuild.

Child Safety and Baluster Spacing

Height is only half the safety picture. The gaps in a railing matter just as much, especially in a house with toddlers. Most codes limit the openings between balusters, and under a guardrail, to a 4 inch sphere, meaning a 4 inch ball should not be able to pass through anywhere in the assembly.

If you are already thinking through fall protection for young kids, it is worth pairing a stair railing project with a look at bed rails or a DIY toddler bed rail for the bedroom, and our fence picket spacing calculator uses the same 4 inch logic if you are also fencing a yard.

Toddler safe staircase with narrow baluster spacing and secure guardrail

Safety Guidelines

A stair railing is a life-safety feature, not a decorating choice, so a few ground rules are worth following no matter which code applies to your project.

  • Never remove or shorten an existing railing without confirming the replacement will still meet the required height once finish flooring is added.
  • Use a graspable profile, generally a rail with a 1.25 to 2 inch diameter or an equivalent shape, so hands can close fully around it in an emergency.
  • Anchor posts into solid framing or blocking, not just drywall or trim, since a railing that flexes under load has effectively failed its job.
  • Keep a continuous handrail along the full run of stairs with four or more risers, with returns or wall extensions at the top and bottom per your local code.
  • Schedule your building inspection before covering framed connections, so any height or spacing correction can happen while the wall is still open.
  • If you are also updating fire and life-safety equipment during a stair remodel, review it alongside your project, since inspectors frequently check both in the same visit.
Contractor inspecting a newly installed stair railing anchor point

Common Stair Railing Height Mistakes

  • Measuring along the slope of the stairs instead of straight up from the nosing line.
  • Forgetting to remeasure after new flooring, tile, or carpet padding raises the walking surface.
  • Mixing up handrail height (hand-grip rail) with guardrail height (fall-protection barrier) and building to the wrong number.
  • Assuming a deck railing only needs to look sturdy, without checking the 36 or 42 inch minimum for its actual drop height.
  • Skipping a local amendment check and building strictly to the base IRC or IBC number when the city requires something different.
  • Leaving baluster gaps wider than a 4 inch sphere, which fails inspection even when the top rail height is correct.
Stair Railing Height - Complete 2026 Code Requirements

Final Thoughts

Getting stair railing height right is one of those details that feels intimidating until you break it into its parts: know whether you are building a handrail or a guardrail, know whether IRC, IBC, ADA, or OSHA governs your project, and always measure straight up from the nosing line rather than along the stair angle.

Whether you are replacing a wobbly railing on a 1960s staircase, building new deck stairs for the summer, or prepping a commercial space for inspection, the numbers in this guide will get you within code on the first try. When in doubt, a quick call to your local building department before you cut lumber will save you a return trip and a second inspection fee.

Stair Railing Height - Complete 2026 Code Requirements

Frequently Asked Questions

Most residential stair handrails sit between 34 and 38 inches above the stair nosing, while guardrails on open sides need to reach at least 36 inches in homes and 42 inches in most commercial buildings.

For a typical house, aim for a handrail between 34 and 38 inches measured straight up from the nosing line, and a guardrail of at least 36 inches wherever there is an open drop of more than 30 inches.

The same 34 to 38 inch range applies for a graspable handrail, while a fall-protection guardrail should be 36 inches minimum for residential stairs and 42 inches for commercial ones.

Typical residential installations land right in the middle of the code range, around 36 inches, which comfortably satisfies both the handrail and guardrail requirements at once.

The proper height depends on the railing’s job: 34 to 38 inches for a graspable handrail, and 36 to 42 inches for a fall-protection guardrail depending on residential or commercial use.

The minimum is generally 34 inches for a handrail and 36 inches for a residential guardrail, though your local code may set a higher minimum, so always confirm with your building department.

Most installed residential railings average close to 36 inches, since that height sits inside both the handrail and guardrail ranges at once.

In the U.S., residential stair railing height comes from the IRC and commercial height comes from the IBC, both maintained by the International Code Council, with local jurisdictions adopting and sometimes amending them.

Code generally requires a 34 to 38 inch handrail and a 36 inch (residential) or 42 inch (commercial) guardrail, measured vertically from the stair nosing or walking surface.

Requirements cover height, graspability, baluster spacing (no more than a 4 inch sphere), continuous runs, and secure anchoring, in addition to the core height numbers.

Most codes set 34 inches as the handrail minimum and 36 inches as the residential guardrail minimum, with commercial guardrails needing 42 inches minimum.

Yes. Residential buildings generally use 36 inch minimum guardrails, while commercial and multi-family buildings typically require 42 inch guardrails under the IBC.

Yes. States, provinces, and cities adopt different code edition years and sometimes add local amendments, so always verify current numbers with your local building department.

Measure vertically from an imaginary line touching the leading edge of each stair tread (the nosing) straight up to the top of the railing, not along the slope of the stairs.

On the stairs themselves, measure from the nosing line; on a flat landing or deck, measure from the finished floor surface straight up.

Handrail height is measured as a vertical distance from the nosing line to the top surface of the rail, using a level or plumb reference rather than measuring along the stair angle.

It is measured from an imaginary sloped line connecting the leading edges (nosings) of the treads, not from the flat tread surface itself.

Identify whether local code follows the IRC or IBC, confirm residential or commercial use, then measure vertically from the nosing line to the target height within the applicable range.

Residential handrails typically run 34 to 38 inches, and residential guardrails need to be at least 36 inches on open sides with more than a 30 inch drop.

Interior stairs follow the same residential numbers as any other stairway in the home: a 34 to 38 inch handrail and a 36 inch minimum guardrail where applicable.

Basement stairs use the same 34 to 38 inch handrail rule as any other interior stairway, and it is worth double-checking older basements that may predate current code.

Indoor stair railings are generally installed between 34 and 38 inches, with many builders targeting 36 inches to comfortably clear the minimum on inspection.

Deck stairs follow the same residential numbers: a 34 to 38 inch handrail and a 36 inch minimum guardrail wherever the drop exceeds 30 inches.

The minimum is 36 inches for a residential deck guardrail, measured vertically from the deck surface or stair nosing to the top of the rail.

Yes, in nearly every jurisdiction a deck with stairs or an elevated platform needs a permitted, code-compliant railing, especially once the drop exceeds 30 inches.

Exterior deck stairs use the same 34 to 38 inch handrail and 36 inch guardrail minimums as interior residential stairs, with added attention to weatherproof hardware.

The ADA Standards for Accessible Design call for handrails on accessible routes and stairs to sit between 34 and 38 inches, with added rules for rail diameter and clearance.

OSHA’s general industry standard (29 CFR 1910.29) requires workplace stair rail systems to be 42 inches, plus or minus 3 inches, measured from the tread to the top rail.

Commercial buildings under the IBC generally need a 34 to 38 inch handrail and a 42 inch minimum guardrail on open-sided stairs and walking surfaces.

The same code-compliant height keeps children safe as long as baluster gaps stay within a 4 inch sphere limit, since falls-through-the-gap are a bigger risk than height alone for small kids.

A handrail is what you grip while climbing stairs and sits at 34 to 38 inches; a guardrail is a taller barrier that prevents falls off an open edge, sitting at 36 to 42 inches.

36 inches is the residential minimum under the IRC, while 42 inches is the commercial minimum under the IBC and the standard OSHA workplace height.

Most codes set a minimum rather than a strict maximum for guardrails, but handrails are capped at 38 inches so they remain comfortable and graspable for most adults.

You can add a rail extension, replace the post-to-rail connection at a taller height, or in some cases add a secondary rail above the existing one, provided the fix still meets graspability rules.

Yes, the measurement is taken to the top of whatever surface a hand or body would contact, which includes any cap or trim piece sitting on top of the railing assembly.

Stick to the standard code range and pay close attention to baluster spacing, since a properly spaced, code-height railing already accounts for typical child safety concerns.

Multi-family buildings are generally treated as commercial for common stairways under the IBC, meaning a 42 inch guardrail minimum in shared areas.

Glass railing systems follow the same height numbers as any other material, 34 to 38 inches for handrails and 36 to 42 inches for guardrails, with additional structural and tempered-glass standards.

Cable railings must meet the same overall height minimums, and the horizontal cable spacing must still satisfy the 4 inch sphere rule to prevent a child from slipping through.

Industrial facilities follow the same 42 inch, plus or minus 3 inch, OSHA standard used for general workplace stairways under 29 CFR 1910.29.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top