OUTDOOR HARDSCAPE GUIDE 2026 Paver Durability, Travertine Heat Ratings & Turnkey Cost Breakdowns
DIY & Maintenance

How to Build Deck Stair Railing for a Pool Deck

Part of our guide

Dave Hendrick
Hardscape & Outdoor Living Editor
12 min read
How to Build Deck Stair Railing for a Pool Deck
Share Guide:

A stair rail on a pool deck does two jobs at once: it gives wet hands a grip on the way down, and it keeps a fall from turning into a fall into the water. This guide builds a railing for a typical 5-step pool deck stair — 35 inches of total rise, 4 posts, 20 balusters, about 12 linear feet of railing — with the code numbers, the material costs, and the checks that catch mistakes before the inspector does. If you want the material comparison first, read our pool deck railing ideas guide; if you need a handrail on a ladder or a pool entry, see our pool handrails guide instead.

What You Will Need: 8 Tools and 6 Materials

Buy the materials after you measure, not before — the rail length depends on your stair angle, and the angle depends on your rise and run. Tools: 25 ft tape measure, 4 ft level, 12 in speed square, 10 in or 12 in miter saw, drill and driver with a 1/8 in pilot bit, 1/2 in drive socket wrench, digital or protractor angle finder, and a 12 ft string line. Materials for a 2-sided stair: 4 posts (4×4, pressure-treated or matching rail material), top and bottom rails (2×4, both sides), 20 balusters (1.5 in wide), handrail stock with a grip of 1.25 to 2 in, 3 in exterior structural screws, and 1/2 in through-bolts with 4 post brackets.

Step 1: Measure the Stair and Mark the 34 to 38 Inch Handrail Height

Pool deck stair with railing showing 34 to 38 inch handrail height and 36 inch guard above the deck
Measure handrail height from the nosing line, not from the tread surface.

Start with 2 numbers: the total rise and the total run. On our worked stair, 5 risers at 7 inches give 35 inches of rise, and 4 treads at 11 inches give 44 inches of run. The slope between them is 56.2 inches, and the stair angle is 38.5 degrees. Measure your own stair the same way.

Mark the handrail line next. Handrails are required on any flight with 4 or more risers, and the grip must sit 34 to 38 inches above the nosings. That range is measured from the nosing line — the imaginary line through the front edges of the treads — not from the tread surface. Run a string line at 36 inches above the nosings on both sides and mark where it crosses each post location. Those marks are where the top of your handrail goes.

Three more numbers decide the rest of the build. A guard at least 36 inches high is required wherever the walking surface sits more than 30 inches above the grade below. Openings in the guard must reject a 4 inch sphere, a 6 inch triangle where the stair meets the guard, and a 4-3/8 inch sphere at an open riser. And the stair itself must stay inside the standard limits: maximum riser 7-3/4 inches, minimum tread 10 inches, minimum stair width 36 inches. If your stair breaks any of those, fix the stair first — no railing makes a bad stair safe.

Step 2: Pick 1 of 5 Railing Materials for Pool Use

Wood stair railing on a pool deck beside a blue in-ground pool
Wood costs least up front and needs restaining every 2 to 3 years in pool conditions.

Pick the material before you buy posts, because the post size and the hardware change with it. Wood is the cheapest and the easiest to cut on site. Aluminum costs more but needs almost no upkeep and never rots. Cable keeps the view open and reads modern, but it needs a yearly tension check and stainless hardware. Vinyl and composite sit in the middle on price and need only a wash.

Material Installed cost per lin ft 10-year upkeep Best for a pool deck
Wood $20-$50 Restain every 2-3 years Lowest budget
Vinyl $25-$60 Wash only Low upkeep
Composite $35-$100 Wash only Matches a composite deck
Aluminum $50-$115 Wash only No rot, no rust
Cable $110-$230 Yearly tension check Open view

Installed railing runs $20 to $50 a linear foot for wood, $50 to $115 for aluminum, and $110 to $230 for cable. For our worked stair — about 12 linear feet on 2 sides — that means $240 to $600 for wood, $600 to $1,380 for aluminum, and $1,320 to $2,760 for cable, installed.

Two pool-specific rules narrow the choice. First, if your pool is salt water, use 316 stainless hardware and fittings — 304 stainless rusts near salt water, and a rusted cable fitting is a failure you find by falling. Second, the stair rail is not a pool barrier. The fence that keeps kids out of the pool is a separate 48 inch barrier with its own rules; this rail is for people already on the deck. Read our pool deck safety codes and standards guide for the barrier numbers.

Step 3: Set 4 Posts With Blocking and Through-Bolts

Deck stair post set with through-bolts and solid blocking under the tread
A post held by screws alone will wobble within a year; blocking and through-bolts hold it still.

