Skip to content
CostToUpgrade

Cost Guide

Fence Installation Cost Per Linear Foot in 2026

What a fence costs installed per linear foot by material in 2026, plus what gates, slope, rock, and old-fence removal add, and how to compare fence bids.

Reviewed by The CostToUpgrade Estimating Desk Last reviewed How we estimate

11 min read

Fence quotes look simple until you compare three of them and find that one includes gates, one includes tearing out the old fence, and one assumes the ground is flat when half your yard is not. Fencing is priced per linear foot, but the per-foot number only covers the easy part. Here is what each material actually costs installed, and where the rest of the money goes.

What a fence costs per linear foot installed

These are national installed ranges: posts, concrete, panels or pickets, rails, hardware, and labor, on reasonably level ground with diggable soil and no old fence to remove.

MaterialTypical heightInstalled cost per linear footExpected lifeMaintenance
Chain link, galvanized4 ft$15 – $3020 – 30 yearsEssentially none
Chain link, vinyl-coated4 – 6 ft$20 – $4020 – 30 yearsEssentially none
Pressure-treated picket4 ft$18 – $3510 – 15 yearsStain or seal every 2 – 3 years
Pressure-treated privacy6 ft$25 – $4512 – 18 yearsStain or seal every 2 – 3 years
Cedar privacy6 ft$30 – $6015 – 25 yearsStain every 3 – 5 years, or let it gray
Vinyl privacy6 ft$30 – $6525 – 35+ yearsWash occasionally
Aluminum ornamental4 – 5 ft$35 – $7530 – 50 yearsNone
Composite privacy6 ft$50 – $10025 – 30 yearsWash occasionally
Steel or wrought iron4 – 6 ft$45 – $12040+ yearsInspect and repaint for rust

Run your own footage and material price through the Fence Calculator to get post counts, panel or picket counts, and a budget figure, and check the fence cost by state page to see how far your market sits from the national average. Labor is the part that moves most by region; material prices are closer to national.

A note on lifespan and lifetime cost. Vinyl and aluminum cost more up front and almost nothing after. Pressure-treated wood is cheap on day one and then wants a coat every two or three years, which is roughly $200 to $500 in material for a 150-foot run each time. Size those refinishing orders with the Deck Stain Calculator, because the same coverage math applies to fence boards. Over 20 years, a maintained wood fence often costs more than the vinyl fence that looked expensive at the bid.

Height changes the price more than you expect

Going from a 4-foot fence to a 6-foot fence is not a 50 percent increase. It is usually 60 to 90 percent, because three things change at once.

The pickets or panels get taller, which is the linear part. The posts have to get longer at both ends: a 6-foot fence needs an 8- or 9-foot post to keep a third of it in the ground, so post cost and hole depth both rise. And a taller fence catches far more wind, which means a third rail on wood fences, heavier posts, and sometimes tighter post spacing.

An 8-foot fence, where zoning even allows it, is a different animal again. Expect 6x6 posts, engineered spacing, and per-foot pricing 2 to 2.5 times a 4-foot fence in the same material. Many jurisdictions cap residential fence height at 6 feet in rear and side yards and 3 to 4 feet in front yards, so confirm before you design around a number.

Posts, frost line, and concrete per post

Posts are the fence. Everything else is decoration bolted to them.

Spacing. Standard is 6 to 8 feet on center. Preassembled panels force exact spacing, typically 6 or 8 feet, with no room to fudge around obstacles. Stick-built fences let you shorten a bay to dodge a tree or a utility box.

Depth. Set one third of the total post length below grade, and always below your local frost line. Frost depth runs from essentially zero on the Gulf Coast to 42 inches or more in the northern plains and northern New England. A post that stops above frost depth will be lifted by the ground every winter until the fence racks out of square.

Hole diameter. Roughly three times the post width. A 4x4 wants a 10- to 12-inch hole; a 6x6 wants 14 to 18 inches. Corner, end, and gate posts should be both deeper and wider than line posts, because they carry the tension and the swing loads.

Concrete. A 4x4 post in a 10-inch hole at 30 inches deep takes about 1.3 to 1.5 cubic feet of concrete, which is roughly two to three 60-pound bags per post. A 6x6 in a 16-inch hole at 36 inches takes 4 to 5 bags. On a 150-foot fence with 22 posts, that is 50 to 65 bags of concrete, which is a meaningful line item and a real pallet of weight. Get exact counts from the Fence Post Concrete Calculator before you order, because running short at post 19 costs you a day.

Fast-setting mix poured dry into the hole and wetted works fine for line posts. For gate posts and corners, mix it properly and let it cure for a couple of days before hanging anything heavy.

Gates, terrain, and old-fence removal

These three items account for most of the gap between a per-foot estimate and a real quote.

