Ask how high a deck railing has to be and the internet answers in one word: 36. The number is right. On its own it is still not enough to build from.
Two reasons. Height is one of four numbers an inspector measures on a railing, and the other three set the trigger, the openings and the handrail. And Platinum Decking builds on both sides of the Illinois and Wisconsin line, where three of those four are different. A deck 26 inches off the ground needs no railing in Barrington and needs one in Kenosha.
So here is the whole set: the height, what gets measured with it, where the end of the tape goes, and what changes at the state line. Every number below names the state it belongs to.
The Short Answer on Deck Railing Height
A guard is the barrier along the open edge of a deck that stops someone falling off. A handrail is the graspable rail you hold on a stair. Different parts, different rules, and mixing them up is the most common error in this topic. Most of what people call a deck railing is a guard.
Minimum guard height is 36 inches, measured straight up from the walking surface to the top of the guard. That holds in Illinois under International Residential Code section R312.1.2 and in Wisconsin under Uniform Dwelling Code section SPS 321.04(3)(c)2. It is a minimum, not a target.
Everything else moves. Here is the Illinois set.
| What is being measured | Height | Where the tape starts, and the section |
|---|---|---|
| Guard along a level deck edge | 36 in minimum | The walking surface, meaning the top of the deck boards. IRC R312.1.2 |
| Guard on the open side of a stair | 34 in minimum | The nosing line, the sloped plane touching the front edge of each tread. IRC R312.1.2 Exception 1 |
| Guard whose top also serves as the stair handrail | 34 to 38 in | The nosing line. IRC R312.1.2 Exception 2 |
| Handrail on a stair | 34 to 38 in | The nosing line. IRC R311.7.8 |
| Guard on commercial or multi-family work | 42 in minimum | The walking surface. IBC 1015.3, a different code book |
| Height limit inside two major railing system listings | 42 in | The supporting surface. ICC-ES ESR-5480, Trex CCRR-0202 |
These are the Illinois figures. Illinois towns build on the International Residential Code and each one may amend it. Wisconsin’s numbers are set separately and appear next.
The Number Changes at the State Line
The two states do not run the same system, and the difference is structural rather than a matter of one town being fussy.
Illinois has no single adopted residential code. Public Act 103-0510 set a statewide baseline on January 1, 2025. Per the Illinois Capital Development Board, a town that has not adopted codes falls back to the International Residential Code, and a town that has adopted them must regulate structural design at least as stringently as the IRC. Above that floor each town picks its edition and writes its own amendments, and the local code official is the authority having jurisdiction. The state does not overrule the building department.
Wisconsin works the opposite way. The Uniform Dwelling Code, chapters SPS 320 through 325 of the Wisconsin Administrative Code, applies statewide to one and two family dwellings. It is not a floor towns build on. It is the code.

| What the code says | Illinois, under the IRC | Wisconsin, under the UDC |
|---|---|---|
| Guard required when the walking surface sits above the surface below by | more than 30 in (IRC R312.1.1) | more than 24 in (SPS 321.04(3)(c)1.a.) |
| Minimum guard height | 36 in (IRC R312.1.2) | 36 in, or up to the underside of a stair handrail (SPS 321.04(3)(c)2.) |
| Largest opening a guard may have | a 4 in sphere must not pass (IRC R312.1.3) | a 4-3/8 in sphere must not pass at 4 lb of force (SPS 321.04(3)(c)3.) |
| Handrail required on a stair with | 4 or more risers (IRC R311.7.8) | more than 3 risers (SPS 321.04(3)(a)1.) |
| Handrail height above the nosing line | 34 to 38 in (IRC R311.7.8) | 30 to 38 in (SPS 321.04(3)(b)1.a.) |
Wisconsin text as published by Cornell’s Legal Information Institute for SPS 321.04. Illinois sections as republished in municipal and county code handouts, since the code text itself is licensed.
One number is the same and four are not. The guard reaches 36 inches in both states. When you need one, how big the gaps may be, when a handrail starts and how low it may sit all change.
The practical version is that 26 inch deck. In Barrington it sits below the 30 inch Illinois trigger and needs no guard. In Kenosha it sits above the 24 inch Wisconsin trigger and needs one.
The opening rule is the expensive one. In Illinois no opening may pass a 4 inch sphere. Wisconsin allows 4-3/8 inches. A baluster layout drawn to the Wisconsin dimension fails an Illinois inspection, and for a builder working both markets that is the direction the mistake runs. A baluster is the vertical piece filling the space between posts. Infill is the general word for whatever does that job: balusters, cable, mesh or a panel.
Guard or Handrail? Two Parts, Two Heights, Two Triggers
This distinction decides whether the numbers above make sense, so it is worth slowing down on.

