Porch, stair, balcony and deck railings: four different failures
Porch railings sit on a structure that is usually older than the deck behind the house, and they're seated — posts resting on or notched into a porch floor or a masonry step, holding water at the joint.
Stair railings carry more hand load than anything else on a property, and they carry it sideways. A stair rail that has gone loose is a different urgency from a flat run that has gone loose, because the fall it exists to prevent is longer.
Balcony railings are anchored, not seated — bolted through a rim, a ledger or a wall — so the wood can be sound and the railing still unsafe. That mechanism has its own page: balcony railing repair.
Deck railings clamp to a rim joist that moves through wet and dry seasons, so the diagnosis starts at the joist rather than at the post. That mechanism has its own page too: deck railing repair.
The test for whether it's unsafe
A guard should take a firm sideways shove at the top without measurable movement. Not a gentle press — a real push, the kind a person losing their balance would deliver.
What counts as unsafe rather than untidy:
- The post shifts at its base when the top is pushed.
- The railing separates from the wall or post it returns into, opening a gap under pressure.
- Rust staining runs below a bolt, bracket or anchor plate.
- A whole section travels when one baluster is pulled.
Grey wood, checking along a top rail, flaking paint and one rattling baluster are appearance. The four above are structure.
Repair or replace
Almost every railing arrives at one of three answers, and which one it is can usually be established before anything is taken apart:
- Balusters replaced individually. The posts are sound and the bottom rail is sound — the balusters are what split, loosen or go missing. They come out and go back one at a time, and nothing else on the run is disturbed.
- A full section rebuilt. The bottom rail has rotted along its length. It's the member that catches everything draining down the balusters, so it goes first, and once it's gone the balusters seated in it have nothing to hold. The section between two posts is rebuilt; the posts stay.
- Full replacement. The posts themselves have failed. A railing is only ever as good as its posts — once they're gone there's nothing sound left to fasten a repair to, and rebuilding around them puts new material on a failed frame.
The reason to establish this early is that the first two answers are common and the third is not. A railing quoted as a teardown before anyone has checked a post base is usually being quoted lazily.
What gets measured, and where the numbers come from
Three figures, taken before any railing work, so a repair doesn't carefully restore something that was wrong to begin with. They are the 2025 California Residential Code, the edition in force since January 2026, which is the code that covers houses and townhouses:
- Whether a guard is required at all. The trigger is a walking surface more than 30 inches above the floor or grade below, measured at any point within 36 inches horizontally of the open edge (R321.1.1). That second half is the one people miss.
- Guard height: not less than 42 inches above the walking surface (R321.1.2). Stairs are the written exception — a guard on the open side of a stair is 34 inches, or between 34 and 38 where its top doubles as the handrail.
- Openings: nothing that lets a 4-inch sphere through, from the walking surface up to the required height (R321.1.3). The triangle formed by riser, tread and bottom rail at the open side of a stair is allowed 6 inches.
An apartment building is not a Residential Code job — it answers to the California Building Code, where Section 1015 sets the same three figures for the same situations.
These are what we measure against on site. Whether a given job becomes a permit question is the city's call, and the answer differs by town — see the city pages below.
Replacing a railing, and where this stops
Full replacement is the third answer above and it is a real one: once the posts have gone there is nothing sound left to fasten to, so the run comes out and a new one goes back on the porch, deck or balcony that is already standing. That is railing work, and it is work this site does.
What it does not cover is the structure underneath. This is a repair business — porches, decks, balconies and fence lines that already stand. A new deck, a new porch or a new fence line is not something we build, and a railing quoted as part of one would be a quote for work we don't take on.
So the useful question on a first look is which of the three answers a run is at — balusters, one section, or the whole run — rather than whether the word for it is repair or replacement. The first two are the common outcomes. The third is not, and a quote that opens there without a post base having been tested is worth a second question.
Where we do this
Railing repair by town: Palo Alto, Menlo Park and Mountain View, plus the surrounding Peninsula towns on the service-area list.
Send photos through the form: a close shot of every post where it meets the floor, one along the length of the run, and the fixing points if the railing ties into a wall. Where something moves when you push it, film it moving — that one clip settles more than a dozen photographs.
Section numbers above are the 2025 code cycle; the guards section was numbered R312 in the previous one, so older handouts point somewhere else. Codes get revised, and permit questions belong to your city's building department before work starts.