Most people searching for a deck without railings are hoping for a yes. The deck is low. A railing costs money, blocks the view from the kitchen window, and makes a small deck feel smaller. So the real question is whether they can leave it off.

Often the answer is yes. There is a real height below which no railing is required, and plenty of backyard decks sit under it. But the number is not the one most people guess, it is not the same in Illinois as in Wisconsin, and a sloped yard changes how it gets measured. A deck can also sit well below the trigger and still need a rail on its steps.

Here is the honest version, with both state numbers, where the tape measure actually goes, and what an inspector checks.

The Short Answer: 30 Inches in Illinois, 24 in Wisconsin

First, two words that get used as if they mean the same thing. A guard is the barrier along the open edge of a deck that keeps a person from falling off. A handrail is the graspable piece you hold going up and down steps. They have different heights, different shapes and completely different triggers. When someone says railing, they usually mean a guard.

Illinois towns write their residential rules on top of the International Residential Code, usually shortened to the IRC. Under IRC section R312.1.1, a guard is required where a walking surface sits more than 30 inches above the floor or grade below. Grade just means the ground. Lake County states it that way in its own deck guideline, and Naperville states it that way in its residential deck resource guide.

Wisconsin does not use the IRC for houses at all. One and two family homes there fall under the state’s Uniform Dwelling Code, which is statewide and mandatory rather than something each town adopts. The Uniform Dwelling Code requires a guard once the surface is more than 24 inches above grade or a floor.

That six inch gap is the single most useful fact in this article. A deck 26 inches off the ground needs no guard in Barrington and does need one in Kenosha.

Requirement Illinois (IRC baseline) Wisconsin (Uniform Dwelling Code)
Guard required above More than 30 inches More than 24 inches
Minimum guard height 36 inches 36 inches, or up to the underside of a stair handrail
Largest opening allowed A 4 inch sphere must not pass A 4-3/8 inch sphere must not pass, tested at 4 pounds of force
Handrail required at 4 or more risers More than 3 risers
Handrail height above the nosing line 34 to 38 inches 30 to 38 inches

Illinois figures are the IRC baseline that local codes build on. Wisconsin figures are from Wisconsin Administrative Code SPS 321.04. Individual Illinois towns amend their adopted code, so confirm the number that applies to your address before you build.

Notice the second to last row. Illinois says four or more risers, Wisconsin says more than three, and those two phrasings land on exactly the same stair.

How That Height Is Actually Measured

This is where the answer goes wrong for most people, and it goes wrong in three separate ways.

The measurement starts at the walking surface. That means the top of the deck boards, straight down to the grade or the floor below. Not from the top of the rail. Not from the underside of the framing. Not from the bottom of a footing. People routinely measure from the dirt to the handrail, get a number over four feet, and panic about a deck that is actually 22 inches up.

Next, the IRC says the surface has to be more than 30 inches above grade at any point. Not on average. Not at the back door. At any point. Yards here rarely sit dead level, and a deck that is 22 inches up where you step out can be 31 inches up at the far corner where the lawn falls away. Under the IRC a guard is required at that corner, and in practice inspectors read it as required along that whole open side.

Third, and this is the clause almost nobody quotes, the drop is measured to the grade within 36 inches horizontally of the open edge. Picture a deck 24 inches above a paver patio, where the patio itself drops another four feet to the lawn six feet out. The measurement goes to the patio, because the patio is what sits inside that 36 inch band. The second drop is outside it and does not count.

How That Height Is Actually Measured

 

None of this fussing applies once a deck is clearly high. raised and second story decks are far over the trigger in both states, and the question moves on to height, load path and stair layout rather than whether a guard is needed at all.

A Guard and a Handrail Are Not the Same Thing

Here is the trap that catches the most people, and it is why a confident no on the guard question is often still the wrong answer.

The guard trigger is height. The handrail trigger is riser count, and it has nothing to do with how far off the ground the deck sits. A riser is the vertical face between two steps. Three steps up onto a deck is usually four risers, counting the step onto the deck itself.

Under the IRC, a handrail is required on at least one side of any stairway with four or more risers, even where the whole thing sits within 30 inches of the ground. The City of Cheney handout on the 2021 IRC states that outright, and the Village of Round Lake deck handout says the same. So a 14 inch deck with a four riser stair needs a handrail and no guard. That combination surprises homeowners and fails inspections regularly.

Guard Handrail
Job Stops a person falling off an open edge Something a person grips for stability on stairs
What triggers it Height above the floor or grade below Riser count on the stair
Trigger number More than 30 inches in Illinois, more than 24 in Wisconsin 4 or more risers in Illinois, more than 3 in Wisconsin
Height 36 inches minimum 34 to 38 inches in Illinois, 30 to 38 in Wisconsin, measured from the nosing line
Shape No shape rule. It has to stop a fall and stop a sphere Must be graspable. Round profiles run 1-1/4 to 2 inches across
Where it runs Along the open side Continuous on at least one side of the flight, with returns at the ends

