How Much Does It Cost to Install a Fence?

By the Project Cost Range Editorial Team · Updated June 17, 2026

Typical cost (typical yard)

$2,000 – $8,000

National average: $4,500

Range gauge · typical yard
Avg $4,500
Low $2,000 $8,000 High

Estimate your cost

Adjust the options for a tailored ballpark — figures and the regional adjustment are approximate estimates. Always confirm with local quotes before you budget.

Quality / scope
Estimated cost $4,500 $4,050 – $4,950
Typical mid-point for your selections

A new fence adds privacy, security, and curb appeal. For a typical yard, installation runs $2,000 to $8,000, averaging around $4,500, or about $15–$74 per linear foot depending on the material you choose.

What you’re paying for

Fencing is priced per linear foot, with the per-foot rate covering materials, posts, and labor. On top of that you’ll pay for each gate and for any extras like decorative caps or lattice. The perimeter you’re enclosing and the material set the total more than anything else.

Cost by material

Material choice can triple your per-foot price. The table below shows typical installed pricing so you can multiply by your fence line and estimate the job.

Choosing a material

Chain-link is the budget durable option but offers no privacy. Pressure-treated wood (about $43 per foot on average) is the affordable privacy choice but needs periodic staining. Vinyl (about $55 per foot) costs more upfront but is maintenance-free and often cheaper over 20 years. Ornamental aluminum and wrought iron are the premium, decorative end — great for pool enclosures and curb appeal, not for privacy.

Before you build: the property line

The most expensive fence mistake has nothing to do with material — it’s building on the wrong line. Confirm your boundary with a survey or marked pins before installation, and if it’s a shared fence, agree with your neighbor in writing on cost and placement. A fence built even a foot over the line can have to come down.

How to save on a fence

  • Choose chain-link or wood for the lowest upfront cost.
  • Confirm your property line with a survey before building.
  • Limit gates to what you actually need.
  • Install on flat, clear ground where possible to keep labor down.
Cost breakdown
ComponentTypical rangeNotes
Chain-link fence$15 – $30 / linear ft
Wood privacy fence$25 – $62 / linear ft
Vinyl fence$45 – $74 / linear ft
Aluminum / ornamental$30 – $70 / linear ft
Gates$150 – $600 each
Post setting & laborIncluded in per-foot rates above
Cost by material (installed, per linear ft)
OptionTypical rangeNotes
Chain-link$15 – $30 / ftCheapest; no privacy
Pressure-treated wood$25 – $45 / ft
Cedar$30 – $60 / ft
Vinyl$45 – $74 / ftMaintenance-free
Aluminum / ornamental$30 – $70 / ft
Wrought iron$30 – $80 / ft

What affects the price

  • Material Chain-link is cheapest; wood and vinyl cost more; ornamental aluminum and wrought iron are premium.
  • Linear footage Fencing is priced per linear foot, so the perimeter you enclose sets the total.
  • Height Taller privacy fences use more material and labor than short boundary fences.
  • Terrain Slopes, rocky soil, and tree roots make post-setting harder and pricier.
  • Gates & features Each gate, plus decorative caps or lattice, adds to the cost.

Frequently asked questions

How much does a fence cost per linear foot?
Installed in 2026, chain-link runs $15–$30, wood about $25–$62 (averaging ~$43), and vinyl $45–$74 (averaging ~$55) per linear foot. Multiply by your perimeter to estimate the total.
What's the cheapest fence to install?
Chain-link is the most affordable durable option. For privacy on a budget, pressure-treated wood is usually the lowest-cost choice.
Is vinyl fencing worth the extra cost?
Vinyl costs more upfront than wood but never needs painting or staining and resists rot, so it's often the lower-cost option over 20 years.
Do I need a permit to install a fence?
Many areas require a permit and have height and setback rules. Check local codes and your property line before installing to avoid costly do-overs.
How long does a fence last?
Chain-link and vinyl last 20–30+ years, cedar 15–25, and pressure-treated pine 10–20 with maintenance. Aluminum and wrought iron can last decades.
Who pays for a fence between neighbors?
It varies by state and locality. Many areas split the cost of a shared boundary fence, but you should agree in writing first and confirm the property line with a survey.
Should I confirm my property line first?
Yes — building even a foot over the line can force you to tear it down. A survey (or marked pins) before installation prevents an expensive, neighbor-souring mistake.

How we estimate: ranges reflect typical U.S. pricing for materials and professional installation, compiled and cross-checked against the current (2026) industry sources listed below (see our data & methodology). Your actual cost depends on your location, project size, material grade, and local labor rates — always get multiple written quotes before you commit.

Sources

Cost ranges on this page were checked against current (2026) data from these industry sources:

  1. How Much Does a Vinyl Fence Cost to Install? (2026 Data) — Angi
  2. Wood Fence Cost 2026: Per Linear Foot Installed — Ergeon
  3. Cost to Install Vinyl Fence (2026) — Homewyse