How Much Does It Cost to Install a Fence? Every Material Compared (2026 Guide)

fence installation cost per foot wood vinyl 2026

Last updated: June 2026

Fence installation quotes are one of the most variable in home improvement — two contractors measuring the same yard regularly come back with prices $2,000–$5,000 apart for what appears to be identical work. The material choice explains some of that gap. Wood fence costs $15–$30 per linear foot installed. Vinyl runs $20–$40. Aluminum hits $25–$40. Chain link is the budget option at $8–$20. For a standard 150-linear-foot backyard fence, that’s the difference between a $1,200 project and a $6,000 project — and understanding what justifies the premium before you sign anything is money in your pocket.

What contractors rarely explain before quoting: the fence posts and installation quality matter more than the fence material itself. A premium vinyl fence on poorly set posts fails within 5 years. A basic pressure-treated wood fence on properly set concrete footings lasts 20 years. This guide covers every cost factor and the installation quality questions that separate a 10-year fence from a 25-year one.

Fence Cost Per Linear Foot by Material

Fence Material Cost per Linear Foot 150 LF Total Lifespan
Chain link $8–$20 $1,200–$3,000 20–30 years
Wood (pressure treated pine) $15–$25 $2,250–$3,750 15–20 years
Wood (cedar) $18–$30 $2,700–$4,500 20–30 years
Vinyl (PVC) $20–$40 $3,000–$6,000 25–40 years
Aluminum $25–$40 $3,750–$6,000 30–50 years
Wrought iron / steel $30–$60 $4,500–$9,000 50–100 years
Composite $25–$45 $3,750–$6,750 25–30 years

Use Our Free Fence Cost Calculator

Enter your fence dimensions, material, and any gates to get an instant estimate. This calculator accounts for linear footage, material, post setting, and gate installation.

Fence Installation Cost Calculator

Wood vs. Vinyl vs. Aluminum — The Honest Comparison

Every fence contractor has a preferred material — usually the one they install most. Getting an unbiased comparison before you start getting quotes is the best preparation you can do.

Wood Fence — The Classic Choice With Real Trade-offs

Wood remains the most popular residential fence material in the US — and for good reasons. At $15–$30 per linear foot installed, it’s affordable, customizable, and offers a natural aesthetic that synthetic materials approximate but don’t replicate. Cedar is the premium wood choice — naturally rot-resistant and insect-resistant, it lasts 20–30 years with periodic sealing or staining. Pressure-treated pine is the budget option at slightly lower cost, lasting 15–20 years.

The maintenance reality: wood fences need staining or sealing every 2–3 years to prevent weathering, cracking, and gray discoloration. A 150-foot fence costs approximately $200–$500 to seal DIY or $400–$800 professionally. Over a 20-year ownership period, that’s $2,000–$5,000 in maintenance — a real cost that wood fence quotes never include. Factor this in when comparing wood to higher-upfront-cost alternatives like vinyl.

Wood fence boards also warp, split, and crack over time — particularly in climates with significant moisture swings. Individual boards can be replaced for $5–$20 per board, making wood the most repairable fence material available. If a section of vinyl fence is damaged, you’re often replacing entire panels.

Vinyl Fence — The Low-Maintenance Premium

Vinyl fencing at $20–$40 per linear foot installed costs roughly double wood upfront — and requires essentially zero maintenance beyond occasional washing with a garden hose. No staining, no sealing, no warping, no rot. Quality vinyl fence from manufacturers like Certainteed, Bufftech, or Westech carries lifetime warranties and genuinely delivers on the low-maintenance promise.

The math over 20 years often favors vinyl when you include wood’s maintenance costs. A wood fence at $3,000 installed + $3,000 in 20-year maintenance equals $6,000 total. A vinyl fence at $5,000 installed + $200 in occasional cleaning equals $5,200 total — cheaper lifetime cost despite higher upfront price.

Vinyl’s practical limitations: it can crack in extreme cold (below -10°F consistently), fades slightly in intense UV over decades, and looks noticeably synthetic up close — particularly cheaper vinyl with thin walls. Specify wall thickness when comparing vinyl quotes — premium vinyl at 0.150″ wall thickness is significantly more durable than budget vinyl at 0.080″. The difference isn’t visible until a tree branch hits it.

Aluminum Fence — The Best Choice for Decorative Applications