Set 4 posts: one at the top and one at the bottom of each side. A post held by screws into deck boards alone will wobble within a year — screws pull out of a board edge under sideways load, and a stair rail takes sideways load every time someone leans on it. Anchor each post to solid blocking under the deck, or to the stair stringer, with 1/2 inch through-bolts. If your deck has no blocking where the posts land, add it first: cut a short 2×6 or 2×8 block, fit it tight between the joists, and fasten it with 3 inch structural screws.

On a longer flight — more than about 8 feet of slope — add a middle post so no rail span exceeds 6 feet. Check each post plumb with the 4 ft level in both directions before you tighten the bolts. A post that is 1 degree out at the base is 1 inch out at a 36 inch guard height.

Bolt the posts long, mark the rail line and the guard line from the string line, then cut. A small measuring error costs a pencil mark, not a post.

Step 4: Cut the Rails to the 38 Degree Stair Angle

Cutting a stair rail at the stair angle with a miter saw on a pool deck
Cut both rails from one measured angle so the two sides match.

Read the angle off the stair with the angle finder, placed on the nosing line. On our worked stair it reads 38.5 degrees. Cut the top and bottom rails at that angle on the miter saw, both sides from the same setting so they match. A rail cut 2 degrees off will not sit flush in its bracket, and the gap shows from the pool.

Measure the rail length along the slope, not along the flat. Each side needs 56.2 inches of slope, plus 6 inches past each post for mounts and cuts — 68.2 inches, or 5.7 feet, per side. Both sides need 11.4 linear feet, so buy 12 to cover cuts and waste. Mark the baluster positions on the bottom rail before you cut it: with 1.5 inch balusters and an opening under 4 inches, the pitch is 5.5 inches at most, which gives 10 balusters per side on a 56.2 inch slope.

If you are using a kit, check the kit’s rail length against your slope before you open the box. Most kits are sized for a 6 foot or 8 foot flat run, and a stair run is shorter than the flat run it replaces. A kit that is 6 inches short cannot be stretched.

Step 5: Install the Rails, Balusters, and Handrail in 6 Moves

Work one side at a time and do not tighten anything fully until the whole side is in place. Loose-fit first, check the lines, then tighten.

  1. Fasten the bottom rail to the posts at the marked line, with the baluster marks facing up.
  2. Fasten the top rail to the posts, parallel to the bottom rail, and check both against the string line.
  3. Set the balusters into the bottom rail marks, one at a time, and check each opening with a 4 inch ball or a 4 inch block — if it passes, move the baluster.
  4. Fasten the balusters to the top rail and check the whole side for racking: the rails should stay parallel when you push the middle.
  5. Mount the handrail on brackets above the top rail, with the grip 34 to 38 inches above the nosings and a grip diameter of 1.25 to 2 inches.
  6. Tighten every bolt and screw, then load-test the side: push the top rail sideways with your full body weight. It should not move.

Grip size matters more at a pool, because wet hands slip. A 2×4 on edge is 3.5 inches wide — too big to grip wet, and it fails the 1.25 to 2 inch grip rule. Use a round or oval handrail profile in that range, continuous from the top step to the bottom step.

For cable railing, tension each cable to the maker’s spec with a tension gauge after step 4, then press the middle of the longest span — it should not deflect more than 4 inches. Cable stretches in the first month, so plan a second tension check 30 days after install.

Step 6: Run the 4 Inch Sphere Test and 5 Final Checks

Finished cable stair railing beside an in-ground pool with a dry slip-resistant deck
A finished stair rail should feel solid at the top post, with no gap a 4 inch ball can pass.

Do this check before you call the build done, not after the inspector arrives. Walk the whole stair with a 4 inch ball, a tape measure, and the level.

  1. Pass the 4 inch ball along every opening between balusters, under the bottom rail, and at the stair-side triangle. It must not pass anywhere.
  2. Measure the handrail height at the top step, the middle step, and the bottom step. All 3 readings must sit between 34 and 38 inches above the nosings.
  3. Measure the guard height on the deck side. It must be at least 36 inches where the deck sits more than 30 inches above the grade.
  4. Push the top rail sideways at the middle of each side. No movement, no creak, no bolt flex.
  5. Rinse the rail with a hose and grip it with wet hands. The grip should feel secure, not slick. If it feels slick, add a textured grip sleeve or swap the handrail profile.

If any check fails, fix it now. A rail that is 33 inches high at the bottom step is a rebuild of one side — a 2-hour rebuild if you catch it before the sealant and paint go on.

When a Kit or a Pro Is the Better Call: 3 Questions

Answer 3 questions honestly before you buy lumber.

Do you have a miter saw and a drill, and have you cut an angle before? If not, a kit with pre-cut rails and brackets costs more per foot but removes the two hardest cuts. A wood kit for a 5-step stair typically runs $300 to $600 in materials for both sides.

Is the stair taller than 4 feet, or does the deck sit more than 30 inches above grade? A taller stair means a longer rail, more posts, and a 36 inch guard. A pro crew finishes in 1 to 2 hours per side where a first-timer needs 3 to 4, and the pro carries the inspection risk.

