How Much Does Deck Railing Cost?
Deck railing costs about $35–$100 per linear foot installed, depending on material. A typical 44-foot railing run on a 12×16 deck runs $1,540–$4,400, before stairs or custom details.
Updated November 2026 · U.S. pricing
Railing is often 10–20% of a deck project, but it is the part that keeps people from falling. Cost depends on the material, the number of posts, local code requirements, and whether the railing includes stairs. Glass and cable systems cost the most; treated wood costs the least.
Deck railing cost per linear foot
| Railing material | Installed per linear foot | Maintenance |
|---|---|---|
| Treated wood | $35–$60 | Stain or seal every 2–3 years |
| Composite | $55–$90 | Wash occasionally; no painting |
| Aluminum | $60–$100 | Low; powder coat resists fading |
| Cable | $70–$120 | Inspect tension annually |
| Wrought iron | $80–$150 | Touch up rust spots; repaint periodically |
| Glass panels | $100–$200 | Clean glass; inspect hardware |
Includes posts, top and bottom rails, infill, hardware, and labor. Stairs, gates, and custom curves add cost.
Cost for a typical deck
A 12×16 deck with one side against the house usually needs about 44 linear feet of railing: 16 + 12 + 16. At $35–$100 per foot, that is $1,540–$4,400 installed.
| Railing length | Wood | Composite | Aluminum |
|---|---|---|---|
| 30 linear feet | $1,050–$1,800 | $1,650–$2,700 | $1,800–$3,000 |
| 44 linear feet | $1,540–$2,640 | $2,420–$3,960 | $2,640–$4,400 |
| 60 linear feet | $2,100–$3,600 | $3,300–$5,400 | $3,600–$6,000 |
| 80 linear feet | $2,800–$4,800 | $4,400–$7,200 | $4,800–$8,000 |
Code requirements that affect price
- Height: at least 36 inches for most residential decks; 42 inches on some commercial and multi-family decks.
- Baluster spacing: no gap that lets a 4-inch sphere pass through.
- Posts: typically every 6 feet, with 4×4 posts minimum and 6×6 on taller decks.
- Handrail: a graspable rail is often required on stairs, even when a wider top rail is used on the deck.
- Load: railing must resist a concentrated lateral load, typically 200 pounds.
Code requirements vary by jurisdiction and are stricter for elevated decks. A railing that looks fine but fails inspection can cost more to fix than it did to install.
What changes the price
Material
Wood is the cheapest and easiest to find. Composite and aluminum cost more but avoid annual refinishing. Cable and glass are premium systems with specialized hardware.
Stairs
Stair railing is installed on an angle and needs additional posts and custom rail cuts. Expect $60–$150 per linear foot for stair railing, or a flat add-on of $500–$1,500 per flight.
Deck height and shape
Taller decks need longer posts and stronger attachments. Curved or multi-level decks require custom sections that cost more per foot.
Removal
Removing an old railing adds $5–$15 per linear foot, including disposal.
DIY deck railing costs
Materials for treated wood railing run about $15–$25 per linear foot, composite $30–$50, and aluminum $40–$70. A 44-foot wood railing costs roughly $660–$1,100 in materials versus $1,540–$2,640 installed. The trade-off is time, tool use, and code compliance. Railing is a safety system, so if you are unsure about post anchoring or baluster spacing, hire a professional.
Which railing material is best?
| Priority | Best choice |
|---|---|
| Lowest upfront cost | Treated wood |
| Lowest maintenance | Aluminum or composite |
| Best view | Glass or cable |
| Traditional look | Wood or wrought iron |
| Best resale appeal | Composite or aluminum |
Deck railing FAQ
How much does it cost to add railing to an existing deck?
About $35–$100 per linear foot installed, or $1,540–$4,400 for a typical 44-foot run. Adding railing to an existing deck can cost more if blocking or post attachments need to be added.
How many linear feet of railing do I need?
Measure the open sides of the deck. For a 12×16 deck with one side against the house, that is typically 16 + 12 + 16 = 44 linear feet. Add stair railing separately.
Is composite railing worth it?
Composite costs $55–$90 per linear foot, roughly 50–80% more than wood, but it does not need annual staining. Over 10–15 years the maintenance savings can offset the upfront premium.
Can I install deck railing myself?
Yes, but code compliance matters. Posts must be anchored to the deck frame, baluster spacing must meet the 4-inch rule, and rail height must meet local requirements. Many areas require inspection.
Does deck railing require a permit?
Often yes when it is part of a new deck or a structural change. Replacing railing in kind may not need a separate permit. Check with the local building department.