What to Do If a Neighbor Builds a Fence on the Property Line

If your neighbor built a fence on the property line, your first move is to confirm exactly where that line actually runs, because the right response depends entirely on whether the fence sits on the line, crosses onto your land, or breaks a local rule. Gut feelings about boundaries are wrong more often than homeowners expect, and acting on one can make the problem harder to fix later. Once you know the line, the fence is one of three things: a shared boundary fence, an encroachment onto your property, or a code violation. Each calls for a different response, and ignoring any of them has real costs.

Get a Boundary Survey Before You Do Anything Else

Your deed and the plat map at the county recorder’s office describe your boundaries in legal shorthand that rarely translates cleanly to the ground. The only way to pin the line down with legal certainty is a boundary survey by a licensed land surveyor. Using GPS equipment, recorded deed descriptions, and existing monuments, the surveyor measures and marks your property corners with iron rods, stakes, or caps, and gives you a survey plat showing the exact dimensions of your lot.

That plat becomes your strongest piece of evidence in every step that follows, whether you end up in a driveway conversation, a code enforcement complaint, mediation, or court. Costs depend on lot size, terrain, and your local market. A straightforward suburban lot under half an acre generally runs between $400 and $1,000. Larger, wooded, hilly, or irregularly shaped parcels cost more. It isn’t cheap, but it is far cheaper than a lawsuit, and nothing else in this process works without it.

Figure Out Which Kind of Fence Problem You Have

Once the survey is in your hand, compare the fence’s position to the marked corners. One of three situations will apply.

A Shared Boundary Fence

A fence sitting directly on the line is legally a boundary fence. Many states have laws requiring both neighbors to share the cost of building and maintaining a boundary fence when both properties benefit from it, but the details vary. Some require written notice before construction and a chance to agree on materials. Others only impose cost-sharing after both parties have actually used or benefited from the fence. If your neighbor built first and now expects you to split the cost, ask them to point to the specific local ordinance. You are not automatically on the hook because they decided to build.

An Encroachment Onto Your Land

A fence that crosses the line onto your side is an encroachment, which is a form of trespass. Someone else’s structure is physically occupying land that belongs to you, and that gives you the right to demand its removal. Most encroachments are unintentional. The neighbor hired a contractor who eyeballed the line, or relied on an older fence that was itself in the wrong place. Intent doesn’t change the legal effect, and it doesn’t change what you need to do.

A Code or HOA Violation

Every municipality has zoning and building code rules for residential fences covering maximum height, acceptable materials, required setbacks from the property line, and whether a permit was needed. Specific numbers vary by city and county, and some communities ban materials like barbed wire or chain link in residential zones or require that the finished side of the fence face outward. Call your local zoning or planning department for the actual rules in your area; most post their ordinances online.

If either property sits in a homeowners association, the CC&Rs almost certainly contain fence restrictions on height, materials, color, and style, and most HOAs require architectural review committee approval before a fence goes up. A neighbor who skipped that step can be ordered by the HOA to remove or modify the fence at their own expense.

One more thing to check before the fence goes any further: utility easements. These give utility companies the right to access a strip of your property to maintain water lines, gas pipes, or electrical cables. A fence built within an easement can be ordered removed by the utility company. Your survey plat should show recorded easements, and the title report from your purchase will list them.

Why Waiting Makes the Problem Worse

Ignoring an encroaching fence is the most expensive mistake you can make. Under the doctrine of adverse possession, a person who openly and continuously occupies someone else’s land for a period set by state law can eventually claim legal ownership of that strip. The required period varies dramatically, from as few as five years in some states to twenty or more in others.

The possessor typically must show that the use was continuous, open and obvious, hostile to the true owner’s rights, and exclusive. An unchallenged fence checks every one of those boxes. It sits there year after year, anyone can see it, and it treats the enclosed land as the neighbor’s. Enough time without objection, and you can permanently lose the strip on the other side.

Even before the clock runs out, an unaddressed encroachment complicates any future sale. A buyer’s title search or survey will flag the discrepancy, and buyers tend to walk away from unresolved boundary disputes rather than inherit someone else’s problem. Dealing with the fence now protects both your current rights and your resale value later.

Start With a Conversation

