How much does it cost to install a fence in 2026?
Priced by this calculator on a 150-foot run, residential fences run about $14 to $92 per linear foot installed in 2026, and a typical 6 ft pressure-treated privacy fence costs $27-$49. Per linear foot, material is the biggest swing: 4 ft chain-link at $14-$33/lf is the cheap end, wrought iron at $58-$92/lf the high end. How much fence you run still moves the total more than the material does — see what drives project costs. The project totals below are all-in: they add posts, gates, equipment, permits, and contractor markup on top of the per-foot fence run.
| Project | Length | Material | Installed cost |
| Backyard chain-link | 150 lf | Galvanized chain-link, 4 ft | $2,900 – $6,900 |
| Backyard PT wood | 150 lf | Pressure-treated pine | $4,200 – $7,800 |
| Cedar privacy | 200 lf | Cedar | $8,600 – $16,300 |
| Vinyl privacy | 300 lf | Vinyl | $13,400 – $21,100 |
| Aluminum decorative | 150 lf | Aluminum | $4,800 – $9,500 |
| Wrought-iron estate | 400 lf | Wrought iron + automatic gate | $27,100 – $44,000 |
What drives fence cost
- Material — chain-link $14-$33/lf vs wrought iron $58-$92/lf installed.
- Height — 6 ft is the residential privacy standard. A 4 ft fence costs roughly 30% less per foot and an 8 ft fence roughly 40% more, because height moves both the material and the install labor.
- Posts and labor — one post every 8 ft + 4 corner/end posts, $9-$15 of concrete each. Setting them is part of the install labor: about 13-16 crew-hours per 100 ft for wood, vinyl or composite, 6-10 for chain-link.
- Gates — walk-through $150-$400 each, double-drive $400-$1,200, automatic $3,500-$6,000+ installed.
- Site conditions — sloped terrain adds $6-$10/lf; brush clearing $4-$6/lf; old-fence removal $5-$8/lf.
- Region — California and New York labor 30-35% above national average.
Choosing the right fence material
Pressure-treated wood pine
$27-$49/lf installed at 6 ft. Cheapest wood option. Lasts 15-20 years with regular sealing or staining (typically every 1-3 years, depending on sun, weather and product). Boards may warp or split over time. Standard 6 ft dog-ear privacy panels are widely available.
Cedar
$33-$60/lf installed at 6 ft. Naturally rot-resistant and insect-repellent. Ages to silver-gray; stain to keep warm tone. 20-30 year lifespan. Common in board-on-board, shadowbox, and split-rail styles.
Vinyl / PVC
$46-$71/lf installed at 6 ft. Zero maintenance — no painting, sealing, or staining ever. 25-30+ year lifespan. White is most common; tan and gray available. Brittle in extreme cold; can crack.
Aluminum
$33-$64/lf installed at 5 ft. Powder-coated aluminum tubes; ornamental look. Mostly decorative (not great privacy). Long lifespan, no maintenance.
Chain-link
$14-$33/lf installed at 4 ft. Cheapest residential option. Galvanized steel mesh on metal posts. 4-6 ft heights typical. Vinyl-coated black or green available. Functional, not pretty.
Wrought iron
$58-$92/lf installed at 5 ft. Heavy steel ornamental fencing; security plus aesthetic. 50+ year lifespan with rust touch-ups. Common around pools and estates.
Composite
$52-$92/lf installed at 6 ft. Mix of recycled wood and plastic. Looks like wood but doesn't rot. 20-30 year lifespan.
Frequently asked questions
How much does it cost to install a fence in 2026?
Priced by this calculator on a 150-foot run, most residential fences run $14-$92 per linear foot installed. Chain-link (4 ft) is cheapest at $14-$33/lf, pressure-treated wood privacy $27-$49/lf, cedar $33-$60/lf, vinyl $46-$71/lf, aluminum $33-$64/lf, wrought-iron $58-$92/lf.
Do I need a permit to build a fence?
Most municipalities require fence permits. Permit fees range from $25 to $150. Front-yard fences are typically limited to 3-4 ft, side and back yards 6-8 ft. Always check with your local building department before digging post holes.
What's the cheapest fence material?
Chain-link at $14-$33 per linear foot installed (4 ft) is the cheapest residential option. Pressure-treated wood at $27-$49/lf is next. Aluminum runs $33-$64/lf, vinyl $46-$71/lf and composite $52-$92/lf.
How long does a fence last?
Pressure-treated wood: 15-20 years. Cedar: 20-30. Vinyl: 25-30+. Aluminum: 30-50. Chain-link: 20-30. Wrought iron: 50+ with maintenance.
How deep should fence posts be set?
2.5 ft deep for 6 ft fences in stable soil; 3 ft for 8 ft+ fences or in frost-line regions (must extend below frost depth). Set in concrete with a 4-6 in gravel base for drainage.
Can I put a fence on my property line?
Most jurisdictions require fences to be set back 4-12 inches from the property line. A fresh boundary survey ($300-$700) is wise if you're not sure where your line is. Disputes with neighbors over fence placement are common and expensive.
How much does a gate add to the cost?
Walk-through (pedestrian) gate: $200-$600. Double drive gate (vehicles): $300-$1,200. Automatic gate with opener: $1,900-$6,000+. Material matches your fence.
Should I DIY a fence?
For chain-link or simple PT wood under 100 lf on flat ground — yes, DIY can save 40-50% on labor. For longer runs, slopes, or harder materials (vinyl, aluminum, wrought iron), the labor savings often aren't worth the time and tool rental.
Why does the calculator show a price range?
Fence prices vary 30-60% by region, season, and contractor. Material brand selection alone can move a quote 20%. A range gives an honest planning estimate.