Last updated November 17, 2026
Fence
Kitchen remodeling
Bathroom remodeling
Home additions & ADU
Roofing
Windows & doors
Driveway & paversFree written scope consultation - allowances, timeline, and change-order rules on paper before a single trade is scheduled
Fence Installation Troubleshooting: Common Problems and How to Fix Them
A leaning fence post is not a fence problem. It’s a footing problem. And filling the gap around a leaning post with fresh concrete before you know why it moved is one of the most common homeowner repairs that fails again within a year. We’ve pulled enough of these apart on San Francisco hillsides to recognize the pattern. Most fence failures trace back to one of three installation errors: posts set too shallow, the wrong concrete mix for the soil, or a post material that can’t handle constant moisture. Figuring out which one you’re looking at tells you whether you need a repair, a panel swap, or a full post replacement. This guide walks you through the diagnosis, step by step, so you spend money on the right fix the first time.
Quick Answer
Most fence problems in San Francisco come down to post failure, footing failure, or hardware failure, and each has a different fix. A post that’s soft at the soil line needs replacement; a post that’s solid but leaning usually has a footing problem; and a post that’s straight but the gate drags usually has a hinge or frame issue. Diagnose which one you have before you touch a bag of concrete, because the wrong repair fails within a season.
Styles & brands we work with
- Kitchen remodeling
- Bathroom remodeling
- Home additions & ADU
- Roofing
- Windows & doors
- Driveway & pavers
- Fence
Table of Contents
- The Three Installation Errors Behind Almost Every Fence Failure
- Post Rot vs. Footing Failure vs. Lateral Force: How to Tell Them Apart
- Why San Francisco’s Expansive Clay Soil Heaves Posts Upward
- Can You Rehang a Panel or Sister a Rail Without Replacing the Post?
- Gate Sag Diagnosis: Three Mechanical Causes
- When a Fence Repair Needs a Permit in San Francisco
- Choosing Post Material for San Francisco’s Moisture Exposure
- A Step-by-Step Diagnostic Walkthrough
The Three Installation Errors Behind Almost Every Fence Failure
In our experience, nearly every failing fence we inspect in San Francisco points back to one of three root causes. Knowing them shortens the diagnosis considerably.
1. Inadequate post depth. A fence post needs to sit below the frost line and deep enough to resist lateral force. In San Francisco, where frost isn’t the issue, the problem is usually depth combined with soil type. Posts set 18 inches deep in soft fill or clay will move. We typically see 24 to 36 inches as the working minimum for a 6-foot privacy fence, deeper on exposed ridgelines in neighborhoods like Bernal Heights or Twin Peaks where wind load is real.
2. Wrong concrete mix for the soil. Fast-setting concrete poured dry into the hole works fine in well-drained sandy soil. In San Francisco’s heavy clay, it can trap water against the post base and accelerate rot. A proper footing in clay often calls for a gravel base for drainage and a mix that cures without holding a puddle at the post.
3. Post material mismatched to moisture. A untreated or lightly treated post in ground contact will rot, no matter how good the concrete is. Ground-contact-rated pressure-treated lumber, or a steel post system like those from Master Halco, holds up far better in San Francisco’s fog belt.
The twist is that these three errors look identical from the sidewalk. A leaning post could be any of them. That’s why the next section matters more than any repair technique.
Post Rot vs. Footing Failure vs. Lateral Force: How to Tell Them Apart
This is the diagnostic core of the whole guide. Three problems, three different fixes, and misidentifying one wastes the repair budget.
Post rot at the grade line
Rot almost always starts right where the post meets the soil, because that’s where moisture and oxygen both exist. Push a screwdriver into the post about an inch above grade. If it sinks in easily or the wood feels spongy, the post is rotting from the inside. Look for a hollow sound when you tap it, dark staining, or a visible waterline ring. A rotted post is not repairable. It gets replaced. Rehang anything on a rotted post and you’re just delaying the collapse.
Footing failure from soil movement
If the post wood is solid but the post leans, the footing has moved. This is the classic San Francisco case. The concrete collar has shifted, or the hole was never deep enough, or the soil around it has swelled and shrunk through wet and dry seasons. Check the base: if you can see a gap between the concrete and the soil on the downhill side, the footing has tilted or heaved. Filling that gap with new concrete without addressing why it moved is the mistake we flag most often.
Lateral force from wind or weight load
A post that’s plumb at the bottom but bends or bows partway up is taking too much lateral load. This shows up on tall privacy fences with heavy panels, on fences carrying vines or climbing plants, and on exposed corners where wind hits broadside. The fix here is usually structural: deeper posts, more posts, or a lighter panel. Reinforcing a post that’s already deflecting under load just moves the failure down the line.
Quick field test: grab the post and push it side to side. If the whole post and concrete move together, it’s a footing. If the post moves but the concrete stays put, it’s rot at the base. If the post won’t move at the base but the top wags, it’s load and bracing. Three tests, three answers.
Why San Francisco’s Expansive Clay Soil Heaves Posts Upward
Here’s the issue most general fence advice gets wrong for San Francisco: our soils don’t just settle, they heave. Large parts of the city sit on expansive clay that swells when it’s wet and shrinks when it dries. Through a wet winter, that clay pushes up against a shallow footing and lifts the post. Homeowners see a post that’s riding high out of the ground, or a fence line that’s wavy after the rains, and assume the ground has settled.
It hasn’t. It’s moved the other way.
This matters because the repair for settlement and the repair for heave are different. Pounding a post back down or adding concrete around a heaved post just fights the soil you’re standing in. The durable fix usually involves resetting the post deeper into stable soil, widening the footing so it resists uplift, and improving drainage around the post so the clay isn’t cycling wet to dry. In our experience, the Sunset, the Richmond, and parts of Noe Valley see this pattern most in older fences.
You’ll also see this near mature trees, where roots pull moisture from the soil and cause uneven shrink. If one or two posts in the middle of an otherwise fine run are riding high, look for a tree between them before you blame the installer.
Can You Rehang a Panel or Sister a Rail Without Replacing the Post?
Sometimes yes, and knowing when saves real money. The post is the expensive part of a fence repair, so the honest question is always: can the post be saved?
A post is a candidate for saving if it passes three checks:
- Sound wood at grade. No softness, no hollow spots, no visible rot ring where the post meets soil.
- Plumb within tolerance. A post that leans more than about an inch over six feet is probably a footing problem and shouldn’t carry a new panel.
- Intact below the surface. If you can’t verify the buried portion, assume the worst; a post that’s solid above grade can still be rotten in the ground.
If the post passes all three, you can often rehang panels or sister a rail. Sistering means attaching a new rail alongside the damaged one to carry the load. That inspection should look for splitting along the fastener line, rusted fasteners that have lost bite, and rail ends that have pulled away from the post. If the rail fasteners spin freely in the wood, the post is soft where it counts and sistering won’t hold.
Use quality fasteners when you do rehang. Barrette and Ameristar make rail and bracket systems that hold up in coastal moisture far better than generic hardware. If the rails themselves are sound and only the boards are failing, you’re looking at a panel replacement, which is a fraction of the cost of post work. Our team handles full fence installation in San Francisco and can tell you within a site visit which of these three paths your fence falls into.
Gate Sag Diagnosis: Three Mechanical Causes
A dragging gate is the most complained-about fence problem we hear about, and it’s almost always one of three causes. Buying new hinges before you know which one you have is a waste of a Saturday.
Cause 1: Hinge failure
If the gate hangs true when you lift it and drags only at the outer corner, the hinges have worn or the fasteners have loosened. Check for a hinge that’s pulled out of the wood, a sagging top hinge, or a hinge barrel that’s worn oval. Fix: replace the hinges, ideally with a self-closing or adjustable set, and use longer fasteners into sound wood.
Cause 2: Post lean
If the post itself leans when you push the gate open and closed, the gate isn’t the problem. The hinge post is moving. This is a footing issue, covered above. New hinges won’t fix a moving post. The fix starts at the footing.
Cause 3: Frame racking
If the gate is square when you hold it up, but it drops and catches the ground when hanging, the gate frame has racked out of square. This happens with age, with a heavy gate on light framing, and with settlement at the latch end. The fix is to brace the frame with a diagonal, tighten the corner joints, or rebuild the gate with a heavier frame. A tension cable or turnbuckle from corner to corner is the quick repair; a rebraced frame is the lasting one.
Diagnostic sequence:
- Open the gate and lift it by the outer edge. If it swings freely up, the hinges are the problem.
- Push the gate sideways and watch the hinge post. If the post moves, the footing is the problem.
- Lay a straightedge across the gate diagonals. If they don’t match, the frame has racked.
Three checks in two minutes, and you know what to buy before you leave the house. If you’d rather not climb the diagnosis yourself, call Groundwork Construction Co. of San Francisco and we’ll take a look.
When a Fence Repair Needs a Permit in San Francisco
Permit rules trip up more San Francisco homeowners than any other part of fence work, so let’s be direct.
Routine repair and maintenance of an existing fence at the same height and location is generally exempt from a building permit. Replacing boards, rehanging a panel, sistering a rail, resetting a single post: these are typically repair work, not construction.
Post replacement is a gray area. Replacing a post or two in kind usually qualifies as repair. But if the work crosses into replacing a large share of the fence run, or if the fence exceeds height limits, the city may treat it as a new installation requiring a permit.
Height changes are the trigger. San Francisco fence height limits are specific and vary by zoning and front/side/rear yard. Raising a fence, even a little, generally requires a permit and sometimes entitlement review. Adding height in a front yard setback can be a real approval process, not a same-week fix.
New fencing on a property line can also bring in survey and neighbor-consent questions. This is why we pull permits and plan inspections on any work that touches height or property line. It’s also why we tell homeowners to confirm before assuming a repair is exempt. If you’re planning anything beyond a like-for-like board swap, ask. Our Driveway & Pavers in San Francisco team works alongside the fence crews on the same permit questions, and we’d rather answer them up front than discover them mid-job.
Permits pulled and inspections passed is how the work stays legally clean and how a future buyer’s inspector won’t flag an unpermitted fence. That’s worth the small upfront effort.
Choosing Post Material for San Francisco’s Moisture Exposure
San Francisco’s fog belt is unforgiving on fence posts. Marine-layer moisture, morning dew that doesn’t burn off until noon, and soil that stays damp through the wet season all attack the post base. Material choice is where a lot of fences get set up to fail.
A few practical points from our crews’ experience:
- Ground-contact-rated pressure-treated lumber is the baseline for wood posts. Not all pressure-treated lumber is rated for in-ground use; the rating matters.
- Steel post systems from manufacturers like Master Halco and Ameristar sidestep rot entirely. These cost more up front and pay back in longevity, especially on fences you don’t intend to touch again for a decade or more.
- Wood species matters. Cedar and redwood panels weather beautifully but need good air circulation to dry out. A panel that traps moisture against a post base will rot that post faster than the panel itself fails.
- Ornamental aluminum from Jerith and similar lines resists moisture as well as rot, and it suits certain San Francisco property styles where a wood fence isn’t the right look.
Whatever you choose, drainage matters as much as material. A post that stands in a puddle fails fast no matter what it’s made of. Make sure water drains away from the base, not into it. If you’re expanding the outdoor project later, our Home Additions & ADU in San Francisco team coordinates with fencing so the grade and drainage are handled together.
Built to last, backed in writing is the standard we work to on every job. Our technicians have up to 12 years of experience and see the difference material choice makes along the coast.
A Step-by-Step Diagnostic Walkthrough
Here’s the sequence we run through on a site visit. You can follow it yourself with a screwdriver, a level, and 20 minutes.
- Walk the fence line and photograph every post. Note which lean, which have visible rot, and which carry heavy panels. Patterns across the run tell you whether the problem is installation-wide or isolated to one spot.
- Screwdriver test at grade. Push into each post about an inch above the soil. Soft means rot. Replace that post; don’t seal or paint over it.
- Push-test the leaning posts. If the post and concrete move together, it’s the footing. If the post moves and the concrete stays, it’s base rot. If the base is solid but the top deflects, it’s a load or bracing problem.
- Check plumb with a level on each suspect post. More than about an inch of lean over six feet means the post shouldn’t carry a new panel.
- Fall to zero never seen: grade around the base. If soil is piled against the post, or water pools there after rain, drainage is feeding the failure. Correct the grade before you reset anything.
- Look for the clay heave signature. Posts riding high, a wavy top line after the rainy season, or a mature tree between the affected posts all point to expansive-soil movement rather than settlement.
- Diagnose the gate separately. Run the lift, push, and diagonal checks above before you buy hardware. A gate that needs a footing repair doesn’t need new hinges.
- Decide the fix. Sound post plus failing boards equals panel replacement. Solid wood plus footing movement equals reset the footing. Rot at grade equals post replacement. Lean on sound footings plus broad panel deflection equals structural upgrade.
Diagnose before you repair. This is the whole thesis of this guide in one line. The repair that follows a correct diagnosis lasts; the repair that skips it fails within a season.
Common Mistakes to Avoid
- Pouring new concrete around a leaning post without diagnosing why it moved. The post will lean again within a year because you’ve treated the symptom, not the footing. In San Francisco’s clay, you may also be fighting soils that are actively heaving.
- Reusing a rotted post base by wrapping it or painting over it. Rot runs deeper than the surface. A wrapped post remains a structural liability and fails under lateral load.
- Buying new gate hardware before checking the hinge post. If the post is moving, new hinges on a moving post is money spent on the wrong part.
- Setting posts too shallow because the ground is hard. Shallow footings in San Francisco clay ride up through wet seasons. Depth is the single biggest control on longevity.
- Ignoring the permit threshold on height changes. Adding height to a fence without checking zoning can trigger a notice to abate and a forced removal. It’s the most expensive mistake on this list.
- Piling soil against the post base to hide a gap. That’s exactly where rot starts. Grade should drain away from the post, not toward it.
- Sistering a rail into soft wood. Fasteners won’t hold in a post that’s spongy. The sister rail will pull loose the first warm windy week.
See the difference
Before
After
Before
After
Before
AfterWhen to Call a Professional
Some fence work is a homeowner weekend. Some isn’t. Call us when a post needs full replacement, when the fence is carrying panels over six feet on a slope, when a footing has heaved or the fence line is wavy after the rains, or when you’re considering any height change. Those are the jobs where a failed repair costs more than the original fix. Gate rehanging, board replacement, and minor hardware work are things most homeowners can handle. Everything structural, and everything that touches a permit, deserves a trained eye. Groundwork Construction Co. of San Francisco offers free estimates in San Francisco, and every quote is a written line-item so you can see exactly what’s being fixed and why. Call (866) 320-2646 to get on the schedule.
Frequently Asked Questions
A single post reset typically runs in the low hundreds of dollars depending on access and footing depth, and a full post replacement runs higher because it involves digging out the old concrete and setting a new ground-contact post. On a slope or with tight access in neighborhoods like Noe Valley or the Inner Sunset, expect the higher end. Call (866) 320-2646 for an exact quote; estimates are free and written line-item.
That’s expansive clay soil heaving the footing upward through wet seasons, not settlement pulling it down. Large parts of San Francisco sit on clays that swell and shrink with moisture, and a shallow footing gets pushed up. The durable fix is a deeper, wider footing with better drainage around the base. Pounding the post back down or adding concrete at grade won’t hold. Call (866) 320-2646 if you want a proper diagnosis.
Yes, if the post passes three checks: sound wood at grade, plumb within about an inch over six feet, and intact below the surface. If the screwdriver sinks into the post at grade, the post is rotten and the panel won’t hold. Sistering a rail only works when the post fasteners still have bite. Call (866) 320-2646 for a free estimate before you buy materials.
Only if the hinges are the cause. If lifting the gate makes it swing free, you need hinges. If pushing the gate sideways moves the hinge post, the problem is the footing and hinges won’t fix it. If the gate diagonals are out of square, the frame has racked and needs bracing. Run all three checks before you spend money on hardware. Call (866) 320-2646 for a free estimate if you want us to diagnose it.
Like-for-like repair at the same height usually doesn’t require a permit. Post replacement is a gray area that depends on the scope. Height changes almost always require a permit, and zoning applies. New fencing along a property line can also bring in survey and neighbor-consent questions. Confirm before you build, or call (866) 320-2646 and we’ll walk you through the permit question.
It lasts when the diagnosis is right. A repair that treats the symptom, like new concrete on a leaning post or new hinges on a moving post, fails within a year. A repair that treats the cause, like resetting the footing, replacing the rotted post, or bracing a racked gate, holds. We back our fence work with our 730-Day Done Right Promise, so if it’s not done right, we make it right. Call (866) 320-2646 to schedule your free estimate.
The Bottom Line
Most fence failures in San Francisco come down to one of three installation errors: posts set too shallow, the wrong concrete mix for the soil, or a post material that can’t take the moisture. The diagnosis is what matters most. Test for rot at grade, check whether a leaning post moves with its footing, and watch the gate for hinge versus footing versus frame problems. Expansive clay heave is the San Francisco-specific twist that most repair advice misses. And any height change or large-scale post replacement should be checked against permit rules before work begins. Diagnose first, repair once.
If you’re looking at a fence problem you can’t fully diagnose, or you want a free estimate before the wet season, call Groundwork Construction Co. of San Francisco at (866) 320-2646. We answer calls with a live person, 24/7, no voicemail black holes. Our technicians are background-checked and arrive in uniform. Every project comes with the 730-Day Done Right Promise, no-hassle upfront pricing so the number you see is the number you pay, and 0% financing for 18 months. There’s a $1,000 discount on projects over $10,000, and your design consult and estimate are free. Reach out today and we’ll help you get to the right fix the first time.
Written by the team at Groundwork Construction Co. of San Francisco.