Skip to content
Homeowner in gloves measuring a wood fence with new boards

DIY

How much does a fence cost? Repair and replacement prices

A new fence costs most homeowners $2,000 to $5,000 installed. See repair and replacement prices, and when to replace.

By Josh Arneson, Handyman and Property ManagerPublished

What does a new fence cost per foot?

Most new fences cost $15 to $55 per linear foot installed, depending on the material. Fence Advisors' 2026 national guide lists chain link at $15 to $35, pressure-treated pine at $18 to $38, cedar at $25 to $55, and 6-foot vinyl privacy at $28 to $55. NerdWallet puts the typical full project at $2,000 to $5,000.

  • Chain link (4 to 6 feet): $15 to $35 per foot, or $2,250 to $5,250 for a typical 150-foot project
  • Pressure-treated pine (6 feet): $18 to $38 per foot, or $2,700 to $5,700 for 150 feet
  • Cedar (6-foot privacy): $25 to $55 per foot, or $3,750 to $8,250 for 150 feet
  • Vinyl (6-foot privacy): $28 to $55 per foot, or $4,200 to $8,250 for 150 feet
  • Composite: $40 to $80 per foot, or $6,000 to $12,000 for 150 feet

Source: Fence Advisors, 2026 national pricing guide.

The Home Depot's own fence installation page puts the average fencing job at $6,300 in 2025. Your number moves with length, height, and ground conditions.

How much does a privacy fence cost?

A 6-foot privacy fence costs $18 to $55 per linear foot installed. Pressure-treated pine sits at the low end, and cedar and vinyl sit at the high end. For 150 feet, that works out to about $2,700 to $8,250.

Height matters too. Going from a 4-foot fence to a 6-foot fence usually adds 30% to 50% to material and labor, according to Fence Advisors. A solid privacy fence also uses more material per foot than a picket or chain link fence of the same length.

Wood, vinyl, or chain link: which costs less?

A wood fence costs $18 to $55 per linear foot, a vinyl fence costs $28 to $55, and a chain link fence costs $15 to $35. Chain link is the cheapest, and wood usually costs less than vinyl up front.

Maintenance changes the math. Wood needs staining every two to three years at about $1.50 to $3 per foot. Vinyl costs 10% to 20% more at the start but needs no staining, per Fence Advisors.

What else adds to the price?

The per-foot price is only the start. Fence Advisors lists these common extras:

  • Old fence removal: $3 to $8 per foot
  • Walk gate: $150 to $400 each
  • Double drive gate: $400 to $1,200
  • Permit: $25 to $150, depending on the city
  • Property survey: $300 to $600
  • Sloped or rocky ground: 15% to 30% more

Get three to five written quotes, because contractor pricing can vary by 20% to 40% for the same job. Our guide to fair contractor quotes shows which fees to question.

How much does it cost to replace a fence?

Replacing a fence costs the price of a new fence plus $3 to $8 per foot to take the old one out. For a 150-foot cedar fence, that is about $3,750 to $8,250 for the new fence and $450 to $1,200 for removal.

Replace the whole fence when the posts have failed, not just the boards. New panels on rotten posts come loose again within a season.

How much does fence repair cost?

Runhome's typical estimate for fence repair is $640 to $1,400, with a median of $1,030. That comes from 15 fence repair estimates Runhome gave between April 3 and November 15, 2026, listed in the Runhome repair price index.

Two Runhome guides show how the price moves with the damage:

Both ranges are Runhome estimates and include the trip and assessment.

Should you repair or replace a fence?

Repair when the posts are solid and the damage is limited. Modern Fence uses two rules. Replace when more than 20% to 25% of the fence has heavy structural damage, or when the repair estimate nears 50% of the cost of a new fence.

Check the posts first:

  1. Push each post with both hands. A post that rocks has a failing footing.
  2. Press a screwdriver into the wood at ground level. If it sinks in, the post has rotted.
  3. Count the damaged sections and compare them with the whole run.
  4. Get one repair price and one replacement price for the same stretch.

A wood fence usually lasts 15 to 20 years, so an older fence with several bad posts is usually a replacement job.

Common questions

Do I need a permit to build or replace a fence?

It depends on your city. Tacoma allows fences up to seven feet tall without a permit, while Saint Paul requires a permit for any fence. Call your local building office before you buy materials.

Who pays for a fence I share with a neighbor?

Costs on a shared boundary fence are usually split. Agree on the repair or rebuild, and the split, before any work starts.

How long does a wood fence last?

Most wood fences last about 15 to 20 years, according to Modern Fence. A fence near the end of that range often needs replacing even when the damage looks moderate.

Does homeowners insurance cover fence damage?

It may cover damage from a covered cause such as a falling tree, wind, or a vehicle. Rot, insect damage, and general wear are usually excluded, according to Modern Fence.

Why is my quote higher than the per-foot prices?

Per-foot prices usually leave out gates, old fence removal, permits, and difficult ground. Ask each contractor to itemize those lines so you can compare bids.

Get a price for your fence

Send Runhome a photo of the fence and a few words about the problem, and get project guidance with a price for your ZIP code in minutes. Start with a photo repair estimate, or browse the deck, fence, and porch fix guides. Runhome is featured in this article.

What's the oldest thing on your list?

Stop taking calls from aggressive sales reps. Hand off your next repair and let Runhome manage the rest.