The nosing line is the imaginary slope drawn across the front edges of the stair treads. Stair heights are measured from that line, not from each individual step.

The shape rule produces a common defect. A 2×6 laid flat on top of the posts is not a handrail, whatever the plan calls it. InterNACHI flags exactly this: many so called handrails are lumber or decking rather than a graspable profile. You have to be able to wrap a hand around it.

A Guard and a Handrail Are Not the Same Thing

 

Stairs, Landings and Where the Rules Change

Stairs are where the numbers stop being simple, because several different limits apply within a few feet of each other.

Landings count. A landing is a walking surface, so the same guard trigger applies. A mid flight landing more than 30 inches above grade in Illinois needs a guard along its open sides, even if the deck it serves is lower.

Stair guards are allowed to be shorter than deck guards. The IRC sets the deck guard at 36 inches minimum but permits 34 inches on the open side of a stair, measured from the nosing line. Where the top of that guard also serves as the handrail, it runs 34 to 38 inches. So a homeowner who measures 36 on the deck and 34 on the stair has not found a mistake.

Openings are the part that catches builders. One stair guard can legitimately contain three different limits at once under the IRC.

Where on the stair Largest sphere allowed Why the number is different there
Between balusters on the stair guard 4-3/8 inches IRC exception for guards on the open side of a stair
The triangle formed by the riser, the tread and the bottom rail 6 inches The bottom rail runs parallel to the nosing line, so a triangle is unavoidable at every step
Anywhere the guard returns to a level walking surface 4 inches Back on the deck, the general guard rule applies again

Balusters are the vertical members that fill the space between posts. The tread is the part you step on, the riser is the vertical face behind it. Wisconsin uses a single 4-3/8 inch limit, tested at 4 pounds of force, rather than the three way split above.

Those numbers are a geometric test, not a spacing dimension. Nothing in the IRC says balusters go 4 inches apart. It says a sphere must not pass through the clear opening, which is a different and stricter thing, and it is why how far apart balusters can sit is worth settling before anyone starts cutting. Inspectors also check the gap under the bottom rail and the gap where the guard meets a post, not just the field between balusters.

The 12 Inch Rule You Will Hear About

Sooner or later someone will tell you that any deck more than 12 inches off the ground needs a railing. They are not making it up, and they are not quoting the building code either.

InterNACHI, the home inspector association, publishes guidance stating that decks greater than 12 inches above adjacent areas should have guardrails around the edges. That is a home inspection standard, written for the people who check houses before a sale. It is not the IRC and it is not the Uniform Dwelling Code.

This usually surfaces during a home sale. A buyer’s inspector writes up a 20 inch deck as lacking a guard, the report gets forwarded, and everybody assumes there is a code violation to fix. There is not. Both documents are right at once, because they answer different questions. The code asks whether the deck was allowed to be built. The report asks whether it is safe for whoever lives there next.

That second question is fair. If the deck edge looks down onto concrete, or there are toddlers in the house, a guard on a 20 inch deck is a sensible choice. Just know you are choosing it rather than being required to build it.

One knock on effect is worth understanding. A railing on a deck below the trigger is not a required guard, so the code’s opening rules do not legally reach it. Most builders still build to the 4 inch sphere anyway, and plenty of building departments will enforce the opening limit on any railing they can see.

What an Inspector Actually Checks

If a guard is required, the inspection is short and specific. Compiled from the Lake County and Naperville deck guidelines, the Village of Round Lake handout and InterNACHI’s inspection guidance, this is roughly what happens.

  • Is a guard there at all, wherever the surface is more than 30 inches above grade within 36 inches of the edge. Missing guards are among the most common deck defects recorded.
  • Guard height, 36 inches minimum on the deck, with the 34 inch and 34 to 38 inch allowances on stairs.
  • The sphere. Inspectors carry a gauge or a ball, and they check the gap under the bottom rail and at the posts, not just the baluster field.
  • The handrail, wherever a stair has four or more risers. Graspable, 34 to 38 inches, continuous, and returned at both ends rather than stopping in mid air.
  • The posts, which under the 2021 IRC cannot be notched where they connect to the structure. Lake County states this outright.
  • The load path, meaning the guard has to carry its load into the deck joists rather than one board. Where a post attaches to a joist, that joist gets tied to its neighbors so it cannot rotate.
  • The fasteners, which cannot rely only on screws driven into the end grain of a board. The Village of Round Lake also prohibits carriage bolts and requires through bolts with washers on both sides.
  • The member behind the post, which needs to be at least a 2×8. The rim joist is the board running around the outside of the deck frame, and blocking is short pieces added between joists to stiffen that connection.

