Skip to content

Outdoor

Fence Installation

A fence is mostly posts and planning: the right material for your purpose, posts set deep enough to stay plumb through freeze–thaw cycles, and a layout that respects your property line and local height limits. This fence installation guide compares materials and installed costs, explains post spacing and depth, and covers the permits and licensing that apply in New York.

Weathered wood privacy fence with vertical boards and ivy along the top
Wood
$15–$35 per linear ft
Chain link
$12.25–$40 per linear ft
Vinyl
$17–$38 per linear ft
Height limits
Set by local zoning

Fence types to choose before installation

Type Strengths Trade-offs
Wood (pressure-treated, cedar) Classic look, privacy, easy to repair Needs staining/sealing; can warp or rot over time
Vinyl (PVC) Low maintenance, consistent look Higher upfront cost; panels can crack on impact in cold
Chain link Economical, durable, see-through Little privacy unless slats are added
Aluminum / ornamental Pool and decorative fencing, no rust Not a privacy fence

Planning posts, spacing and gates

Wood fences usually use posts 6–8 ft apart; vinyl and metal panels dictate their own spacing. Gates need stout posts — often set deeper with more concrete — and adequate clearance for swing. Confirm property lines with a survey before digging, and call 811 to have underground utilities marked.

Count posts, rails, pickets and concrete with our fence calculator.

Post depth and frost

A common rule of thumb sets about one-third of the post length below grade, and below the frost line where frost heave is a concern. Frost depth is set locally — in New York State by each municipality — so ask your building department.

Height limits and permits

Fence height limits usually come from local zoning — often lower in front yards than in rear yards — and pool barriers have separate safety requirements. Many towns require a permit or zoning review. Corner lots may have sight-triangle restrictions.

DIY fence installation vs. hiring a pro

Short wood or chain-link runs on flat ground are reasonable DIY projects for many homeowners. Long runs, slopes, rocky soil, pool barriers and masonry piers usually justify a professional — and in NYC, anyone you pay for residential fence work needs a DCWP Home Improvement Contractor license.

Fence Installation costs in 2026

Installed prices per linear foot; height, terrain, gates and removal add cost.

ItemTypical range
Wood$15–$35 per linear ft
Chain link$12.25–$40 per linear ft
Vinyl$17–$38 per linear ft

Typical national ranges. New York City and other high-cost metros often run above them — get several written bids for your project.

Calculators for this project

New York rules and permits

NYC. The DCWP Home Improvement Contractor license explicitly covers work on fences at residential properties, so verify your installer's license. Fence height and placement are governed by zoning — check the rules for your lot before ordering materials.

Long Island and upstate. Nassau and Suffolk counties license home improvement contractors; many towns require fence permits. Frost depth for post holes comes from your municipality's Table R301.2.

Frequently asked questions

How much does a fence cost per foot?

National pricing puts wood at $15–$35 and chain link at $12.25–$40 per linear foot installed; vinyl runs $17–$38. Use the fence cost calculator for your length.

How deep should fence posts be?

About one-third of the post length is a common rule, and below local frost depth where required.

Do I need a permit for fence installation?

Often, yes — check your town or city zoning office. Height limits commonly differ for front and rear yards.

Which side of the fence faces out?

Many localities and HOAs require the finished side to face neighbors or the street. Check local rules.

Estimate before you call a contractor

Run the numbers with our free calculators so you can compare bids with confidence.