Skip to content
ClearTradeREPORT

Real reporting for the people who build, power and maintain America.

Deck and Stair Guards: Height, Openings and Load Rules

2021 IRC rules for deck guards and exterior stairs: the 30-inch trigger, guard height, 4-inch sphere, risers, handrails and guard post loads.

By ClearTrade Report Editorial Team · Published November 27, 2026 · 9 min read

Four-step framework for deck guards and exterior stairs: measure the drop, check guard height and openings, size stairs and handrails, and anchor every guard post.
Credit: ClearTrade Report Editorial Team.

Under the 2021 International Residential Code (IRC), a deck, landing or stair needs a guard where it is more than 30 inches above grade at any point within 36 inches of the open edge. The guard must be at least 36 inches tall on the deck and at least 34 inches on the open side of a stair. Openings must stop a 4-inch sphere, with small exceptions at stairs. Stairs need risers of 7-3/4 inches or less, 10-inch treads and a graspable handrail at four or more risers. Guards must also resist a concentrated load, so each post needs a solid connection to the deck framing. Local amendments vary, so confirm your town’s edition first.

Evidence label: Documentation-based guide. ClearTrade Report Editorial Team checked documents from the International Code Council (ICC), the Town of Easton, Maryland, MyBuildingPermit.com (Washington), Fayette County, Georgia, the Washington State Legislature and the American Wood Council (AWC) on November 27, 2026. No outside professional review was performed and nothing was tested. Companies and products named are documentation examples, not recommendations. This guide contains no affiliate links.

When a deck or stair needs a guard

ICC's 2021 IRC title page notes that “Specific requirements for deck guardrails were added.” Because the chapter text would not load, we used the Town of Easton, Maryland deck packet, which reprints the sections and is “Based on the 2021 International Residential Code.”

Section R312.1.1, as reprinted there, says “Guards shall be provided for those portions of open-sided walking surfaces” that are “located more than 30 inches (762 mm) measured vertically to the floor or grade below at any point within 36 inches (914 mm) horizontally to the edge of the open side.”

Because the drop is measured out to 36 inches from the edge, a deck under 30 inches at the rim can still need a guard if the ground falls away just beyond it. Measure the worst point along every open side, including stair sides.

Guard height and the 4-inch sphere rule

Height. R312.1.2 sets guards at “not less than 36 inches (914 mm) in height as measured vertically above the adjacent walking surface or the line connecting the nosings.” There are two stair exceptions. “Guards on the open sides of stairs shall have a height of not less than 34 inches (864 mm)” measured from the nosing line. And “Where the top of the guard serves as a handrail on the open sides of stairs,” the top must be “not less than 34 inches (864 mm) and not more than 38 inches (965 mm).”

Openings. R312.1.3 bars openings “that allow passage of a sphere 4 inches (102 mm) in diameter.” “The triangular openings at the open side of stair, formed by the riser, tread and bottom rail of a guard,” shall not allow passage of a sphere 6 inches (153 mm) in diameter. And “Guards on the open side of stairs shall not have openings that allow passage of a sphere 4-3/8 inches (111 mm) in diameter.”

The MyBuildingPermit.com residential guards tip sheet says it “reflects code requirements of the 2021 International Residential Code (IRC)” with Washington State Amendments. Washington publishes its own version of the guard section as WAC 51-51-0312.

Exterior stairs: risers, treads and handrails

The Easton packet reprints these 2021 IRC stair rules:

  • Risers. “The riser height shall be not more than 7-3/4 inches (196 mm).” Within a flight, the tallest riser may not exceed the smallest “by more than 3/8 inch (9.5 mm).”
  • Treads. “The tread depth shall be not less than 10 inches (254 mm).”
  • When a handrail is required. “Handrails shall be provided on not less than one side of each flight of stairs with four or more risers.”
  • Handrail height. Handrail height “shall be not less than 34 inches (864 mm) and not more than 38 inches (965 mm).”