A guard is triggered by height. A handrail is triggered by riser count. The two triggers have nothing to do with each other, which is why a deck can need one and not the other.
- A low deck with a four step stair. In Illinois the stair needs a handrail at four or more risers, and the deck needs no guard under 30 inches. Wisconsin starts the handrail at more than three risers. This combination fails inspections constantly.
- A tall deck with no stairs. Guard required, no handrail required, because there is no stairway.
- A tall deck with a six step stair. Guard along the deck edge and along the open side of the stair, plus a handrail on at least one side of the flight.
The shapes differ too. A guard has no grip rule. It only has to stop a fall and stop the sphere. An Illinois handrail has to be graspable, roughly 1-1/4 to 2 inches across if circular, continuous along at least one side of the flight, and returned into a wall or post at each end.
InterNACHI, the home inspection association, flags the usual failure: so-called handrails built from 2×6 lumber or decking laid flat on the posts. You cannot wrap a hand around a flat board.
One thing that looks like a mistake and is not. On an open stair in Illinois, the top of the guard may do both jobs at 34 to 38 inches. A homeowner who measures 36 on the deck and 35 on the stair has found IRC R312.1.2 Exception 2, not an error.
Where You Measure From, and Where You Measure To
The datum matters as much as the number. Two builders can both write 36 inches on a drawing and end up four inches apart on site.

