Outdoor Step Codes

Building Code for Outdoor Steps

Learn the main building code limits for outdoor steps: riser and tread sizes, width, handrails, guards and permits, and how to check local rules.

On this page
  1. What the building code says about outdoor steps
  2. Which code applies to your steps
  3. Riser and tread sizes
  4. Stair width and landings
  5. Handrails
  6. Guards along open sides
  7. Permits and inspections
  8. When to get a professional involved
  9. Checking your local rules

What the building code says about outdoor steps

Building codes set minimum dimensions for steps, handrails and guards so people can use them safely. For outdoor steps, the rules cover how tall each step can be, how deep the treads should be, how wide the stairs must be, and where a handrail or guard is required. The figures below come from the model codes widely used in the United States. Local authorities adopt those codes, sometimes with changes, so treat the numbers as a starting point and confirm them with your building department before you build.

Which code applies to your steps

The International Residential Code (IRC) covers most one- and two-family homes and many of the structures around them, including decks and porches. Its stair rules are in section R311.7 and its guard rules are in section R312. Many jurisdictions apply these rules to exterior steps, but local adoption and interpretation vary.

The International Building Code (IBC) covers most other buildings, such as offices, shops and apartment buildings. It sets stricter numbers in several places.

Your state, county or city can adopt a different edition of either code or change individual rules. The code your inspector enforces is the one that counts.

Riser and tread sizes

A riser is the vertical height of one step. A tread is the flat surface you walk on, measured from front to back.

  • Residential (IRC): a riser can be no taller than 7 3/4 inches (196 mm).
  • Commercial (IBC): a riser can be no taller than 7 inches (178 mm).
  • Treads must be at least 10 inches (254 mm) deep under the IRC, and at least 11 inches under the IBC.
  • Within one flight, the tallest and shortest risers should differ by no more than 3/8 inch (9.5 mm). The same limit applies to treads.

Many people start by asking what is the standard height of a stair riser. The answer is a maximum rather than one fixed size. Most residential steps are built somewhere in the range of about 7 to 7 3/4 inches.

Here is a quick example. If the finished surface sits 30 inches above the ground, dividing by 7 3/4 inches gives about 3.9, so you need at least four risers. Four risers of 7 1/2 inches each add up to 30 inches and stay under the limit. Three risers would each be 10 inches, which is too tall.

A common rule of thumb is that twice the riser height plus the tread depth should come to roughly 24 to 25 inches. It is a comfort guideline, not a code requirement.

Stair width and landings

  • The IRC sets a minimum stair width of 36 inches in clear width.
  • The IRC calls for a landing on each side of an exterior door, at least 36 inches deep in the direction you walk.
  • Under the IRC, a single flight should not rise more than 12 feet without a landing.

Handrails

Under the IRC, a handrail is required on at least one side of each flight with four or more risers. A flight of only three steps falls below that trigger, so the model code may not require a rail at all. Local rules can differ, and many people still want one on a short flight. For that case, people often ask how long does a handrail need to be for 3 steps. The answer depends on the slope of the stairs rather than on a set length.

Handrail rules that usually apply:

  • Height: 34 to 38 inches, measured vertically from the sloped line that runs through the front edges of the treads.
  • Grip: a round rail should be 1 1/4 to 2 inches in diameter so it is easy to hold.
  • Continuity: the rail should run without breaks from a point above the top riser to a point above the lowest riser. Its ends should be returned or set into a post so they do not catch clothing.

Whether you need a rail on both sides is a separate question, and the answer depends on which code applies. Under the residential code, one side is the minimum. Commercial rules and some local codes can require both sides. A common question is do you need a railing on both sides of exterior stairs, and the best way to settle it for your project is to ask your building department.

Guards along open sides

A guard is a barrier, separate from a handrail, along any open side of a walking surface that is more than 30 inches above the ground or floor below. Decks, porches and landings often need guards even when the steps themselves do not.

  • Residential (IRC): guards must be at least 36 inches tall.
  • Commercial (IBC): guards are generally at least 42 inches tall.
  • Openings: a 4-inch sphere should not be able to pass through a guard.

Both numbers are real, which is why people ask is railing height 36 or 42 for stairs. The answer depends on whether you mean a handrail or a guard, and whether the building is a home or a commercial building. The handrail range is covered in the section above, and the guard rules are here.

Permits and inspections

Many local building departments require a permit for new steps, especially when the steps connect to a deck, porch or house, or when they change the structure around them. Inspectors commonly check the framing and footings, along with final handrail and guard heights. Ask before you start. Building without a required permit can cause problems with insurance or a future sale.

When to get a professional involved

Steps that carry heavy loads, attach to an existing deck or house, or sit on soft or sloped ground are good candidates for a licensed contractor or a structural engineer. A professional can also tell you how your local code applies to your site.

Checking your local rules

  • Start with the building department. Its website or front desk can tell you which code edition applies and whether there are local amendments.
  • Ask for any handouts on stairs, handrails and guards.
  • Keep copies of approved plans and inspection notes with your home records.

These limits are general information. The rules your local building department enforces are the ones that count.

Keep exploring

Guides from other topics

All topics →

Roofing a Shed Roof

A practical guide to roofing a shed roof, covering roof shape and pitch, framing and sheathing, underlayment, shingles, flashing and safety on the job.

Shed Roofing 5 min read