20% OFF COUPON CODE = SAVE2026
Residential stair code guide
Staircase Building Codes: Residential Stair Requirements
Updated for the 2024 IRC. Every number you need to plan a code-compliant staircase remodel: riser height, tread depth, headroom, handrail height, guard height and baluster spacing. Search or sort the table, or jump to a section for diagrams and details.
Quick answers: risers 7¾″ max., treads 10″ min., headroom 6′ 8″ min., stairs 36″ wide, handrail 34″–38″ high on any stair with 4 or more risers, guards 36″ high where the drop is more than 30″, and no opening a 4″ sphere can pass through.
Stair Code Quick Reference
| Category | Requirement | Measurement | Notes |
|---|---|---|---|
| Stairways | Stair width (above handrail height) | 36″ min. | Clear width, measured above the handrail. |
| Stairways | Stair width with a handrail on one side | 31½” min. | Measured at and below the handrail. |
| Stairways | Stair width with handrails on both sides | 27″ min. | Measured between the handrails. |
| Stairways | Headroom | 6′ 8″ min. | Measured straight up from the line connecting the tread nosings, and from landings. |
| Stairways | Floor edge over the stair (headroom exception) | 4¾” max. intrusion | The edge of a floor opening above may project into the headroom by this much. |
| Stairways | Rise of one flight | 12′ 7″ max. (151″) | Measured between floor levels or landings. Taller rises need a landing. |
| Stairways | Walkline on turning stairs | 12″ from inside of turn | The line used to measure winder tread depth, measured from the widest point of the clear stair width at the walking surface. |
| Stairways | Stairs these rules don’t cover | Exempt | Stairs to nonhabitable attics or crawl spaces, and stairs that aren’t in or serving a building, porch or deck. |
| Stairways | Remodeling existing stairs | Pitch can stay | Alterations to existing stairs don’t have to meet these rules where the existing space doesn’t allow a lower pitch or slope. |
| Treads & Risers | What to measure | Bare stair, not carpet | All tread, riser and nosing dimensions are taken without carpet, rugs or runners. |
| Treads & Risers | Riser height | 7¾” max. | Measured vertically between the leading edges of adjacent treads. |
| Treads & Risers | Riser height variation in a flight | ⅜” max. | Difference between the tallest and shortest riser. |
| Treads & Risers | Riser slope | 30° max. from vertical | Risers may be vertical or sloped up to this angle. |
| Treads & Risers | Open risers | 4″ sphere must not pass | Applies where the stair’s total rise is more than 30″. |
| Treads & Risers | Tread depth | 10″ min. | Measured horizontally from nosing to nosing. |
| Treads & Risers | Tread depth variation in a flight | ⅜” max. | Difference between the deepest and shallowest tread. |
| Treads & Risers | Winder tread depth at the walkline | 10″ min. | Measured 12″ from the narrow end. |
| Treads & Risers | Winder tread depth at the narrow end | 6″ min. | At any point within the clear width. |
| Treads & Risers | Winder tread variation | ⅜” max. between winders | Consistently shaped winders can share a flight with straight treads and don’t have to match the straight tread depth within ⅜”. |
| Treads & Risers | Nosing projection | ¾” to 1¼” | Not required when treads are at least 11″ deep. On open-riser stairs the projection may be more than 1¼”. |
| Treads & Risers | Nosing edge | 9/16″ max. radius or ½” max. bevel | Keeps the edge from being sharp or square. |
| Treads & Risers | Nosing projection variation | ⅜” max. | Between the largest and smallest projection in a flight, including the nosings at floors and landings. |
| Treads & Risers | Tread strength | 300 lb load | Each tread must hold a 300 lb load on a 2″ × 2″ area (or 40 lb per sq. ft. spread out). |
| Treads & Risers | Tread and landing slope | 2% max. (1 in 48) | Walking surfaces must be close to level. A landing may slope up to 5% (1 in 20) where needed to drain water. |
| Landings | Landing at top and bottom | Required | Every flight needs a floor or landing at the top and bottom. |
| Landings | Door at the top of interior stairs | Landing can be on the other side | Allowed when the door doesn’t swing over the stairs. Includes stairs in an enclosed garage. |
| Landings | Enclosed garage stairs | Top landing up to 7¾” below threshold | |
| Landings | Exterior door, 2 risers or fewer | No top landing needed | When the door doesn’t swing over the stairs. |
| Landings | Deck, porch or patio stairs, 3 risers or fewer | Bottom landing 36″ wide min. | Applies when the stairs aren’t the required exit route. |
| Landings | Landing width | At least the stair width | Measured perpendicular to the direction of travel. |
| Landings | Landing depth | 36″ min. | Measured in the direction of travel on straight runs. Odd-shaped landings need at least the area of a quarter circle with a radius equal to the landing width. |
| Handrails | When a handrail is required | 4 or more risers | At least one side of each flight. |
| Handrails | Handrail height | 34″ to 38″ | Measured straight up from the line connecting the tread nosings. A volute, turnout or starting easing over the bottom tread, and fittings at transitions between flights, at winders or from handrail to guard, may go above 38″. |
| Handrails | Clearance from the wall | 1½” min. | Space between the handrail and the wall. |
| Handrails | Projection into the stair | 4½” max. per side | Up to 6½” where nosings of landings, floors or passing flights project into the stair, as long as the required width and clearance are kept. |
| Handrails | Continuity | Full length of the flight | From above the nosing of the top landing to above the lowest nosing. A newel post may interrupt it at a landing, at a turn with winders, or over the bottom tread. A volute, turnout or starting easing may end over the bottom tread or the top landing. |
| Handrails | Handrail ends | Returned or ended at a post | Return the end to itself, toward a wall, guard or the walking surface, or end it at a newel post or safety terminal. |
| Handrails | Gap at a wall return | ¼” max. | A return toward a wall can’t leave more than ¼” from the wall. |
| Handrails | Round handrail grip (Type I) | 1¼” to 2″ diameter | Edges need at least a 0.01″ radius. |
| Handrails | Non-round handrail grip (Type I) | 4″ to 6¼” perimeter, 2¼” max. width | |
| Handrails | Larger handrails (Type II) | Over 6¼” perimeter | Needs a finger recess on both sides: starting within ¾” of the top, at least 5/16″ deep within ⅞” below the widest part, and running at least ⅜” down to a point at least 1¾” below the top. The rail above the recess must be 1¼” to 2¾” wide. |
| Handrails | Handrail strength | 200 lb load | Applied in any direction at any point along the top. |
| Guards | When a guard is required | Drop of more than 30″ | Open sides of floors, landings, decks, ramps and stairs more than 30″ above the surface below, at any point within 36″ horizontally of the edge. Insect screening doesn’t count as a guard. |
| Guards | Guard height at landings and balconies | 36″ min. | Measured from the walking surface. |
| Guards | Guard height on the open side of stairs | 34″ min. | Measured from the line connecting the tread nosings. |
| Guards | Openings in guards | 4″ sphere must not pass | The baluster spacing rule. |
| Guards | Openings on the open side of stairs | 4⅜” sphere must not pass | Applies along the sloped stair only. Landings and level runs stay at 4″. Some areas amend this to 4″, and many builders use 4″ everywhere. |
| Guards | Triangle at tread, riser and bottom rail | 6″ sphere must not pass | |
| Guards | Guard strength | 200 lb load | Applied in any direction at the top of the guard. |
| Guards | Baluster and infill strength | 50 lb load | Balusters and panels must resist a 50 lb sideways load over 1 sq. ft. |
| Guards | Glass in guards | Safety glazing | Any glass in a guard or railing counts as a hazardous location and must be safety glass. |
| Guards | Structural glass baluster panels | Attached top rail | The rail must be supported by at least 3 panels or stay in place if one panel fails. Not needed when the panels are laminated glass with 2 or more equal plies. |
| Guards | Glass beside stairs and landings | Safety glass below 36″ | Glass whose bottom edge is less than 36″ above the stairs or landings needs safety glass, with some exceptions. |
| Guards | Glass near the bottom landing | Safety glass within 60″ | Glass less than 36″ above the landing and within a 60″ arc of the bottom nosing, unless a guard sits in front and the glass is more than 18″ behind it. |
| Guards | Window fall protection | Sill under 24″ above floor | Applies to operable windows more than 72″ above the ground outside. They need a fall prevention device or opening limit. |
| Lighting | Interior stair lighting | 1 foot-candle min. | Measured at the center of the treads and landings. |
| Lighting | Interior light switch | At each floor level | Required when the stair has 6 or more risers, unless the light is automatic. |
| Lighting | Exterior stair lighting | Light at the top landing | Exterior stairs down to a basement also need a light at the bottom landing. |
| Special Stairs | Spiral stair clear width | 26″ min. | At and below the handrail. |
| Special Stairs | Spiral stair tread depth | 6¾” min. at the walkline | The walkline radius can be no more than 24½”. |
| Special Stairs | Spiral stair treads | All identical | |
| Special Stairs | Spiral stair riser height | 9½” max. | |
| Special Stairs | Spiral stair headroom | 6′ 6″ min. | |
| Special Stairs | Exterior basement stair under a bulkhead | Exempt | Applies when the total rise is 8′ or less and the opening is covered by a bulkhead enclosure. |
| Special Stairs | Alternating tread device: where allowed | Not the main exit | Allowed where a regular stair also serves each level, or where no exit is required. Can serve lofts and mezzanines of 200 sq. ft. or less that aren’t the only way to a kitchen or bathroom. |
| Special Stairs | Alternating tread device: clear width | 20″ min. | At and below the handrails. |
| Special Stairs | Alternating tread device: angle | 50° to 70° | The first tread starts level with the floor or landing. |
| Special Stairs | Alternating tread device: tread width | 7″ min. | |
| Special Stairs | Alternating tread device: tread depth | 5″ min. (8½” projected) | |
| Special Stairs | Alternating tread device: riser | 9½” max. | |
| Special Stairs | Alternating tread device: handrails | Both sides, 30″ to 34″ high | |
| Special Stairs | Ships ladder: where allowed | Not the main exit | Same limits as alternating tread devices, including lofts of 200 sq. ft. or less. |
| Special Stairs | Ships ladder: clear width | 20″ min. | At and below the handrails. |
| Special Stairs | Ships ladder: tread depth | 5″ min. (8½” projected) | Full-width treads, not alternating. |
| Special Stairs | Ships ladder: riser | 9½” max. | |
| Special Stairs | Ships ladder: handrails | Both sides, 30″ to 34″ high |
Jump to:
Stairways
Width, headroom and the height of each flight set the overall size of a staircase. Get these right before you pick parts, because they’re the hardest things to change later.
- Stair width (above handrail height): 36″ min.. Clear width, measured above the handrail.
- Stair width with a handrail on one side: 31½” min.. Measured at and below the handrail.
- Stair width with handrails on both sides: 27″ min.. Measured between the handrails.
- Headroom: 6′ 8″ min.. Measured straight up from the line connecting the tread nosings, and from landings.
- Floor edge over the stair (headroom exception): 4¾” max. intrusion. The edge of a floor opening above may project into the headroom by this much.
- Rise of one flight: 12′ 7″ max. (151″). Measured between floor levels or landings. Taller rises need a landing.
- Walkline on turning stairs: 12″ from inside of turn. The line used to measure winder tread depth, measured from the widest point of the clear stair width at the walking surface.
- Stairs these rules don’t cover: Exempt. Stairs to nonhabitable attics or crawl spaces, and stairs that aren’t in or serving a building, porch or deck.
- Remodeling existing stairs: Pitch can stay. Alterations to existing stairs don’t have to meet these rules where the existing space doesn’t allow a lower pitch or slope.
Work out your rise and run with our stair calculator.
Treads & Risers
Steps that are the same height and depth all the way up are what make a stair feel safe. Most failed inspections come down to uneven risers.
- What to measure: Bare stair, not carpet. All tread, riser and nosing dimensions are taken without carpet, rugs or runners.
- Riser height: 7¾” max.. Measured vertically between the leading edges of adjacent treads.
- Riser height variation in a flight: ⅜” max.. Difference between the tallest and shortest riser.
- Riser slope: 30° max. from vertical. Risers may be vertical or sloped up to this angle.
- Open risers: 4″ sphere must not pass. Applies where the stair’s total rise is more than 30″.
- Tread depth: 10″ min.. Measured horizontally from nosing to nosing.
- Tread depth variation in a flight: ⅜” max.. Difference between the deepest and shallowest tread.
- Winder tread depth at the walkline: 10″ min.. Measured 12″ from the narrow end.
- Winder tread depth at the narrow end: 6″ min.. At any point within the clear width.
- Winder tread variation: ⅜” max. between winders. Consistently shaped winders can share a flight with straight treads and don’t have to match the straight tread depth within ⅜”.
- Nosing projection: ¾” to 1¼”. Not required when treads are at least 11″ deep. On open-riser stairs the projection may be more than 1¼”.
- Nosing edge: 9/16″ max. radius or ½” max. bevel. Keeps the edge from being sharp or square.
- Nosing projection variation: ⅜” max.. Between the largest and smallest projection in a flight, including the nosings at floors and landings.
- Tread strength: 300 lb load. Each tread must hold a 300 lb load on a 2″ × 2″ area (or 40 lb per sq. ft. spread out).
- Tread and landing slope: 2% max. (1 in 48). Walking surfaces must be close to level. A landing may slope up to 5% (1 in 20) where needed to drain water.
Shop stair treads and risers.
Landings
Every stairway needs a flat landing at the top and bottom, and wherever a flight would otherwise rise too high.
- Landing at top and bottom: Required. Every flight needs a floor or landing at the top and bottom.
- Door at the top of interior stairs: Landing can be on the other side. Allowed when the door doesn’t swing over the stairs. Includes stairs in an enclosed garage.
- Enclosed garage stairs: Top landing up to 7¾” below threshold
- Exterior door, 2 risers or fewer: No top landing needed. When the door doesn’t swing over the stairs.
- Deck, porch or patio stairs, 3 risers or fewer: Bottom landing 36″ wide min.. Applies when the stairs aren’t the required exit route.
- Landing width: At least the stair width. Measured perpendicular to the direction of travel.
- Landing depth: 36″ min.. Measured in the direction of travel on straight runs. Odd-shaped landings need at least the area of a quarter circle with a radius equal to the landing width.
Handrails
A handrail is the part you hold. It’s different from a guard, which keeps you from falling off an open side. On many stairs one railing does both jobs.
- When a handrail is required: 4 or more risers. At least one side of each flight.
- Handrail height: 34″ to 38″. Measured straight up from the line connecting the tread nosings. A volute, turnout or starting easing over the bottom tread, and fittings at transitions between flights, at winders or from handrail to guard, may go above 38″.
- Clearance from the wall: 1½” min.. Space between the handrail and the wall.
- Projection into the stair: 4½” max. per side. Up to 6½” where nosings of landings, floors or passing flights project into the stair, as long as the required width and clearance are kept.
- Continuity: Full length of the flight. From above the nosing of the top landing to above the lowest nosing. A newel post may interrupt it at a landing, at a turn with winders, or over the bottom tread. A volute, turnout or starting easing may end over the bottom tread or the top landing.
- Handrail ends: Returned or ended at a post. Return the end to itself, toward a wall, guard or the walking surface, or end it at a newel post or safety terminal.
- Gap at a wall return: ¼” max.. A return toward a wall can’t leave more than ¼” from the wall.
- Round handrail grip (Type I): 1¼” to 2″ diameter. Edges need at least a 0.01″ radius.
- Non-round handrail grip (Type I): 4″ to 6¼” perimeter, 2¼” max. width
- Larger handrails (Type II): Over 6¼” perimeter. Needs a finger recess on both sides: starting within ¾” of the top, at least 5/16″ deep within ⅞” below the widest part, and running at least ⅜” down to a point at least 1¾” below the top. The rail above the recess must be 1¼” to 2¾” wide.
- Handrail strength: 200 lb load. Applied in any direction at any point along the top.
Check your rail with the handrail height calculator, then shop wood handrails.
Guards
Guards protect open sides of stairs, landings and balconies. Baluster spacing rules live here.
- When a guard is required: Drop of more than 30″. Open sides of floors, landings, decks, ramps and stairs more than 30″ above the surface below, at any point within 36″ horizontally of the edge. Insect screening doesn’t count as a guard.
- Guard height at landings and balconies: 36″ min.. Measured from the walking surface.
- Guard height on the open side of stairs: 34″ min.. Measured from the line connecting the tread nosings.
- Openings in guards: 4″ sphere must not pass. The baluster spacing rule.
- Openings on the open side of stairs: 4⅜” sphere must not pass. Applies along the sloped stair only. Landings and level runs stay at 4″. Some areas amend this to 4″, and many builders use 4″ everywhere.
- Triangle at tread, riser and bottom rail: 6″ sphere must not pass
- Guard strength: 200 lb load. Applied in any direction at the top of the guard.
- Baluster and infill strength: 50 lb load. Balusters and panels must resist a 50 lb sideways load over 1 sq. ft.
- Glass in guards: Safety glazing. Any glass in a guard or railing counts as a hazardous location and must be safety glass.
- Structural glass baluster panels: Attached top rail. The rail must be supported by at least 3 panels or stay in place if one panel fails. Not needed when the panels are laminated glass with 2 or more equal plies.
- Glass beside stairs and landings: Safety glass below 36″. Glass whose bottom edge is less than 36″ above the stairs or landings needs safety glass, with some exceptions.
- Glass near the bottom landing: Safety glass within 60″. Glass less than 36″ above the landing and within a 60″ arc of the bottom nosing, unless a guard sits in front and the glass is more than 18″ behind it.
- Window fall protection: Sill under 24″ above floor. Applies to operable windows more than 72″ above the ground outside. They need a fall prevention device or opening limit.
Space your balusters with the baluster spacing calculator, then shop iron balusters or complete stair railing kits.
Lighting
Stairs need enough light to see each tread, with a switch where you need it.
- Interior stair lighting: 1 foot-candle min.. Measured at the center of the treads and landings.
- Interior light switch: At each floor level. Required when the stair has 6 or more risers, unless the light is automatic.
- Exterior stair lighting: Light at the top landing. Exterior stairs down to a basement also need a light at the bottom landing.
Special Stairs
Spiral stairs, alternating tread devices and ships ladders follow their own rules. They’re mostly used for lofts, attics and tight spaces, and usually can’t be the main stair in a home.
- Spiral stair clear width: 26″ min.. At and below the handrail.
- Spiral stair tread depth: 6¾” min. at the walkline. The walkline radius can be no more than 24½”.
- Spiral stair treads: All identical
- Spiral stair riser height: 9½” max.
- Spiral stair headroom: 6′ 6″ min.
- Exterior basement stair under a bulkhead: Exempt. Applies when the total rise is 8′ or less and the opening is covered by a bulkhead enclosure.
- Alternating tread device: where allowed: Not the main exit. Allowed where a regular stair also serves each level, or where no exit is required. Can serve lofts and mezzanines of 200 sq. ft. or less that aren’t the only way to a kitchen or bathroom.
- Alternating tread device: clear width: 20″ min.. At and below the handrails.
- Alternating tread device: angle: 50° to 70°. The first tread starts level with the floor or landing.
- Alternating tread device: tread width: 7″ min.
- Alternating tread device: tread depth: 5″ min. (8½” projected)
- Alternating tread device: riser: 9½” max.
- Alternating tread device: handrails: Both sides, 30″ to 34″ high
- Ships ladder: where allowed: Not the main exit. Same limits as alternating tread devices, including lofts of 200 sq. ft. or less.
- Ships ladder: clear width: 20″ min.. At and below the handrails.
- Ships ladder: tread depth: 5″ min. (8½” projected). Full-width treads, not alternating.
- Ships ladder: riser: 9½” max.
- Ships ladder: handrails: Both sides, 30″ to 34″ high
Stair Terms You’ll See in the Code
The search box above filters these too.
- Baluster
- A vertical post between the handrail and the treads or floor. Also called a spindle.
- Flight
- A continuous run of steps between two floors or landings.
- Guard
- A barrier along an open side that keeps people from falling. On stairs it’s usually the balusters and the rail above them.
- Handrail
- The rail you hold for support while using the stairs.
- Headroom
- The clear height above the stairs, measured up from the nosings.
- Landing
- A flat floor area at the top, bottom or middle of a stairway.
- Line of nosings
- An imaginary sloped line connecting the front edges of the treads. Handrail height and headroom are measured from it.
- Newel post
- The larger post that anchors the railing at the bottom, top, turns and landings.
- Nosing
- The front edge of a tread that sticks out past the riser below.
- Riser
- The vertical part of a step between two treads.
- Run
- The horizontal depth of a tread, measured nosing to nosing.
- Rise
- The vertical height of one step. Total rise is the height of the whole stair.
- Stairway
- One or more flights of stairs, plus their landings, connecting two levels.
- Tread
- The horizontal part of a step that you walk on.
- Walkline
- An imaginary path 12″ from the inside of a turn, used to measure winder treads.
- Winder
- A wedge-shaped tread used to turn a stair without a landing.
- Spiral stair
- A stair whose treads wind around a center post.
- Alternating tread device
- A steep stair with half-width treads offset left and right, so each foot gets its own step.
- Ships ladder
- A very steep stair with full-width treads and handrails on both sides.
Before You Build
These numbers follow the 2024 International Residential Code (IRC), the model code most US cities and counties use for one- and two-family homes. Many areas are still on the 2018 or 2021 edition, where most of these numbers are the same. Your city may also add its own changes, so confirm with your local building department, and pull a permit when one is required. This guide is for planning, not legal or engineering advice.
Need parts that meet these rules? Our stair railing kits, iron balusters, handrails and treads ship within 1 business day. Send your measurements through our free quote form and we’ll help with the parts list.