A glass railing is not just decoration. On a deck, a balcony or a stair, it is a guard: the thing that keeps a person from falling. So it has to meet the code. This guide explains the main rules for homes in North Carolina and South Carolina in plain words.

The home building rules in both states are based on the IRC, the model code most of the country uses. Your county or city office applies those rules to your address. We build to these rules on every job, but we are not your inspector. The local inspector has the final word. If anything here is different from what your inspector says, the inspector wins.

When you need a guard

A guard is needed where a walking surface is more than 30 inches above the ground below. That covers most raised decks, every second-floor balcony, many porches, open stair sides, and lofts or landings inside the house.

Measure from the top of the deck boards straight down to the ground under the edge. On a sloped yard, one end of a deck can be under 30 inches while the other end is well over. Check the highest spot, not the average.

If your deck or patio is under 30 inches, the code may not ask for a guard at all. You can still choose glass for looks, to keep a pet in, or to mark the edge. It just becomes your choice instead of a rule.

How tall the glass must be

Two numbers cover most homes:

  • Decks and balconies: the guard must be at least 36 inches tall.
  • The open side of a stair: the guard must be at least 34 inches tall, measured from the stair nosing (the front edge of each step).
Glass guard heights for decks, stairs and commercial floorsA guard is needed where a walking surface is more than 30 inches above the ground below. Decks and balconies: at least 36 inches. The open side of a stair: at least 34 inches, measured from the nosing. Commercial guards: usually 42 inches.36 in min.More than 30 in:a guard is neededDeck or balcony34 in min.from the nosingOpen side of a stairUsually 42 inCommercial floordesigned withengineering

Swipe sideways to see the whole drawing.

Guard heights: more than 30 in above the ground needs a guard; 36 in min. on decks and balconies; 34 in min. on the open side of a stair, from the nosing; commercial usually 42 in. Your local inspector has the final word.

These are minimums. Some owners pick a taller guard because it feels safer on a high balcony. That is allowed. Just remember a taller panel is a bigger, heavier panel, and that can change the hardware and the price.

The height is measured to the top of the guard. With a frameless system and no top rail, that is the top edge of the glass. With a cap rail, it is the top of the rail.

Openings and gaps

The guard must not have an opening that lets a 4 inch sphere pass through. Think of a ball about the size of a baby's head. This rule is why glass is so popular with families: a solid panel has no openings at all.

But frameless glass still has gaps you need to watch:

  • The gap between two panels.
  • The gap under the bottom edge of the glass.
  • The gap where the last panel meets a post, a column or the house wall.

On stairs there is one more rule. At the corner where the riser, the tread and the bottom of the guard meet, the opening must not let a 6 inch triangle pass through. Raked stair panels are shaped to follow the slope so this corner stays tight.

The 4 inch sphere and 6 inch triangle rulesNo opening in a guard may let a 4 inch sphere pass through, including between panels and under the glass. At the stair corner where the riser, tread and bottom of the guard meet, a 6 inch triangle must not pass.4 inNo opening may let a4 in sphere pass throughBetween panels, under the glass, at the ends6 in trianglemust not passStair corner: no 6 in trianglewhere the riser, tread and guard meet

Swipe sideways to see the whole drawing.

Openings: a 4 in sphere must not pass through any opening; at the stair riser and tread corner, a 6 in triangle must not pass. Your local inspector has the final word.

Because tempered and laminated glass cannot be cut after it is made, every gap is set by the field measure. That is one reason we never size panels from plans alone.

How strong it must be

The code sets two loads:

  • A guard must resist a 200 pound load at any point on the top.
  • The glass itself (the infill) must resist 50 pounds over one square foot.

The glass and the hardware are made for this. The weak spot is almost always what the hardware is fastened to. A spigot or post turns that 200 pound push into a big twisting force at its base. If the rim joist is thin or there is no blocking behind it, the guard can flex or pull loose even with the best glass.

Spigots fastened along the edge of a timber deck
Manufacturer photo of the hardware system, not one of our installs.

So at every measure we check the rim joist, the blocking or the slab where the hardware will land. On new construction, the builder provides solid blocking where the posts or spigots go. If the inspector asks for stamped engineering, it comes from the builder's engineer. We supply the hardware data sheets.

Which glass is allowed

Frameless glass guard on an upstairs balcony of a modern home
Manufacturer photo of the hardware system, not one of our installs.

Glass in a guard must be safety glass: tempered or laminated. Regular window glass is never allowed.

Our default is 1/2 inch tempered glass. For short, low panels, 3/8 inch can work. Laminated glass is two tempered layers bonded with a strong SGP interlayer, often 9/16 inch thick. If a laminated panel breaks, it stays in place.

Laminated is the safe choice where there is no top rail, on a raised deck or balcony. Without a rail across the top, a broken tempered panel leaves an open gap until it is replaced. Our tempered vs laminated guide covers this in detail.

Stairs and handrails

Stairs need a graspable handrail 34 to 38 inches above the nosing. "Graspable" means you can wrap your hand around it. A glass panel alone is not a handrail, even if it is the right height, because you cannot hold the edge of the glass.

Glass guard along an indoor floating stair with a wall handrail
Manufacturer photo of the hardware system, not one of our installs.

So a glass stair railing has two parts: the glass guard on the open side, and a handrail you can hold. The handrail can be on the wall side or run along the glass side. This also matters for daily life. A good handrail is what you reach for with a laundry basket in one hand.

See glass stair railing for how we handle raked panels and handrails.

Commercial and pool rules

Offices, shops, venues and other commercial spaces follow the commercial code. Commercial guards are usually 42 inches tall and are designed to the commercial code with engineering. We quote that work from plans. If your project needs a visit before we can price it, we will tell you up front, before anyone drives out. See interior and commercial glass railing.

Pool barriers have their own rules, and they differ by town and county. Most local rules ask for a barrier at least 48 inches tall with gaps under 4 inches and gates that close and latch on their own. Read our glass pool fence rules guide before you plan one.

North Carolina projects of $40,000 or more are contracted through our licensed general contractor partner. South Carolina projects over $5,000 go through our licensed partner too.

Permits, inspectors and HOAs

Around Charlotte, permits are handled by different offices. Charlotte neighborhoods go through Mecklenburg County Code Enforcement. Waxhaw, Weddington and Marvin go through Union County, with town zoning. Fort Mill, Tega Cay and Lake Wylie are in York County, SC, and Indian Land is in Lancaster County, SC. Cities and towns can add their own steps.

Whether your railing needs a permit depends on the office and the scope of the work. Call before you start. We never promise a permit, engineering or an inspection result, because we do not control them.

In planned communities, HOA approval is often needed before any outside change. Ask early, because glass is made to order and cannot be returned or cut down after it arrives.

Before you text us: a short checklist

  • How high is the deck at its highest spot? Over 30 inches means a guard.
  • Is there a top rail in your plan? If not, and the deck is raised, plan on laminated glass.
  • Are there stairs? Plan a graspable handrail too.
  • What is under the edge: a rim joist, a slab, pavers? Take a photo.
  • Do you have an HOA? Ask what they need.

Then text us the photos and rough lengths. Flat runs are $425 to $900 per linear foot and stair runs are $520 to $1,170 per linear foot, installed, plus tax, quoted after measurement. The glass railing cost page explains what moves the price, and deck and balcony glass railing shows the options.