A rail or guard is the right height when it is at least 36 inches tall on a deck or porch, and a stair needs a handrail at 34 to 38 inches above the nosing once it has four or more risers. Those are the core figures in Fairfax County’s guide built on the 2021 Virginia Residential Code, and they are the first measurements worth taking with a tape at any house you tour.
This guide stays on stairs, railings and guards, inside and out. It covers the numbers the Virginia code and Virginia county code offices publish, how to measure them, and what to do when a stair at a house you want does not match. It does not cover deck framing or ledger boards.
Where the Virginia numbers come from
Virginia’s Uniform Statewide Building Code is published by the Department of Housing and Community Development. Its administrative text says the residential code, based on the International Residential Code, covers detached one- and two-family dwellings and townhouses. See the 2021 Virginia Construction Code on the DHCD site.
Virginia localities publish plain-language summaries of the details. Fairfax County’s typical deck details guide says it is based on the 2021 Virginia Residential Code. Henrico County’s building office posted its 2021 code change presentation, and Culpeper County posted a summary of significant 2021 changes. The figures below come from those pages. Always confirm a number with the building office for the specific house, because the code edition and local practice can differ.
Stair geometry: the measurements that repeat
Stairs fail in small ways. A step that is a half inch taller than its neighbor is hard to see and easy to trip on. The code addresses that with a tolerance. Fairfax County’s guide says tread, riser and nosing dimensions may not vary by more than 3/8 inch from step to step. Henrico’s 2018 code change presentation says the same 3/8 inch tolerance applies to nosing, and that a nosing must project at least 3/4 inch and no more than 1 1/4 inches.
| Item | Figure | Where it is stated |
|---|---|---|
| Minimum stair width (deck stair) | 36 inches | Fairfax County deck guide, 2021 VRC |
| Minimum tread depth | 9 inches | Fairfax County deck guide |
| Nosing projection | 3/4 to 1 1/4 inches | Fairfax County; Henrico 2018 presentation |
| Step-to-step variation | No more than 3/8 inch | Fairfax County; Henrico 2018 presentation |
| Handrail height | 34 to 38 inches above the nosing | Fairfax County deck guide |
| Handrail needed | One side, stairs with 4 or more risers | Fairfax County deck guide |
| Stair guard height | 34 to 38 inches from the nosing | Fairfax County deck guide |
| Guard needed beside stairs | Total rise over 30 inches, measured 36 inches from the stair edge | Fairfax County deck guide |
| Triangular gap beside a stair | A 6-inch sphere must not pass | Fairfax County deck guide |
| Stair opening limit | A 4-inch sphere must not pass | Fairfax County deck guide |
The Fairfax guide shows a maximum riser of about 8 1/4 inches in its figure, but notes the figure text is hard to read, so confirm the riser limit with the local building office before building or buying a stair you plan to change.
Handrail details most people miss
A handrail must be something a hand can close around. Fairfax County says the rail runs continuously and returns to the guard or wall at each end. Henrico’s 2018 presentation adds that a handrail may project up to 6 1/2 inches where it passes a floor projection, landing or tread return, which leaves 1 1/2 inches for grasping. Fairfax says a recessed grip may be shaped from a 2×6 or five-quarter board to make a rail graspable.
Guards: when they are required and how tall
A guard is the barrier at an open edge. Henrico’s presentation on the 2018 code says guards are required where a walking surface is 30 inches or more above grade at any point within 36 inches horizontally of the open edge. Fairfax County uses the same trigger for decks: a guard is required when the deck is more than 30 inches above grade at a point 36 inches from the deck edge.
Fairfax County’s detail for a deck guard gives these numbers:
- Guard height of 36 inches minimum.
- Balusters spaced so a 4-inch sphere cannot pass.
- 4×4 posts at 6 feet maximum spacing, with 2×4 runners.
- Notching guard posts is prohibited. Hold-down anchors need at least 1,800 pounds of capacity and attach to the end joist or rim joist.
Henrico’s 2021 presentation says guard posts cannot be notched either, and that the rim or band joist where posts attach must be blocked and anchored. It gives an example of about an 800 pound reaction at the top of the rim from a 200 pound load applied at 36 inches. That load figure is why a post that wobbles by hand is not a cosmetic problem.
A five-minute walk-through you can do at a showing
- Grab each rail and push. It should not move. Check where the post meets the framing, not only the top.
- Look for notched posts. A post cut out to straddle the joist is a code issue per both Fairfax and Henrico.
- Measure the guard. Hold the tape from the walking surface to the top of the rail, and compare with 36 inches.
- Test the gaps. A 4-inch ball should not pass between balusters. A cheap 4-inch ball or a gauge works better than guessing by eye.
- Count the risers. Four or more should have a handrail on at least one side, at 34 to 38 inches above the nosing.
- Step the whole stair. Pay attention to any step that feels different from the rest, then measure it against the 3/8 inch tolerance.
- Check lighting and landings. A landing at the top and bottom should be clear and level.
These figures are for new construction and alterations. An older house may not match them, and a house in Church Hill, Short Pump or Midlothian built in an earlier era may have a stair or rail that differs from today’s numbers. Ask your inspector to point out each difference and say whether it is a defect, a repair item or something to monitor.
Tour with a saved search and a short list
Set up a saved search for the Richmond-area homes you want to see, then use the walk-through above on your first visit. You will see which stairs and railings need a closer look before you write an offer.
Which stairs the code does not cover
Henrico’s 2021 presentation notes that the stair rules in R311.7 do not apply to stairs that do not serve a building, porch or deck, or that lead to a non-habitable attic or a crawlspace. Culpeper County’s summary says the same section applies to stairways within or serving a building, porch or deck. For basement window wells, Henrico gives separate figures: area well stairs need a minimum width of 12 inches, a minimum tread depth of 5 inches and a maximum tread height of 18 inches.
The 2021 code also added an exception for exterior landings: Henrico says a landing that must drain water can be sloped up to 1:20 in the direction of travel, instead of 1:48, and Culpeper describes the same exception. Exterior steps and landings also matter in cold weather, so read our guide to ice dams and snow on Richmond-area roofs.
What to do when you find a problem
Treat a stair or rail concern in three tiers. A loose rail, a missing handrail on a stair of four or more risers or a notched post is a safety repair. Ask the seller to fix it or credit the cost. A rail that is a few inches off the current guard height in an older house is a conversation with your inspector. A scuffed tread is cosmetic. If you are planning updates, see which pre-sale updates pay back and what to check under old finishes in older Richmond homes with hardwood floors.
This is general information about building code, not legal advice or a substitute for an inspection. For a specific house, ask the county building office and a licensed contractor, and ask a Virginia real estate attorney about contract terms.
Bring a short list to your next showing
Start a saved search for the areas you want, then use the walk-through above. When a stair or rail looks wrong, you will know what to measure first.
You can also browse Chesterfield County, Henrico County and City of Richmond pages, see current listings, or meet our team.
Frequently asked questions
Does a three-step porch need a handrail?
Fairfax County’s deck guide says a handrail is required on one side for stairs with four or more risers. A three-riser stair falls below that line in that guide, but ask your local building office whether your house is treated differently.
Can the triangle beside a stair be larger than 4 inches?
Yes. The Fairfax County deck guide says a triangular opening beside a stair must not pass a 6-inch sphere. The 4-inch limit applies to the stair openings and guard balusters.
What is a ship’s ladder, and can it be the only way into a loft?
Henrico’s 2018 code presentation says alternating tread devices and ship’s ladders are permitted as egress for lofts, mezzanines and similar areas under 200 square feet gross. Neither may be the only access to a kitchen or bathroom.
Do crawlspace and attic stairs have to meet the same rules?
Henrico’s 2021 presentation says the R311.7 stair rules do not apply to stairs that lead to a non-habitable attic or to a crawlspace.
What do the 200 pound load figures mean?
Henrico’s 2021 presentation says Table R301.5 footnotes clarify when a 200 pound concentrated load applies to handrails and guards. Its deck guard example shows about an 800 pound reaction at the top of the rim joist from a 200 pound load at 36 inches.
How far can a stair stringer span?
Fairfax County’s guide specifies sawn or solid 2×12 stringers spaced at 18 inches on center maximum, each bearing on a footing and with at least 3 inches of bearing at the deck or landing.
How big must a stair footing be?
In Fairfax County’s guide, each stringer bears on a footing that is 8 inches square or 10 inches round, 12 inches deep.
