How Much Does Fence Installation Cost?
Fence installation costs $1,800–$6,000 for a typical residential project, depending on material, height, and terrain. Wood is most affordable; wrought iron is premium. Get an instant estimate using our calculator.
Cost Calculator
Cost breakdown
| Item | Low | High | Unit |
|---|---|---|---|
| Wood fence | $15 | $30 | per linear ft |
| Vinyl fence | $20 | $40 | per linear ft |
| Chain link | $10 | $20 | per linear ft |
| Wrought iron | $25 | $50 | per linear ft |
What affects the cost
These are the main variables that shift the final price up or down.
Material type
High impactWood ($15–$30/ft) is most affordable; wrought iron ($25–$50/ft) is premium. Vinyl ($20–$40/ft) and chain link ($10–$20/ft) offer mid-range options.
Fence height
High impactTaller fences (5–6 ft) require more material and labor. Each additional foot can increase cost by 15–25% per linear foot.
Site terrain
High impactLevel ground is cheapest. Slopes, rocks, roots, and obstacles require extra excavation, grading, and labor—adding 20–50% to costs.
Gates
Medium impactEach gate adds $300–$800 depending on material and width (3–4 ft). Wider gates cost more.
Soil conditions
Medium impactRocky or clay soil requires deeper digging and may need concrete footings, increasing labor by 10–30%.
Existing fence removal
Medium impactRemoving old fence adds $2–$5 per linear foot. Disposal fees vary by location.
Permits and inspections
Low impactLocal permits cost $50–$300. Some jurisdictions require inspections, adding $100–$200.
Labor availability
Medium impactUrban areas and peak seasons (spring/summer) increase labor rates by 10–20%. Off-season projects may cost less.
How fence installation cost calculator pricing works
Our calculator multiplies your linear footage by material-specific per-foot rates, adjusted for height and terrain difficulty. We add gate costs separately. The formula accounts for labor, materials, and site conditions. Results show low, mid, and high estimates to reflect regional variation and contractor experience levels. Permit and removal costs are typically separate.
Fence Installation Cost Breakdown
Fence installation is one of the most visible and valuable exterior improvements you can make to your home. Whether you're looking to add privacy, security, or curb appeal, understanding the cost factors helps you budget accurately and make the right material choice.
Material Costs Per Linear Foot
The type of fencing material you choose has the biggest impact on your total project cost:
Wood Fencing ($15–$30 per linear foot) Wood is the most popular and affordable option for residential fences. Pressure-treated pine costs $15–$20/ft, while cedar or redwood runs $20–$30/ft. Wood requires regular maintenance (staining or sealing every 2–3 years) and typically lasts 15–20 years. Installation includes setting posts in concrete, attaching rails, and installing pickets or boards. Labor typically accounts for 40–50% of the wood fence cost.
Vinyl Fencing ($20–$40 per linear foot) Vinyl (PVC) fences are low-maintenance and long-lasting (25–30 years). They don't rot, splinter, or require painting. However, vinyl is more expensive upfront and can become brittle in extreme cold climates. Installation is similar to wood but may require specialized tools. Vinyl costs 25–35% more than wood but saves money on maintenance over time.
Chain Link Fencing ($10–$20 per linear foot) Chain link is the most budget-friendly option, ideal for temporary boundaries, pet containment, or commercial use. It requires minimal maintenance and lasts 15–20 years. Galvanized steel is standard; vinyl-coated options cost slightly more and resist rust better. Installation is quick, which keeps labor costs down.
Wrought Iron Fencing ($25–$50+ per linear foot) Wrought iron is the premium choice, offering elegance and durability (40+ years). It's heavy and requires professional installation and regular maintenance (painting every 3–5 years to prevent rust). Wrought iron is best for front-yard aesthetics or high-security applications. Custom designs increase costs significantly.
Height and Terrain Impact
Fence Height
Standard residential fences are 4 feet tall, balancing privacy and cost. Taller fences cost more:
- 3 feet: Decorative or property-line marking; lowest cost.
- 4 feet: Standard residential; good privacy without blocking views.
- 5 feet: Enhanced privacy; 15–25% more than 4-foot fences.
- 6 feet: Maximum privacy; 30–50% more than 4-foot fences.
Each additional foot requires more material and labor. Posts must be deeper for stability, and rails are longer.
Site Terrain
Level ground (easy): Straightforward installation; lowest labor cost. Posts are set at uniform depth, and no grading is needed.
Slightly sloped (standard): Most residential properties have some slope. Installers step the fence (raising posts incrementally) to follow the grade. This adds 10–15% to labor.
Steep slopes or obstacles (difficult): Rocky soil, tree roots, or steep grades require extra excavation, grading, and sometimes concrete footings. Labor can increase 30–50%. Some contractors may charge by the hour for difficult terrain.
Labor and Installation Costs
Labor typically accounts for 40–60% of fence installation costs. Factors affecting labor:
- Crew experience: Experienced crews work faster and produce higher-quality results, but may charge 10–20% more.
- Accessibility: Backyards with limited access (narrow side yards, gates) increase labor time.
- Post spacing: Standard 6-foot spacing is quickest; custom spacing takes longer.
- Concrete footings: Setting posts in concrete (recommended for longevity) adds $5–$10 per post, or $100–$200 for a 150-foot fence.
Gates and Extras
Gates add $300–$800 each, depending on:
- Width: 3-foot gates cost less than 4-foot gates.
- Material: Vinyl and wrought iron gates cost more than wood or chain link.
- Hardware: Hinges, latches, and springs add $50–$150 per gate.
- Automation: Electric gate openers cost $500–$2,000 additional.
Permits and Inspections
Most jurisdictions require fence permits ($50–$300). Some areas have setback requirements (distance from property lines) or height restrictions. Inspections may be required before and after installation, adding $100–$200. Check with your local building department before starting.
Removal of Existing Fence
If you're replacing an old fence, removal costs $2–$5 per linear foot, or $300–$750 for a 150-foot fence. Disposal fees vary by location. Some contractors bundle removal into the total bid; others charge separately.
Regional and Seasonal Variation
Fence installation costs vary by region:
- Urban areas: Higher labor rates (20–30% above national average).
- Rural areas: Lower labor rates but may require longer travel time.
- Peak season (spring/summer): Contractors charge 10–20% more and have longer wait times.
- Off-season (fall/winter): Lower rates and faster scheduling, but weather may delay work.
Long-Term Cost Considerations
While upfront cost matters, consider maintenance and lifespan:
- Wood: Lowest initial cost; highest maintenance (staining/sealing every 2–3 years = $200–$500/year for 150 ft).
- Vinyl: Higher upfront; minimal maintenance (occasional cleaning).
- Chain link: Low upfront and maintenance; least attractive aesthetically.
- Wrought iron: Highest cost; requires periodic painting to prevent rust.
Over 20 years, vinyl often costs less than wood when maintenance is factored in.
When to hire a pro
Hire a professional fence installer if you lack carpentry skills, don't have proper tools, or face difficult terrain. DIY installation is possible for simple chain-link or wood fences on level ground, but mistakes in post alignment or depth can compromise stability and longevity. Get at least three quotes and verify that contractors are licensed, insured, and offer warranties on materials and labor.
Frequently asked questions
A typical 150-foot fence takes 3–5 days for a two-person crew, depending on material and terrain. Chain link is fastest (1–2 days); wrought iron is slowest (5–7 days). Weather delays may extend the timeline.
Most jurisdictions require permits for fences over 4 feet or within setback distances from property lines. Check your local building department. Permits cost $50–$300 and ensure compliance with height and placement rules.
Wood and vinyl provide the best privacy at 5–6 feet tall. Chain link offers no privacy. Wrought iron offers style but not privacy. Consider your budget: wood is cheapest; vinyl requires less maintenance.
Posts should be set 2–3 feet deep (typically one-third of the fence height). For 4-foot fences, 3-foot depth is standard. Deeper posts in loose soil or windy areas improve stability and longevity.
Yes, but it costs more. Installers step the fence (raising posts incrementally) or rake the fence (angling it to follow the slope). Steep slopes may require grading or retaining walls, adding $500–$2,000.
Pressure-treated pine is cheaper ($15–$20/ft) and lasts 15–20 years but requires staining. Cedar is naturally rot-resistant ($20–$30/ft), looks better, and lasts longer but costs more upfront.
Wood fences should be stained or sealed every 2–3 years to prevent rot and weathering. Budget $200–$500 annually for a 150-foot fence. Vinyl requires only occasional cleaning.
Yes, if you plan to stay long-term. Vinyl costs 25–35% more upfront but lasts 25–30 years with minimal maintenance. Over 20+ years, vinyl often costs less than wood when maintenance is factored in.