Stair Railing Height in Massachusetts: Code Rules & What Passes Inspection
In MA, a stair handrail must be 34–38 inches and a guard at least 36 inches on new work. Here's what 780 CMR (and the sanitary code) actually require — and what makes a railing fail inspection.

Quick answer: In Massachusetts, a stair handrail must sit 34 to 38 inches above the nosing (the front edge of each tread), and a guard along an open side must be at least 36 inches high on new residential work. Those are the numbers most people come here for — but the height alone won't get you through an inspection. Here's the full picture for MA, plus the details inspectors actually flag.
One caveat up front: building code is enforced by your local building department, and Massachusetts adopts specific editions of the code with its own amendments. Treat the numbers below as the standard baseline and confirm the exact requirement for your project with your city or town's inspector before anything gets fabricated.
Handrail vs. guard: they're not the same thing
Two different parts, two different rules — and stairs often need both:
- A handrail is the graspable rail you hold going up or down. It runs along the stairs at hand height.
- A guard (guardrail) is the barrier that keeps people from falling off an open edge — the side of a staircase, a landing, a porch, or a balcony that drops off.
On an open staircase you'll frequently need a handrail for grip and a guard to protect the open side. They can be built into one iron railing, but they answer to different height rules.
The MA stair railing numbers (new construction)
For a new or replacement railing built under the Massachusetts building code (780 CMR, which follows the International Residential Code for one- and two-family homes):
- Handrail height: 34–38 inches, measured vertically from the nosing of each tread.
- When a handrail is required: on any stairway with four or more risers, on at least one side.
- Guard height: 36 inches minimum for residential; 42 inches for most commercial and multi-family situations.
- When a guard is required: wherever an open side sits more than 30 inches above the floor or grade below.
- Infill / baluster spacing: the openings must be tight enough that a 4-inch sphere can't pass through the guard. (Code allows a slightly larger opening at the angled tread triangle on the stair itself, but a well-built iron rail holds to the 4-inch rule throughout.)
The MA wrinkle most guides miss: two different codes
Here's where Massachusetts trips people up. There are two rulebooks, and they don't say the same thing:
- 780 CMR — the building code. Governs new construction and permitted work. If you're installing a new iron railing or replacing an old one, this is what your railing has to meet: 36-inch guards, 34–38-inch handrails, 4-inch sphere.
- 105 CMR 410 — the State Sanitary Code. Sets the minimum for existing dwellings (it's the housing/habitability code, and it matters most for rentals). Its numbers are older and grandfathered: guards as low as 30 inches — or 34 inches if built or replaced after August 28, 1997 — and baluster spacing of no more than 4 inches (6 inches if built before August 28, 1997).
The practical takeaway: an old railing on an existing home may be perfectly legal under the sanitary code — but the moment you replace it or build new, it has to meet the tougher 780 CMR standard. That's why "my neighbor's railing is only 32 inches" isn't a defense when your new one gets inspected.
Not sure which code applies to your stairs — or whether an existing railing has to be brought up to current code? That's exactly what we sort out before any metal is cut. Get a free estimate.
The details that actually fail inspection
Height is the easy part. These are what inspectors flag — and why a DIY or cut-rate railing gets red-tagged:
- Graspability. A handrail has to be genuinely grippable — a round profile roughly 1¼ to 2 inches across, or an equivalent graspable shape. A flat, wide decorative top rail you can't wrap your hand around won't pass, however good it looks.
- Continuity. The handrail must be continuous for the full run of the stairs, with no interruptions that break your grip.
- Returns. Handrail ends generally have to return to the wall or a newel post so a sleeve or a bag can't snag on an open end.
- Loose or under-anchored posts. A guard has to resist real force. On iron railings that comes down to how the posts are anchored — surface-mounted, core-drilled, or welded to structure. This is the single most common failure on both interior and exterior rails.
Exterior stairs in New England add one more problem
Indoor and outdoor stairs answer to the same height rules, but an outdoor iron railing in Massachusetts has to survive more than the inspector:
- Freeze-thaw can heave and crack footings and loosen posts over a few winters if they aren't set right.
- Road salt inland and coastal salt air around Boston and the shoreline are brutal on bare or poorly finished iron — surface rust becomes structural rust.
So on exterior work, finish and anchoring matter as much as height: proper galvanizing or powder-coating, and posts set below the frost line or correctly fastened to structure. A railing that clears code on day one but rusts loose in three winters didn't really do its job.
What it costs to get it done right
For a typical residential iron stair railing in Massachusetts, most projects land in the $900–$4,000 range — depending on length, interior vs. exterior, the metal and finish, and how the posts have to be anchored. Structural or heavily ornamental work runs higher. Anyone can toss out a ballpark; only an on-site measure produces your real number — and a railing built to the height, grip, and anchoring rules your inspector will actually check.
Skip the code guesswork
You don't have to memorize 780 CMR to end up with a railing that passes. Tell us about your stairs and we'll build to code, set the posts to survive New England, and handle the inspection — so a failed sign-off is never your problem. Your Worcester or Greater Boston building department has the final say, and we confirm the specifics with them before anything gets fabricated.
Get your free stair-railing estimate →
Related: Iron stair railings · Iron railings for your home
Frequently asked questions
- How tall does a stair railing have to be in Massachusetts?
- On new or replacement work under 780 CMR, a stair handrail must sit 34 to 38 inches above the tread nosing. A guard along an open side must be at least 36 inches for residential work and 42 inches for most commercial and multi-family work.
- How many steps before you need a handrail in Massachusetts?
- A handrail is required on any stairway with four or more risers, on at least one side.
- What is the maximum baluster spacing allowed in Massachusetts?
- On new work, the openings must be small enough that a 4-inch sphere can't pass through. Under the State Sanitary Code (105 CMR 410.520), existing guards and balusters can be no more than 4 inches apart, or 6 inches if built before August 28, 1997.
- Does an old stair railing have to be brought up to current code?
- Not always. An existing railing can be legal under the State Sanitary Code (105 CMR 410), which allows guards as low as 30 inches, or 34 inches if built or replaced after August 28, 1997. Once you replace it or build new, it has to meet the tougher 780 CMR numbers.
- What makes a stair railing fail inspection?
- Loose or under-anchored posts are the most common failure. Inspectors also flag handrails that aren't graspable (a round profile roughly 1¼ to 2 inches across), aren't continuous for the full run, or don't return to the wall or a newel post.
Ready to start your project?
Get an exact price for your ironwork project in under two minutes.
Get my fast estimate