Aluminum fencing at $25–$40 per linear foot mimics the look of wrought iron at a fraction of the cost and weight, without iron’s rust vulnerability. It’s the dominant choice for decorative front-yard fencing, pool enclosures, and applications where visibility through the fence is desirable — around gardens, along driveways, or as a boundary marker that doesn’t block sight lines.

Aluminum doesn’t provide privacy — the open picket style is its defining characteristic. For backyard privacy applications, wood or vinyl is the appropriate choice. For front yards, pool areas, and decorative boundaries, aluminum is often the best combination of appearance, longevity, and cost. Quality aluminum fence from Jerith, Specrail, or Ameristar carries lifetime warranties and resists rust, corrosion, and fading for decades with zero maintenance.

Chain Link — Underrated for the Right Applications

Chain link at $8–$20 per linear foot is the budget choice that most homeowners dismiss aesthetically — but it’s the right choice for large properties, dog runs, garden enclosures, and any application where function matters more than appearance. It lasts 20–30 years with zero maintenance, is the easiest fence to install and repair, and provides excellent security for pets and children at the lowest cost per linear foot available.

Vinyl-coated chain link — available in black, green, and brown — looks significantly better than galvanized silver and costs only $2–$4 more per linear foot. If you’re considering chain link, always specify vinyl-coated black — the aesthetic improvement for minimal additional cost is substantial.

What Drives Fence Costs Beyond Material

1. Post Setting — The Most Important Quality Variable

Every fence post must be set in concrete to resist wind loads, frost heaving, and lateral pressure from the fence panels. The standard specification: posts set in concrete footings at one-third the post length below grade, with the hole diameter at least 3x the post diameter. A 6-foot fence requires posts set at least 2 feet deep; in cold climates with significant frost depth, 3–4 feet is required to prevent frost heaving.

A fence contractor who sets posts only 18 inches deep to save time and concrete is building a fence that leans within 5 years. Ask specifically: “How deep are you setting the posts, and how are you mixing the concrete?” Contractors who can’t answer specifically are corners to watch carefully.

2. Terrain — What Slopes and Rocky Soil Cost

A flat yard with no obstacles is the ideal scenario. Add any of the following and costs increase: significant slope — a yard that drops more than 1 foot per 8 feet of fence run requires either stepped fencing (panels that step down at each post) or racked fencing (panels that follow the slope) — adds $2–$5 per linear foot in labor. Rocky soil that requires power equipment to set posts adds $3–$8 per linear foot. Tree roots in the fence line require hand digging and potentially rerouting, adding variable cost. Existing concrete or pavers in the fence footprint require breaking out before post setting.

Request that contractors walk your specific yard before quoting — a quote given without a site visit doesn’t account for your terrain and will change when work starts.

3. Gates — More Expensive Per Foot Than the Fence

Gates are the most labor-intensive element of fence installation — they require precise hinging, latching hardware, and bracing to prevent sagging. A standard walk gate (36–48 inches wide) costs $200–$500 installed on top of fence material. A double drive gate (10–12 feet wide for vehicle access) costs $500–$1,200 installed. An automatic gate opener adds $800–$2,500 depending on gate weight and automation system.

Gates are also the most common failure point in a fence — they sag, stick, and require adjustment over time. Quality gate hardware — heavy-duty hinges rated for the gate weight, a latch that works from both sides, and diagonal bracing to prevent racking — is worth specifying in your contract.

4. Property Line Verification

Building a fence on the wrong side of the property line is one of the most expensive fence mistakes — you may be required to remove and rebuild it entirely. Before any fence installation, verify your property lines using your survey (typically available in your closing documents) or hire a licensed surveyor for $300–$700 if your survey is old or unclear. Many municipalities also require setbacks from property lines — fences often must be 6–12 inches inside the property line. Check local zoning before designing your fence layout.

Also check HOA requirements if applicable — many HOAs specify fence height limits, materials, and styles. Installing a non-compliant fence means removal and replacement at your expense.

5. Permits

Most US jurisdictions require permits for fence installation, typically costing $50–$200. Some require neighbor notification for fences on or near shared property lines. Your contractor should know local permit requirements and handle the application. Unpermitted fences that violate setback or height requirements can require removal and may surface during home sales inspections.

