How Much Does It Cost to Install a Fence?

Typical Range:

$1,716 - $4,328

Find out how much your project will cost.

Cost data is based on actual project costs as reported by 29,731 HomeAdvisor members. Embed this data

How We Get This Data

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

  • Homeowners use HomeAdvisor to find pros for home projects.
  • •

    •

  • When their projects are done, they fill out a short cost survey.
  • •

    •

  • We compile the data and report costs back to you.

Updated May 13, 2022

Reviewed by Cati O'Keefe, Expert Home Building & Sustainability Contributor.

Written by HomeAdvisor.

A fence serves as a clear line separating your property from your neighbors and is a great way to make your home safer and add instant curb appeal. For a typical 150-foot fence, you can expect to pay $2,945 on average. The cost typically ranges between $1,703 and $4,242.

National Average Typical Range
$2,945 $1,703 – $4,242

Fence Cost Calculator

Let's calculate cost data for you. Where are you located?

Where are you located?

National Average $2,995
Typical Range $1,716 - $4,328
Low End - High End $400 - $10,000

Cost data is based on actual project costs as reported by 29,731 HomeAdvisor members.

How to Determine the Amount of Fencing Needed

Traditionally, a fence runs the perimeter of a property, so how much you need is determined by how big your property is. In metropolitan areas or new developments, the average lot size is about 1/5 acre or 8,712 square feet. This size lot requires about 150 linear feet of fencing. 

To get a more precise estimate for the fence size and materials required for your yard, do the following:

  1. Research code restrictions like height, post spacing, and allowable fence types for your area.

  2. Find your property lines, utility lines, and where you’d like the fence to be located.

  3. Measure the distance where the fence will be.

  4. Divide that measurement by the required post spacing, then add two. This is how many posts you’ll need.

  5. Multiply that number by two or three for rails.

  6. Divide the total length by the width of your pickets for how much wood you need. Or add up the number of panels you’ll need for vinyl.

Fence Cost Factors

The cost to install a fence is affected by several factors, like the following:

  • Fence size

  • Fence material

  • Labor cost

  • Fence installation by state

  • Fence posts

We’ll discuss each of these in detail below.

Fence Size

Fencing costs on average $13 to $50 per linear foot, including professional installation and materials. The average residential fence height ranges from 4 feet to 6 feet, depending on the fence material and placement. That being said, fences can be anywhere from 3 feet to 12 feet tall. 

The fence height affects the price. A 3-foot high fence is standard for most front yards, while a 6-foot high fence is typical for most backyards. Increasing your fence to 8 feet high can add 25% to 35% to your cost. You'll want to check with your local code enforcement agency or homeowners association about restrictions on fence heights as well. If you're fencing in a pool, locks may also play a factor if you need to pass code.

Fence Material

While there are multiple fencing materials to choose from, consider matching style, height, and material with your neighbors to maintain property values. Otherwise, most homeowners opt for wood or vinyl fencing, two affordable and long-lasting options. In addition, chain-link, aluminum, steel, wrought iron, and composite fencing are popular fence types.

Fence Material Average Price Range per Linear Foot
Wood $17 – $45
Vinyl $10 – $40
Chain-link $15 – $30
Aluminum $17 – $90
Steel $17 – $90
Wrought iron $30 – $55+
Composite $11 – $45

Wood Fence

wood fence in backyard
Photo: jimmcdowall / iStock / Getty Images

Western red cedar, Douglas fir, pressure-treated wood, and redwood are the most common wood used for fences. Wood fences cost on average $17 to $45 per linear foot. The average 150-foot wood fence will cost $2,950 and range between $1,705 and $4,200. 

Wood fences are popular because they offer privacy, can easily be painted, and fit in with the aesthetics of most neighborhoods. It has a limited life span—usually between five and 10 years—and must be painted and maintained regularly to prevent fungus and dry rot.

The price is directly influenced by which type of wood you choose. For materials alone, a basic plank, such as pine, costs as little as $1.50. Cedar can cost $7 to $15 per linear foot. Redwood can cost $17.50 per piece. 

If these are more than your budget can handle, there are less expensive options to consider.

Vinyl Fence

vinyl fence landscaped yard
Photo: ghornephoto / iStock / Getty Images

Vinyl fencing costs between $10 and $40 per linear foot. You can expect to pay $3,820 on average for a 150-foot fence, or between $2,240 and $5,480.

Vinyl fencing is popular because it's virtually maintenance-free, has multiple color options, and is easy to install and clean. However, it isn't suitable for extreme climates, and it does come with a considerable upfront cost for materials. Installing pre-built fence panels instead of having it built from scratch could significantly reduce costs. Vinyl fences are also made of plastic, so some homeowners dislike the environmental impact.

If you’re still debating between wood and vinyl fencing, read more about the pros and cons of vinyl versus wood fences.

Chain-Link Fence

chain link fence with birdbath and squirrels
Photo: markhicksphotography / iStock / Getty Images

Chain-link fences cost about $15 to $30 per linear foot. You can expect to pay $2,200 on average for the typical 150-foot fence, or between $1,290 and $3,370. Chain-link is a basic, affordable option. It has a long life span with minimal maintenance and is one of the easiest materials to install if you're a DIY-er. However, chain-link fences are see-through so they don't make good privacy fences. 

Metallic-coated chain-link fencing is the most popular because it's the most economical. A more attractive option is color-coated chain-link fencing, but color-coating increases the cost quickly. For example, black chain-link fencing costs $5 to $25 per foot for materials.

