Fence Installation Cost: Materials & Price per Foot

A new fence adds privacy, security, and curb appeal, and the cost comes down mostly to material and how much fence you need. Installation typically runs $15 to $60 per linear foot, and most homeowners pay $2,000 to $8,000 to fence an average yard. A long perimeter or premium material can push a project past $12,000.

Below is how fencing costs break down by material, what drives the price, and ways to save. These are typical national ranges that vary with material, terrain, and local labor. For exact pricing, browse the ServiceGoat Cost Guides or get matched with local fencing pros below.

Fence cost by material

Material is the biggest factor in both price and upkeep. Chain-link is the budget option; ornamental and composite sit at the premium end.

MaterialInstalled cost per linear footMaintenance
Chain-link$10–$25Very low
Wood (pine/cedar)$18–$45Periodic seal/stain
Vinyl / PVC$25–$45Very low
Composite$30–$60Very low
Aluminum / ornamental$30–$60Low
Wrought iron$30–$80Periodic rust care

What drives the cost

  • Length: Priced per linear foot, so total yard perimeter is the main driver.
  • Height: A 6 ft privacy fence costs more than a 4 ft fence in materials and labor.
  • Material and style: Solid privacy panels cost more than spaced pickets or chain-link.
  • Terrain: Sloped, rocky, or root-filled ground makes post-setting slower and pricier.
  • Gates: Each gate adds $150–$600+, and automatic gates far more.
  • Permits and property lines: Many areas require a permit and a survey before installing.

Cost breakdown

On a typical wood or vinyl fence, expect roughly 50% materials and 50% labor. Posts, concrete footings, and panels make up the materials, while digging and setting posts is the bulk of the labor — especially on difficult terrain. Gates and decorative caps or lattice are where add-on costs accumulate. Always confirm the quote includes post depth appropriate for your frost line; shallow posts fail early.

Example projects

150 ft cedar privacy fence

A 6 ft cedar privacy fence around an average backyard typically runs $4,500–$8,000, including one or two gates.

200 ft chain-link fence

A 4 ft chain-link fence for a larger yard — popular for pets and security on a budget — commonly costs $2,500–$5,000 installed.

How to save on fence installation

  • Choose chain-link or spaced pickets where full privacy isn’t required.
  • Fence only what you need — backyard-only is far cheaper than a full perimeter.
  • Clear the fence line yourself by removing brush and old fencing before the crew arrives.
  • Coordinate with neighbors on a shared boundary fence to split the cost.
  • Get three quotes and confirm post depth, concrete footings, and gate hardware are included.

Get fence installation quotes from vetted pros

Tell us about your project and ServiceGoat will match you with up to 3 vetted local pros. Compare quotes side by side — free, with no obligation.

More cost guides: ServiceGoat Cost Guides · Deck Building Cost · Landscaping Cost