- Start at the walking surface, not the framing. Guard height runs from the top of the deck boards, not the rim joist and not the beam. The rim joist is the board around the outside of the frame that the joist ends land against.
- Finish at the top of the guard. The measurement ends at the top of whatever is doing the guarding, which on most decks is the top rail.
- On a stair, use the nosing line. Draw an imaginary line touching the front edge of every tread. Stair guard and handrail heights both run straight up from that sloped line, never from one tread.
- Measure the drop separately. The trigger is a different measurement. It runs from the walking surface down to the floor or the grade below.
That last one carries a clause almost nobody quotes. Under IRC R312.1.1 in Illinois, the drop is measured to the grade below at any point within 36 inches horizontally of the edge. Three things follow.
- A yard that falls away matters. If one corner ends up 31 inches above dirt in Illinois, the trigger is met there, and inspectors generally read the guard as required along that whole open side.
- A second drop further out does not count. A deck 24 inches above a patio that drops off another four feet away is measured to the patio, because the patio is what sits inside the 36 inch band.
- Anything added to the walking surface later subtracts from the guard. Build a raised hot tub platform inside a 36 inch guard and the guard beside it is now shorter than 36 inches.
On a deck that steps down in stages, each level is measured on its own terms, and the level that needs a guard is often not the one people expect. Our piece on elevated decks and what inspectors check walks through the trigger stage by stage when the grade is falling away under you.
How High Can a Deck Be Without a Railing?
In Illinois the guard trigger is more than 30 inches above the floor or grade below, inside that 36 inch horizontal band. Under that, the International Residential Code does not require a guard. In Wisconsin the Uniform Dwelling Code sets the same trigger at more than 24 inches. Three caveats keep that from being the whole answer.
- Stairs still need a handrail. That trigger is riser count, not height. A 14 inch stoop with four risers needs a handrail in Illinois even though nothing on it needs a guard. Most advice online gets this half right, which is worse than getting it wrong.
- Home inspectors use a different number. InterNACHI’s deck guidance says decks more than 12 inches above adjacent areas should have guards. That is a home inspection standard, not the building code. Both documents can be correct at once.
- A railing below the trigger is not a required guard. The sphere rule applies to required guards, so a decorative railing on an 18 inch deck sits outside IRC R312 in Illinois. Plenty of departments enforce the opening limit anyway, and most builders meet the 4 inch rule when small children use the deck.
Post Height Is Not the Same as Railing Height
Searches for deck railing post height are asking one of two questions, and the answers are different numbers.
If the question is how tall the finished post should stand, it follows the guard: tall enough that the top of the guard lands at 36 inches or more off the walking surface, in either state. If the question is how long to cut the stock, it is longer than that, because a guard post does not stop at the deck boards.
On a side mounted post the 4×4 or 6×6 runs down past the decking and bolts to the frame. The American Wood Council’s prescriptive deck guide, DCA 6, calls for guard posts of at least 4×4 nominal with an adjusted bending design value of not less than 1,100 psi, and requires the joist or rim joist it attaches to be at least 2×8 nominal. A 2×6 cannot meet that. So the cut length is guard height plus framing depth plus whatever the top rail detail takes up.
Two rules in the 2021 International Residential Code govern that connection, and Lake County’s own deck guideline states both. Section R507.10.1 requires a continuous load path from the guard into the deck joists, with the joist tied to its neighbors so it cannot rotate, and posts mounted on top of the decking connected to the framing or to blocking. Blocking is short lumber added between joists to give a fastener something solid to bite. Section R507.10.2 prohibits notching a 4×4 guard post at the connection carrying the top load, because a notched post is only as strong as its narrowest section.
There is a ceiling on building tall, and it is not the four foot rule contractors repeat. There is no four foot guard threshold anywhere in the International Residential Code. What is real is that listed railing systems are evaluated only up to a stated height, and in both ICC-ES ESR-5480 and Trex’s CCRR-0202 that height is 42 inches. Build past the listing and you are asking an inspector to accept an untested configuration, which usually means an engineer.
Post count is also the quietest line on a railing quote. Corners, stairs and short runs all add posts, which is why where the money goes on a rail is posts and connections more than the infill people actually shop for. If the frame is still being planned, our walkthrough on how to build a deck covers getting the rim joist and the blocking right before the posts go on.
What Illinois Towns Add on Top of the Baseline
Illinois sets a floor and the town does the rest. Editions vary, amendments vary, and the department that inspects your deck is the only authority that counts. Below is what these jurisdictions published at the time of writing. Confirm before you build.
| Jurisdiction | IRC edition published | Guard note |
|---|---|---|
| Naperville | 2018 IRC | 36 in guard, required over 30 in, 4 in sphere. Local amendment: decks 30 in or higher need hold-down tension devices, either 2 per deck within 24 in of each end at 1,500 lb each, or 4 per deck at 750 lb each |
| Lake County, unincorporated only | 2024 IRC | 36 in, 4 in sphere, no notched guard posts, continuous load path, no end grain withdrawal fasteners. Does not govern any incorporated village inside the county |
| Highland Park | 2024 IRC, effective March 1, 2026 | 36 in. The city’s amendments were reviewed and section R312 is not amended |
| Village of Round Lake | 2018 IRC | 36 in, 4 in max at any opening, handrail at 4 or more risers at 34 to 38 in, posts on top of piers, through bolts with washers both sides |
| Libertyville | 2018 IRC as amended, Ordinance 19-O-17 | Whether the village amends R312 was not confirmed. Ask the building department |
| Deer Park | 2021 IRC as amended | Guard amendments not confirmed. Ask the village |
| Downers Grove | 2021 IRC with village amendments | Guard amendments not confirmed. Ask the village |
| Plainfield | 2021 IRC | No guard or deck amendment identified. Ask the village |
Each row reflects only what that jurisdiction published. Nothing here is inferred from a neighboring town, and a town not listed is not a town with no rules.
Four towns in this market are deliberately absent from that table. Mundelein, Vernon Hills, Grayslake and Aurora, Illinois all publish through portals that did not yield a readable adopted edition, so there is no number to give you. Check with the village before you draw a railing. That is better than a confident wrong answer.
Two traps worth naming. Round Lake, Round Lake Park, Round Lake Beach and Round Lake Heights are four separate villages with four building departments, and the 2018 edition above is the Village of Round Lake only. And a search for Aurora building code turns up pages for Aurora, Colorado. The City of Aurora, Illinois is at aurora.il.us.
On the Wisconsin side the statewide numbers are solid. How much local amendment authority Kenosha, Racine, Pleasant Prairie, Lake Geneva, Waukesha, Brookfield, Menomonee Falls and Oconomowoc exercise on top of them was not researched. Same answer: one phone call before the posts go in.
Frequently Asked Questions
How high does a deck railing need to be?
The guard has to reach at least 36 inches above the walking surface in both Illinois and Wisconsin. On the open side of a stair, Illinois allows the guard to drop to 34 inches measured from the nosing line.
What is the standard height for deck railing?
There is no standard height, only a minimum. 36 inches is the residential minimum in both states. Commercial and multi-family work falls under the International Building Code at 42 inches, and California’s residential code uses 42, so 36 is common rather than universal.
How high can a deck be without a railing?
In Illinois, up to 30 inches above the floor or grade below, measured to whatever sits within 36 inches horizontally of the edge. In Wisconsin, up to 24 inches. Stairs with enough risers still need a handrail either way.
What is the code height for a deck railing?
In Illinois it is IRC R312.1.2, not less than 36 inches. In Wisconsin it is SPS 321.04(3)(c)2., at least 36 inches or up to the underside of a stair handrail. Your town may amend the Illinois figure, so confirm with the department that will inspect the deck.
How high should deck railing posts be?
Tall enough that the top of the guard lands at 36 inches or more off the deck boards. The stock is cut longer, because a side mounted post runs down past the decking to bolt into framing that has to be at least 2×8 nominal.
What is the correct deck hand rail height?
A stair handrail sits 34 to 38 inches above the nosing line in Illinois and 30 to 38 inches in Wisconsin. That is a different part from the guard, with a different trigger: riser count rather than height above grade.
Can a deck railing be too tall?
Illinois sets a minimum guard height and no maximum, but manufactured railing systems are only tested and listed up to 42 inches. Going above that leaves the evaluation report behind, and the building department will usually want an engineered design instead.
The Bottom Line
36 inches answers the question most people ask, and it is the least interesting number in the set. Guard height is the one figure that does not change when you cross into Wisconsin. The trigger does, the opening does, the handrail trigger does and the handrail height does.
So do two things before anything gets cut. Work out which state’s code your address sits under, then call the department that will inspect the deck, because in Illinois that department picks the edition and writes the amendments. Ask three questions: which edition of the residential code do you enforce, do you amend section R312, and do you require hold-down hardware at the guard posts. Those three answers settle almost everything on this page for your address.
And when you are out there with the tape, put the end of it on the deck boards. Not the framing, not the ground. That one habit prevents more red tags than any amount of reading about it.