Which code sets deck railing and stair rules in Idaho?
The 2018 International Residential Code, with Idaho's amendments, sets them. DOPL's list of adopted codes publishes it as the Idaho Residential Code, 2020 Edition, and that is the book plan reviewers across the Treasure Valley work from.
Boise applies the 2018 IRC to residential projects submitted on or after January 1, 2021, according to the city's current-codes page. Caldwell's code resources page lists the same edition. Of the cities we checked, only Kuna and Caldwell publish their own stair or guard numbers, and both match the IRC, so the figures on this page are the ones a deck is measured against from Kuna to Eagle.
Three parts of that code matter here. Section R312 covers guards, the barrier along an open edge that keeps people from falling off. Section R311.7 covers stairways: how tall each step can be, how deep each tread must be, how wide the stair is and when a handrail is required. Section R507 is the deck chapter itself, which handles footings, joists, beams and ledgers; our deck joist span chart walks through its tables.
Keep two thresholds apart from the start. The permit trigger is set by each city, and in Boise and Nampa it begins once a deck sits more than 12 inches above grade. The guard trigger comes from R312 and begins above 30 inches. Those are different questions with different answers, and a low deck can need one without the other.
One more framing note. The values below describe what an inspector measures on a finished deck. They are not a step-by-step build guide, and they don't replace the plan review your city does on your drawings.
When does a deck need a guard?
A guard is required where the walking surface is more than 30 inches above the grade below. That is the R312 rule, and it is the same in every Treasure Valley city that has adopted the 2018 IRC.
Measure at each open edge, from the top of the decking down to the grade below. R312 looks at the ground near the edge, not only the spot directly under the last board, so a bank that drops away just past the rim can count; on a sloped lot, ask the plan reviewer where your city takes the measurement. Yards in the valley are rarely flat. A deck that sits 20 inches up at the back door can be 34 inches up at the far corner once the lawn slopes away toward the fence, so R312 can require a guard along one side and not the other. Check every open side, including the side nobody plans to walk off.
If you plan to change the ground under or beside the deck, measure to the grade the deck will actually end up above. Digging a patio below a deck edge or lowering a planting bed can push a once-exempt edge past 30 inches.
Low decks: permit yes, guard no
In Boise or Nampa, a deck between 12 and 30 inches above grade needs a building permit, but R312 doesn't require a guard on it. You can still add a railing at that height for looks, to stop chairs sliding off, or because small children use the deck. That is a choice, not a code requirement.
Meridian draws the line differently. The city treats any deck attached to the house as an addition that needs a permit. Its exemption covers only detached decks that are 200 square feet or less, 30 inches or less above grade, and not serving the exit door required by R311.4. A low deck off the back of the house in Meridian is therefore a permitted project even when it needs no guard. Our Meridian deck permit guide has the full rule.
How tall must a deck railing be, and how big can the gaps be?
On the deck itself, a guard must stand at least 36 inches tall and no opening may let a 4-inch sphere pass. Along the open side of a stair, the guard may be 34 inches tall and the opening limit loosens slightly.
| Rule | Requirement | Where it applies |
|---|---|---|
| When required | More than 30 in above grade | Deck and porch edges |
| Height | 36 in minimum | Deck edge |
| Height on stairs | 34 in | Along the open side of a stair |
| Opening limit | 4-in sphere can't pass | Guard infill |
| Stair open side | 4⅜-in sphere | Open side of stairs |
| Stair triangle | 6-in sphere | Riser/tread/bottom-rail triangle |
| Post hold-down (DCA 6) | 1,800 lb | Guard posts |
The sphere test is literal. An inspector can hold a 4-inch ball against the infill and see whether it slips through, so the widest gap anywhere in the run is the one that counts. Balusters set 3¾ inches apart at the top rail can open past 4 inches at the bottom if a bottom rail sags or a wood baluster bows after a summer in the sun. Spacing is checked on the finished guard, not on the layout marks.
Height is measured from the walking surface to the top of the guard. On the deck that surface is the decking. On a stair, the guard runs along the slope of the treads, and its minimum drops to 34 inches. Everywhere on the flat part of the deck, the 36-inch minimum holds.
The 6-inch triangle rule covers a gap that is easy to forget. At the bottom of a stair guard, the riser, the tread and the guard's bottom rail form a triangle. That opening may be larger than the 4⅜-inch limit elsewhere on the stair side, but it must still stop a 6-inch sphere.
These height and sphere rules apply to any infill: wood balusters, aluminum pickets, cable or glass panels. The limits don't loosen or tighten with the material. Which material suits your deck is a separate decision, covered in our guide to deck railing materials.

