How Much Does Fence Installation Cost?

Normal range: $1,730 - $4,398

The average U.S. homeowner spends about $3,044 to install a fence. Depending on length, height, and material, most spend between $1,730 and $4,398.

How we get this data
Kelly Weimert
Written by Kelly Weimert
Updated November 7, 2022
white wooden gate in front of white two-story house
Photo: Kristina Blokhin / Adobe Stock

Fencing prices will vary based on the length, type, and material. On average, expect to pay between $1,730 and $4,398. However, installing a fence means your kiddos and pups can run around the yard and play safely. Plus, a picturesque yard/fence combo can even boost your curb appeal. 

See the price range for fence installation in

your area
How we get this data
Normal range for U.S.
$1,730 - $4,398
  • Average
  • $3,044
  • Low end
  • $400
  • high end
  • $10,000

What Factors Influence the Cost of Fence Installation?

Beyond length, you should also account for labor costs, materials, and what type of property you’re trying to fence.

10 fence installation cost factors, including length, labor, materials, permits, and existing yard and trees
Photo: Boris SV / Moment / Getty Images


The cost to install a fence can vary based on the material used. For instance, a barbed wire fence averages $1 to $6 per linear foot. Compare this to a composite material, where the price ranges from $15 to $45 per linear foot.

However, the cost of barbed wire fencing per linear foot may be a little misleading—you actually need three to five strands to build an effective fence, which raises the price. With a composite material, you only need to pay for the panel and you don’t need to worry about strands.

Common prices for a residential backyard fence by linear foot include:

  • 100 linear feet: $2,300

  • 150 linear feet: $3,600

  • 300 linear feet: $6,900

If you need to protect livestock and land instead of humans, these are average fencing prices you’ll pay by lot size:

Lot SizeAverage Fence Cost
1/4 acre$10,200
1/2 acre$13,800
1 acre$19,500
2 acres$30,000
5 acres$43,000
10 acres$61,300
20 acres$87,000
25 acres$98,000
40 acres$122,500

Keep in mind that these prices are averaged by low-cost and high-cost materials. In reality, you may pay as little as $400 for a quarter-acre of barbed wire fencing or as high as $20,000 for a fully composite fence of the same length.

Residential vs. Land vs. Commercial

Because most residential fences are often a form of privacy fence, these fences use more durable and solid materials.

Land fences often border a rural property to keep livestock in. But, because privacy isn’t the main concern, these fences may end up costing about the same as a backyard fence, despite covering much more land.

Commercial properties tend to prioritize security with a chain-link fence with upgraded security wire at the top.

Distance From Service Area

How much material you need and how far away you are from the service area also impact pricing. Someone who lives down the road from the fencing company they hire and only needs a pallet or so of material won’t pay too much. 

Compare this to someone who lives an hour away from the service area and needs a semi-truck to deliver all of the materials, and you’ll see the price rise significantly.


As with any project, you’ll need to pay for the labor to get the job done. Along with service fees, a local fence installer charges by the hour. You can expect to pay around $50 per hour for fence installation. Depending on the length of the fence, this can take anywhere from 24 to 72 hours.

Type of Fence

The type of fence you choose is another important factor affecting cost. For instance, if you opt for a privacy fence that fully blocks the view of your yard from outsiders, you can expect to pay around $35 per linear foot. Meanwhile, an electric fence, which is invisible but can help keep animals contained, costs as little as $2.40 to $3.90 per linear foot


Beyond the fencing material itself, you’ll need to pay for additional components required for the build. These items include:

  • Concrete for post bases: $0.30 per pound

  • Planks (wood fences only): $8 per plank

  • Top and bottom rails

    • Wood: $10 per rail

    • Wood with metal: $45 per rail

    • Vinyl: $85 per rail

    • Composite: $85 per rail

  • Panels (privacy fences): $275 per rail

  • Posts

    • Wood: $4 per post

    • Metal: $2 per post

    • Vinyl: $85 per post

    • Composite: $85 per post

  • Post caps: $30 per cap

  • Gates: $275

