Fences and property lines are governed by a stack of overlapping rules: the surveyed boundary itself, recorded easements, local zoning and permit requirements, HOA covenants, and state laws about who pays for a shared fence. Get any layer wrong and you can end up tearing out the fence at your own expense, paying a neighbor’s legal fees, or in the worst case losing the strip of land the fence encloses. A licensed survey before construction is the single most protective step, and most of the other headaches trace back to what homeowners skip afterward.
Confirm Where the Line Actually Runs
Start at the county recorder’s office (sometimes called the register of deeds) and pull your deed and the most recent plat map. The legal description will use either metes and bounds (directions and distances from a fixed point) or a lot-and-block number tied to a recorded subdivision map. Old wooden stakes, stone walls, and the edge of a neighbor’s landscaping carry no legal weight and shift over time. Do not build to them.
A licensed land surveyor takes the legal description and uses buried survey pins and other permanent monuments to stake the actual boundaries. A basic residential boundary survey generally runs $300 to $1,200. Heavily wooded lots, irregular shapes, or properties without recent survey records cost more. What you get is a signed, sealed plat you can bring into court if a neighbor later challenges the fence location. A survey before construction is almost always cheaper than a lawyer after construction.
Call 811 Before You Dig
Federal law prohibits excavation in any state with a one-call notification system without first using that system to locate underground facilities.1Office of the Law Revision Counsel. 49 USC 60114 – One-Call Notification Systems The nationwide number is 811, the call is free, and every state’s system covers gas, electric, water, sewer, and telecommunications lines. Fence post holes are more than deep enough to strike a buried line.
After you call, member utilities send crews to mark the approximate location of their lines with color-coded paint or flags. Most states require you to wait two to three business days before breaking ground. The markings cover utility-owned infrastructure only. Private lines like sprinklers or septic laterals are yours to locate separately. State penalties for skipping the call range from a few hundred dollars to tens of thousands, and hitting a gas main puts your personal liability well past any fine.
Check for Easements Before You Build
Even a fence sitting entirely on your own land can be forced out by an easement. Utility easements are the most common: they give a power company, water district, or telecom provider the right to access a strip of your property for maintenance and repairs. Build a fence across that strip and the utility can require you to remove or relocate it at your own expense, with no obligation to reimburse you.
Easements appear in the deed or in separate recorded documents at the county recorder’s office. Your surveyor can usually flag them on the plat, and a title search confirms what’s there. Drainage easements, shared driveway easements, and conservation easements all impose similar restrictions. The rule is straightforward: permanent structures inside an easement can be torn out by whoever holds the easement rights, and the cost falls on you.
Permits, Zoning, and HOA Rules
Municipalities regulate fence height, placement, and materials through zoning ordinances, and the rules vary significantly by jurisdiction. The common pattern caps backyard fences at six feet and front-yard fences at three or four feet, largely to preserve driver sightlines at intersections. Some jurisdictions add setback requirements that push a fence back from the sidewalk, curb, or public right-of-way rather than letting you build right at the property line.
Most cities and counties require a building permit before installation. Permit fees generally run $75 to $250, and the application typically requires a site plan showing location, height, and materials. Certain materials are banned outright in residential zones. Barbed wire, electrified wire, and razor ribbon are prohibited in most residential areas, though agricultural exceptions sometimes exist. Building inspectors may visit after construction to confirm the fence matches the approved plans.
Homeowners association rules layer on top of municipal zoning. HOA covenants often dictate fence style, color, material, and even which direction the finished side faces. Violating HOA guidelines can bring fines and forced removal independent of whether the fence meets city code. Check both sets of rules before committing to a design.
Who Pays for a Fence on the Line
A fence built directly on the dividing line between two properties is generally classified as a boundary fence. A number of states have statutes requiring both neighbors to share the reasonable cost of building, maintaining, and replacing it, on the theory that both landowners benefit. These shared-cost laws vary widely, and not every state has one, so the obligation depends on where you live.
In states with a shared-cost statute, the neighbor who wants to build or repair typically has to send written notice to the adjoining landowner. Some states require only a general statement of intent; others demand a detailed cost estimate, a description of the work, and a timeline. If the neighbor ignores the notice or refuses to pay their share, the initiating owner can usually build the fence and pursue reimbursement in small claims court. Small claims limits run from $1,500 to $25,000 depending on the state, and most fence disputes fit inside those caps.
Where no shared-cost statute exists, the default is that whoever builds the fence owns it and pays for it. A written cost-sharing agreement between neighbors is still enforceable as a contract in those states. Getting that agreement in writing before construction avoids the most common source of neighbor-fence conflict: one person pays for a fence both people use, then resents the freeloader next door for years.
When a Fence Is in the Wrong Place
A fence built even slightly on a neighbor’s side of the line is an encroachment. The affected landowner has several tools. The gentlest is a direct conversation followed by a written agreement to move the fence. When that fails, the landowner can serve a formal notice demanding removal and, if the neighbor still refuses, file a civil lawsuit seeking a mandatory injunction ordering the fence relocated at the encroaching party’s expense.
A quiet title action is a separate proceeding that asks a court to declare the true property boundaries and clear any competing claims from the record. It’s especially useful when the dispute involves broader confusion about where the line runs, not just the fence. The court reviews surveys, deeds, and testimony, then enters a judgment that becomes part of the public record and resolves the boundary permanently. Ignoring a court-ordered injunction can bring contempt charges, which may carry fines or jail time.
Litigation over an encroaching fence can easily run several thousand dollars in legal fees, which is why mediation is worth trying first. Many counties and states operate mediation programs specifically for neighbor disputes, often on a sliding scale. Mediation is faster, cheaper, and less likely to permanently poison the relationship with someone who lives 20 feet away. It only works if both sides show up willing to negotiate. If a neighbor is genuinely refusing to acknowledge the property line, court may be the only path.
How a Wrong Fence Line Can Cost You the Land
A misplaced fence does more than create a temporary nuisance. If it stays in the wrong spot long enough, the neighbor on the other side may gain legal rights to the land it encloses. Two doctrines make this possible.
Adverse Possession
Adverse possession lets someone who occupies another person’s land openly, continuously, and without permission eventually claim legal ownership. The required period varies dramatically by state, from as few as five years to as many as 20 or 30, depending on the jurisdiction and whether the possessor has been paying property taxes on the disputed strip. The possession must be hostile (without the owner’s consent), actual, open, and notorious. A fence enclosing a strip of your neighbor’s yard and treated as your own for the statutory period can, in the right circumstances, transfer title to that strip permanently.
The most effective way to stop the clock is to grant written, revocable permission for the fence to remain. A simple letter acknowledging the fence is on your land and allowing it temporarily, subject to removal at any time, defeats the hostility element. Without hostility, the possession never ripens into a legal claim no matter how many years pass.
Boundary by Acquiescence
Boundary by acquiescence works differently. It applies when two neighbors treat a fence line as the property boundary for the statutory period, even though neither one intends to take the other’s land. If both sides mow up to the fence, build improvements based on the fence line, and generally behave as if the fence is the boundary for long enough, a court may declare the fence line the legal boundary regardless of what the deed says. Unlike adverse possession, acquiescence does not require hostile intent. Mutual mistake is enough.
The practical takeaway is the same for both doctrines. If your neighbor’s fence is on your land, deal with it promptly. The longer a wrong fence line goes unchallenged, the stronger the neighbor’s legal position becomes.
Spite Fences
A spite fence is a structure built primarily to annoy a neighbor rather than serve any useful purpose. The classic example is an absurdly tall, solid fence erected to block a neighbor’s sunlight or view after a personal dispute. Courts generally treat these as private nuisances, and a number of states have statutes specifically prohibiting fences that exceed a certain height (often six feet) when built with malicious intent.
Proving a spite fence means showing it has no reasonable beneficial use like privacy or security and that its primary purpose is harassment. Courts look at the timing (did it go up right after a dispute?), the design (is it far taller or more opaque than anything useful?), and any statements the builder made about intent. If a court agrees the fence qualifies, it can order removal and award damages for the period it stood.
Trees and Hedges Along the Line
Trees near a fence line create their own legal issues. The general rule is that a tree belongs to whoever’s land the trunk grows on. When the trunk straddles the property line, both neighbors share ownership and neither can remove the tree without the other’s consent.
You have the right to trim branches and roots that cross onto your side, but only up to the line. You cannot enter the neighbor’s yard to do the trimming, and you cannot damage the tree’s health or structural integrity in the process. Aggressive pruning that kills or seriously harms a tree can trigger liability for the tree’s value, and some jurisdictions allow treble (triple) damages for malicious destruction. Fruit on overhanging branches typically belongs to the tree’s owner, not to whoever’s yard the branch hangs over.
Roots are a particular headache for fence owners. Tree roots from a neighbor’s tree can heave fence posts, crack footings, and push panels out of alignment. You can generally cut roots at the property line, though some courts limit that right to situations where the roots are causing actual damage. Before cutting large roots, consider whether the tree is likely to die as a result. If it does, you may end up paying for a mature tree replacement, which can run into thousands of dollars.