Is the stair curved, or does it meet a landing halfway? Curved and landing stairs need custom rail bends and a landing guard. That is pro work — the material cost is the same, but the layout is not a first build.

If you answer no to the first question or yes to either of the other two, get 2 quotes from local deck builders. A pro install for a 5-step stair in wood typically runs $500 to $900 in labor on top of materials, and it includes the inspection check.

What a Stair Railing Costs Over 10 Years

Install price is only half the cost. Wood needs restaining every 2 to 3 years in pool conditions, cable needs a yearly tension check, and the rest need only a wash. The table below prices our worked stair — 12 linear feet, 2 sides, 4 posts, 20 balusters — over 10 years.

Material Install (12 lin ft) 10-year upkeep 10-year total
Wood $240-$600 $150 (3 restains at about $50 in materials each) $390-$750
Vinyl $300-$720 $0 $300-$720
Composite $420-$1,200 $0 $420-$1,200
Aluminum $600-$1,380 $0 $600-$1,380
Cable $1,320-$2,760 $0 (tension checks are DIY) $1,320-$2,760

Wood is still the cheapest over 10 years even with 3 restains, and aluminum is the cheapest option that needs no upkeep at all. Cable costs 3 to 4 times wood over 10 years — you pay for the view, not for the rail. For the full deck picture, see our how to build a pool deck guide and our above-ground pool stairs with deck guide.

4 Mistakes That Cost Money, and the Fix for Each

1. Posts screwed to deck boards with no blocking. The rail wobbles within a year. The fix is a rebuild of the post base: add blocking, re-bolt with 1/2 inch through-bolts, and re-hang the rail — typically $150 to $300 in materials and a half day. Avoid it by adding the blocking before the first post goes in.

2. Handrail 1 inch too low at the bottom step. The stair angle makes the bottom step the easy place to measure wrong. The fix is a rebuild of that side’s rail, typically $200 to $400 in materials. Avoid it by marking the 34 to 38 inch line with a string line across the whole flight before you cut.

3. Cable sagging after the first month. Cable stretches when it is new. The fix is a re-tension with the maker’s tensioner kit, typically $40 to $80 and 30 minutes. Avoid the surprise by planning the 30-day tension check at install time.

4. Handrail grip too big to hold with wet hands. A 2×4 on edge looks fine dry and fails wet. The fix is a new handrail in the 1.25 to 2 inch grip range, typically $80 to $150 in materials. Avoid it by buying a round or oval profile from the start.

Pre-Build Verification Checklist: 9 Checks

Run this list before you buy materials. Every item is a yes or no — a no means stop and fix it first.

  1. Total rise measured: ____ in. Total run measured: ____ in. Stair angle: ____ degrees.
  2. Riser height: ____ in (max 7-3/4 in). Tread depth: ____ in (min 10 in). Stair width: ____ in (min 36 in).
  3. Handrail required? Yes, if 4 or more risers. Our stair has ____ risers.
  4. Guard required? Yes, if the deck sits more than 30 in above grade. Our deck sits ____ in above grade.
  5. Handrail height marked at 34-38 in above the nosings on both sides: yes / no.
  6. Baluster spacing planned under 4 in everywhere: yes / no.
  7. Blocking confirmed under each post location, or added: yes / no.
  8. Material picked and hardware matched (316 stainless if salt water): yes / no.
  9. Permit checked with the local building department: yes / no.

6 Questions About Deck Stair Railings

How high should a deck stair handrail be?

Between 34 and 38 inches above the nosing line, measured at every step. Use 36 inches as your target so a small error still lands inside the range.

How far apart can stair balusters be?

Close enough that a 4 inch sphere cannot pass between them, under the bottom rail, or through the stair-side triangle. With 1.5 inch balusters, that means a pitch of 5.5 inches at most.

Do I need a permit to build a stair railing?

Most building departments want a permit when you add a rail where there was none or change its height. Replacing a rail at the same height often needs none. Check locally before you buy materials.

Can I use cable railing on pool stairs?

Yes, with 316 stainless cable and fittings if the pool is salt water, and a yearly tension check. Cable costs $110 to $230 per linear foot installed, about 3 to 4 times wood.

How many posts do I need for a 5-step stair?

Four: one at the top and one at the bottom of each side. Add a middle post per side if the slope run exceeds about 8 feet, so no rail span goes past 6 feet.

Is a stair railing the same as a pool fence?

No. The stair rail helps people already on the deck use the stair safely. The pool fence is a separate 48 inch barrier that keeps kids out of the pool area. Both are needed, and they follow different rules.

Editorial Note: This guide was researched and written by our small editorial team under the pen name Dave Hendrick. We are homeowners and researchers, not licensed contractors. Prices are typical national ranges, not quotes — confirm locally before you buy.

Save Hardscape Idea