Replacing Existing Fence

Add another $3 to $5 per linear foot extra to remove your old fence. 


Permit requirements vary by city and local laws. Have your fence pro weigh in on whether you need one. The decision may come down to whether you're installing one in your front or back yard and how close it runs to the road. Fencing permits may cost anywhere from $50 to $500.

Site Prep

If you need to alter your landscaping to accommodate a new fence, professional landscaping services may add to your total project cost. With costs for tree removal ranging from $8 to $15 per foot, you can expect to pay between $200 and $2,000, based on the size and "heft" of a tree. Land leveling also costs between $0.40 and $2.00 per square foot.

Gates and Other Features

Gates are considered a specialty feature because they require additional work and materials. While most gates won't cost more than $150, you could pay an extra $600 to add a drive-through gate.

How Much Does Fence Installation Cost by Material?

There is an entire catalog of different fencing materials you can choose for your property, from wood to vinyl to metal. It gets more specific from there—you can choose wood with metal reinforcing, for example, or even pick a specific type of metal.


The cost to install a wooden fence is around $3,200 for a 200-linear-foot fence. This will fluctuate based on the type of wood you choose. Common types of wood fencing include:

  • Pine: $5 per piece

  • Redwood: $18 per piece

  • Cedar: $11 per piece


Iron, aluminum, and steel are all solid choices for metal fencing. The cost of a chain-link fence is lower than the cost of a wrought iron fence. Here are some common prices per square foot:

  • Chain-link: $15 per square foot

  • Wrought iron: $30 per square foot

  • Aluminum: $25 per square foot

  • Composite: $30 per square foot


Vinyl fences use a type of PVC plastic that holds up well against flying debris and stains. Expect to pay around $3,800 for a 200-linear-foot vinyl fence.


Composite fences combine two or more materials as a way to increase the strength of the fence. These fences require very little maintenance and last a long time. On average, a composite fence will cost around $5,000 for 200 linear feet.

Wrought Iron

An attractive option that enhances curb appeal, wrought iron fencing costs between $30 and $55 per linear foot.


Aluminum fencing offers a similar look to wrought iron but for a more affordable price. Aluminum fencing typically costs between $17 and $90 per linear foot.  

Privacy Fence

Privacy fences consist of panels that don't allow anyone to peer into your yard. With most privacy fences costing $35 per linear foot, homeowners can expect to pay between $1,500 and $8,000 when adding a typical privacy fence covering 150 linear feet.  

Electric Fence

The cost to install an electric fence ranges from $1,000 to $2,500, or $1,750 on average. The cost per linear foot is between $2.40 and $3.90.  

How Much Does It Cost to Install a Fence Yourself?

When you install a fence yourself, you’ll need to rent equipment, pull the permits, and buy the material. You'll also need appropriate tools, including a post hole digger, drill, circular saw, and shover, which amount to about $300 total. 

Your price per square foot is about $10 less when you remove labor fees. To hire a professional, you’ll pay about $30 per linear foot.

Your local pro can likely complete your fence project in about 20 to 30 hours, saving you the hassle of sourcing permits, materials, and equipment.

How Much Does It Cost to Build a Fence in Your Area?

Fencing installation costs can vary by location. Here's a look at what homeowners are paying on average around the country.

  • Tempe, AZ: $1,900

  • Boulder, CO: $2,500

  • Los Angeles: $3,000

  • Norfolk, VA: $3,000

  • Miami: $3,000

  • Hartford, CT: $3,300

  • Topeka, KS: $3,350

  • Green Bay, WI: $3,450

  • Portland, ME: $4,600

Frequently Asked Questions

Privacy fences in residential neighborhoods tend to stand between 6 to 8 feet tall. Livestock fences that border large land plots range from 3 to 6 feet.

Ready to get a quote for your project?
Answer a few questions, compare reviews, and choose the pro you want.