A fence project involves four separate decisions: which material fits your budget and yard, where the fence can legally sit on your property, whether you need a permit, and what you owe your neighbor in notice. Get any one of these wrong and you could face a stop-work order, a survey dispute, or a fence you have to move. This guide walks through each decision so you can plan with fewer surprises.
Call before you dig
Before any post holes go in the ground, call 811 or submit a request through your state’s one-call center. This free service sends utility companies out to mark buried gas, electric, water, sewer, and cable lines on your property. Hitting a buried line while digging fence post holes can cause a gas leak, an electrical hazard, or a costly utility repair bill. Do this several business days before your project starts, since most states require advance notice.
If digging uncovers anything you can’t identify, or if a marked line runs through where you planned to dig, stop and call the utility company or a licensed contractor rather than working around it yourself.
Choosing a fence material
Each material trades off differently on maintenance, appearance, and how it holds up over time. None of these figures are prices; check with local suppliers and installers for current costs in your area.
Wood
Wood is the classic choice and easy to customize in height and style. It needs regular sealing or staining to resist rot and insect damage, and posts set in the ground typically require pressure-treated lumber rated for ground contact. Untreated wood in contact with soil will break down faster.
Vinyl
Vinyl (PVC) fencing does not rot, splinter, or need painting. It costs more upfront than wood in most markets but requires little upkeep beyond occasional washing. Extreme cold can make vinyl more brittle and prone to cracking on impact.
Metal
Aluminum and steel fencing range from open-style ornamental panels to solid privacy panels, and galvanized chain-link is a common budget option for security or containing pets. Metal fencing generally needs less maintenance than wood, though uncoated steel can rust over time and ornamental styles offer little privacy.
Composite
Composite fencing blends wood fibers with plastic to mimic the look of wood while resisting rot and insects. It typically costs more than wood but less than some vinyl options, and manufacturer warranties vary, so compare them directly.
Quick material comparison
- Wood — Most customizable look; needs periodic staining or sealing; posts need ground-contact-rated treated lumber.
- Vinyl — Low maintenance; doesn’t rot; can become brittle in very cold climates.
- Metal — Durable and low-maintenance; ornamental styles offer little privacy; uncoated steel can rust.
- Composite — Wood-look with better rot resistance; warranty terms vary by manufacturer.
Verifying your property line
Building on or over your property line is one of the most common fence disputes. A fence that’s even a few inches over the line can force a rebuild later, especially if the neighboring property changes hands.
- Pull your property plat or survey from your closing documents, or request a copy from your county recorder or assessor’s office.
- Look for existing survey stakes or pins at your property corners. These are sometimes still in the ground from when the lot was originally surveyed.
- If you can’t locate reliable markers, hire a licensed land surveyor to re-stake the corners. This is the most reliable way to confirm your exact boundary before you dig.
- Ask your local building or zoning office about setback requirements — the required distance a fence must sit inside your property line. Many jurisdictions do not allow a fence built directly on the line.
Because setback rules and boundary law vary by city, county, and state, verify current requirements with your local zoning or planning department before finalizing your fence layout.
Do you need a permit?
Whether a fence needs a permit depends entirely on your local jurisdiction. Common factors that affect the answer include:
- Fence height (many areas set a lower height limit for front yards than back yards)
- Whether the fence is in a front, side, or back yard
- Fence material and whether it’s considered a structure under local code
- Whether your property is in a floodplain, corner lot, or has other zoning restrictions
- Homeowners association (HOA) rules, which can be stricter than city or county code
Call or check the website of your city or county building department before you start. If you belong to an HOA, review its covenants separately, since HOA approval and government permits are usually two different processes with two different sets of rules.
Neighbor notification
Some jurisdictions require you to notify adjoining property owners before a fence permit is issued, particularly for taller fences or ones built near a shared boundary. Others have no such requirement. A number of states also have “spite fence” laws that regulate fences built mainly to annoy a neighbor rather than serve a practical purpose, such as unusually tall fences with no functional use.
Even where notice isn’t legally required, telling your neighbor before you start can prevent boundary disputes later. Confirming the property line together, before digging begins, is one of the most effective ways to avoid a conflict.
Older fences and lead paint
If you’re repainting, sanding, or replacing an existing fence built before 1978, be aware that lead-based paint was commonly used before that year and may still be present on old wood or metal fencing. Disturbing old paint by sanding or scraping can release lead dust, which is a health hazard, especially for children and pregnant women. HUD’s Office of Lead Hazard Control and Healthy Homes recommends testing suspect paint before disturbing it and following lead-safe work practices, or hiring a certified lead-safe contractor for the removal work.
When to bring in a professional
Most fence installation is a manageable DIY or contractor project, but stop and get licensed help if your project involves:
- Digging near a marked utility line you can’t safely avoid
- A property line dispute with a neighbor
- Retaining walls or grading changes combined with the fence
- Attaching a fence to a structure that may involve electrical or structural work
Our project safety stop points page covers the general categories of work where a qualified professional should take over.
Cost, evidence limits, and homeowner assistance
This guide doesn’t include prices, project timelines, or specific dollar figures, because material costs, labor rates, and permit fees vary too widely by region and change over time. For current pricing, get quotes from local suppliers and licensed installers. For legal requirements, treat permit rules, setback distances, and notification laws as strictly location-specific — always confirm them with your local building department rather than relying on general guides, including this one. You can review how we approach sourcing on our sources and methodology page.
If cost is a barrier to a fence or other home project, USA.gov’s home repair and energy efficiency assistance page lists government programs, including weatherization and home repair loan and grant programs, that may help eligible homeowners. These programs are not fence-specific, so check the listed eligibility rules for each one.
Fence planning checklist
- Call 811 before any digging
- Confirm your property line with a plat, survey markers, or a licensed surveyor
- Check local setback requirements with your building or zoning department
- Find out if a permit is required for your fence’s height, location, and material
- Check HOA rules separately from government permit requirements
- Find out if your jurisdiction requires neighbor notification
- Talk to your neighbor about the shared boundary before construction starts
- Test for lead paint before disturbing paint on any fence built before 1978
Frequently asked questions
Do I need a permit to install a fence?
It depends on your local jurisdiction, your fence’s height and location, and sometimes its material. Contact your city or county building department to confirm the rules for your address before you start.
How do I find my exact property line before building a fence?
Start with your property survey or plat, look for existing corner markers, and if you can’t confirm the boundary confidently, hire a licensed land surveyor. This is especially important before installing a fence near a shared boundary.
Do I have to tell my neighbor before installing a fence?
Some jurisdictions legally require notice to adjoining property owners; many do not. Check your local ordinance to find out what applies where you live, and consider talking with your neighbor regardless, since it can help prevent boundary disputes.
Can I install a fence myself, or do I need a professional?
Many fence installations are manageable as a DIY or general contractor project. Bring in a licensed professional if the work involves digging near utility lines you can’t avoid, a property line dispute, or any structural or electrical work connected to the fence.
Safety disclaimer
This article provides general educational information about fence installation and is not a substitute for local code requirements, a professional land survey, or legal advice about property boundaries. Permit rules, setback distances, and notification requirements vary by city, county, state, and HOA, and they change over time. Always confirm current requirements with your local building or zoning department before starting a fence project. Stop and consult a licensed professional for any work involving buried utilities, structural elements, or suspected lead-based paint.