Guide

Browse Doors & Millwork

Stair Railings

How to Choose a Code-Compliant Banister That Passes Inspection

Doors & Millwork  ·  Updated 2026

Doors & Millwork

A stair railing — the banister, the balustrade, whatever you want to call it — is first a safety system and second a design choice. Get that order wrong and you’ll fall in love with a look that fails inspection. Stair rails are so important to the safety and function of a house that building inspectors have been known to tug on the nearest newel post when they arrive — and if the newel moves, the inspector walks right back out and you’re not getting your occupancy permit.

For broader project planning, explore WBC’s doors and millwork resources.

So before you order a single spindle, nail down the numbers. Handrails are required on stair runs with four or more rises between landings or floors, and must be mounted between 34 and 38 inches above the tread nosing, measured from a sloping line connecting the nosings. That’s the threshold question — four risers or more, and you need a rail.

The Code Numbers That Actually Get Tested

A finished railing has a specific vocabulary worth knowing. The completed assembly includes newel posts, rails, and balusters — commonly called a balustrade. In the International Residential Code, the protective barrier designed to prevent falls from a staircase is officially defined as a “guard.” The code differentiates between guards and handrails, though the terms are often used interchangeably. A handrail is meant to be grasped with your hand for guidance and support.

Here are the hard numbers an inspector checks:

RequirementSpec
Handrail requiredStairs with 4+ risers
Handrail mounting height34–38 in. above tread nosing
Guard height on stairsAt least 34 in.
Guard height (decks, balconies, landings)At least 36 in.
When a guard is requiredFall potential of 30 in. or more
Baluster spacingA 4⅜-in. sphere cannot pass through
Round handrail diameter1¼ in. to 2 in.
Squarish handrail gripMax 6¼-in. perimeter, max 2⅞-in. cross section
Minimum stair width above rails36 in.
Clear width under a single rail31½ in.
Clear width with rails both sides27 in.

A couple of these deserve emphasis. Building codes require that a 4⅜-inch sphere cannot pass between balusters at any point. The tread depth and baluster size determine how many you need per tread. And the grip rules aren’t arbitrary — round rails can’t be less than 1¼ inches or more than 2 inches in diameter, and squarish profiles must have a maximum gripping perimeter of 6¼ inches and a maximum cross section of 2⅞ inches; otherwise they need recesses on both sides for fingers and thumb so it’s easier to get a secure grasp if someone starts to fall.

On width, the math works like this: code requires stairs to be at least 36 inches wide measured above guards or handrails. Rails may project up to 4½ inches into that width, leaving a minimum clear width of 31½ inches below a single rail. On stairs with rails on both sides, that means a 27-inch-minimum clear width between projections. For a new build, aim higher — make stairs at least 36 inches wide between rails and balustrades so two people can pass each other while both have their hands full.

Material Options and How They Compare

Once the numbers are locked, the material decision is about durability, grip feel, maintenance, and whether you can install it yourself.

Wood stains and paints to match anything and feels warm to the hand — a real factor in a drafty Montana stairwell, mudroom, or unheated garage stairway where metal turns cold and unfriendly, especially for older users. The catch is species. For a handrail that takes daily grip, go with a high-density species — red oak or hard maple in the 1200+ Janka range. Soft pine or poplar dents and wears too fast for a part that gets gripped all day.

Metal splits into a few lanes. Steel brings strength, aluminum brings corrosion resistance, and iron brings decorative aesthetics. For any exterior or unheated entry stairs, lean toward corrosion-resistant choices over untreated wood that rots.

Cable and glass give you the open sightlines people want in mountain-modern builds. Cable and glass offer modern, open sightlines but often require professional installation.

One safety note for anyone with young kids: a black-metal-baluster look is popular and proven. A simple balustrade using oak rails, square newels, and round black metal balusters gives a minimalist look that balances safety, code compliance, and aesthetics — and vertical balusters don’t read as a climbable ladder the way horizontal runs can.

Parts, Fasteners, and Installation Basics

The buy list is short: newel posts, rails, and balusters, plus base trim and mounting hardware. Stair parts — handrails, railing, balusters, treads, and newels — come in over 20 select-grade wood species, and prefab newels and pre-drilled baluster kits exist if you’d rather not mill from scratch.

