Structures
Fence installation: rules, property lines, post counts and what a quote should say
A fence is short on materials and long on rules. The permit, the property line and the buried utilities are settled before the first post goes in, and the counts come after.
By LawnElm Editorial Team Updated 7 min read
- Priced by
- Linear foot, plus gates
- Season
- When soil and permit allow
- Do it yourself?
- Partly; posts are hard
Short version
Check the rules first. Fence permits, heights and setbacks are set by your city or county, and cities differ widely. Find your property line before you build, call 811 before the posts go in, and count the parts with the fence and deck calculator so you can check a quote line by line. Ask for the wood grade of the posts in writing. Hire a crew for long runs, gates and anything that needs a permit you do not want to manage.
What the job is
Fence installation sets posts in the ground, hangs rails between them, and fills the run with pickets, panels or wire. Gates are separate openings with their own posts and hardware. The work is quoted in linear feet, with gates, corners and removal of an old fence priced separately.
The job is not tied to a grass belt, and no extension source cited here sets a fence calendar. Two things set the timing: how deep the ground freezes where you live, which local building codes use to set footing depth, and how long your city takes to review a permit. Ask your building office for both.
The rules are local
There is no national fence code. A city or county sets whether a fence needs a permit, how high it may be, and how far it must sit from the lot line, and a homeowners' association may add its own approval step. Two city pages show how far the answers differ.
| City | Permit | Height and placement |
|---|---|---|
| Austin, Texas | Needed in some cases, such as over 7 feet at any point or in a floodplain | Solid fence on a property line up to 6 feet, with exceptions; corner lots need transportation review |
| Madison, Wisconsin | No building permit for a fence | Solid fences up to 4 feet in front or corner side yards, up to 6 feet in rear and interior side yards |
Those figures come from the City of Austin's fencing page and the City of Madison's building inspection fence sheet. They apply only there. Your city may require a survey with the application, as Austin does, or set a clear view at street corners, as Madison does. The general version is in fence and deck permits, the neighborhood layer is in HOA and city yard rules, and the state pages show where to start for your state.
Property lines and buried lines
Madison's page says the homeowner is responsible for locating all property lines before building, that no part of a fence or post may cross the line, and that fences should sit back far enough to be maintained. It lists metal stakes at the lot corners, talking with neighbors, a metal detector, or hiring a surveyor as ways to find the line. A fence is also evidence about where the line is in a dispute: Missouri's extension guide notes that surveys are not infallible and that a boundary fence in place for 10 or more years can become the legal line in that state. That is Missouri law, and LawnElm gives no legal advice.
Posts are digging. Call 811 before the first hole; the request is free and the wait differs by state, as the 811 guide explains. Madison's page adds that if a planned fence would cross a marked line, you may need to move it. Do not rely on the marks to find your property line: they show utilities, not the boundary.
Counting the parts
A takeoff turns a layout into a count. The fence and deck calculator works it this way: gates come off the fence line first; the rest, divided by panel width and rounded up, is the number of panels; each gate fills one opening between two posts; an open run has panels plus gates plus one posts, and a run that closes on itself has one fewer; rails are panels times rails per section; pickets are the fenced length in inches divided by picket width plus gap.
| Part | Count |
|---|---|
| Sections | 10 |
| Posts | 11 |
| Rails | 30 |
| Pickets | 160 |
The tool leaves out post depth, concrete and hardware. Those are part of a quote too, so ask for them by name. If a quote's post count is far from your count, ask the crew why: a corner, a change in grade or a heavier gate post can explain a difference, and a mistake can too.
Posts and wood
Posts sit in or against wet ground, and that is where wood fails first. The USDA Forest Products Laboratory guide to pressure-treated wood, FPL-GTR-275 from December 2019, says it is considered acceptable to use posts meeting the UC4A use category in most situations, whether set in concrete, soil or gravel. It says to consider UC4B, the heavy-duty ground-contact category, in tropical climates or other high-hazard locations. It also advises applying supplemental preservative to saw cuts and drilled holes that expose untreated wood, and minimizing field cuts.
What a written quote should say
- The fence length in feet, the height, the style, and the number of gates and their widths
- The post material and its use category, the post spacing, and the setting method
- Who pulls the permit, who orders the 811 locate, and who finds the property line
- What happens to the old fence and to the soil from the holes
- Whether a survey is included or you supply it
- The start date, the finish date, and how a weather delay is handled
- The license number and a certificate of insurance, where your state requires them
Enter the quote in the yard budget and compare it per linear foot with other quotes. LawnElm publishes no prices; the figures in that tool are yours.
Mistakes to avoid
- Building on a line you assumed instead of one you found
- Digging without an 811 request
- Skipping the permit check because the neighbor did not need one
- Buying posts by the look of the wood instead of the use category
- Ordering from a one-line quote with no permit, gate or post detail
- Ignoring HOA approval, which many associations require before you build
Do it yourself or hire a crew
A short, low run with a few posts is a reasonable weekend job once the permit, the line and the 811 request are done. Long runs, a fence on a slope, heavy gates and anything near a marked utility line are easier to hire out. A crew that pulls the permit takes that task off you, but ask who is responsible if the inspection fails. The DIY or hire guide sets out the general test. For an existing fence, see fence repair and staining.
Questions people ask
Do I need a permit to build a fence?
It depends on your city or county. Austin requires one in some cases, such as above 7 feet or in a floodplain, and Madison does not require a building permit for a fence at all. Call your local building office, and read fence and deck permits.
Do I have to call 811 before setting fence posts?
Yes, call before any digging, including post holes. The request is free, and the wait differs by state. The marks show utilities, not your property line.
How deep should fence posts go?
Local code and the frost depth in your area set it, so ask your building office instead of using a number from a web page. The Forest Products Laboratory guide covers the wood grade, not the depth.
How do I count posts and pickets?
Use the fence and deck calculator. An open 80-foot run of 8-foot sections has 10 sections and 11 posts. A run that closes on itself has one post fewer.
Who is responsible for finding my property line?
You are. The City of Madison says the homeowner must locate all property lines before building, and suggests corner stakes, neighbors, a metal detector or a surveyor.
Sources
- Fencing Regulations (City of Austin Development Services)
- Fences, building inspection fence sheet (City of Madison)
- Guidelines for Selection and Use of Pressure-Treated Wood, FPL-GTR-275 (USDA Forest Products Laboratory)
- Missouri Fencing and Boundary Laws, g811 (University of Missouri Extension)
City rules are examples from two cities and apply only there; your city or county sets yours. Facts were checked on November 20, 2026. Post-depth and footing rules come from your local building office.
Next in the yard
-
Yard job
Deck installation
Permits, footings, the ledger and a board and joist count to check a written deck quote.
-
Guide
Fence and deck permits
What to ask your building office about permits, setbacks and inspections before you build.
-
Guide
Call 811 before you dig
How the free 811 locate works, why notice periods differ by state, and who calls when a crew digs.