Graspability. Under R311.7.8.5 in the Easton reprint, “Handrails with a circular cross section shall have an outside diameter of not less than 1-1/4 inches (32 mm)” and “not greater than 2 inches (51 mm).” Also, “If the handrail is not circular, it shall have a perimeter of not less than 4 inches (102 mm) and not greater than 6-1/4 inches (160 mm) and a cross section of not more than 2-1/4 inches (57 mm).” Easton's local notes add: “2×4's and 2×6's are not compliant handrails.” The AWC DCA 6 deck guide, which is based on the 2015 IRC, describes a second shape: “Type II rails with a perimeter greater than 6-¼" shall provide a graspable finger recess area on both sides of the profile.”

Width and lighting. The 2015-based DCA 6 says “Stairs shall be a minimum of 36" in width” and calls for “a light source located at the top landing.”

Item to check2021 IRC ruleSource
Guard requiredMore than 30 in. above grade, measured within 36 in. of the open edge (R312.1.1)Easton 2021 IRC reprint
Guard heightMin. 36 in. at deck; min. 34 in. on open stair sides (R312.1.2)Easton 2021 IRC reprint
OpeningsNo 4 in. sphere; 4-3/8 in. on stair guards; 6 in. at stair triangle (R312.1.3)Easton 2021 IRC reprint
Guard loadDesigned to Table R301.5; Washington tip sheet summarizes it as 200 lb along the top and 50 lb point load elsewhereMyBuildingPermit.com tip sheet (2021 IRC with Washington amendments)
Risers and treadsMax. 7-3/4 in. riser, 3/8 in. max. variation; min. 10 in. tread (R311.7.5)Easton 2021 IRC reprint
HandrailFour or more risers; 34 to 38 in. high; graspable Type I or Type II (R311.7.8)Easton reprint; DCA 6 for Type II

The guard load rule and how posts carry it

The IRC sets guard strength in Table R301.5. The Washington MyBuildingPermit.com tip sheet, which covers the 2021 IRC with Washington State Amendments, says “Guards shall be structurally designed to comply with IRC Table R301.5,” which it summarizes as “designed for a 200-pound load in any direction along the top and a 50-pound point load elsewhere.” Treat those figures as that tip sheet's summary, not as numbers we read in the IRC table itself. The table footnotes in the Easton reprint describe “A single concentrated load applied in any direction at any point along the top.” They also say that where the top of a guard is not required to serve as a handrail, the load is applied “in the vertical downward direction and in the horizontal direction away from the walking surface,” and that in-fill components such as balusters must withstand “a horizontally applied normal load of 50 pounds on an area equal to 1 square foot.”

Deck guard rules in R507.10, as reprinted in the Easton packet, add more. Where guards sit on deck framing, “guard loads shall be transferred to the deck framing with a continuous load path to the deck joists.”

  • Side-mounted posts. Where a guard attaches to the side of a joist or beam, that member “shall be connected to the adjacent joists to prevent rotation of the joist or beam.” Also, “Connections relying only on fasteners in end grain withdrawal are not permitted.”
  • Top-mounted posts. Surface-mount systems “shall be connected to the deck framing or blocking and installed in accordance with manufacturer's instructions to transfer the guard loads to the adjacent joists.”
  • No notched 4x4s. Where 4×4 wood posts carry guard loads at the top, “such posts shall not be notched at the connection to the supporting structure.”

The AWC DCA 6 guide (based on the 2015 IRC) gives one prescriptive way to meet the load. “Deck guard posts for required guards shall be a minimum 4×4 (nominal) with an adjusted bending design value not less than 1,100 psi.” Also, “Joists and rim joists to which guard posts are attached shall be a minimum of 2×8 (nominal),” and “Hold-down anchors shall have a minimum allowable tension load of 1,800 pounds for a 36" maximum guard height,” installed per the manufacturer's instructions. Check these 2015-based values against the edition your town has adopted.

