Key takeaways
- Guards are needed where a floor, deck or porch is more than 30 inches above the ground
- Home guards are usually at least 36 inches tall; commercial guards 42 inches
- A 4 inch ball should not pass through the openings
- Handrails on stairs sit between 34 and 38 inches above the nosing
Most of the railings we make are about looks as much as safety. But every one of them still has to meet the building code. Massachusetts uses a state building code based on the International Residential Code (IRC) for homes and the International Building Code (IBC) for other buildings, with its own amendments. Here are the basics that come up most.
Guard or handrail?
People use the words interchangeably, but the code doesn't. A guard is the barrier along an open edge that stops you falling off. A handrail is the rail you hold while you walk up or down. On a stair with an open side, one railing often does both jobs.
The numbers
| Item | Typical requirement |
|---|---|
| When a guard is needed | Open sides of floors, decks, porches and landings more than 30 inches above the floor or grade below |
| Guard height | At least 36 inches above the walking surface |
| Guard on the open side of a stair | At least 34 inches, measured up from the tread nosings |
| Openings in a guard | A 4 inch sphere should not pass through |
| Openings on the side of a stair | A 4 3/8 inch sphere should not pass through |
| When a handrail is needed | Stairs with four or more risers |
| Handrail height | 34 to 38 inches above the tread nosings |
Handrail grip
A handrail has to be something a hand can actually wrap around. Round rails between 1 1/4 and 2 inches across are the common choice, with at least 1 1/2 inches of space between the rail and the wall so knuckles don't scrape.
Your town has the final word
Local building departments interpret the code and some ask for drawings before work starts. Our design team can prepare AutoCAD drawings for your permit, and we build to the code that applies to your project.