Gates cost far more per foot than fence. A gate is a fence section that has to move, stay square, latch, and survive a few thousand cycles. A single 3- or 4-foot walk gate runs $250 to $600 installed on a wood or chain link fence, more on vinyl or aluminum. A 10- to 16-foot double drive gate runs $800 to $2,500. Add an automatic opener with a safety loop and it is $1,500 to $5,000 on top. Gate posts also need to be oversized and set deeper, which is real cost hidden in what looks like one line item. Two gates on a small yard can be 15 percent of the whole job.

Slope, rock, and roots. Fence pricing assumes an auger goes in the ground and comes out with dirt. Where it does not, labor climbs. Heavy clay, caliche, tree roots, and buried rubble slow digging noticeably. Rock that needs a jackhammer or a rock auger can add $50 to $150 per affected post. Sloped ground forces a choice between racked panels, which follow the grade and cost a little more in labor, and stepped panels, which stay level and leave triangular gaps at the bottom that some homeowners hate and most dogs love. Measure your fall with the Slope and Grade Calculator so you can talk about it in numbers instead of adjectives. A 10 percent or steeper run typically adds 10 to 25 percent to the labor on that section.

Removing the old fence. Budget $3 to $8 per linear foot to demolish and haul a wood or chain link fence, and $5 to $12 where the old posts are set in concrete, because every one of those footings has to come out of the ground. Dump fees are usually separate and run $50 to $200 depending on volume and whether the wood is treated. If a quote seems low compared to the others, check whether removal is in it.

Property lines, permits, and HOA rules

This is the part that turns a $5,000 project into a lawsuit.

Do not guess the property line. Existing fences, hedges, driveways, and where you have always mowed are not evidence of a boundary. A residential boundary survey costs $400 to $1,200 and gives you pins and a drawing. A fence built a foot onto a neighbor’s land can be ordered removed at your expense, and adverse possession and encroachment fights are among the most common and most expensive neighbor disputes there are. If you are not certain, survey.

Check your easements too. Utility, drainage, and access easements often run along rear and side lot lines, which is exactly where fences go. A fence across an easement can be removed by the utility with no obligation to put it back. Your plat and deed will show them.

Call 811 before you dig. Free, required in every state, and the only thing standing between an auger and a gas line. Allow a few business days for the locate.

Permits and setbacks. Most municipalities require a fence permit, typically $50 to $400, and enforce height limits, setback distances from the sidewalk or street, and sometimes corner-visibility triangles at intersections. Many also require the finished side to face out. Pool fencing is a separate and much stricter category, governed by the locally adopted code, with rules on height, gaps, self-closing and self-latching gates, and latch height.

HOA rules stack on top of the city’s. Approved materials, approved colors, approved heights, and an architectural review that can take weeks. Get written approval before you order material, not after.

Who owns and maintains a shared fence

A fence sitting entirely on your side of the line is yours: you own it, you maintain it, you can replace or remove it, and the neighbor has no say beyond what the HOA or city says.

A fence straddling the boundary is generally treated as a line fence or division fence, and many states have statutes making adjoining owners jointly responsible for maintaining it. Some require written notice and an opportunity to participate before one owner can bill the other. The details vary by state and sometimes by county.

Practically: talk to the neighbor before you build, agree in writing on placement, cost split, material, and which side gets the finished face, and keep a copy. If you want unilateral control forever, build the fence a few inches inside your own line and own it outright. That few inches is the cheapest dispute prevention available, though it does mean you have a strip you still have to reach to mow.

DIY versus hiring it out

Fencing is one of the more DIY-able big outdoor projects: moderate skill, high labor share in the bid.

Material typically runs 40 to 55 percent of an installed quote, so doing the work yourself saves roughly half. On a 150-foot cedar privacy fence, that is about $2,500 to $4,000 in avoided labor.

The honest time estimate for two people on flat, diggable ground: 25 to 40 hours for 150 feet. That breaks down to roughly a day laying out the line and digging 22 holes, a day setting posts plumb and on line and letting them cure, and a day or two hanging rails and boards, plus gate hanging, which always takes longer than you think. Renting a two-person auger is $100 to $200 a day and is worth it above about 10 holes. Add 30 to 50 percent to all of that for slope, clay, rock, or removing an existing fence first.

Where hiring out clearly wins: long runs, steep grade, rocky ground, vinyl or aluminum systems where panel spacing is unforgiving, anything requiring engineered footings, and pool enclosures where code compliance is inspected.

How to compare fence bids

Every bid should be forced onto the same scope before you compare a single dollar.

  • Total linear footage, and how it was measured. Walk the line with the contractor. A 20-foot disagreement on footage is a several-hundred-dollar disagreement on price.
  • Post size, spacing, depth, and concrete. “Posts set in concrete” is not a spec. You want 4x4 or 6x6, at 6 or 8 feet on center, set X inches deep, with Y bags per post. Depth below frost line should be stated explicitly.
  • Post material. Pressure-treated posts rated for ground contact, not above-ground rated lumber, and galvanized steel posts on chain link with the gauge listed.
  • Hardware. Hot-dipped galvanized or stainless fasteners, and hinge and latch make for gates. Electroplated screws in a wet fence will bleed rust down the boards within two seasons.
  • Gates itemized separately. Count, width, swing direction, post size, hardware, and price each.
  • Removal and disposal, stated yes or no, with dump fees called out.
  • Who pulls the permit and who orders the locate. Both should be the contractor.
  • What happens if they hit rock. Get the per-post adder in writing before work starts rather than negotiating it with a crew standing in your yard.
  • Warranty split. Manufacturer warranty on vinyl or aluminum (often 20 years to limited lifetime) versus the installer’s workmanship warranty (typically 1 to 3 years). Ask specifically whether posts heaving or leaning is covered.

