A loose deck railing is the most common safety issue we get called out on - and the cheapest one to fix. It is also the issue that causes the most serious injuries when it fails. This guide walks through the actual building code requirements in NC and SC, the field tests we use to check railings on every inspection, and what your options are if yours does not pass.
Required Railing Height in NC and SC
The 2018 NC Residential Code is the working code in Mecklenburg, Union, and most NC counties at the time of writing. The 2018 IRC (which SC follows for residential) governs York and Lancaster counties on the SC side. Both have functionally identical railing height requirements:
| Deck Height Above Grade | Railing Required? | Minimum Height |
|---|---|---|
| Less than 30 inches | No (recommended) | N/A |
| 30 inches to 6 ft | Yes | 36 inches |
| More than 6 ft (some jurisdictions) | Yes | 42 inches |
| Commercial / multi-family | Yes | 42 inches |
Height is measured from the walking surface of the deck to the top of the top rail. If your deck has a step-down, the railing height is measured from each level separately - you cannot run a continuous 36 inch rail over a 6 inch drop and call the lower side compliant.
The 4-Inch Sphere Rule
Balusters (the vertical pickets between rail posts) must be spaced so that a 4-inch sphere cannot pass through any opening. The same rule applies to:
- The gap between the bottom rail and the deck surface
- The gap between baluster and post
- The triangular opening at the bottom of stair railings (uses a 6-inch sphere here, not 4)
For wood balusters, that typically works out to 4 inch on-center spacing for a standard 1-1/2 inch wide baluster. We see a lot of older decks built before this rule was strictly enforced where the balusters are 5 or 6 inches apart. Those would fail any inspection today and are a real hazard if you have small kids or pets.
Glass railing panels obviously pass the sphere rule by design - tempered glass has no openings at all. That is one of the structural reasons glass has gotten popular for decks where homeowners want maximum safety with maximum view.
200 lb Load Test
Code requires that the top rail withstand a 200 lb concentrated load applied at any point in any direction. In plain English: you should be able to lean an adult body against the rail and have it move very little.
We field-test this on every railing inspection by:
- Standing next to the rail and pushing outward at chest height with both hands using ~50 lbs of force
- Repeating at every post and at the midspan between posts
- Checking how much the post moves at the base (where it bolts to the deck) and how much the rail flexes between posts
A code-compliant railing barely registers the push. Anything that flexes 1/2 inch or more under hand pressure does not pass and needs work.
Why this matters
A railing that fails when a kid bumps it is dangerous. A railing that fails when an adult sits on it can cause serious injury or worse. The CDC consistently lists deck railing failure as a top cause of fall injuries from elevated structures - and almost all of those failures are at the post-to-deck connection.
Common Railing Failures We See
Across hundreds of inspections in the south Charlotte area, the same failure modes show up over and over:
Posts toe-nailed to the rim joist
Builders in the 1990s and early 2000s often attached railing posts by toe-nailing through the post into the deck rim joist. That works for the first few years and then the nails loosen, the wood splits, and the post starts rocking. The fix is to bolt the post through with proper carriage bolts and add a hold-down bracket if needed.
Rotted post bases
4x4 posts that sit in cup-shaped post bases or directly on the deck collect water at the bottom and rot from the inside out. The post can look fine standing up but is essentially a hollow shell at the connection point. Replace with new posts mounted on standoff brackets that lift the wood off the deck surface.
Wide baluster spacing
Pre-2000 balcony and deck railings frequently have 5 to 6 inch baluster gaps. Adding additional balusters between the existing ones is a common upgrade and runs $200 to $500 depending on perimeter length.
Top rail separation
Top rails attached only with finish nails or a few screws into the post end grain pull free over time. Re-anchoring with structural screws into the post side grain (not end grain) restores load capacity.
No connection to the deck framing
The worst failure mode: a railing post that is screwed only into the deck boards, not the rim joist or framing below. Deck boards alone cannot resist the 200 lb load test - they will just pull free at the screws. We see this a lot on DIY railings added years after the original deck.
What an Unsafe Railing Actually Feels Like
You do not need a contractor to find this out. Walk your deck right now and try this:
- Push hard against the top rail with both hands at chest height, using about half your body weight. Do this at every post and between posts.
- Watch the post base. Does it rock against the deck? Does the rail flex more than 1/2 inch?
- Wiggle each baluster by hand. Anything that moves easily is loose enough to be a problem.
- Lean your hip into the corner and apply outward force. Corners are the weakest point on most railings.
If anything fails any of these, do not use the deck for entertaining until it is fixed. A loose railing is a real injury risk, especially for older guests, kids, or anyone who might lean back against it.
Repair, Replace, or Upgrade to Glass
If your railing has issues, you have three honest paths:
Repair: $180 - $500
Tightening fasteners, swapping a few balusters, re-anchoring posts. Right call when the structure is fundamentally sound and 1 to 2 spots need attention.
Replace with new wood or aluminum: $35-$60 per linear foot
Right call when most of the railing is original to a 15+ year old deck and balusters are non-compliant. We can match a wood look or step up to powder-coated aluminum (less maintenance).
Upgrade to frameless glass: $125-$250 per linear foot
Right call when the deck has a view worth opening up and the homeowner wants the maximum-safety option. Tempered glass passes the sphere test and the load test by design. Our sister glass company installs the panels in-house, so you get one crew and one warranty for the whole project.