How inspectors check posts and attachments

Plan on connections being checked before they are covered. Easton, for example, says footing holes “shall not be backfilled until such time that the framing inspection can be done to verify proper installation and attachment” if uplift devices were not checked at the footing inspection. The Fayette County, Georgia residential deck guide (based on the 2018 IRC) says a code evaluation report for a manufactured decking system “must be provided to the building inspector at the time of framing inspection,” and the report and installation instructions for a manufactured railing system “at the time the permit application and forms are submitted.”

Our advice: before framing is covered, have ready hold-down hardware at each guard post, blocking where posts attach to a rim or side joist, unnotched 4×4 posts, and instructions for any manufactured rail system. It is also wise to check guard height, baluster gaps, risers and handrail size yourself against the numbers above before the final inspection. The ledger connection is a separate item that inspectors look at closely. Our guide to deck ledger attachment, plans and inspection covers that part of the job.

Know the limits of this guide

The 2021 IRC chapter pages on codes.iccsafe.org did not load for us, so we did not read R311, R312, R507 or Table R301.5 there. The code wording here comes from the Town of Easton, Maryland reprint of the 2021 IRC. We could not read the Table R301.5 values in that reprint, so the 200-pound and 50-pound figures come from the MyBuildingPermit.com tip sheet, which reflects the 2021 IRC with Washington amendments. The AWC DCA 6 edition we read is based on the 2015 IRC, and the Fayette County guide on the 2018 IRC. We did not compare the 2024 IRC. Ask your building department which edition and amendments apply.

Primary references checked November 27, 2026: International Code Council, 2021 International Residential Code title page; Town of Easton, Maryland, Building Inspection Division, Deck Packet, based on the 2021 IRC; MyBuildingPermit.com, Construction Tip Sheet 03, Residential Guards (Guardrails), 2021 IRC with Washington State Amendments, September 18, 2024; Washington State Legislature, WAC 51-51-0312 (amendments effective March 2024); American Wood Council, DCA 6 Prescriptive Residential Wood Deck Construction Guide, based on the 2015 IRC, copyright 2018; Fayette County, Georgia, Department of Building Safety, Residential Deck Guide, based on the 2018 IRC.

Frequently asked questions

How high does a deck have to be before it needs a railing?

Under the 2021 IRC, a guard is required where the walking surface is more than 30 inches above the floor or grade below, measured at any point within 36 inches horizontally of the open edge. This applies to stairs and landings too.

How tall does a deck railing have to be?

The 2021 IRC requires guards at least 36 inches high above the walking surface. On the open sides of stairs the minimum is 34 inches, measured from a line connecting the nosings. A stair guard that serves as the handrail must be 34 to 38 inches high.

What is the 4-inch sphere rule for deck balusters?

Guard openings must not let a 4-inch sphere pass through. The 2021 IRC allows a 4-3/8 inch sphere limit on the open sides of stairs and a 6-inch limit at the triangle formed by a stair riser, tread and bottom rail.

Can I use a 2×4 or 2×6 as a stair handrail?

Usually not as the graspable rail. The 2021 IRC requires a circular handrail between 1-1/4 and 2 inches in outside diameter or a non-circular rail with a 4 to 6-1/4 inch perimeter. The Town of Easton's deck packet states that 2×4's and 2×6's are not compliant handrails.

Disclaimer: This guide is general information based on manufacturer, government and standards documents, not professional structural, building code or legal advice for a specific home or deck. Confirm the adopted code edition, local amendments and inspection steps with your building department, and follow the installation instructions for any manufactured railing system. Documents may change. AI tools assisted with drafting. ClearTrade Report Editorial Team checked the cited sources and edited this guide.

Need a qualified professional?

Trusted Pros uses visible license-verification states and never ranks paid listings above unpaid listings.

Explore Trusted Pros