Mistakes that blow the budget

Guessing the property line. The most expensive mistake available in this project, and the easiest to avoid for $400 to $1,200.

Setting posts above the frost line. They will heave, the fence will rack, and the fix is digging out and resetting every footing. There is no cheap version of that repair.

Using above-ground-rated lumber for posts. Ground-contact rated treated lumber costs a little more per post and roughly doubles the time before rot at the soil line.

Ordering material without a waste allowance. Add about 10 percent on pickets and boards for culls and cuts. A second delivery for eight boards costs more in fees than the boards.

Skipping the string line. A fence that is out of line by two inches over 100 feet is visible from the street forever, and there is no fixing it after the concrete cures.

These ranges are national figures for budgeting. Fence labor varies more by metro than material does, frost depth and soil conditions change the post work substantially from one region to the next, and height limits, setbacks, and pool-barrier requirements are set by your locally adopted code and your HOA rather than by any national rule. Anything permitted or inspected — fence permits, setback and corner-visibility compliance, and pool barriers in particular — is governed by your locally adopted code and should be pulled and signed off by a licensed contractor. Walk the line with at least three contractors, get every scope item above in writing, and confirm your boundary before anyone digs.

Calculators for this project

Turn the ranges above into your own numbers.

Frequently asked questions

How much does a fence cost per linear foot installed?
Installed prices in 2026 run about $15 to $30 per linear foot for 4-foot galvanized chain link, $25 to $45 for a 6-foot pressure-treated privacy fence, $30 to $60 for 6-foot cedar, $30 to $65 for vinyl, $35 to $75 for aluminum ornamental, and $50 to $100 or more for composite. Those figures include posts, concrete, panels or pickets, hardware, and labor on reasonably flat ground with normal soil. They exclude gates, removal of an existing fence, permits, a survey, and any extra work for slope, rock, or tree roots.
How much does a 150-foot fence cost?
For a common suburban back yard of about 150 linear feet, expect roughly $2,300 to $4,500 for chain link, $3,800 to $6,800 for a 6-foot pressure-treated privacy fence, $4,500 to $9,000 for cedar, and $4,500 to $9,800 for vinyl. Add one walk gate at $250 to $600 and, if you need vehicle access, a double drive gate at $800 to $2,500. If an old fence has to come out first, add another $450 to $1,800 including disposal. Sloped or rocky ground can add 10 to 25 percent on top of all of it.
How deep do fence posts need to go?
The working rule is one third of the total post length in the ground, and always below your local frost line. For a 6-foot fence that usually means an 8- or 9-foot post set 30 to 36 inches deep in a hole 10 to 12 inches across. Frost depth ranges from essentially zero along the Gulf Coast to 42 inches or more in the northern plains, and a post set above frost depth will heave and rack the fence within a few winters. Gate and corner posts should go deeper and wider than line posts because they carry real load.
Do I need a survey before building a fence?
If you are not certain where the line is, yes. A residential boundary survey costs $400 to $1,200 and it is the cheapest insurance in this project. A fence built even a foot over the line can have to come out entirely at your expense, and disputes over misplaced fences are among the most common neighbor lawsuits there are. Existing fences, hedges, and mowing patterns are not evidence of a boundary. Also check your plat and deed for utility easements, because a fence built across one can be removed by the utility without compensation.
Who owns and maintains a fence between two properties?
It depends on where it sits and on your state law. A fence built entirely on your side of the line is yours to own, maintain, and remove. A fence straddling the boundary is generally a shared or line fence, and many states have statutes requiring adjoining owners to share maintenance costs for fences that benefit both. Some jurisdictions require written notice before billing a neighbor. The practical advice is simple: talk first, agree in writing on placement, cost split, and the finished side, and build entirely on your own land if you want full control.
How much can I save building a fence myself?
Materials are typically 40 to 55 percent of an installed quote, so DIY on a straightforward run saves roughly half. On a 150-foot cedar privacy fence that is around $2,500 to $4,000 in labor avoided. The realistic time cost is 25 to 40 hours for two people on flat ground with easy digging, most of it in post holes and setting posts plumb and on line. Renting a two-person auger runs $100 to $200 a day. Add substantial time for slope, rock, clay, or any run where you have to remove an old fence first.
Get real quotes

Compare local pros for your project

An estimate gets you a budget. A few competing quotes get you the real price. Tell us about the job and we'll help you find vetted contractors nearby.

Get matched

Keep reading