A custom steel stair guard can look carefully detailed and still need changes after a code review. Balusters spaced by a nominal center-to-center dimension, an oversized gap below a bottom rail, or a misunderstood exception at the stair tread can leave openings larger than the International Building Code permits. The important measurement is the opening a prescribed sphere can actually pass through, not just the spacing noted on a shop drawing.
The 2021 IBC generally requires openings in required guards to prevent the passage of a 4-inch-diameter sphere, but Section 1015.4 provides specific exceptions for certain locations and occupancies. A triangular opening at the side of a stair is one such exception; ordinary gaps between balusters are not automatically covered by it. This guide explains the limits, how to check steel infill geometry, and which dimensions should be verified before fabrication.
For broader building-code stair requirements, see our IBC metal stair code guide. Related OSHA and IBC topics are available in our Prefabricated OSHA Stairs category.
Section 1015.4 of the 2021 International Building Code addresses opening limitations in required guards. The code uses the term guard; guardrail is also common in fabrication and construction discussions. Its general rule is that an opening must not permit a sphere with a diameter of 4 inches (102 mm) to pass through, from the walking surface to the required guard height. The test concerns the actual clear opening within the finished guard assembly.
For a conventional steel guard with vertical pickets, the typical concern is the space between adjacent pickets. However, the same review must consider gaps beside posts, below the bottom rail, around decorative panels, and near the ends of a guard. An opening should not be accepted merely because its center-to-center layout appears to be close to 4 inches.
A clear opening exactly wide enough for a 4-inch sphere to pass does not satisfy the general no-passage rule. Fabricators should select dimensions with allowance for the actual member size, finish buildup, installation variation, and applicable project tolerances rather than treating 4 inches as an automatic target clear gap.
Before evaluating the infill, determine whether a guard is required. Under 2021 IBC Section 1015.2, guards generally are required at open-sided walking surfaces, including stairs and landings, where the vertical drop exceeds 30 inches at any point within 36 inches horizontally of the open side. The section also contains location-specific exceptions.
Section 1015.3 generally requires a guard height of at least 42 inches. On stairs, that height is measured from the line connecting the leading edges of the tread nosings. Residential and certain other conditions have separate height exceptions, so the applicable occupancy and stair location must be identified first.
The frequently cited 34-to-38-inch dimension normally relates to the required handrail gripping surface, or to particular guard-height exceptions. It is not a general statement that the IBC 4-inch sphere rule stops at 34 inches above a stair. Required guard height and allowable opening size are separate checks.
The 2021 IBC allows different sphere diameters at specifically described locations. The following table highlights the distinctions most relevant to stair guards; Section 1015.4 also contains special provisions for equipment access, certain nonpublic occupancies, and assembly seating.
| Guard location or condition | Sphere that must not pass | Applicable scope |
|---|---|---|
| General openings in required guards | 4 in. diameter | From the walking surface to the required guard height, unless a specific exception applies |
| Upper portion of certain guards, 36 to 42 in. above the applicable reference surface | 4 3/8 in. diameter | The height-band exception in Section 1015.4; it does not apply below 36 in. |
| Triangular opening at the open side of a stair | 6 in. diameter | Only the opening formed by the riser, tread, and bottom rail |
| Stair guards within individual dwelling or sleeping units in Group R-2 or R-3 | 4 3/8 in. diameter | Open sides of stairs within the specified individual units, not every shared stair in a residential building |
For example, the 4 3/8-inch allowance at 36 to 42 inches is not an allowance to use 4 3/8-inch openings over the entire height of an ordinary commercial guard. Similarly, the residential stair exception is limited to the units identified by the code and should not be applied automatically to a shared apartment-building exit stair.
Special exceptions may allow a different opening size at certain equipment-access locations, in specified nonpublic occupancies, or at certain assembly-seating guards. These do not create a universal 21-inch or 8-inch allowance for commercial stair balusters. Confirm the exact occupancy and location before using any exception.
The 6-inch sphere exception concerns a distinctive shape at the lower edge of an open-sided stair guard: the triangular space bounded by a stair tread, a riser, and the bottom rail of the guard. It is not a blanket allowance for every opening along a stair flight.
The opening must be formed by the riser, tread, and bottom rail. A rectangular gap between two vertical balusters does not become an eligible triangular opening simply because it is on a stair. The size of the opening must be evaluated against the prescribed 6-inch sphere in its actual finished geometry.
For a triangle, measuring one edge or one vertical clearance does not show whether a 6-inch sphere can pass through the opening. The result depends on the entire shape. A dimension of 6 inches written beside the bottom rail is therefore not a substitute for checking the completed opening.
The 6-inch exception can reduce unnecessary over-detailing when a design truly has the defined stair triangle, but its use must be limited to that specific geometry. Adjacent ordinary infill openings remain subject to the applicable 4-inch rule or another expressly permitted exception.
Steel guardrails are often laid out using center-to-center spacing because that measurement is convenient for fabrication. A sphere-passage check, however, concerns the unobstructed opening between the finished members. The two dimensions are not the same.
For a simple arrangement of parallel, straight vertical pickets of uniform width, a preliminary calculation is:
Clear spacing = center-to-center spacing - actual finished picket width.
Consider a hypothetical guard with 1/2-inch-wide square steel pickets. At 4-inch center-to-center spacing, the clear gap is 3 1/2 inches. At 5-inch center-to-center spacing, the clear gap is 4 1/2 inches. The latter exceeds the general 4-inch sphere-passage limit for an ordinary opening.
| Illustrative picket layout | Calculated clear gap | General 4-in. sphere screening |
|---|---|---|
| 4 in. on center, 1/2-in.-wide pickets | 3 1/2 in. | Below 4 in.; check the rest of the guard |
| 5 in. on center, 1/2-in.-wide pickets | 4 1/2 in. | Too large for the general 4-in. opening rule |
These examples assume straight, equally spaced, parallel pickets. For curved bars, sloping infill, perforated panels, cable systems, or irregular openings, one horizontal subtraction may not describe the passage path of a sphere. Evaluate the actual finished opening, including its edges and nearby framing.
When checking a shop drawing, measure the space between the faces of members rather than treating a nominal center-to-center dimension as an approved clear opening. Do not ignore powder coating, weld buildup, fabricated offsets, or installation tolerances that change the final geometry.
Not every stair project uses the same exception. The designer must first identify the governing code, occupancy, and location of the guard.
For a typical IBC-governed common or public stair, start with the 4-inch sphere limitation and apply only the Section 1015.4 exceptions that actually describe the specific opening. Do not assume that a 4 3/8-inch allowance intended for an individual residential unit applies to a shared egress stair.
Within individual dwelling units and sleeping units in Groups R-2 and R-3, Section 1015.4 permits a 4 3/8-inch sphere limitation at the open sides of stairs. The code's occupancy and location language matters. The International Residential Code also has its own guard-opening provisions, and projects governed by the IRC should be reviewed under that code rather than borrowing an exception without checking applicability.
Section 1015.4 contains limited exceptions for elevated access to electrical, mechanical, and plumbing equipment and for certain areas not open to the public within Groups I-3, F, H, and S, as well as specified alternate access devices. Those conditions are not the same as a public stair in a commercial building. A project that is subject to OSHA requirements must also be reviewed under the applicable workplace-safety rules.
For a comparison of workplace stair rails and building-code railings, see our OSHA handrail and guardrail requirements guide.
The 2010 ADA Standards are an important accessibility reference, but their Section 505 addresses handrails, including gripping surfaces, height, continuity, and extensions. It does not establish the general IBC guard infill rule described in Section 1015.4.
The ADA Standards do contain a separate 4-inch sphere provision in Section 405.9.2 for certain ramp edge-protection curbs or barriers. That provision has a different purpose and scope from the IBC requirements for stair guards. Do not cite ADA Section 505 as the authority for the IBC 4-inch stair guard opening limit.
Likewise, OSHA's 29 CFR 1910.29(b) has its own guardrail and intermediate-member criteria, including certain 19-inch spacing requirements. OSHA spacing rules are not a substitute for the IBC sphere test on a stair required to comply with the building code.
| Detailing issue | Potential consequence | Recommended check |
|---|---|---|
| Using center-to-center spacing as the sphere-test dimension | The finished clear opening may exceed the permitted size. | Dimension the actual clear gap and verify the finished assembly. |
| Applying the 6-in. stair-triangle exception to every infill gap | Ordinary baluster openings may be too large. | Identify the tread-riser-bottom-rail triangle separately from adjacent gaps. |
| Using the 4 3/8-in. allowance below 36 in. on a public stair guard | The special height-band exception is being used outside its scope. | Mark the 36-to-42-in. height band and apply the required rule below it. |
| Applying a residential-unit exception to a shared exit stair | The project may not qualify for that exception. | Confirm the occupancy and exact location described by Section 1015.4. |
| Checking only the main picket field | Oversized openings may remain near posts, returns, panels, or bottom rails. | Review the entire perimeter of the guard, including transition details. |
For custom steel guards with sloped rails, wire or cable infill, or nonstandard decorative patterns, the design team should also review strength, connection detailing, and any movement that affects the final guard configuration. A satisfactory opening layout by itself does not demonstrate compliance with every structural or life-safety requirement.
A good guard detail makes the applicable exception and measurement location clear to the person fabricating or inspecting the assembly. Do not leave the critical dimensions only in a rendering or material schedule.
Where a guard top or an attached rail is intended to serve as the required handrail, its gripping profile must be checked independently. See our IBC handrail graspability requirements guide for the Type I and Type II considerations.
No. The general rule is that a 4-inch-diameter sphere must not pass through the completed opening. A nominal 4-inch clear gap, if it allows that sphere to pass, does not satisfy the test. Review actual clear dimensions and fabrication tolerances.
No. The 6-inch sphere test applies to the defined triangular opening formed by the riser, tread, and bottom rail at the open side of a stair. Other openings are assessed under the applicable general rule or a different specifically permitted exception.
No. The 2021 IBC includes a 36-to-42-inch height-band exception and a separate exception for open-sided stairs within specified individual residential units. Neither permits unrestricted 4 3/8-inch openings in all locations.
No. The opening limits of Section 1015.4, guard height under Section 1015.3, and the applicable structural design and attachment criteria are separate requirements. Meeting one does not establish compliance with the others.
The 4-inch sphere rule is simple to state but easy to misapply to a fabricated stair. Most required guard openings are checked against the 4-inch sphere, while specific locations can qualify for the 4 3/8-inch or 6-inch tests. The triangular exception exists for a particular tread-riser-bottom-rail opening; it is not permission to enlarge every space between steel balusters.
Identify the applicable code and exception, dimension the finished openings, and verify the guard geometry before approving fabrication drawings. This avoids both undersized safety detailing and unnecessary extra steel in locations where a documented exception genuinely applies.
Compare manufacturers for egress, decorative, and industrial stair applications in the Ohio Valley.
Advertiser Disclosure:
We receive compensation from some of the companies listed below.This compensation may affect which companies are included and the order in which they appear.
| Key standards |
OSHA, AISC, AWS, etc. |
|---|---|
| Typical lead time |
6 to 8 weeks |
| CAD data | Available |
| Key standards |
IBC, OSHA, etc. |
|---|---|
| Typical lead time |
8 to 12 weeks |
| CAD data | Available |
| Standards | OSHA,ADA, etc. |
|---|---|
| Lead time | Contact for details |
| CAD data | Contact for details |