Cost guide

Cost to Build a Fence

The national average cost to build a fence is about $22 per linear foot installed, with most projects landing between $15 and $45 per foot depending on material.

Low end
$15
per linear foot installed
Typical
$22
per linear foot installed
High end
$45
per linear foot installed

Installed fencing runs about $22 per linear foot on average, or roughly $3,300 for a typical 150-foot residential run. Material is the biggest lever: a wood privacy fence costs two to three times a chain-link one of the same length, and terrain, gates, and local labor rates move the number from there.

Cost breakdown

Material and labor line items. Ranges reflect quality grade and job complexity.

ItemSpecLowHighUnit
Chain link4 ft · Galvanized$9.00$20.00per ft
Chain link6 ft · Vinyl-coated$13.00$28.00per ft
Wood picket3–4 ft · Pressure-treated pine$12.00$27.00per ft
Wood privacy6 ft · Pressure-treated pine$17.00$35.00per ft
Wood privacy6 ft · Cedar$22.00$45.00per ft
Vinyl / PVC6 ft · Privacy panel$25.00$40.00per ft
Aluminum4–5 ft · Ornamental$26.00$55.00per ft
Composite6 ft · Privacy panel$30.00$60.00per ft
GateSingle walk · Matching material$150.00$600.00each
GateDouble drive · Matching material$400.00$1,500.00each

Regional pricing

Adjusted against the national typical of $22 per linear foot installed.

RegionIndexAdjusted typicalNote
Northeast1.15×$25per linear foot installedHigher labor and permit costs in dense metros
Midwest0.92×$20per linear foot installedLower labor rates and shorter hauls
South0.95×$21per linear foot installedCompetitive labor; frost depth rarely a factor
West1.12×$25per linear foot installedCoastal labor rates and stricter wind/setback codes

What drives the price

Material

The single biggest factor. Chain link is cheapest, pressure-treated wood mid-range, and cedar, vinyl, aluminum, and composite command a premium for looks and low upkeep.

Height and length

Taller fences use more material per foot, and longer runs need more posts and concrete. Privacy height (6 ft) costs noticeably more than a 4 ft yard fence.

Terrain and soil

Slopes, rock, and tree roots slow post-setting. Racked or stepped panels on a grade add labor, and hard digging can require an auger or hand work.

Gates and hardware

Each gate adds posts, framing, and hardware. A double drive gate can cost as much as 40–80 feet of fence line on its own.

Local labor and permits

Labor is roughly half the installed price and swings with region. Permits, HOA rules, and utility locates add fixed costs before a post goes in.

Frequently asked

How much does it cost to fence a yard?
A typical 150-foot residential fence runs about $2,300 to $6,800 installed depending on material and height, with wood privacy and vinyl at the higher end.
What is the cheapest fence to install?
Galvanized chain link is the cheapest at roughly $9 to $20 per foot installed, followed by pressure-treated wood picket.
How much of the cost is labor?
Labor is usually about half of the installed price. DIY installation can cut the total significantly, but post-setting and grading are the hardest parts to do well.
Does fence height change the price much?
Yes. Moving from a 4 ft to a 6 ft fence adds material on every foot and often stronger posts, typically raising the per-foot price by 25% to 40%.