Is Your Old Railing Grandfathered? Existing Railings and Today's Code

What grandfathered really means for an old cabin railing, the changes that end that status, and why only your local building department can decide.

Updated Jun 2026 5 min read

You bought an older cabin. The deck guard is 32 inches tall, the openings between balusters are far wider than anything a new build would be allowed, and the railing has clearly stood there for decades without anyone from the county saying a word. So is it legal, and do you have to bring it up to code? The answer most owners hear is “it’s grandfathered.” The phrase is real, but it means less than people think, and whether it applies to your railing is not something this site, your neighbor, or your contractor gets to decide.

What Grandfathered Actually Means

Building codes are not retroactive by default. A railing is generally judged against the code in force when it was legally built, not against the edition your town adopted last year. The 2021 IRC says this directly in Section R102.7, Existing Structures, which allows the legal occupancy of a structure that existed before the current code was adopted to continue without change, with exceptions for situations covered elsewhere in the code and for conditions the building official judges necessary to correct for safety.

That is the entire substance of grandfathering for most homes. There is no certificate, no registry, no document declaring a railing grandfathered. It is simply the default status of construction that was compliant when built and has not been changed since. Notice the catch inside that definition. A railing that was never permitted, or never met the code of its own era, may not be protected at all, and on a fifty-year-old cabin that history can be hard to prove either way.

The Changes That End Grandfathered Status

Protection lasts only as long as the railing stays as it is. The same part of the code that shelters existing construction takes the shelter away when you start changing things, because under the 2021 IRC, Section R102.7.1, additions, alterations, and repairs must conform to the requirements for new construction.

Replacing the railing outright is the clearest trigger. A new railing is new work and must meet current code even where the old one predated it, which matters for readers here, since tearing out a tired 2x4 guard and installing logs is exactly that. Substantial alterations and repairs pull the work toward current requirements too. Extending the deck does the same for the new portion, and many departments will look closely at how far the obligation reaches into the old. A change of use can also end the free pass, and converting a seasonal cabin into a rental is a common example, since rental and property maintenance ordinances in some areas layer their own guard requirements on top of the building code. Routine upkeep, on the other hand, things like cleaning, re-staining, and snugging hardware, generally does not trigger anything.

Only Your Building Department Decides

The words doing the work in that IRC language are “building official.” Grandfathering is not something you can rely on by reading the model code at home. The authority having jurisdiction decides what counts as a repair versus an alteration, where maintenance ends and rebuilding begins, and whether an old condition is unsafe enough to require correction no matter how long it has stood. Two counties working from the same model code can answer those questions differently, because the IRC is adopted locally with amendments, and enforcement culture varies even more than the amendments do.

Before you assume your railing is protected, and before you start any project that touches it, verify with your local building department. A short call describing the railing and your plans will tell you more than any article can, including this one. Nothing here is legal advice, and only your local officials can say whether a specific railing may remain as built. For what current requirements typically look like once you are building new, see our guide to log railing building codes.

Grandfathered Does Not Mean Safe

Allowed to remain and adequate are different things. The 2021 IRC (Section R312) requires guards at least 36 inches (914 mm) high on the residential occupancies it covers, with openings sized so a 4-inch sphere cannot pass, and those numbers exist because shorter guards and wider gaps were judged insufficient, especially around small children. Local amendments can push the height requirement higher still. A 32-inch railing with 6-inch gaps may be entirely legal to keep on an old cabin and still be a genuine fall hazard, particularly on an elevated deck and particularly for kids.

Age compounds the problem. A railing that has stood for decades has weathered for decades, and rot at the post bases, loosened joints, and wobble under a firm shake are exactly what our annual railing inspection checklist is built to catch. Grandfathered status speaks to legality. It says nothing about whether the posts still hold.

The Case for Upgrading Anyway

You may never be forced to replace that old railing. There is still a quiet argument for doing it on your own schedule rather than a code official’s. You pick the design, you build to current code once instead of patching around an old layout, and you deal with the hazard while it is still hypothetical. A railing that meets today’s requirements is also one less thing for a buyer’s inspector to flag when you sell, a point our resale value guide covers in more detail.

If you do upgrade, treat the project as new construction from the start. The replacement must meet current local requirements, it may need a permit depending on your jurisdiction, and heavy logs deserve a hard look at the framing they will sit on. A builder who works in your area will know the local expectations, and our guide to hiring a railing installer covers how to find one who genuinely does.

The honest summary is that grandfathered is a narrow legal concept, not a safety rating. An old railing that was legal when built can often stay until you alter it, replace it, or your building official decides it has become a hazard, and only your local department can tell you where yours stands. Make the decision about that 32-inch guard based on who uses the deck, not just on what the county will tolerate.

Verified Sources & Citations

Information in this guide was compiled using technical specifications, building codes, and material properties from the following authoritative sources: