Basement to Roof

Building and Structure

Balcony Railing Height: Code Minimums and Height Table

Updated

Many cities and some states amend the model-code guard heights upward. Some require 42 inches even on single-family homes. Call the local building department before ordering materials, because the locally adopted code is the one that applies.

Balcony Railing Height Table

Situation Governing code Minimum guard height Notes
Single-family home, duplex, townhouse balcony or deck IRC 36 in. Required when the surface is more than 30 in. above grade within 36 in. of the edge
Open side of stairs (residential) IRC 34 in. Measured vertically from the line connecting the stair nosings
Apartment or condo balcony inside an individual unit, building 3 stories or fewer, separate exits IBC 36 in. IBC exception for R-2 and R-3 units
Apartment or condo balcony in taller buildings, plus common walkways, corridors and roof decks IBC 42 in. Standard IBC guard height
Commercial, restaurant, office or retail balcony IBC 42 in. Higher loads also apply (see below)
Local amendment jurisdictions Varies Often 42 in. Verify with the local building department
Handrail on balcony stairs (graspable rail, not the guard) IRC / IBC 34–38 in. Measured from the stair nosings. A guard can double as a handrail only if it meets the grip-size rules

Is a guard required at all?

Height of walking surface above grade or floor below Guard required?
30 in. or less (everywhere within 36 in. of the edge) No, though it is often a good idea
More than 30 in. at any point within 36 in. of the edge Yes
Any second-story or higher balcony Yes, essentially always

The "within 36 inches horizontally" part catches many people out. A low deck can sit only 24 inches above grade at its edge, but if the ground falls away or a retaining wall drops off within 3 feet of that edge, the measurement is taken at the lowest point. That deck needs a guard.

How Railing Height Is Measured

  • Start from the walking surface, meaning the finished top of the decking, tile or membrane. Do not measure from the joists or the framing.
  • Measure to the top of the guard, meaning the top of the cap rail.
  • Re-measure after any resurfacing. A balcony that gets a new tile-over-mortar-bed or a raised paver system can lose 1 to 3 inches of guard height. A rail that was legal at 36 inches can fail at 34 inches after the floor is raised. This is one of the most common failures on balcony remodels.
  • Fixed benches, planters and built-in seating next to the guard effectively raise the walking surface. A child can stand on a bench built against the rail. Many inspectors will measure guard height from the top of that bench. Either keep fixed seating away from the guard or raise the guard behind it.
  • On stairs, measure from a sloped line connecting the leading edges (nosings) of the treads.

Opening Size Rules (Balusters, Cables, Glass Gaps)

Guard height alone does not make a balcony safe. The openings matter just as much, because a small child can slip through.

Location Maximum opening
Between balusters, pickets or cables, from the floor up to 36 in. A 4-inch sphere must not pass through
Gap between the bottom rail and the balcony surface A 4-inch sphere must not pass through
Triangle formed by the tread, riser and bottom rail on stairs A 6-inch sphere must not pass through
Openings on the open side of stairs (IRC) A 4-3/8-inch sphere must not pass through
IBC guards, from 36 in. up to 42 in. A 4-3/8-inch sphere must not pass through (at the 42 in. height tier)

Inspectors carry a 4-inch ball or cone. Pickets spaced at 4 inches on center with 1.5-inch-wide stock leave a 2.5-inch gap, which passes. Pickets spaced at 4 inches clear fail as soon as the wood shrinks or a fastener loosens. Aim for about 3.5 inches clear to leave a margin.

Cable rail and the 4-inch rule: Cables deflect when pushed. Cables set at 3-inch spacing can open to more than 4 inches under hand pressure if they are under-tensioned or the posts are too far apart. Cable systems generally need intermediate posts or spacers every 3 to 4 feet and heavy, well-anchored end posts to resist the tension. Follow the manufacturer's spacing and tensioning instructions exactly, because inspectors will push on the cables.

Strength: The Part That Actually Fails

A guard that is tall enough but wobbles is a failed guard. The codes require:

Load IRC (homes) IBC (commercial and multifamily)
Concentrated load on top of the guard, applied in any direction 200 lb 200 lb
Uniform load along the top rail n/a 50 lb per linear ft
Infill components (balusters, panels, cables) 50 lb over 1 sq ft 50 lb over 1 sq ft

A 200-pound load at the top of a 36-inch post creates a large prying force at the base, roughly 1,800 lb or more of tension on the post connection, depending on the framing. That is why so many balcony rails loosen within a few years.

Post connections that work

  • Solid 4x4 posts at most 6 feet on center, through-bolted to the rim or end joist with two 1/2-inch bolts. Lag screws alone are not enough.
  • Blocking and hold-down hardware. Widely used prescriptive deck guidance calls for tension hardware rated about 1,800 lb that ties the post (or the rim joist) back into the adjacent joists. Without it, the rim joist rolls outward and the post leans.
  • Do not notch 4x4 posts down to 2x2 at the connection. A notched post is a common cause of guard failure.
  • Surface-mounted metal posts (aluminum or steel base plates on a concrete or membrane balcony) need anchors sized for the manufacturer's tested loads and solid structure below. Plates screwed into plywood sheathing alone will not hold. On waterproofed balconies, every anchor hole is a potential leak. Seal penetrations per the membrane manufacturer, or use fascia-mounted posts instead.
  • Manufactured systems (aluminum, composite, glass, cable) should be installed with the manufacturer's specified post spacing and mounting hardware. Inspectors may ask for the product's evaluation report or installation instructions on site. Keep them on hand.