For fastening trim cleanly, trim-head screws earn their keep. They leave smaller holes compared to regular screws, making them easier to fill and conceal, and the smaller head countersinks into the trim material more easily. Western Building Center carries a dedicated Newel Post Fastener for anchoring the post that carries the whole load. For composite or PVC components, trim-head fasteners with HCR (High Corrosion Resistance) coating countersink for a clean-flush finish in both wood and composite, and a double reverse thread pulls shavings into the hole as it tightens.

The install sequence is the same whether the job is plain or fancy. No matter whether the balustrade is simple or elaborate, the steps are the same: install the newels, cut and fit the rails, then install the rails and balusters.

The newel is where jobs pass or fail. It’s the primary load-bearing point — anchor it into solid framing, not just a wall stud that happens to be nearby. In one project, the original colonial post was kept because it was still sturdy and anchored into the floor joist system, then used as the mount for a craftsman-style slip-on box post — saving the demo and rebuild entirely. When you do add blocking inside a wall, plan on drywall patch and paint touch-ups afterward.

Layout precision is the rest of the battle. Start by aligning the newels that connect the railings to the walls, since the wall location is fixed, and plan the first newel so subsequent rails join in straight lines or right angles. Newels are located in pairs so rail sections above and below meet in straight lines or at right angles. Why bother? Perfect alignment matters for aesthetics, so end cuts on rails stay simple miters rather than compound cuts with odd angles.

And do the thinking before the cutting. Building a balustrade right the first time without costly rework starts in the design phase — treads, risers, and landings must be planned with the handrail, newels, and balusters in mind, with treads and risers wide enough that the balustrade doesn’t pinch the stairs too narrow. The slow part isn’t the install. Pre-assembly takes the most time — hours, sometimes days, getting everything cut and fit in the shop before anything goes on the job site.

DIY or Hire It Out

The deciding factor is usually tools and complexity. One of the biggest factors in doing it yourself versus hiring out is whether you have the tools needed for the job. Prefab kits, pre-drilled vertical baluster systems, and composite components fall on the DIY-friendly side. Glass, steel, wrought iron, and embedded core-mount posts are pro territory.

The cost gap between the two routes is real. Hiring out covers skilled labor, insurance, and the tools a pro already owns — not pure profit. If you don’t have a miter saw dialed in and a feel for compound cuts, that gap buys you a railing that’s plumb, tight, and passes the newel tug on the first try.

Choosing a Finish That Looks Designed

A railing sits in a high-visibility spot, so tie it to what’s already in the room. Three rules of thumb:

Match your trim color — if your interior trim is white, white spindles are the obvious choice; if your trim is natural or wood-toned, consider a stained spindle. Let your flooring guide the handrail stain — dark walnut pairs well over light oak floors for contrast, while dark floors call for a lighter stain or painted handrail to balance the space. Then let the newel post finish tie it together — painting posts black to pick up black window trim is the kind of intentional repetition that makes a space look designed rather than assembled.

One durability note on finish: painted spindles show scuffs over time, especially with kids or pets, so a satin or semi-gloss finish holds up far better than flat and is much easier to wipe clean.

Frequently Asked Questions

When does code require a stair railing? Handrails are required on stair runs with four or more rises between landings or floors, mounted between 34 and 38 inches above the tread nosing. Below four risers, a handrail generally isn’t mandated.

How far apart can balusters be? Building codes require that a 4⅜-inch sphere cannot pass between balusters at any point. Tread depth and baluster width determine how many you need per tread.

What’s the difference between a guard and a handrail? A guard is the protective barrier designed to prevent falls from height, while a handrail is meant to be grasped with your hand for guidance and support. Many stairs have both — a guard along the open side, topped or paired with a graspable handrail.

What handrail shape passes code? Round rails must be 1¼ to 2 inches in diameter. Squarish profiles must keep a maximum gripping perimeter of 6¼ inches and a maximum cross section of 2⅞ inches, or include recesses on both sides for fingers and thumb so the rail can be grabbed securely.

What wood should a handrail be? For a part gripped every day, choose a high-density species like red oak or hard maple in the 1200+ Janka range. Softer woods wear and dent too quickly under daily use.

How wide do my stairs need to be with railings? Stairs must be at least 36 inches wide above the rails. Rails can project up to 4½ inches in, leaving 31½ inches clear under a single rail, or 27 inches between projections when rails run on both sides.

Why does the newel post matter so much? It carries the load and it’s the first thing tested. Inspectors have been known to tug on the nearest newel post on arrival — if it moves, you don’t get your occupancy permit. Anchor it into solid floor framing, not just drywall or a stray stud.

Ready to Get Started?

Our doors & millwork specialists can help you find the right products for your project.