Home Improvement

Stair Railing Height: Complete Guide for Homeowners

Stair Railing Height: Complete Guide for Homeowners

Getting stair railing height wrong can fail a building inspection, create a safety hazard, and require expensive rework after the railing is already installed. The numbers seem simple, but the rules differ depending on whether you are measuring a handrail or a guardrail, whether the stairs are interior or exterior, and whether the project falls under residential or commercial code. This guide breaks down the exact measurements you need for code-compliant railings.

Handrail vs Guardrail: Key Difference

Before measuring anything, understand that building codes treat handrails and guardrails as two separate elements with different height requirements.

A handrail is the graspable rail you hold while walking up or down stairs. It runs along the stair slope and must be shaped so your hand can wrap around it. A guardrail (also called a guard) is a barrier that prevents people from falling off an open side, such as a stair landing, balcony, or elevated deck. Guardrails are vertical barriers, not sloped.

Many stair systems combine both functions in a single railing, but the code heights differ depending on which function you are measuring.

Residential Handrail Height (IRC)

The International Residential Code (IRC Section R311.7.8) requires residential handrails to be between 34 and 38 inches measured vertically from the stair nosing (the front edge of the tread) to the top of the handrail. This measurement is taken straight up from the nosing, not along the slope of the stairs.

Handrails are required on at least one side of any stairway with four or more risers. That means three steps or fewer technically do not require a handrail by code, though adding one is always a good safety practice.

The handrail must be continuous for the full length of the stairway, from a point directly above the top riser to a point directly above the bottom riser. Returns (the curved portion where the rail meets the wall or post) at the top and bottom prevent clothing from catching on exposed rail ends.

Residential Guardrail Height (IRC)

Guardrails on open sides of stairs, landings, balconies, and elevated surfaces must be at least 36 inches high per IRC Section R312.1. This is measured vertically from the walking surface (the floor of the landing or deck) to the top of the guardrail.

Guardrails are required whenever the walking surface is more than 30 inches above the floor or grade below. A stairway that is open on one side with a drop exceeding 30 inches needs both a handrail (34-38 inches from nosing) and a guardrail (minimum 36 inches from the walking surface at any point).

Baluster spacing within guardrails must not allow a 4-inch sphere to pass through. This prevents small children from squeezing between balusters. The same 4-inch rule applies to the gap between the bottom rail and the walking surface.

Commercial and Public Stair Requirements

Commercial buildings follow the International Building Code (IBC), which has stricter requirements than the IRC.

  • Handrail height — 34 to 38 inches from the stair nosing, same as residential.
  • Guardrail height — Minimum 42 inches from the walking surface, compared to 36 inches for residential. This higher guardrail applies to commercial stairs, mezzanines, balconies, and elevated walking surfaces.
  • Handrail extensions — Commercial handrails must extend 12 inches horizontally beyond the top riser and one tread depth plus 12 inches beyond the bottom riser. These extensions give people a stable grip as they transition on and off the stairs.
  • Both sides required — Commercial stairs wider than 44 inches must have handrails on both sides.
Looking to buy Stair Railing Height? Compare top-rated options.
Shop on Amazon →Browse Our Shop
As an Amazon Associate we earn from qualifying purchases.

Deck Railing Height

Deck railings follow guardrail requirements since they are barrier systems preventing falls from an elevated surface. Per the IRC, deck railings must be at least 36 inches high when the deck surface is more than 30 inches above grade.

Some local jurisdictions, particularly in California and parts of the Northeast, have adopted a 42-inch minimum for deck railings, matching the commercial code requirement. Always check your local building department since this is one of the most commonly amended code sections at the municipal level.

Measure from the deck surface to the top of the rail cap. Posts must be structurally attached to the deck framing, not just screwed to the deck boards. Through-bolted or notched post connections are the only code-compliant attachment methods for most jurisdictions.

How to Measure Correctly

Measuring stair railing height incorrectly is one of the most common inspection failures. Follow these steps for accurate measurements.

  1. Place a level horizontally on the stair nosing, extending it straight out over the stairs.
  2. Measure vertically from the nosing to the top of the handrail. Use a tape measure held plumb (straight up and down).
  3. Check the measurement at the top, middle, and bottom of the stairway. The railing should maintain consistent height throughout.
  4. For guardrails on landings, measure from the finished floor surface straight up to the top of the rail.

Do not measure along the slope of the railing. The code specifies vertical height from the nosing, not the diagonal distance along the rail.

Common Code Violations

Inspectors flag these railing issues most frequently during residential inspections.

  • Guardrails under 36 inches — Often caused by settling, incorrect post height, or measuring from the wrong point.
  • Baluster spacing over 4 inches — Especially common on older decks where the wood has dried and shrunk.
  • Non-graspable handrails — Flat-top railings and 2×6 cap rails do not qualify as handrails. A graspable handrail must have a cross-section between 1-1/4 and 2 inches in diameter (round) or a perimeter between 4 and 6-1/4 inches (non-round) with a maximum cross-section of 2-1/4 inches.
  • Missing handrail returns — Open rail ends that project into the walking path are a snag hazard and a code violation.

Pro Tips for Installation

Set your posts first and verify the height before cutting. It is much easier to trim a post down by 1/2 inch than to replace one that was cut too short. Use a string line across the tops of all posts to check that the rail cap will be straight before installing it.

For wall-mounted handrails, position brackets every 4-6 feet and at both the top and bottom of the stairs. The handrail must support a 200-pound concentrated load applied in any direction, so use lag screws into studs rather than drywall anchors for bracket mounting.