How Much Does It Cost to Install a Fence in 2026?
Whether you need privacy, security, or just want to keep the dog in the yard, fence costs depend heavily on the material, linear footage, and terrain. Here's what you can expect to pay — and where you can save.
Quick Answer
The average fence installation costs $2,800 to $5,500 for a typical yard (150 to 200 linear feet). Budget options start at $1,500, while high-end materials and large properties can run $8,000 to $15,000+. Material choice is the biggest cost factor — chain link at $15 to $25/ft vs. cedar at $25 to $45/ft vs. vinyl at $30 to $50/ft.
Cost by Fence Material
| Material | Cost per Linear Foot (Installed) | 150 ft Yard Total | Lifespan |
|---|---|---|---|
| Chain Link (4 ft) | $15 – $25 | $2,250 – $3,750 | 20 – 30 years |
| Pressure-Treated Pine (6 ft) | $20 – $35 | $3,000 – $5,250 | 15 – 20 years |
| Cedar (6 ft) | $25 – $45 | $3,750 – $6,750 | 20 – 25 years |
| Vinyl / PVC (6 ft) | $30 – $50 | $4,500 – $7,500 | 25 – 30+ years |
| Aluminum / Ornamental (4-5 ft) | $30 – $55 | $4,500 – $8,250 | 30+ years |
| Wrought Iron (4-6 ft) | $50 – $100+ | $7,500 – $15,000+ | 50+ years |
What Goes Into the Cost
| Item | Cost Range |
|---|---|
| Fence materials (per linear foot) | $8 – $60+ |
| Posts & concrete | $5 – $15/post |
| Gate (single walk) | $150 – $500 |
| Gate (double/drive) | $400 – $1,500 |
| Old fence removal | $3 – $5/linear foot |
| Permits | $50 – $500 |
| Survey / property line stake | $200 – $600 |
| Grading / land prep (if needed) | $500 – $2,000 |
| Labor (installation) | $10 – $25/linear foot |
Factors That Affect the Price
Linear footage. The most obvious factor — more fence means more cost. A typical residential backyard runs 150 to 200 linear feet. Fencing an entire property (front, sides, and back) might be 300 to 500+ linear feet.
Fence height. A 4-foot fence uses about 30% less material than a 6-foot fence. Going from a standard 6-foot privacy fence to an 8-foot version adds 20% to 30% to material costs. Check local codes — many jurisdictions limit backyard fences to 6 feet and front-yard fences to 3 to 4 feet.
Terrain. Flat, clear land is the cheapest to fence. Slopes require stepped or racked panels, which adds labor and material. Rocky soil makes post holes difficult and expensive — contractors may need to bring in a rock auger or jackhammer, adding $5 to $15 per post.
Old fence removal. Removing an existing fence runs $3 to $5 per linear foot, or $500 to $1,000 for a typical yard. If the old posts are set in concrete, removal is more labor-intensive and can cost more.
Gates and hardware. Every gate adds cost. A basic walk gate in a wood fence is $150 to $300. A double-wide driveway gate runs $500 to $1,500. Automated gate openers add $1,000 to $3,000 on top.
HOA and local codes. Your HOA may dictate material, color, and height. Some neighborhoods require aluminum or vinyl — no wood. These restrictions can push you toward more expensive materials whether you want them or not.
Labor Costs
Fence installation labor typically runs $10 to $25 per linear foot, making up about 40% to 50% of the total project cost. A two-person crew can install 100 to 150 feet of standard wood privacy fence in a day on flat terrain. Vinyl and aluminum take slightly less time; ornamental iron takes more.
Post setting is the most labor-intensive part. Each post needs a hole dug 30 to 36 inches deep (below frost line in cold climates), filled with concrete, and left to set. Posts are typically spaced 6 to 8 feet apart, so a 150-foot fence needs 20 to 25 posts.
Regional Price Differences
Fence costs vary about 20% to 40% by region. In the South, where pressure-treated pine is readily available, wood fences tend to be cheapest. In the Northeast, where frost lines are deeper (42 to 48 inches), post setting costs more due to deeper holes and more concrete.
Urban areas are generally more expensive due to higher labor rates, tighter access (no equipment can get in), and stricter permit requirements. Rural properties may have longer runs but easier installation. Cedar costs less in the Pacific Northwest (where it grows) and more in the Southeast.
DIY vs. Hiring a Professional
Fence installation is one of the more DIY-friendly exterior projects. A handy homeowner with a post hole digger (rentable for $50 to $75/day) and a helper can install a 150-foot wood fence in 2 to 3 weekends. The savings are significant — you'll cut the project cost by 40% to 50% by eliminating labor.
What to watch out for: make sure you call 811 to mark underground utilities before digging. Get a survey to confirm property lines — building even 6 inches over the line can mean tearing it all down. Set your corner and gate posts first, then string a line to keep everything straight.
Vinyl and aluminum fences are also DIY-installable but require more precision. Chain link is the easiest for DIY. Ornamental iron typically requires professional installation.
When to hire a pro: if your yard has significant slopes, rocky soil, or you need more than 200 linear feet installed. The time investment for DIY on a large property can stretch into weeks.
How to Get Accurate Estimates
Before calling fence contractors, measure your property boundaries (or get your survey). Know your approximate linear footage, desired material, and fence height. Count how many gates you need and where.
Get 3 to 4 estimates. Each should include: material type and grade, post spacing, concrete for posts, number of gates, old fence removal (if applicable), and any grading or prep work. Compare apples to apples — one contractor quoting pressure-treated pine and another quoting cedar will have very different prices for the same footage.
Ask about warranties. Most fence companies offer 1 to 5 years on labor. Material warranties vary: vinyl often has 20 to 30 year manufacturer warranties, while wood fences typically have none. Ask if they handle the permit process.
Related Resources
Ready to Get an Estimate?
BidOrca helps contractors create professional, itemized fence estimates in minutes. Clear pricing, no surprises.
Start Free TodayFrequently Asked Questions
What is the cheapest fence to install?
Chain link is the cheapest at $15 to $25 per linear foot installed. For privacy fencing, pressure-treated pine is the most affordable at $20 to $35 per linear foot. If you DIY a wood fence, material cost alone runs $8 to $15 per linear foot.
How long does fence installation take?
A professional crew can install 100 to 200 linear feet of wood or vinyl fence in 1 to 2 days. Chain link is faster — often done in a single day. Ornamental iron or custom fencing may take 2 to 4 days.
Do I need a permit to build a fence?
Most jurisdictions require a permit for fences over 6 feet, and some require them for any fence. Permit costs typically range from $50 to $500. Your contractor should handle the permit, but always confirm local requirements. Building without a permit can result in fines and forced removal.
Wood or vinyl — which is the better value?
Wood costs 25% to 40% less upfront but requires staining or sealing every 2 to 3 years ($0.50 to $1.50/sqft) and may need board replacements after 10 to 15 years. Vinyl costs more initially but requires almost zero maintenance and lasts 25 to 30+ years. Over a 20-year period, vinyl often costs less when you factor in maintenance.
Who pays for a fence between neighbors?
This varies by state and local law. In many states, there's no legal obligation for a neighbor to share the cost — unless there's a local "good neighbor fence" ordinance. It's best to discuss the project with your neighbor before starting and reach a written agreement about cost sharing, material choice, and the "good side" orientation.
Sources: Pricing data based on national averages from RSMeans, HomeAdvisor, and contractor surveys. Regional costs may vary significantly.