Guard post connections
Inspectors look hard at the connection between each guard post and the deck framing. A guard that meets every height and gap rule still fails its purpose if the post rocks when someone leans on it, and the post-to-rim joint is where that happens.
The American Wood Council's DCA 6 guide is a prescriptive deck reference a plan set can point to for this detail. It is written around a 40 psf live load, and it details a hold-down connection at each guard post rated at 1,800 pounds. DCA 6 is a companion guide, not the code, but it gives a plan a documented detail to cite.
Boise's #406 submittal checklist asks deck applicants for a footing-to-rail section: a cut-through drawing from the bottom of the footing to the top of the guard. That means the post connection is drawn and reviewed before anyone builds it, rather than improvised on site. Applicants also submit a site plan, a framing plan and elevations.
Cable and glass systems bring requirements of their own, such as cable tension and panel thickness. Those depend on the specific railing system and its listing, so we don't publish numbers for them here; the system's installation instructions govern those details.
Checking posts on an existing deck
- Push hard on the top of each post. A post that moves noticeably at the top is a structural problem, not a cosmetic one.
- Look at how the post meets the rim. Posts fastened only with nails, or notched deeply where they meet the rim, deserve a close look on older decks.
- Check the rim and the joist behind it for soft wood. A good post bolted to a rotted rim holds no better than the rim does.
- Measure the guard height from the current deck surface. A thicker new decking board can shave the height of an older guard.
What are the stair rules for rise, run, width and headroom?
Under R311.7, each riser may be no taller than 7¾ inches and each tread no shallower than 10 inches, and steps in one flight must stay within ⅜ inch of each other. Stairs must be at least 36 inches wide, and a single flight may rise no more than 151 inches.
- Riser height: 7¾ inches maximum.
- Tread depth: 10 inches minimum.
- Variation: the largest and smallest riser in a flight, and the largest and smallest tread, may differ by no more than ⅜ inch.
- Width: 36 inches minimum.
- Rise per flight: 151 inches maximum, about 12 feet 7 inches. A stair that climbs higher has to be split into more than one flight.
Kuna's building FAQ restates the stair numbers for homeowners and adds two details: a riser range of 4 to 7¾ inches, so a step can't be too shallow either, and 80 inches of headroom. Kuna also lists the 10-inch run and 36-inch width.
Worked example: stairs for a 30-inch and a 40-inch deck
This is our arithmetic on the R311.7 limits, not a design. Divide the total rise by 7¾ inches and round up to get the minimum number of risers. A deck 30 inches above its landing pad needs at least four risers, since 30 divided by 7¾ is about 3.9. Four equal risers come to 7½ inches each. With the deck surface as the top step, that stair has three treads, so at 10 inches each it needs at least 30 inches of horizontal run. Four risers also means it needs a handrail.
A deck 40 inches up needs at least six risers, because five would each be 8 inches. Six risers come to about 6⅝ inches each, with five treads and at least 50 inches of run. Add the landing area at the bottom and the stair takes more yard than most people sketch, which is why stair placement belongs on the first layout drawing.
The ⅜-inch variation rule is where small site details bite. If a concrete landing pad is poured an inch high or low after the stringers are cut, the bottom riser no longer matches the others and the flight fails. The same thing happens when a new paver landing replaces an old dirt one.
Height adds paperwork too. Boise's #406 checklist calls for stamped engineering on any deck taller than six feet above grade, A stair that climbs past the 151-inch flight limit serves a deck more than 12 feet up, well past that six-foot line, so in Boise any deck tall enough to need a second flight is already an engineered project.
When does a deck stair need a handrail?
Once the stair has four or more risers. The handrail must sit 34 to 38 inches high, a range R311.7, Kuna's FAQ and Caldwell's DWG 12-06 handout all give. A stair with three risers needs no handrail under that rule.
Caldwell's handout adds one more number: a handrail mounted to a wall needs 1½ inches of clearance between the rail and the wall, so a hand can wrap around it.
Don't confuse the handrail with the guard. The guard is the barrier along an open side of the stair, required where that side is more than 30 inches above grade, at least 34 inches tall, with openings that stop a 4⅜-inch sphere. The handrail is the rail you grip, triggered by the number of risers rather than the height. A wide, open stair off a tall deck usually needs both, and a short stair off a low deck may need neither. Ask how the railing system you're considering meets each requirement, because a guard cap that is comfortable to lean on is not always one you can grip.