Resist the urge to open with a lawyer’s letter. Most fence encroachments are honest mistakes, and most neighbors will cooperate once they see a survey. A calm, in-person conversation where you walk them to the markers and show the plat is the fastest and cheapest resolution available. People get defensive when formal legal correspondence arrives out of the blue; they are far more receptive when a neighbor walks over and says, “I just had my property surveyed and it looks like the fence ended up a couple of feet onto my side.”

If the neighbor agrees the fence is in the wrong place, get the agreement in writing before anyone moves anything. A simple letter signed by both parties confirming the correct boundary, the plan to relocate the fence, and who pays for it is enough. If the neighbor can’t afford to move the fence right away, you can agree to a temporary encroachment arrangement with a specific deadline. The written record shows you never acquiesced to the fence’s current position, which stops the adverse possession clock.

Send a Formal Written Notice

If the conversation goes nowhere, put everything in writing and send it by certified mail with return receipt requested. The receipt proves delivery, which matters later. Include:

  • A copy of the boundary survey showing the fence’s position relative to the true property line.
  • Photographs of the fence against the survey markers.
  • Copies of any local ordinances the fence violates, such as height limits, setbacks, or permit rules.
  • A clear statement of what you want: remove the fence, relocate it to the correct line, or enter into a formal boundary agreement.

Keep the tone factual and direct, not hostile. State the problem, reference the survey, identify any code violations, and give a reasonable deadline. Thirty days is standard. Keep a copy of everything you send.

File a Code Enforcement Complaint in Parallel

If the fence violates local building codes, height restrictions, setback requirements, or was built without a required permit, you have a path that doesn’t depend on your neighbor’s cooperation. Contact your city or county code enforcement department and file a formal complaint. Most accept complaints by phone, online form, or in person.

An inspector will investigate, and if a violation is confirmed, your neighbor receives a notice of violation with a deadline to fix it. Noncompliance can lead to daily fines, and in some cases the municipality can hire a contractor to correct the violation and place a lien on the property to recover the cost. It is slower than a handshake agreement but faster and cheaper than litigation, and you don’t need an attorney.

Code enforcement addresses code violations, not the boundary itself. A fence can be fully code-compliant and still sit on your land. But if the same fence also breaks a height limit or setback rule, enforcement may force removal regardless of where the line falls.

Mediation and Legal Action

When direct negotiation and code enforcement haven’t resolved it, mediation is the next step. A neutral mediator helps you and your neighbor reach a voluntary agreement, usually for far less than litigation and with less damage to the relationship. Mediator fees for property disputes typically run between $100 and $300 per hour, often split between the parties. Many community mediation centers offer subsidized or sliding-scale sessions.

If mediation fails, consult a real estate attorney. Hourly rates for property dispute attorneys generally range from $150 to $400 depending on market and experience. The usual options are:

  • A trespass and ejectment lawsuit asking the court to order the fence removed and potentially award damages for unauthorized use of your land.
  • A quiet title action, which asks the court to formally establish who owns the disputed strip. The resulting judgment is recorded in public records and settles the boundary permanently, which is especially useful when adverse possession is a concern or you plan to sell.
  • A negotiated easement or boundary agreement letting the fence stay in exchange for compensation or an adjusted property description, recorded against both properties so future buyers know the arrangement.

Litigation over a fence can easily cost several thousand dollars and take months. Most attorneys will tell you a boundary dispute that reaches trial was a failure of negotiation, not a victory for anyone. But when a neighbor flatly refuses to accept the survey or claims the land as theirs, a court order may be the only option left.

Check Your Title Insurance

If you bought your home with an owner’s title insurance policy, it may cover some of the costs of the dispute, depending on which policy you hold. A standard owner’s policy generally covers title defects and encroachments that existed in the public record at the time of purchase. It typically does not cover a neighbor’s fence that went up after you bought the home.

An enhanced owner’s policy, sometimes called an ALTA Homeowner’s Policy, provides broader protection that can include post-purchase encroachments, meaning a neighbor’s fence built onto your property after closing. If a covered claim arises, the policy pays legal defense costs and any financial loss up to the policy’s face value, usually the purchase price of the home. Pull out your closing documents and read the policy. If you have enhanced coverage and the fence went up after your purchase date, filing a claim could shift the legal costs to the title insurer.