Home/Cost Guides/Fence Installation Cost
Pricing guideNov 2026

Fence installation cost guide, priced by the foot

The average fence installation costs about $4,500, and most projects run $2,000 to $6,500. Installed prices range from about $10 per linear foot for chain link to $70 per foot for wrought iron.

Your total comes down to how many feet of fence you need, the material and the extras like gates. Below are prices per foot by material, a simple way to estimate your own fence and what labor, gates and removal add.

Source for every price on this page: Modernize fence cost guide, updated August 12, 2026. National averages.

Per linear footInstalled

Fence installation cost by material, per linear foot

Fences are priced by the linear foot, the length along the ground. These installed prices include posts, panels or boards and labor.

Chain link: $10 to $25 per foot

The lowest-cost way to mark a line or keep a dog in. Little privacy unless slats are added.

Wood: $15 to $35 per foot

Pressure-treated or cedar boards. The classic privacy fence, and it needs staining or sealing to last.

Vinyl: $25 to $45 per foot

No painting or staining. Costs more up front than wood and is wiped clean instead of refinished.

Aluminum: $25 to $50 per foot

Looks like iron without the rust. A common choice around pools and front yards.

Composite: $30 to $60 per foot

Wood fiber and plastic boards with a wood look and less upkeep.

Wrought iron: $35 to $70 per foot

Heavy, decorative and the most expensive per foot. Needs repainting where it rusts.

Source: Modernize fence cost guide, updated August 12, 2026. Installed.

A tall horizontal-board wood privacy fence with a lattice top along a backyard lawn
A wood privacy fence. Height and board style push wood toward the top of its per-foot range.
Your estimateThree steps

Average fence installation cost: estimate yours in three steps

01

Measure the run. Walk the line where the fence will go and add up the feet. Leave out the house wall and any side a neighbor's fence already covers.

02

Multiply by the per-foot price. For example, 120 feet of wood at $15 to $35 per foot is roughly $1,800 to $4,200 before extras.

03

Add gates and extras. A walk gate adds $150 to $400, and removing an old fence $500 to $1,500. The list is below.

Example totals are our arithmetic on the per-foot prices from Modernize fence cost guide, updated August 12, 2026. Not a quote.

LaborPosts and panels

Fence installation labor costs

Installation labor runs about $5 to $15 per linear foot, or $1,000 to $3,000 for a typical fence. Most of that time goes into digging post holes and setting the posts plumb in gravel or concrete; the panels go up quickly once the posts are right.

Rocky soil, slopes, tree roots and tight access add hours. If you are comparing fence contractors, ask how deep the posts go and how far apart they are spaced, so you compare the same build.

A wood fence post set in gravel with an orange level resting against it
Setting each post plumb is where most of the labor goes.
ExtrasGates, removal, upkeep

Adding gates, permits and other additional costs

These are priced on top of the per-foot cost. A driveway gate can cost as much as a short run of fence.

Walk gate$150 to $400
Driveway gate$800 to $3,500+
Old fence removal$500 to $1,500
Staining or sealing (wood)$500 to $1,500
Permit$50 to $400

Source: Modernize fence cost guide, updated August 12, 2026. Permit rules are set locally; ask your city or county building department.

What moves the priceFactors

Factors that increase fence installation costs

Fence height

A taller fence needs longer posts set deeper and more boards or panels per foot, so a 6-foot privacy fence costs more per foot than a 4-foot one in the same material.

Ground conditions

Slopes, rocky soil and tree roots make post holes slower to dig and the fence harder to keep level, which raises labor in that area of the yard.

Length and layout

Total length drives the budget, but corners and short runs add posts. A long straight line costs less per foot than a layout with many turns.

Materials and maintenance

Cheaper materials can cost more over time: wood needs staining every few years, while vinyl and aluminum mostly need washing. Weigh both before you make your choice.

Local code and permits

Height limits, setbacks from the property line and pool fence rules are set by local code and can change what you are allowed to build. Check before you pay a deposit.

ReplacementOld fence out

Replacing an old fence vs building new

Replacing a fence typically costs $2,500 to $7,500, a little more than a new fence on open ground, because the old posts and panels have to be pulled and hauled away first.

If only a few boards or one section are damaged, ask a contractor whether a repair makes sense. Leaning posts across the whole run usually mean the fence is due for replacement.

By purposePrivacy and pools

Privacy fence cost and pool fencing

For privacy, wood ($15 to $35 per foot), vinyl ($25 to $45) and composite ($30 to $60) are the usual picks, because they close the gaps between boards. Chain link is cheaper but open unless privacy slats are added.

Around pools, homeowners often choose aluminum ($25 to $50 per foot) because it does not rust and stays see-through. Pool fences commonly have local height and gate rules, so ask your building department before you order.

A dark aluminum decorative fence surrounding a backyard swimming pool
Aluminum pool fencing stays see-through, so the pool can be watched from the house.
QuestionsAnswered

Fence cost questions

What is the average cost of fence installation?

The national average is about $4,500, and most fence projects run $2,000 to $6,500. Replacing an existing fence typically costs $2,500 to $7,500, because the old one has to come out first.

How much does a wood privacy fence cost per foot?

A wood fence costs about $15 to $35 per linear foot installed. Taller privacy fences and cedar boards sit toward the top of that range; a simple pressure-treated fence sits near the bottom.

What is the cheapest type of fence to install?

Chain link, at about $10 to $25 per linear foot installed. Wood is the cheapest privacy option at $15 to $35 per foot.

Do I need a permit to build a fence?

Fence permits run $50 to $400, and rules on height, placement and permits are set locally. Ask your city or county building department, and check any homeowners association rules, before work begins.

Want a fence estimate?

Tell us the length and the fence you want, and get connected with an independent local installer. No obligation, no bidding wars.