Kuna and Caldwell handouts vs the 2018 IRC
Both handouts match the 2018 IRC numbers. Kuna adds a minimum riser height and headroom, and Caldwell adds handrail wall clearance.
| Item | 2018 IRC | Kuna FAQ | Caldwell DWG 12-06 |
|---|---|---|---|
| Max riser | 7¾ in | 4–7¾ in | 7¾ in |
| Min tread | 10 in | 10 in | 10 in |
| Width | 36 in | 36 in | Not stated |
| Headroom | Not listed here | 80 in | Not stated |
| Handrail height | 34–38 in | 34–38 in | 34–38 in |
| Handrail trigger | 4+ risers | 4+ risers | Not stated |
| Handrail wall clearance | Not listed here | Not stated | 1½ in |
| Guard height | 36 in | Not stated | 36 in min |
| Guard opening | 4-in sphere | Not stated | 4 in max |
| Max rise per flight | 151 in | Not stated | Not stated |
"Not stated" means the handout doesn't mention the item, not that the city waives it. Both cities review to the 2018 IRC, so the IRC column still applies in Kuna and Caldwell. "Not listed here" marks IRC sections we haven't reproduced on this page.
Caldwell's DWG 12-06 is a full porch and deck section, so it also covers the framing below the guard, starting with footings 24 inches below grade; our deck joist span chart walks through that part. Kuna's FAQ answers homeowner questions, including what an owner may do on their own primary residence. Our Caldwell deck permit and Kuna deck permit guides cover the application side.
Permit trigger vs guard trigger by city
The guard rule is the same across the valley; the permit trigger is not. This table puts the two side by side.
| Jurisdiction | Deck permit trigger | Guard required |
|---|---|---|
| Boise | More than 12 in (Boise permit guide) | More than 30 in |
| Nampa | More than 12 in (Nampa permit guide) | More than 30 in |
| Kuna | Over 30 in, or any attached structure (Kuna permit guide) | More than 30 in |
| Star | 30 in or more (Star permit guide) | More than 30 in |
| Meridian | Any attached deck; detached over 200 sq ft, over 30 in, or serving the exit door (Meridian permit guide) | More than 30 in |
| Caldwell | Decks require separate permits (Caldwell permit guide) | More than 30 in (DWG 12-06: 36-in guard) |
| Canyon County (2011 guide, dated) | Over 30 in | More than 30 in |
| Eagle / Garden City | Exemption not published (Eagle · Garden City) | More than 30 in |
In Boise and Nampa, a deck two feet off the ground needs a permit but no guard. In Kuna and Star the two thresholds sit together at 30 inches, though Kuna also requires a permit for any structure attached to the house, and Star's rule starts at 30 inches or more, so a deck exactly 30 inches up there needs a permit and still falls short of the guard trigger. Canyon County's figure comes from a 2011 reference guide that predates the current code, so confirm it with the county. Eagle and Garden City don't publish a low-deck exemption we could find; ask the building department before assuming a small deck is exempt.
Do historic districts or HOAs add railing rules?
They can. Boise's historic design guidelines govern how railings and stairs are repaired or replaced on homes in its residential historic districts, and many subdivisions set their own rules on top of the code.
Boise historic districts
Boise's 2014 Residential Historic District Design Guidelines cover five residential districts: Warm Springs Avenue, East End, Harrison Boulevard, North End and Hays Street. For repeated features such as balustrades, columns and stairs, the guidelines call for replacing deteriorated parts using the remaining original parts to set the material, color and design. A porch beyond repair is rebuilt with identical materials where possible.
The city's Certificate of Appropriateness list names decks among the projects that need one. The city lists staff review at 15 days, followed by a 10-day appeal period before a building permit can be pulled. Plan on roughly 25 days in front of the permit itself, so a historic-district railing replacement needs lead time.
Harris Ranch
The Harris Ranch Specific Plan's design guidelines (Chapter 3) ask that railings be finished consistently, and allow stained wood only where it is consistent with other stained elements on the home. Deck and balcony undersides visible from below must be finished consistently with the adjacent finish. The Harris Ranch Review Board may grant exemptions on architectural merit.
HOAs elsewhere
Most HOA rules on railings deal with color, material and style rather than the code numbers. Eagle's submittal checklist asks for HOA approval as a signed and dated letter, not an email chain, and Star tells applicants to start with their HOA because the city has no authority over HOA rules. Our HOA deck approval guide covers timing and what to submit.
What do railings and stairs cost?
Published installed railing ranges run from $20 to $210 per linear foot depending on the material and the source, and stairs are priced per step. These are third-party benchmarks, not Valley Decks prices.
| Material | Iron Crest Boise $/lf | Fixr 2023 $/lf installed |
|---|---|---|
| Wood | $20–$35 | $30–$50 |
| Aluminum | $30–$50 | $45–$85 (listed as metal) |
| Composite | $35–$60 | $80–$165 |
| Cable | $50–$80 | $115–$175 |
| Glass | $70–$120 | $140–$210 |
| Item | Published range | Source |
|---|---|---|
| Deck stairs | $150–$350 per step | Iron Crest Remodel (Boise) |
| Wood stairs, pre-cut stringers | $75–$200 per step | Fixr (national, January 2023) |
| Metal stairs | $225–$450 per step | Fixr (national, January 2023) |
Iron Crest's figures are local; Fixr's are national and older, and they run higher for every material, by the widest margin for composite, cable and glass. Code feeds into the cost: a stair with four or more risers adds a handrail run, and guards along both open sides of a stair are cut to the stair angle. Our deck railing cost guide breaks the numbers down by deck size, and the deck cost calculator gives a starting range for the whole project.
Shortcuts that fail inspection
How we handle it: the plans show the footing-to-rail section and the stair layout, including riser count and landing, before anything is built, so the numbers on this page are settled on paper first. Boise's inspections page confirms a footing inspection before concrete is placed; the rest of the sequence is commonly described as framing and final, but confirm it with the city that issues your permit. Each of these shortcuts breaks a rule above:
- A 34-inch guard on the deck edge. The 34-inch figure only applies along the open side of a stair; the deck edge needs 36 inches.
- Measuring baluster gaps at the post instead of the widest point in the run. The sphere test finds the biggest gap, wherever it is.
- A four-riser stair with no handrail because "it's only a few steps".
- Mixed riser heights beyond ⅜ inch after a new landing pad, paver patio or regrade changes the bottom step.
- Re-railing an old deck on loose posts. New infill on a post that rocks still fails the moment someone leans on it.
- Forgetting the triangle at the bottom of the stair guard, where a 6-inch sphere must not pass.
- Assuming a deck under 30 inches needs no permit in Boise. The city's trigger is 12 inches; the 30-inch number is the guard rule.
Related resources
For materials and looks, read our deck railing options guide; to have railings or stairs rebuilt, see deck railings and stairs. The framing under the guard is covered in the deck joist span chart, the deck-to-house connection in deck ledger board repair, and the permit side in our Boise deck permit guide. For layouts on decks tall enough to need guards on every side, browse our raised deck ideas. When you have a layout, request an estimate.
Frequently asked questions
- Does a deck under 30 inches need a railing in Idaho?
- Not under the 2018 IRC. Section R312 requires a guard only where the walking surface is more than 30 inches above the grade below. Measure each open edge, because a sloped yard can put one side over 30 inches. A low deck may still need a permit: Boise and Nampa require one above 12 inches, and Meridian requires one for any attached deck.
- What is the 4-inch sphere rule for deck balusters?
- No opening in a deck guard may let a 4-inch sphere pass through, under 2018 IRC R312. Inspectors check the widest gap anywhere in the run, so a sagging bottom rail or a bowed baluster can fail an otherwise good guard. The open side of a stair allows a 4⅜-inch sphere, and the triangle at the bottom of a stair guard must stop a 6-inch sphere.
- Can the railing along deck stairs be lower than the deck railing?
- Yes. The 2018 IRC allows a guard along the open side of a stair to be 34 inches tall, while a guard on the deck edge must be at least 36 inches. The stair guard's openings may also be slightly larger, stopping a 4⅜-inch sphere instead of a 4-inch one. On the flat part of the deck, the 36-inch minimum still applies.
- How many steps can a deck stair have before it needs a handrail?
- Three risers. A stair with four or more risers needs a handrail mounted 34 to 38 inches high under 2018 IRC R311.7, and Kuna's building FAQ and Caldwell's deck handout give the same numbers. Caldwell's handout also asks for 1½ inches of clearance where a handrail runs along a wall. The handrail is separate from any guard the stair needs.
- What is the maximum riser height for deck stairs in Idaho?
- 7¾ inches, under the 2018 IRC that Idaho adopts. Treads must be at least 10 inches deep, stairs at least 36 inches wide, and the tallest and shortest risers in a flight may differ by no more than ⅜ inch. Kuna's FAQ adds a 4-inch minimum riser and 80 inches of headroom. A single flight may rise no more than 151 inches.
- Does Boise require a permit for a low deck that doesn't need a railing?
- Yes, once the deck is more than 12 inches above grade. Boise's residential construction guide sets the permit trigger at 12 inches, while the 2018 IRC only requires a guard above 30 inches. A deck between those heights needs a permit and plans but no guard. Nampa uses the same 12-inch permit trigger, so the same gap applies there.
Sources
- Idaho DOPL — Adopted building codes (2025 update)
- City of Boise — 301 Current Building Codes (2018 IRC design criteria)
- 2018 IRC as adopted in Idaho, Chapter 3 (R301.5 live loads, R311 stairs, R312 guards) — UpCodes
- American Wood Council — DCA 6, Prescriptive Residential Wood Deck Construction Guide (2015 IRC basis)
- City of Caldwell — Typical Porch/Deck Section handout (DWG 12-06)
- City of Kuna — Building FAQs (homeowner work, stairs, window wells)
- City of Boise — Guide to Residential Construction (brochure, updated 5/2023)
- City of Boise — #406 Residential Addition, Alteration & Accessory Building Submittal Checklist (July 2025)
- City of Boise — Building Inspections
- City of Meridian — Residential Detached Accessory Structures handout (rev. 3/15/2021)
- City of Nampa — Residential FAQ (deck height threshold)
- City of Star — Building FAQ (deck and patio cover permit triggers)
- City of Kuna — Residential Building Information (decks over 30 in, attached structures)
- City of Eagle — New Residential Building/Addition Submittal Checklist (2023)
- City of Boise — Residential Historic District Design Guidelines (2014)
- City of Boise — Certificate of Appropriateness (historic districts)
- City of Boise — Harris Ranch Specific Plan, Ch. 3 Architectural and Landscape Design Guidelines
- Iron Crest Remodel — Boise deck pricing (read October 2026)
- Fixr — Cost to build a deck (updated January 2023, national)
Last reviewed .







