Home / Exterior & Roofing / Cost guide
Fencing

Fence installation cost in 2026, per linear foot

Fencing runs $15–$45 per linear foot installed depending on material, or roughly $2,000–$10,000 for a typical backyard. Material choice and how many gates you need explain most of the range.

Fencing is priced almost entirely by material and linear footage, which makes it one of the more straightforward exterior projects to estimate — the main variables are what it's made of, how much of your property line needs it, and how many gates you need.

What it costs, by material

Installed cost per linear footTypical lifespan
Chain-link Cheapest; minimal privacy$10–20 · 15–20 yrs
Wood Classic look; needs regular maintenance$15–35 · 15–20 yrs
Aluminum Low maintenance; common for pools$20–40 · 20–30 yrs
Vinyl No painting/staining; consistent look$25–45 · 20–30 yrs
Typical backyard (150–200 linear ft)$2,000–10,000

What else drives the price

Permits and property lines: don't skip this step

Most jurisdictions require a permit for fences above a certain height, and virtually all require the fence to sit on or inside your actual property line, not your best guess at it. Before installation, confirm your property line (a survey, if you don't already have a recent one) and check local height and setback rules, plus any HOA restrictions on material or style. A fence built even slightly over the line is a genuine legal problem that can require moving or removing it later — a far more expensive fix than getting a survey first.

Talk to your neighbor before you build

Even where it's not legally required, discussing a shared-boundary fence with your neighbor before installation avoids disputes later, and in some jurisdictions there are specific rules about cost-sharing for boundary fences worth knowing about upfront.

What actually happens once the posts go in

Mistakes that inflate the price or cause disputes

Putting it up yourself vs. hiring it out

Chain-link and basic wood fencing are within reach for a DIYer with the patience for post-hole digging and the tools to keep everything level and evenly spaced over a long run. Vinyl and aluminum fencing systems are also reasonably DIY-friendly since many are designed as modular kits. Where hiring out makes more sense: sloped or difficult terrain, anything requiring a survey and precise property-line work, and any fence tall enough or heavy enough to need engineered post footings.

Frequently asked questions

Do I need a permit for a fence?

Often yes, particularly above a certain height (commonly 6 feet for backyard fencing, lower for front yards in many areas) — check your local building department before starting.

Who pays for a fence between two properties?

This varies by local law and custom; some jurisdictions have specific boundary-fence cost-sharing rules, while in many cases it's simply whoever wants the fence who pays, with the neighbor's agreement on placement.

How long does fence installation take?

A typical backyard fence takes two to four days, with post-setting and curing time being the main driver of the schedule rather than the visible installation work.

What's the most durable fence material?

Vinyl and aluminum both hold up well with minimal maintenance over decades. Wood offers a classic look but needs more regular upkeep (staining or sealing) to reach a comparable lifespan.

Can I install a fence on a slope?

Yes, using either a stepped design (sections step down the slope) or a racked/contoured design (the fence follows the slope's angle). Stepped is generally simpler and more common for DIY; racked designs are more complex to build correctly.

Does a fence add resale value?

A well-maintained fence, especially one providing privacy or pool safety, is generally viewed favorably by buyers, though it typically doesn't recover its full cost dollar-for-dollar the way some larger renovations do — it's more of a lifestyle and privacy investment than a resale play.

Sources & further reading

  1. Angi/HomeAdvisor cost data for fence installation by material type.
  2. Zoning, height restriction, and property-line requirements vary significantly by municipality — confirm current requirements with your local building department, and confirm your property line with a licensed survey before installation.
Project Price Point Editorial Team
Cost Research Desk · Project Price Point

This guide was researched and written by our editorial team using public pricing data and industry sources, and covers the outdoor-structure guides in our Exterior & Roofing category.

This guide reflects independent research using public pricing data and industry sources, not a professional site assessment. Cost ranges are estimates for planning only and vary by region, material and terrain — always confirm with local, itemized quotes.