How Much Does Fence Installation Cost? [2024 Data]

Normal range: $1,854 - $4,734

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

How we get this data
white wooden gate in front of white two-story house
Photo: Kristina Blokhin / Adobe Stock
Mitchell Grant
Written by Mitchell Grant
Contributing Writer
Jenny He
Reviewed by Jenny He
Expert Reviewer
Updated September 12, 2024
white wooden gate in front of white two-story house
Photo: Kristina Blokhin / Adobe Stock

Fence installation costs an average of $3,198, but your total depends on the type of fence you want, the length, height, and other factors. Most homeowners pay between $1,854 and $4,734 for fence installation. In this guide, we’ll explain the factors that influence your fence installation price to help you get an accurate estimate for your home improvement project.

See the price range for fence installation in
your area
How we get this data
Normal range for U.S.
$1,854 - $4,734
  • Average
  • $3,198
  • Low end
  • $400
  • high end
  • $13,700
LOWHIGH

Fence Installation Cost Factors

There are a few factors that will affect the total cost, including the length of the fence, the fence height, the type of fence you want, and more.

Fence Size

The cost to install a fence can vary based on the amount of material used, which is, in large part, determined by the size of your fence. Longer fences will naturally cost more due to higher material costs and labor costs to install them.

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

This all comes out to an average cost per linear foot for fence installation of between $6 and $50, depending on the material, with an average per-linear-foot cost of $23.

Lot SizeLinear FeetAverage Fence Cost
1/8 acre150$3,500
1/4 acre220$4,850
1/2 acre590$13,570
1 acre1,100$24,000
2 acres2,200$45,000

Type of Fence

The type of fence you choose is another important factor affecting cost. For instance, if you want to block the view of your yard entirely, a privacy fence costs around $35 per linear foot. No matter the type of fence you choose, a privacy fence will always require more material to provide a barrier, so the cost will be higher. Shorter decorative fences will likely be more affordable.

Materials

You can choose from many fencing materials, including wood, iron, aluminum, PVC, and chain-link. 

5 fence material types compared visually, including wood, iron, and chain-link
Photos: NAKphotos / iStock / Getty Images Plus / Getty Images, Vitaliy Halenov / iStock / Getty Images Plus / Getty Images, Andy_Oxley / iStock / Getty Images Plus / Getty Images, ghornephoto / E+ / Getty Images, Michael Prince / The Image Bank / Getty Images

The costs vary wildly among the different fencing materials, with chain-link fences tending to be the most affordable, followed by wood, iron, PVC, and then aluminum. The pricing of each material varies based on the design of the fence, though, so your total will depend on your front yard fence idea.

Fence MaterialTypical Cost RangeCost to Fence a ¼ Acre Lot (two sides)
Aluminum$17–$90 per linear foot$3,550–$18,800
Chain-link$8–$40 per linear foot$1,650–$8,300
Composite$11– $45 per linear foot$2,250–$9,400
Electric$2–$4 per linear foot$420–$850
Privacy$25–$40 per linear foot$5,250–$8,300
Steel$17–$90 per linear foot$3,550–$18,800
Vinyl (PVC)$15–$40 per linear foot$3,150–$8,300
Wood$10–$45 per linear foot$2,100–$9,400
Wrought iron$25–$55 per linear foot$5,250–$11,400

Labor

Your labor costs usually account for about 50% of your total project costs. On average, labor costs for fence installation will total around $1,600.

Who you hire to build a fence might charge more for heavy fencing, like wrought iron, while charging less for lighter fencing that’s easier to cut and work with, like PVC. Additionally, labor costs vary for prep steps like stump or tree removal, land leveling, or fence removal.

Pro Tip
Hiring a professional for your fence project can lead to significant long-term cost savings. Professionals use high-quality materials and adhere to best practices, resulting in a durable fence that requires fewer repairs and replacements. They also bring expertise that helps avoid costly mistakes common in DIY projects, such as improper installation or non-compliance with local regulations.
Jenny He of Ergeon
Jenny He
Co-founder and CEO of Ergeon

Permits

Permit requirements vary by city and local laws, but you’ll almost always need a permit to put up a fence, especially if it’s going to be located near your property lines. Fencing permits won’t add much to your total, as they cost between $20 and $60, on average.

Again, your fence installation company will usually include the cost of the permit and filing fees in your estimate, but you’ll have to budget for this separately if you’re installing your fence yourself.

Gates and Other Features

Gates are considered a specialty feature because they require additional work and materials. While some gates won't cost more than $150, you could pay $400 to $1,200 per side gate, depending on the material, or a few thousand dollars for automatic driveway gates.

  • Gates: $150–$2,000

  • Concrete for post bases: $0.30 per pound

  • Post caps: $30–$150 per cap

Angi Tip
Fences are primarily a means of privacy, but they’re also helpful for homeowners with pets. They are not designed to keep people out. If you’re looking to increase your home’s security, we recommend other methods, such as installing security cameras.
Morgan Rousseau
Content Editor, Angi

Location

Fence installation companies base their rates on the local market—and their competitors. Regions with a higher cost of living, such as populated cities and suburbs, will likely mean your local fence contractor will charge more for their labor and fence materials.

Similarly, some homeowners associations (HOAs) require that you only install fences made of certain materials, such as aluminum or vinyl. If you live in an area with multiple HOAs, you may pay more for those fencing materials due to high demand.

Removing an Existing Fence

If you’re replacing a fence rather than installing a new one, you’ll need to remove the old one before you can begin your installation. Fence removal costs $3 to $5 per linear, with most spending $450 to $750 to remove 150 feet of fencing. You might also need to pay for dumping fees unless you can recycle or scrap the material.

