In most places, a neighbor can build no closer than roughly 5 to 15 feet from a side property line, 20 to 35 feet from the front line, and 20 to 40 feet from the rear line, though the exact numbers depend on your zoning district, lot size, and what’s being built. Those minimum distances are called setbacks, and they’re the rule that answers the question of how close your neighbor can build to your property line. If a structure sits inside the setback zone, or worse, actually crosses onto your land, you have options, but the right response depends on which problem you’re dealing with.
Confirm Where Your Property Line Actually Sits
Before you can judge whether a neighbor’s project is too close, you need to know where your lot ends. The most reliable method is hiring a licensed land surveyor, who researches county records and physically marks your corners with metal pins. A residential boundary survey typically costs between $800 and $5,500, with the price rising for larger, wooded, or poorly documented lots. The result is a legally recognized document you can use in any dispute.
For a quicker starting point, look for existing survey pins at your lot corners; a metal detector helps. You can also pull your plat map from the county recorder’s office, which shows each lot’s dimensions in your subdivision, and your deed contains a legal description of the property. Plat maps and deeds give you the general layout, but a fresh survey is what holds up in court.
What Setbacks Are and Why They Vary
A setback is the minimum distance a structure must sit from a property line. Cities and counties set these distances through zoning ordinances and building codes for reasons that include fire safety, utility access, light, air, and privacy.1Legal Information Institute. Setback Any permanent structure inside the setback zone is a violation, even if it doesn’t cross onto a neighbor’s land.
The distances are not uniform. They vary by zoning district and by which side of the lot the structure faces. A 25-foot front setback is common in suburban residential zones; side setbacks often run 5 to 15 feet and rear setbacks 20 to 40 feet. Urban lots with higher-density zoning frequently allow much tighter setbacks. Corner lots get two front setbacks, which catches many homeowners off guard when they plan additions. Your specific numbers live in your municipality’s zoning ordinance, usually searchable on the city or county website.
Setback Violation or Encroachment
These two problems get confused constantly, and the difference determines who enforces what. A setback violation means your neighbor built too close to the line but still on their own land. An encroachment means a structure physically crosses the property line onto yours.2Legal Information Institute. Encroach A garage could sit 6 feet from a line that requires 10 feet without encroaching at all. It could also comply with the setback but have a roof overhang that reaches onto your land. Both are problems, but they take different paths.
Setback violations are between the property owner and the local government, which enforces its own zoning code through code enforcement officers and stop-work orders. Encroachments are between you and the neighbor. You have standing to demand removal, negotiate an easement, or sue. When both are happening at once, you’re dealing with two separate issues, often through two separate channels.
Fences, Sheds, and Other Accessory Structures
Not everything on a lot follows the same rules as the main house. Most jurisdictions treat detached garages, sheds, pergolas, and pools as accessory structures, which generally get reduced setbacks, sometimes as little as 3 to 5 feet from a side or rear line, as long as they stay under set size and height limits. A 100-square-foot shed might be allowed within 3 feet of the rear line where the house itself needs a 25-foot buffer.
Fences are treated differently again. In most areas, fences can sit right on the property line or within inches of it, but height limits apply. A typical pattern is 6 feet maximum in side and rear yards, 3 to 4 feet in front yards, with stricter limits near intersections for driver visibility. If a neighbor’s new fence feels too close, the real question is usually height, material, or whether it’s actually on the correct side of the line. Many fence disputes are encroachment disputes in disguise.
When a Neighbor Has a Variance
Sometimes a neighbor can legally build closer than the standard rules allow. A zoning variance is a formal exception granted by a local zoning board. Variances aren’t handed out casually. The owner typically must show that the property has a unique physical characteristic, such as an unusual shape or steep slope, that makes strict compliance impractical, and the hardship has to come from the land itself rather than the owner’s preferences. Boards also weigh whether the variance would change the character of the neighborhood.
If your neighbor received a variance, the construction may be perfectly legal even though it’s closer than the standard setback. Variance applications are public record, and most municipalities notify nearby owners before the hearing. If you weren’t notified or believe the variance was improperly granted, you may be able to challenge it through an administrative appeal. The window is short, often 30 days or less, so check with your local zoning office quickly.
HOA Rules Can Be Stricter
If your home is in a planned community, the Homeowners Association adds another layer. The governing documents, known as Covenants, Conditions, and Restrictions, are private rules that run with the land and bind every owner.3Legal Information Institute. Covenants, Conditions, and Restrictions CC&Rs can impose wider setbacks than the city requires, regulate materials and colors, or ban certain structures altogether. Owners have to comply with both sets of rules, and whichever is stricter controls.
Most HOAs also require plans to go through an architectural review committee before ground breaks. If your neighbor skipped that step, the HOA board has its own tools, including fines, removal orders, and liens. You can request a current copy of the CC&Rs from the board and compare them against what’s being built. HOA enforcement often moves faster than municipal code enforcement, so a complaint to the board is frequently the most efficient first move in a planned community.
What to Do When a Neighbor Builds Too Close
Talk First
If you believe a project violates a setback or crosses the line, talk to the neighbor before anything else. Bring your survey and the relevant section of the zoning code. Many of these problems are honest mistakes, often from a contractor who eyeballed the line instead of checking the survey. A calm conversation with documentation in hand resolves more disputes than any other approach. People get defensive fast when the first thing they hear is a legal threat.
File a Code Enforcement Complaint
When talking doesn’t work, file a complaint with your local code enforcement or building inspection department. If they confirm a zoning or building code violation, they can issue a stop-work order halting construction until the problem is fixed. The owner then has to modify or remove the non-compliant structure to lift the order. This path costs you nothing and puts the municipality’s enforcement power behind the complaint.
Code enforcement works well for setback violations because the municipality is enforcing its own rules. For encroachments across the property line, code enforcement may not have jurisdiction, since that’s a private dispute. You’ll need a different route for those.
Try Mediation
Before a lawsuit, mediation is worth considering. A neutral mediator helps both sides negotiate an outcome, which might mean removing the encroachment, paying for an easement, or adjusting the boundary by agreement. Mediation is faster and cheaper than litigation, typically a few hundred dollars split between the parties, and it preserves the neighbor relationship in a way a courtroom rarely does. Many courts require mediation before they’ll hear a property dispute anyway.
Legal Action
If the neighbor refuses to cooperate and code enforcement can’t resolve it, a real estate attorney can help you weigh your options. For encroachments, you can seek an injunction forcing removal, or in some cases monetary damages for the loss of use of your land. A quiet title action asks the court to formally establish who owns the disputed strip. Do not try to remove an encroaching structure yourself. Damaging your neighbor’s property, even property sitting on your land, can expose you to liability.
Timing matters. Property disputes have statutes of limitation that vary by state, and waiting too long can weaken or eliminate your claim. Courts also tend to be more sympathetic to owners who raised the issue during construction than to those who waited years and then demanded demolition of a finished structure.
The Cost of Doing Nothing
Ignoring an encroachment can eventually cost you legal ownership of the affected strip of land. Adverse possession is a doctrine that lets someone who occupies another person’s land openly, without permission, and continuously for a set number of years claim legal title to it. The required period varies by state, ranging from as few as 5 to as many as 20 years.4Legal Information Institute. Adverse Possession
Four elements must all be present for such a claim to succeed: the occupation must be exclusive, open and obvious, hostile (meaning without permission), and continuous for the full statutory period. A related risk is the prescriptive easement, where a neighbor who uses part of your land openly and without permission for the statutory period gains a permanent right to keep using it, though not ownership.5Legal Information Institute. Prescriptive Easement Acting promptly when you notice an encroachment is the simplest way to prevent either outcome. Even granting written, revocable permission for the use defeats the “hostile” element and stops the clock.