Glass Balcony Railings

  • The glass must be safety glazing, either tempered or laminated, and part of a system rated as a structural guard.
  • Under the IRC, guards made of structural glass panels generally need an attached top rail or handrail supported by at least three panels, so the rail stays in place if one panel breaks. The common exception is laminated glass with two or more plies of equal thickness and the same glass type. Some jurisdictions also require building official approval to drop the top rail.
  • Commercial and multifamily (IBC) glass guards have their own rules, often requiring laminated glass. Confirm the requirements with the local building department.
  • Frameless glass in a base shoe carries the highest cost and the strictest installation tolerances. Follow the shoe manufacturer's anchor schedule exactly.

Horizontal Rails and "Climbability"

The model IRC and IBC do not generally ban horizontal infill, such as horizontal boards, cables or "ladder" style rails. Some local jurisdictions do ban or restrict them because toddlers can climb them. If the plan is horizontal cable or a horizontal slat design, ask the building department before buying anything. That one phone call prevents the most expensive mistake on this page.

What Balcony Railing Costs (Late 2026 Ballpark)

Prices vary widely by region, height (42-inch systems cost more than 36-inch), stair sections and mounting type. Use these as planning ranges, then get local bids.

Railing type Materials only, per linear ft Installed, per linear ft
Pressure-treated wood $15–$35 $20–$60
Composite (rail kits) $30–$55 $50–$100
Aluminum (picket or panel kits) $25–$75 $60–$190
Cable (stainless) $60–$160 $100–$250+
Glass (post-and-panel or frameless) $170–$565 $200–$600+
Stair rail sections (any material) — Typically 1.5–2× the level-run price

Upper-story balconies often need scaffolding or lifts. On condo and apartment buildings, guard work may also require an engineer's letter. Both can add significantly to the installed price.

How to Build a Balcony Railing That Passes Inspection

  1. Pull a permit. Most jurisdictions require one for new guards or for replacing more than a section or two, and nearly all require one on upper-story balconies.
  2. Confirm the local height (36 or 42 inches), opening rules and any horizontal-infill restriction before ordering materials.
  3. Check the structure first. On an existing balcony, probe the rim joist, ledger and post bases with an awl. Soft wood at the outer edge means the guard has nothing to hold onto. Replace rotted framing before building the rail. Because the ledger, beam and posts carry every guard load, balcony framing has to be sound before any rail goes on.
  4. Lay out the posts at a maximum of 6 feet on center for wood, or at the manufacturer's spacing for kits. Put a post at every corner and at both ends of every run.
  5. Install blocking and hold-down hardware behind each post before closing anything in.
  6. Through-bolt the posts with galvanized or stainless hardware rated for the treated lumber or the coastal exposure.
  7. Set the top rail height from the finished walking surface, adding any planned tile or pavers. Add a half inch above the minimum for margin.
  8. Install the infill with less than 4 inches of clear space, and keep the bottom rail within 4 inches of the floor.
  9. Test it yourself. Push hard on the top of each post, sideways and outward. Pass a 4-inch ball through every gap and under the bottom rail. Any visible movement or ball pass-through is a failure.
  10. Schedule the inspection before adding any trim that would hide the post connections. Inspectors often want to see the bolts and hardware.

Most Common Inspection Failures

  • Guard measured from the framing instead of the finished surface, or a raised floor that dropped the guard below the minimum
  • Posts attached with lag screws only, with no tension hardware
  • Notched 4x4 posts
  • Gap under the bottom rail larger than 4 inches
  • Slack cables that open past 4 inches under pressure
  • Built-in benches or planters against a 36-inch guard
  • Stair guard triangle openings larger than 6 inches
  • Guards wobbling at the post base on surface-mounted systems
  • Glass panels with no top rail where one is required

FAQ

What is the standard balcony railing height for a house? 36 inches minimum under the IRC, unless the local code requires 42 inches.

What is the balcony railing height for an apartment or condo? Generally 42 inches. Balconies inside individual units in buildings of three stories or fewer that have separate exits may be allowed at 36 inches. Common areas use 42 inches.

Is a railing taller than the minimum a problem? No. There is no maximum guard height, only a minimum. Many owners choose 42 inches on upper-story balconies even where 36 inches is legal, because the extra height feels noticeably safer when leaning on the rail.

Do balconies less than 30 inches high need a rail? Not by code, as long as no point within 36 inches of the edge drops more than 30 inches. If a rail is installed anyway, it should still be built to the guard rules. A weak decorative rail invites people to lean on it.

Can an old balcony railing that was legal when built stay as is? Existing guards are generally allowed to remain if they were legal when built and are still sound. Once the guard is replaced or substantially rebuilt, the new work must meet the current code. A loose or rotted guard is a safety hazard regardless of its age and should be repaired immediately.