How to Get the Best Price on Fence Installation

  • Get 3 quotes specifying the same material, height, and post depth — fence quotes without specifications are meaningless for comparison. Ask each contractor to quote the same linear footage, same material brand, same post spacing, and same post depth.
  • Buy during the off-season — fence contractors are typically slowest in winter in cold climates and more willing to negotiate. Spring and fall are peak seasons.
  • Remove the old fence yourself — pulling old fence posts and panels is hard work but saves $300–$800 on a typical project. Rent a post puller for $50–$100/day from a tool rental shop.
  • Clear the fence line yourself — trimming vegetation, moving compost bins, and clearing any obstacles from the fence path before the crew arrives saves labor time the contractor will otherwise charge for.
  • Ask about material sourcing — some fence contractors buy materials at contractor pricing and pass some savings on. Others mark up materials significantly. Getting a quote that separates labor and materials lets you compare more effectively.

Frequently Asked Questions About Fence Cost Per Foot

How long does fence installation take?

A standard 150-linear-foot wood or vinyl fence takes a 2-person crew 1–2 days to install. Chain link fences install faster — typically 1 day for the same length. Concrete footings need 24–48 hours to cure before tension is applied, so some crews set posts on day 1 and install panels on day 2. Complex terrain, many gates, or ornamental iron work extends the timeline to 3–5 days.

How long does a wood fence last?

A pressure-treated pine fence lasts 15–20 years with periodic staining or sealing. Cedar lasts 20–30 years due to its natural rot resistance. The biggest factors in wood fence longevity: post depth (deeper = longer lasting), post material (pressure-treated or cedar posts last longer than untreated), and whether the fence is stained/sealed every 2–3 years. A wood fence that’s never sealed typically looks weathered within 5 years and may fail structurally within 10–12 years.

Is vinyl fence worth the extra cost over wood?

For most homeowners planning to stay in the home 10+ years, yes — when you factor in wood’s maintenance costs (staining every 2–3 years) over 20 years, vinyl’s lifetime cost is often lower than wood despite the higher upfront price. For homeowners who enjoy the maintenance and prefer wood’s natural aesthetic, or who plan to sell within 5–7 years, wood remains a legitimate choice at lower upfront cost.

What is the cheapest fence option?

Chain link is the cheapest installed fence at $8–$20 per linear foot. For a 150-foot perimeter, chain link runs $1,200–$3,000 versus $2,250–$4,500 for wood. Vinyl-coated black chain link dramatically improves the appearance for $2–$4 more per linear foot and is worth the small premium. For applications where privacy isn’t the primary goal — dog runs, garden boundaries, property marking — chain link is often the most practical choice.

Do I need a permit to install a fence?

Most US jurisdictions require permits for fence installation, particularly for fences over 4 feet in height. Permits cost $50–$200 and typically require a plot plan showing fence location relative to property lines. Your contractor should handle permit applications — verify this is included before signing. Fences that violate setback requirements or height limits may need to be removed and rebuilt at your expense.

How do I find my property line for a fence?

Start with your property survey — typically included in your closing documents or available from the county recorder’s office. Survey pins or iron rods are often buried at property corners — a metal detector can help locate them. If your survey is unclear or over 20 years old, hire a licensed surveyor for $300–$700 to re-establish corners. Never assume the neighbor’s fence or an old fence line represents your actual property boundary — errors are common and costly to correct after a new fence is installed.

Can I install a fence myself?

Yes — fence installation is one of the more accessible DIY home improvement projects. Wood fence installation requires basic carpentry skills, a post hole digger or auger rental ($80–$150/day), and a weekend of work for a standard 150-foot fence. Vinyl fence installation involves snapping pre-made panels into posts — even more straightforward than wood. Chain link requires specialized tension tools but follows a logical process. DIY fence installation saves $800–$2,500 in labor on a typical project — a meaningful saving that many handy homeowners capture successfully. For related outdoor projects, see our guides on deck building cost and concrete patio cost — often done alongside fencing as part of a complete backyard project.

What is the best fence for dogs?

The best fence for dogs depends on the dog. For most dogs, a 6-foot privacy fence in wood or vinyl provides containment and eliminates the visual stimulation that causes fence-running behavior. For large dogs or known escape artists, specify no gap at ground level — wood fence boards should extend to within 1–2 inches of grade, and chain link should be buried or secured with ground stakes. For diggers, a concrete or paver border along the fence base ($200–$500 DIY) prevents digging under. Chain link is the most practical containment solution for large yards at lowest cost — vinyl-coated black chain link is the recommended specification for both function and aesthetics.