Then they push on it. A hand load on the top rail, midway between posts, is the universal field test, and site built guards fail it more often than any other check. A guard has to hold a 200 pound push at any point along the top, and leverage is what makes that hard. InterNACHI puts a number on it: that 200 pound push produces roughly 1,700 pounds of force at the upper bolt where the post meets the frame.

If You Do Not Need a Guard, Building Without One

Say you measured honestly at the low corner and the deck is under the trigger. A deck with no railing is a legitimate design, and on a low platform it usually looks better than the alternative. Five things make it work.

  1. Leave margin under the trigger. Landing at 29 inches to dodge a 30 inch rule invites trouble. Soil settles and yards get regraded, and a landscaper who takes four inches off one corner has just made the deck non compliant.
  2. Step the deck down instead of building one tall platform. Two low levels with a single step between them can cover the same ground as one deck that crosses the trigger.
  3. Bring the grade up to the deck. A patio or a raised planting bed within 36 inches of the open edge reduces the measured drop. Fill that sits five feet out does nothing.
  4. Use wide steps along the open side. A broad cascading step down to the lawn removes the fall edge rather than guarding it. Watch the riser count, because four risers brings the handrail back.
  5. Mark the edge without building a guard. A built in bench, a planter run or a change in decking direction tells people where the edge is. Keep the bench set back. If a seat becomes the only thing between a person and the drop, the height gets measured from the seat.

If You Do Not Need a Guard, Building Without One

Confirm It With the Building Department Before You Build

Everything above is the baseline. The town is the one that signs the permit.

Since the start of 2025, Illinois has set a statewide floor. Any municipality that regulates residential construction has to be at least as strict as the International Residential Code on structural matters. Above that floor, each town picks its own edition and writes its own amendments. The state’s Capital Development Board is explicit that the local code official is the authority on a privately funded project.

What that looks like in practice, from towns whose own published documents state it: Naperville works from the 2018 IRC, requires a guard above 30 inches, and adds a local amendment calling for hold down tension devices on any deck 30 inches or higher. Unincorporated Lake County works from the 2024 IRC. Highland Park adopted the 2024 IRC effective March 2026 and did not amend the guard section.

Two traps here are worth naming. Round Lake is four separate villages with four separate building departments, so one village’s handout does not speak for the others. And the Lake County deck guideline governs unincorporated Lake County only, so a house inside an incorporated village is not covered by it.

Wisconsin is simpler on paper, since the Uniform Dwelling Code is statewide, but local inspectors still decide how it gets applied. Either way the call takes five minutes. If the project is in Illinois, pulling a deck permit in Naperville shows what a suburban permit review asks for, and the questions are similar across most of the surrounding towns. Never assume the next village matches.

Frequently Asked Questions

Can I build a deck with no railing?

Yes, if the walking surface stays 30 inches or less above the grade or floor below in Illinois, or 24 inches or less in Wisconsin, at every point within 36 inches of the open edge. Check the stairs separately, since the handrail rule works on riser count instead of height.

How high can a deck be without a railing?

In Illinois, up to 30 inches above the surface below. In Wisconsin, up to 24. Both are measured from the top of the deck boards down, at the lowest point along the open edge.

Do deck stairs need a railing on a low deck?

If the stair has four or more risers, yes, a graspable handrail is required on at least one side regardless of how low the deck is. Wisconsin words the same rule as more than three risers. A one or two step stair does not trigger it in either state.

Why did a home inspector say my 20 inch deck needs a railing?

Because the home inspector association standard flags decks over 12 inches, while the building code trigger is 30 inches in Illinois and 24 in Wisconsin. That report describes a safety recommendation, not a code violation.

Does a landing need a guard?

A landing is a walking surface, so the same height trigger applies to it. A landing that sits more than 30 inches above grade in Illinois needs a guard along its open sides even when the deck it serves is lower.

How tall does a deck guard have to be?

At least 36 inches, measured from the deck surface to the top of the rail, in both Illinois and Wisconsin. On the open side of a stair the IRC allows 34 inches, measured from the line across the front edges of the treads, so a shorter stair guard is not an error.

The Bottom Line

Go measure before you decide anything. Top of the deck boards, straight down to whatever sits within 36 inches of the open edge, at the lowest corner. If that number is 30 inches or under in Illinois, or 24 inches or under in Wisconsin, no guard is required. If it is over, one is, and it has to be 36 inches tall and tight enough that a sphere will not pass through.

Then look at the steps, because that is where the easy answer usually breaks. Four risers means a handrail, at any height, in either state. A low deck with three steps up to it is the most common version of a deck that needs no guard and still fails inspection.

And make the call. The village or the local inspector will give you the trigger for your address in about a minute, which is a great deal cheaper than pulling posts out of a finished deck.