A new fence defines your property line, keeps kids and pets safe, and adds curb appeal that buyers notice the moment they pull into the driveway. But the price tag can vary wildly. A basic 150-linear-foot chain-link fence might run $1,500, while a custom cedar privacy fence around a large lot can push well past $10,000. Understanding what drives those numbers helps you budget accurately and avoid surprises on installation day.
This guide breaks down every cost factor for fence installation in 2026, including material pricing per linear foot, gate costs, post types, terrain challenges, permit fees, and the real tradeoffs between doing it yourself and hiring a professional crew.
Quick Summary: Fence Installation Costs at a Glance
These figures include materials and professional labor for a standard installation on relatively flat ground. Your actual cost depends on fence height, gate count, ground conditions, and local labor rates. Keep reading for the full breakdown.
Fence Installation Costs by Material
Pressure-Treated Pine Privacy Fence
Pressure-treated pine is the most popular fence material in the United States, and for good reason. It offers a solid privacy barrier at the lowest wood price point, and the chemical treatment protects against rot and insect damage for roughly 15 to 20 years with proper maintenance.
Expect to pay $17 to $28 per linear foot installed for a standard 6-foot-tall dog-ear or flat-top privacy fence. Material costs alone run $8 to $14 per linear foot, with labor adding another $9 to $14. Pine pickets tend to warp and twist over time, especially in humid climates, so plan on staining or sealing every two to three years to extend the lifespan and keep the fence looking clean.
Cedar Privacy Fence
Cedar is the premium wood option that most homeowners choose when they want natural beauty without the ongoing chemical treatments that pine requires. Western red cedar contains natural oils that resist rot, decay, and insect infestation. It weathers to a soft silver-gray if left untreated, or you can maintain the warm reddish-brown color with periodic staining.
Installed cedar fence costs range from $22 to $38 per linear foot, depending on the board grade and fence style. A standard 6-foot privacy fence with premium #1 grade tight-knot cedar boards sits at the higher end, while #2 grade with some visible knots brings the price closer to $22. Cedar fences typically last 20 to 30 years, making the per-year cost competitive with treated pine once you factor in reduced maintenance.
Vinyl / PVC Fence
Vinyl fencing has gained significant market share over the past decade because it essentially eliminates maintenance. No painting, no staining, no sealing. You hose it off once or twice a year, and it looks the same as the day it was installed.
The tradeoff is a higher upfront cost: $25 to $45 per linear foot installed. A 6-foot privacy vinyl fence with no visible gaps typically falls in the $30 to $45 range, while shorter picket-style vinyl fences sit closer to $25. Quality matters enormously with vinyl. Cheap vinyl panels can yellow, crack, or become brittle in extreme cold. Look for panels with UV inhibitors and a manufacturer warranty of at least 20 years. Top-tier vinyl fences can last 30 years or more with virtually zero upkeep.
Aluminum Fence
Aluminum fencing is the go-to choice for decorative perimeter fencing that provides security without blocking sightlines. It works especially well around pools, front yards, and properties where HOA rules prohibit solid privacy fencing.
Installed costs range from $26 to $42 per linear foot. Residential-grade aluminum (typically 5/8-inch pickets) runs $26 to $32, while commercial-grade panels with thicker pickets and reinforced rails push toward $42. Aluminum does not rust, does not need painting, and lasts 30 to 50 years. However, it provides zero wind protection and zero privacy, and it can bend or dent under heavy impact. It is not the best choice if you have large dogs that like to charge the fence line.
Wrought Iron Fence
True wrought iron delivers an unmatched look of permanence and elegance. It is the heaviest, strongest, and most expensive metal fence option. Modern wrought iron fences are actually made from mild steel that is welded and shaped to replicate traditional ironwork, with a powder-coat finish to prevent rust.
Expect to pay $28 to $55 per linear foot installed, with ornamental custom designs pushing even higher. The primary ongoing cost is rust prevention. Even with powder coating, wrought iron needs inspection every few years, and any chips or scratches in the finish should be touched up immediately to prevent corrosion. With diligent maintenance, a wrought iron fence can last 50 to 100 years. Without it, rust can compromise structural integrity within 15 to 20 years.
Chain-Link Fence
Chain-link remains the most affordable fencing option per linear foot, making it the default choice for large lots, rural properties, dog runs, and utility areas where appearance is secondary to function.
A standard 4-foot galvanized chain-link fence costs $10 to $20 per linear foot installed. Upgrading to a 6-foot height adds $3 to $6 per foot. Vinyl-coated chain-link in black or green costs $2 to $5 more per foot than galvanized but looks substantially better and resists rust longer. Privacy slats woven into the mesh add another $3 to $7 per foot. Chain-link fences last 15 to 25 years before the mesh begins to sag or the galvanized coating deteriorates.
Composite Fence
Composite fencing combines wood fibers and plastic polymers to create boards that look like real wood but resist rot, insects, and warping. It is the newest mainstream fencing material and appeals to homeowners who want the appearance of wood with the low maintenance of vinyl.
Installed costs run $30 to $55 per linear foot, placing composite at the premium end of the market. The material itself is heavier than wood or vinyl, which means posts need to be sturdier and installation labor takes longer. The payoff is a 25- to 30-year lifespan with no staining, painting, or sealing required. Composite does not splinter, which makes it a safer choice for families with young children. The main drawback is limited style options compared to natural wood, though manufacturers are expanding their product lines every year.
Gate Costs
Gates are priced separately from per-linear-foot fencing because they require additional hardware, including heavy-duty hinges, latches, drop rods for double gates, and reinforced posts to handle the extra weight and repeated stress of opening and closing. A typical backyard fence project includes one walk gate and may include one double gate for lawn equipment or vehicle access. Budget an extra $300 to $1,000 for gates on most residential projects.
If you are adding a pool, most local codes require a self-closing, self-latching gate with the latch at least 54 inches above grade. Pool-compliant gate hardware adds $50 to $150 to the gate cost.
Post Types and Their Impact on Cost
Fence posts are the structural backbone of the entire installation. The post material, diameter, depth, and setting method all affect both cost and longevity.
Posts should be set in concrete at a depth equal to one-third the total post length, plus an additional four inches for a gravel drainage base. For a 6-foot fence with an 8-foot post, that means a hole roughly 30 to 32 inches deep. Skipping concrete or setting posts too shallow is the number one reason fences lean or fail prematurely, so this is not the place to cut costs.
Terrain and Site Factors
The condition of your property has a major impact on installation cost. A flat, clear lot with sandy soil is the easiest and cheapest scenario. Once you introduce slopes, rocks, trees, or access challenges, the price starts climbing.
- Slopes and hills: Fences on sloped ground require either stepping (each panel drops to a new level) or racking (the panel follows the slope angle). Stepped fences cost 10% to 20% more. Racked fences cost 15% to 30% more because the rails and pickets must be custom-cut.
- Rocky soil or hardpan clay: If the auger cannot dig through the ground, the crew may need a jackhammer, rock bar, or even a mini excavator. Expect a surcharge of $5 to $15 per post hole in rocky conditions.
- Tree roots and stumps: Routing a fence around mature tree roots adds linear footage and labor time. Removing a stump in the fence line runs $75 to $300 per stump depending on size.
- Limited access: If the crew cannot get equipment to the work area (narrow side yards, steep backyard drops, no gate in existing fence), materials must be carried by hand, which adds labor hours and cost.
- Old fence removal: Tearing out and hauling away an existing fence adds $3 to $8 per linear foot. A 150-foot removal typically runs $450 to $1,200 including disposal fees.
Permits, HOA Rules, and Property Surveys
Building Permits
Most municipalities require a permit for fences over 6 feet tall, and many require permits for any fence regardless of height. Permit fees typically range from $25 to $250 depending on your city or county. Some jurisdictions also require a site plan showing the fence location relative to property lines, structures, and easements. Your fence contractor should know local permit requirements, but the permit is ultimately the homeowner's responsibility.
HOA Restrictions
Homeowners associations often have strict rules about fence materials, colors, heights, and styles. Common HOA fence rules include maximum heights of 4 feet in front yards and 6 feet in backyards, approved material lists that may exclude chain-link or certain wood types, mandatory finished-side-out orientation, and pre-approval of the exact design before installation begins. Violating HOA rules can result in fines and forced removal, so always check your covenants, conditions, and restrictions (CC&Rs) before signing a contract.
Property Surveys
Installing a fence on or over your property line is an expensive mistake. If a neighbor disputes the location, you may be forced to tear down the entire fence and rebuild it. A professional boundary survey costs $300 to $800 and provides a legal record of exactly where your property ends. Many fence contractors strongly recommend a survey before installation, and some will not guarantee their work without one. If your property was surveyed when you purchased it, those stakes or monuments may still be in place, but it is worth confirming before a $5,000 or $10,000 fence goes in the wrong spot.
DIY vs. Professional Installation
Fence installation is one of the more accessible DIY projects for handy homeowners, but it is also one of the most physically demanding. Here is a realistic comparison.
DIY savings typically range from 35% to 50% on the total project cost. However, consider the hidden costs: renting a two-person auger, buying or renting a level and string line, purchasing concrete and gravel, and the very real possibility of making a mistake that requires re-doing a section. Crooked posts set in concrete are extremely difficult to fix.
Professional installation makes sense for projects with slopes, rocky soil, long runs, or multiple corners and gates. A pro crew with the right equipment can set 25 to 40 posts per day compared to 6 to 10 for a DIY homeowner. The labor cost pays for itself if your time is valuable or if site conditions are challenging.
Fence Height Options and Cost Impact
Standard residential fence heights are 4 feet, 5 feet, and 6 feet. Each additional foot of height adds roughly 15% to 25% to the material cost per linear foot, plus slightly more labor for handling taller, heavier panels.
- 4-foot fence: Common for front yard decorative fences, picket fences, and pool enclosures. Adequate for small dogs but not for privacy or large dog containment.
- 5-foot fence: A less common in-between height. Some homeowners choose 5 feet when HOA rules cap fence height below 6 feet but they still want more privacy than 4 feet provides.
- 6-foot fence: The standard for backyard privacy fences. Blocks sightlines from most neighboring yards and provides effective containment for medium and large dogs.
- 8-foot fence: Used for maximum privacy, noise reduction, or security. Many municipalities require a special permit for fences over 6 feet. Material and labor costs are roughly 40% to 60% higher than a 6-foot fence of the same material.
Maintenance Costs and Lifespan by Material
The sticker price of a fence is only part of the story. Maintenance costs over the life of the fence can significantly change the total cost of ownership.
When you calculate cost per year of service, materials with low upfront costs but high maintenance (like treated pine) often end up costing more over 20 years than premium materials like cedar, vinyl, or composite. A $4,000 vinyl fence that lasts 30 years with zero maintenance costs $133 per year. A $2,800 pine fence that lasts 15 years and needs $400 in staining every three years costs $253 per year. The cheap option is not always the economical one.
Tips for Reducing Fence Installation Costs
- Get at least three written quotes. Fence pricing varies substantially between contractors. Three quotes give you a reliable sense of the local market rate and help you spot outliers.
- Install in the off-season. Late fall and winter are the slowest months for fence contractors in most regions. Some offer 10% to 20% discounts to keep crews busy during the slow period.
- Choose a simpler style. Dog-ear pickets cost less than board-on-board, shadowbox, or lattice-top designs. Every style upgrade adds $2 to $8 per linear foot.
- Reduce the number of gates. Each gate adds $150 to $500 or more. Plan your gate placement carefully so you have what you need but nothing extra.
- Share a fence with your neighbor. If your neighbor also wants a new fence on the shared property line, splitting the cost 50/50 is common practice and can save each party thousands of dollars.
- Prep the site yourself. Clearing brush, removing old fencing, and marking the property line before the crew arrives can save $200 to $500 in labor charges.
- Consider shorter fencing in low-visibility areas. A 4-foot fence along a side yard that nobody sees costs 20% to 30% less than a 6-foot fence.
Red Flags When Hiring a Fence Contractor
Fence installation has a low barrier to entry, which means the range of contractor quality is enormous. Watch for these warning signs before signing a contract.
- No written estimate or vague line items. A professional quote should itemize materials, labor, gates, post count, concrete, and any site prep. "Fence installation - $4,500" with no breakdown is a red flag.
- Demands full payment upfront. A reasonable deposit is 25% to 50% with the balance due on completion. Any contractor who wants 100% before starting may not come back to finish the job.
- No proof of insurance. Fence installation involves digging near utility lines and working with power tools. If an uninsured worker is injured on your property, you could be liable. Ask for a certificate of general liability and workers' compensation insurance.
- Will not pull a permit. If your area requires a permit and the contractor brushes it off, that is a sign they either do not know local codes or are cutting corners. An unpermitted fence can result in fines and forced removal.
- Unrealistically low bid. If one quote is 30% to 40% below the others, the contractor is likely using inferior materials, skipping concrete in post holes, or planning to rush through the job with substandard workmanship.
- No references or portfolio. Established fence contractors have photos of completed work and happy customers who will vouch for their quality. A contractor with no track record is a gamble you should not take on a multi-thousand-dollar project.
- Pressure to sign immediately. "This price is only good today" is a classic high-pressure sales tactic. A fair price is a fair price tomorrow and next week. Walk away from anyone who will not give you time to compare quotes.
How Fence Costs Compare to Other Home Projects
Fencing is a mid-range exterior improvement in terms of cost. Here is how it stacks up against other common projects homeowners tackle at the same time.
- A garage door replacement typically costs $800 to $4,500 and offers one of the highest returns on investment of any exterior upgrade.
- Gutter installation runs $1,000 to $3,500 for most homes and protects your foundation, landscaping, and siding from water damage.
- An interior painting project averages $2,000 to $6,000 for a full home and is often done alongside exterior improvements like fencing.
- A full roof replacement is a much larger investment at $8,000 to $20,000 or more, but it is the single most important structural upgrade you can make.
Many homeowners bundle fence installation with other exterior projects to negotiate better pricing from contractors who are already on site with equipment.
Bottom Line
Fence installation in 2026 costs most homeowners between $2,500 and $8,000 for a standard 150-linear-foot residential fence, with the exact number depending on material choice, fence height, number of gates, site conditions, and local labor rates. Chain-link is the cheapest at $10 to $20 per linear foot, while composite and wrought iron sit at the top of the range at $30 to $55 per linear foot.
The smartest approach is to balance upfront cost against lifespan and maintenance. A slightly more expensive material that lasts twice as long and requires no upkeep almost always wins on a cost-per-year basis. Get multiple quotes, verify insurance and licensing, pull the right permits, and confirm your property lines before a single post hole gets dug. A well-planned fence project adds real value to your home and eliminates headaches for decades to come.