Cable Railing for Stairs: Tension, Spacing, and Code
Learn cable railing for stairs: IRC guard and handrail rules, 3-inch spacing that passes the 4-inch sphere test, how tight cables should be, post spacing, and a tensioning sequence that stays tight.

Cable railing looks simple: thin stainless lines, slim posts, and an open view. On a staircase, that simple look hides a guard system that must stop a fall, resist a push, and stay tight enough that a child cannot squeeze through. Most failures are not broken cables. They are posts that flex, spacing that is too wide, or tension that was never checked after the first week. This guide covers code, spacing, and tension, plus post layout, cable choice, and an installation order that keeps every run even.
How Cable Railing Works on a Stair
A cable railing is a guard system, not just a handrail. The posts and top rail carry the load, and the cables fill the space between them so nobody can fall through. A handrail is something you grip while you walk. A guard is a barrier that stops you falling off an open side, a landing, or a stair well. On many systems the top rail does both jobs, so it must be gripable and strong enough to act as a guard rail. If your top rail is flat, wide, or hard to grip, you may still need a separate handrail at the correct height.
What Code Actually Requires
For most US homes, the starting point is the International Residential Code (IRC), Section R312 for guards. A guard is required on the open side of a stair where the drop is more than 30 inches above the floor or grade below, and it must be at least 36 inches high, measured vertically from the nosing line to the top of the guard. The 4-inch sphere rule in IRC Section R312.1.3 says openings in a guard must not allow a 4-inch diameter sphere to pass through. That applies between cables, between a cable and the top rail, and between the lowest cable and the tread.
Guards must also resist loads, including a 200-pound concentrated load at the top of the guard. In practice, posts, post bases, and the top rail matter far more than the cable itself. Handrail rules are separate: under IRC Section R311.7.8, a handrail must sit between 34 and 38 inches above the nosing line, be continuous, and be gripable. Confirm the adopted code in your town before drilling, because local amendments can change these numbers.
Cable Spacing That Passes the 4-Inch Sphere Test
Deflection is what catches people out. A cable that measures 3 inches from its neighbor at rest can spread wider when a child pushes on it. That is why most manufacturers specify spacing well under 4 inches, commonly about 3 inches on center, with some systems using 3-1/8 inches. Plan for 3-inch spacing on center, and never plan for 4-inch spacing. At 3-1/2 inches or more, a firm push can open the gap past the limit, and an inspector can fail the run even if it looks tight at rest.
A 36-inch guard usually needs 10 to 11 cables at 3-inch spacing, depending on exact height and where the lowest cable sits. Keep the lowest cable about 3 inches above the tread nosing line as a starting point, then use even spacing up to the underside of the top rail.
Tension: How Tight Is Tight Enough
The IRC does not publish a single tension number in pounds for every cable railing. Tension is set by the system manufacturer, and those instructions are part of a code-compliant installation. Follow the kit or fitting maker specification, and keep it with your permit paperwork. As a field check, a correctly tensioned cable feels firm and moves only a small amount under hand pressure, roughly 1/4 to 1/2 inch sideways at the middle of a short run, and it springs straight back. If you can push a cable 1 inch or more sideways, or pull two cables apart enough to pass a 4-inch ball, the run is too loose.
A tension gauge gives a repeatable reading and is worth buying or renting for a whole-house job. New cable stretches, so recheck after a few days, again after about a month, and then at least once a year.
Post Spacing and End Post Strength
Cable tension pulls posts toward each other. If end posts are weak, they lean in, cables sag, and the run looks tired within weeks. End posts, corner posts, and posts at a change of direction must be the strongest posts in the system. Through-bolt them into framing, a post base rated for cable loads, or a structural newel, not just into a tread board or a thin cap. Intermediate posts keep cables from spreading and limit deflection. A common maximum is 4 feet between posts on a stair run, and many manufacturers require less, especially on longer runs or where the top rail is light.
Choosing Cable, Fittings, and Materials
Most residential systems use 1/8-inch or 3/16-inch stainless steel cable with a 1 by 19 construction, meaning 19 wires in a single strand. That construction is stiff, holds tension well, and looks clean. For outdoor stairs, use 316 grade stainless steel, which resists corrosion far better than 304 grade in rain and coastal air.
Fittings are either swaged, crimped onto the cable with a special tool, or mechanical, gripping the cable with a wedge or screw. Use fittings rated for your cable size and for guard use, not generic hardware store cable clamps.
Measuring, Layout, and Installation Order
Confirm the stair numbers first with a stair calculator so you know total rise, riser count, and the nosing line before marking posts. The nosing line is the sloped line touching the front edge of each tread nosing, and it is the reference for both guard height and handrail height.
Mark cable holes with a story pole, a straight board marked with every cable height and held along the slope, so spacing stays even on each post. Install posts and the top rail first, and confirm guard and handrail heights before any cable goes in. Then run cables loosely and tension in rounds, from the middle outward, rechecking the first cables after the last ones are done.
Common Mistakes and Maintenance
The most common mistake is spacing posts too far apart and then trying to fix sag with extra tension. Extra tension bends posts and overloads fittings, and still leaves a wide span that deflects under a push. The fix is an intermediate post, not a harder pull. A lowest cable 5 inches above the tread fails the sphere rule even if every other gap is perfect.
Cable railing is low maintenance, not no maintenance. Check tension, fittings, and post bases at least once a year, and after any heavy impact. Look for frayed wires, rust stains at fittings, and loose post bases, and replace a frayed cable rather than repairing it with a clamp. If one run keeps losing tension, look for a flexing post or slipping fitting instead of just tightening again.
Frequently Asked Questions
How far apart should stair cable railing cables be?
Plan for about 3 inches on center. Never plan for 4-inch spacing, because any deflection under a push can open the gap past the limit.
What tension should stair cable railing be set to?
There is no single IRC tension number. If two cables can be pulled apart past 4 inches, the run is too loose.
Can cable railing be used as a handrail?
It can, but only if the top rail also meets IRC Section R311.7.8: 34 to 38 inches above the nosing line, continuous, and gripable. A flat or very wide top rail may meet guard rules but fail as a handrail, in which case you need a separate gripable handrail as well.
How far apart can cable railing posts be on stairs?
Many systems allow up to 4 feet between posts, and some require less. Follow your manufacturer limit, and add an intermediate post if a run deflects too much or fails the sphere test. End and corner posts need the strongest bases, because they carry the full cable tension.
How often should cable railing be retensioned?
Recheck after a few days, again after about a month, and then at least once a year. If a run keeps losing tension, look for a flexing post or a slipping fitting instead of just tightening the cable again.
For standard stair dimensions, including guard height, handrail height, and landing size, see our guide to standard stair dimensions.
Cable railing rewards careful layout and honest tension checks. Set the posts strong, space the cables at about 3 inches, tension in even rounds, and recheck after the cable settles. Do those four things, and you get the open look you wanted, with a guard that still passes the 4-inch sphere test and stays tight year after year.