How long does a fence last?

Updated August 2026

← All lifespans

A fence lasts 15–30 years, set almost entirely by material. Wood runs 15–20 years, vinyl and chain-link both go 20–30, and aluminum or wrought iron reaches 30 or more. Whatever the material, the failure point is usually the same spot: the posts where they enter the ground. Moisture, and on wood posts the rot it feeds, works from the base up, so a fence with sound, well-set posts far outlives one whose posts are soft at the soil line. That is why a leaning section is so often the first sign the whole run is on its way out.

Lifespan by type and situation

How long does a fence last? By type and situation, Updated August 2026
Type or situation Typical lifespan Why
Wood (cedar / pine) 15–20 years Warm and cheap; needs staining and lives or dies on post rot
Vinyl / PVC 20–30 years Low-maintenance and rot-proof; can crack or yellow over decades
Chain-link 20–30 years Galvanized coating fends off rust; posts still loosen in wet soil
Aluminum 30+ years Rustproof and light, a long-lived low-upkeep option
Wrought iron 30+ years Very durable but needs repainting to hold back rust
Posts set wrong or in wet soil Cut 5–10 years Base rot and heaving topple sections before the pickets fail

Signs yours is near the end

How to add years

For a wood fence, staining is the habit that decides everything. Staining or sealing every 2–3 years keeps water out of the boards so they do not gray, split, and cup, and it slows the rot that starts at the posts. Set posts in gravel or well-crowned concrete so water drains away from the base instead of pooling around it, and keep soil, mulch, and sprinkler spray off the wood. Fix a leaning post or a loose rail while it is one section, because a single failing post drags its neighbors down with it. Walk the line once a year with the fence maintenance checklist to catch soft spots early. When more than a third of the posts are rotting or the run leans in several places, the repair-or-replace guide weighs patching against a full rebuild at $2,000–6,000.

What it costs to replace: plan on $2,000–6,000 installed. Replacing on your own schedule, before it fails, is almost always cheaper than the emergency version. The home maintenance cost calculator helps you set the money aside before it comes due.

OnOtto tracks your fence sealings age and service history, and warns you before end of life instead of after the flood.

Track your home's systems, free for 30 days

Frequently asked questions

Which fence material lasts the longest?

Aluminum and wrought iron top the list at 30-plus years, since metal will not rot and, when coated or painted, resists rust for decades. Vinyl and galvanized chain-link both reach 20 to 30 with almost no upkeep. Wood is the shortest-lived common choice at 15 to 20 years, and it is the most demanding, needing regular staining to get there. If you want maximum lifespan with minimum maintenance, aluminum wins; if you want the look of wood, budget for the upkeep or accept the shorter life.

How do I keep fence posts from rotting?

Start at installation, because the setting method matters more than anything later. Set posts in gravel or in concrete that is crowned to slope water away, never in a cupped footing that holds water against the wood. Use pressure-treated posts rated for ground contact, and keep soil, mulch, and sprinkler spray off the base. On existing fences, keep the wood stained and sealed, and clear vegetation that traps moisture. Rot always starts at the soil line, so that is the spot to protect and the first place to probe when checking an aging fence.

Is it worth repairing a wood fence or replacing it?

Repair when the damage is localized and the posts are mostly sound: swapping a few pickets, resetting one leaning post, or replacing a rotted rail is cheap and buys years. Replace when the problem is systemic, meaning a third or more of the posts are rotting at the base, multiple sections lean, or the wood is gray and crumbling throughout. At that point you are patching a fence that will keep failing elsewhere, and the repair bills add up toward the $2,000 to $6,000 a new fence costs anyway. The posts, not the pickets, drive the decision.

Related