Aluminum Fence

aluminum black fence
Photo: Solidago / Getty Images

Aluminum fencing costs $17 to $90 per linear foot. The national average to install an aluminum fence is about $3,970 for a 150-foot fence. Most homeowners pay between $2,240 and $5,720. 

Aluminum fences are popular because they require little maintenance, are corrosion- and rust-resistant, and offer a modern aesthetic and a long life span. However, installation is expensive.

Steel Fence

black steel fence around trees
Photo: Wirestock / Adobe Stock

Steel fencing costs $17 to $90 per linear foot. The national average to install a steel fence is about $3,970. Most homeowners pay between $2,240 and $5,720. 

Steel fencing is popular because it allows the homeowner to simulate wrought iron for a fraction of the price. It's also easy to install for most DIY-ers and is low maintenance. However, it's also prone to scratches and rust.

Wrought Iron Fence

black wrought iron fence around home
Photo: mirsad sarajlic / iStock / Getty Images

Wrought iron fences cost $30 to $55 or more per linear foot. This is considered one of the most attractive fencing materials and can boost your home's curb appeal. However, it can be prone to rust, dents easily, and is expensive to install and maintain. Like chain-link, some gaps can easily be peered through.

Composite Fence

dark grey composite house fence
Photo: Wlodzimierz / Adobe Stock

"Composite fencing is an eco-friendly alternative to vinyl that costs about the same. Many composite products are made from recycled materials, including reclaimed wood, sawdust, and recycled plastic." 

Cati O'Keefe, Expert Home Building & Sustainability Contributor

Composite fencing costs $11 to $45 per linear foot. The average 150-foot fence costs $4,200, and most homeowners pay between $1,650 to $6,750. They're typically made of plastic and wood to create an eco-friendly alternative.

Ask for a Quote From a Local Fence Contractor
Get a Quote

Labor 

Labor will make up about 50% of the total cost for an installed fence. For fence contractors, labor will run $30 to $80 per hour, with the average 150- to 200-linear foot fence taking a professional installer 20 to 35 hours to complete. Labor costs will differ around the country.

Fence Installation by State

Installation prices vary across the U.S., with rough terrain and hard-to-reach locations increasing the overall price. 

Costs compared to install a fence by state, with Michigan averaging $2,405
Photo: epic_fail / iStock / Getty Images Plus / Getty images

Fence Posts

The posts are set in the ground and act as the support for the fence. For just the post and concrete, you'll spend $5 to $150 per post. Post spacing is usually 4, 6, or 8 feet apart. Your local building codes will dictate how far apart they need to be spaced, how deep they need to be buried, and how much concrete is needed. 

If you need to install posts below the frost line to avoid upheavals, this can increase the post's length and the amount of concrete needed. Your local code will also dictate whether a corner post or all posts require concrete setting. 

Additional Cost Considerations

When planning your project, there are a few other factors to consider, like the cost for permits and surveys, land condition, removing your old fence, what kind of gate(s) you'll need, and the fence style.

Permits and Surveys

On average, building permits cost $400 to $800 if required. To find out if you'll be needing a permit, contact your local municipality. It's also worth paying the extra $350 to $700 for the cost of a land surveyor to measure your land. If you measure improperly, you may unintentionally build on land that’s not yours, leading to legal issues if there's a dispute.

Land Condition

Flat land with soft soil is the best for installing a fence. Expect higher fees if the land is sloped because installation is more complex and time-consuming. If you need it, lawn regrading costs about $900 to $3,000.

Old Fence Removal 

You'll have to pay to remove your old fence if you're replacing it. Removal can run between $3 and $5 per linear foot or $450 to $750 for a 150-foot length. Removing the old fence yourself can save you money.

Gates

Your new fence will likely need a gate, and it can run anywhere from $150 to $600 or more for drive-through varieties. Expect to pay an additional $100 to $250 for labor.

Fence Installation by Style

The cost of your fence will also be determined by the style you select. For example, wood picket fences require more time and care to install correctly. Decorative features like a lattice top will also impact overall installation costs.

Get Estimates from Contractors for Your Fence Project
Get Estimates Now

Fence Installation Cost: DIY vs. Hiring a Professional

Installing a fence can make for a great DIY project if you have 30 to 50 hours to spend on it. It helps to have little experience tracking down building codes and permits and using basic tools like a shovel, hammer, drill, and circular saw. You can rent tools like a post-hole digger or auger from local hardware stores. You can also save time by using prefab fencing panels instead of installing your fencing board by board. 

If you don't want to take on the entire project, there are multiple ways you can share the work with a fencing pro near you to save some money. Shop for materials to avoid paying your pro marked-up prices. Hire a contractor to dig post holes, erect posts, and set them in concrete, then take on the last step yourself and nail planks in place with a rented nail gun.

Of course, there are always some advantages to working with a pro. While they’ll charge a markup for materials, they sometimes receive discounts that could make the entire process more affordable for you. And most pros warranty their work, while any DIY mistakes may increase your cost.

FAQs

What is the cheapest fence to install?

Chain-link fence costs $15 to $30 per linear foot, including materials and labor, making it one of the most affordable fencing materials.

How long does it take to put up a fence?

A 150-linear foot fence will take about 20 hours to complete. If you’re a DIY-er, it could double that time.

How much does it cost to put up a gate?

Gates run anywhere from $150 to $600 or more for drive-through varieties. Expect to pay an additional $100 to $250 for labor.

Get Quotes From Pros for Fences by Type
Get Estimates Now