Land Leveling

Installing a fence on a slope is more costly and time-consuming, either because the land needs leveling or because your fence installer needs to manipulate the fence materials to align with the slope and still secure your yard. In some cases, you may only be able to install your fence if you pay for leveling.

Most homeowners spend $1,000 to $3,200 to regrade their lawn prior to fence installation.

Tree and Stump Removal

Tree stump in a garden
Photo: Levon / Adobe Stock

You’ll need to remove trees and roots that interfere with your fence installation. 

  • Cost to remove a tree: $750 

  • Remove a short tree: $200 

  • Remove a tree taller than 80 feet: $2,000 

  • Root removal for fence posting: $50 per instance

Landscaping

Though most spend somewhere between $1,300 and $5,900 per landscaping project, it depends on the type of services. 

  • Sod installation: $1–$3 per square foot

  • Border plants: $2–$50 per plant

  • Mulching: $30–$120 per cubic yard

  • Topsoil installation: $12–$30 per cubic yard

  • Paver installation: $10–$30 per square foot

  • Matching deck rails to fencing: $10–$50 per linear foot

  • Stump removal: $100–$150, plus $50 per additional stump

Working Around Underground Utilities

If you need to work around underground utilities, expect your costs to increase.

Underground utilities can pose a problem for any project that requires digging, although standard lines should be deep enough that they aren’t an issue for regular installation. Still, hitting a power line or gas line can be a serious hazard. Have your contractor check for utilities or call Dig Safe before you begin. 

Painting and Staining

Painting or staining a fence costs $3.50 to $13 per linear foot for a professional job, with most homeowners spending $750 to $4,250 per project. However, this is also a popular DIY project—particularly if you’re dealing with a wooden fence, which usually is the most affordable and straightforward to paint. In that case, you’ll just have to spend on materials.

Installing a Fence Yourself vs. Hiring a Pro

A woman installing a chain link fence
Photo: lucentius / E+ / Getty Images

On average, you can save around $1,700 on the labor if you choose to install your fence yourself. This will vary based on the fence material, temporary fencing, and add-ons. When you install a fence yourself, you’ll need to rent equipment, obtain the correct permits, and buy the material. You'll also need the appropriate tools, including a post-hole digger, drill, circular saw, and shovel. 

Your best bet is to hire a fencing professional who can complete the project in about 20 to 30 hours, saving you the hassle of sourcing permits, materials, and equipment. That way, you can rest assured that your fence construction is legal, up to code, and won’t need to be redone. Hire a fence company near you to make sure the job is done correctly the first time around.

7 Ways to Save Money on Installing a Fence

A white picket fence surrounding a yard
Photo: ©Studio One-One / Moment / Getty Images

Here are some tips to help you save on fence installation costs.

  • Choose a budget-friendly material: You’ll want to choose affordable materials, but you’ll need to keep maintenance in mind. Pick a material that has the right balance of budget, aesthetics, and durability.

  • Keep the design simple: If you need to keep a strict budget, consider skipping out on additional gates, upgraded finishes, ornate styles, special features, and added landscaping services.

  • Less pickets: To tighten your budget, choose a fence style that requires fewer pickets. Pickets with decorative tips cost more, so choose a simple, rectangular picket for the most cost-effective option. 

  • Minimize posts: Posts are one of the most expensive parts of a fence because it takes time to set them correctly in the ground. You can reduce costs by choosing a design with fewer posts.

  • Get quotes from three contractors: Before you hire a fence contractor, take a look at the market. To get the biggest bang for your buck, interview at least three contractors and always check their references.

  • Book during off-season: Though you can’t dig into frozen ground, you can sometimes save money by booking your job during winter or late fall as long as the climate allows. Winter is a slower season for fencing contractors—so they’re much more likely to cut you a deal.

  • DIY when you can: You can save on fence installation costs by doing some of the labor yourself—like painting or removing an old fence.

How Angi Gets Its Cost Data

Home is the most important place on earth, which is why Angi has helped more than 150 million homeowners transform their houses into homes they adore. To help homeowners with their next project, Angi provides readers with the most accurate cost data and upholds strict editorial standards. We’ve surveyed over 30,000 real Angi customers about their project costs to develop the pricing data you see, so you can make the best decisions for you and your home. We pair this data with research from reputable sources, including the U.S. Bureau of Labor Statistics, academic journals, market studies, and interviews with industry experts—all to ensure our prices reflect real-world projects. 

Want to help us improve our cost data? Send us a recent project quote to [email protected]. Quotes and personal information will not be shared publicly.

Frequently Asked Questions

Privacy fences in residential neighborhoods tend to stand between 6 and 8 feet tall, but local building code usually dictates the maximum height. Livestock fences that border large land plots range from 3 to 6 feet. Shorter, decorative fences, which are common in front yards, are around 3 feet tall, on average. Fence height also tends to vary by material, with wood fences usually sitting at 6 feet tall, and chain-link and wrought iron fences tending to sit at half that.

Ready to get a quote for your project?
Answer a few questions, compare reviews, and choose the pro you want.
Learn more about our contributors
Mitchell Grant
Written by Mitchell Grant
Contributing Writer
Mitchell loves to share his passion for hands-on work at home. His current writing can be found on Investopedia, Citigroup, LendingTree, and more where he provides financial tips on saving, buying, and investing in homes.
Mitchell loves to share his passion for hands-on work at home. His current writing can be found on Investopedia, Citigroup, LendingTree, and more where he provides financial tips on saving, buying, and investing in homes.
Jenny He
Reviewed by Jenny He
Expert Reviewer
The homeowners guide to Fencing
From average costs to expert advice, get all the answers you need to get your job done.