RPAPL 871: Compelling Removal of an Encroachment — Injunctions and the Balancing Test

When a neighbor's fence, wall, driveway, building extension, or deck sits on your land, New York law gives you a specific statutory cause of action to force its removal: Real Property Actions and Proceedings Law (RPAPL) § 871. The statute authorizes a court to issue a mandatory injunction — an order directing the encroaching owner to physically remove the offending structure. But the remedy is not automatic. New York courts apply a balancing-of-the-equities test, and the outcome frequently turns on facts that owners on both sides of the boundary line misunderstand until it is too late.

This page explains what RPAPL 871 actually says, what a plaintiff must prove, how courts weigh the equities, the procedural steps and deadlines involved, and the most common mistakes made by both the owner seeking removal and the owner defending the structure.

What RPAPL 871 Does in Plain Language

RPAPL § 871(1) provides that an action may be maintained by the owner of any legal estate in land for an injunction directing the removal of a structure encroaching on such land. The statute goes on to say that nothing in it limits the court's power to award damages in an appropriate case in lieu of an injunction, or to render such other judgment as the facts may justify.

Read together, those two sentences define the entire architecture of a New York encroachment case:

  • The plaintiff asks for removal of the structure — a mandatory injunction.
  • The court retains discretion to deny removal and award money damages instead if forcing demolition would be inequitable.

In other words, proving that the structure crosses your boundary line gets you into court, but it does not by itself get the structure torn down. The court decides which remedy fits the equities.

The Two Things a Plaintiff Must Prove

New York appellate courts have distilled RPAPL 871 into a two-part showing. To obtain a mandatory injunction compelling removal, the plaintiff must demonstrate:

1. The existence of an encroachment on the plaintiff's property

This is a question of title and survey evidence. The plaintiff must establish (a) ownership of the disputed strip and (b) that the defendant's structure physically intrudes onto it. In practice this almost always requires a current boundary survey by a licensed land surveyor, tied to the deed descriptions of record. Old surveys, tax maps, and fence lines are not reliable substitutes; tax maps in particular are expressly not evidence of boundary location. Where the deed descriptions themselves are ambiguous or conflicting, the encroachment claim is often paired with a quiet title claim under RPAPL Article 15 so the court can first fix the boundary and then address the structure.

2. That the benefit of removal outweighs the harm to the defendant

This is the balancing test. The Appellate Division has repeatedly held that a plaintiff seeking a mandatory injunction under RPAPL 871 must show that the benefit to be gained by compelling removal outweighs the harm that would result to the defendant from granting that relief. See, e.g., Broser v. Schubach, 68 A.D.3d 897 (2d Dep't 2009); Marsh v. Hogan, 81 A.D.3d 1241 (3d Dep't 2011). The burden is on the plaintiff — not the encroaching owner — to make this showing. Plaintiffs who prove the encroachment but put in no evidence on the balance of hardships routinely see their injunction claims dismissed, sometimes with only nominal damages awarded.

How Courts Balance the Equities

No single factor controls, but New York decisions consistently examine the following:

FactorFavors removal (injunction)Favors damages instead
Extent of the encroachmentSubstantial intrusion; occupies a meaningful portion of the lot; blocks development or accessDe minimis — a few inches of foundation, roof overhang, or fence line
Defendant's state of mindWillful, knowing, or reckless construction; built after warning or after a survey showed the true lineInnocent, good-faith mistake based on an existing fence line or an erroneous survey
Cost and difficulty of removalRemoval is feasible at modest cost (fence, shed, pavement)Removal requires demolishing or structurally compromising a building
Harm to the plaintiff if the structure staysEncroachment prevents construction, violates zoning setbacks, clouds marketability, or interferes with useStrip has little practical utility; plaintiff's use of the parcel is essentially unaffected
Plaintiff's conductPrompt objection once the encroachment was discoveredPlaintiff stood by silently during construction (laches, estoppel)

A critical asymmetry runs through the case law: a willful encroacher generally cannot invoke the balancing test in its favor. An owner who builds over the line knowing where the line is — or who continues building after being told — will rarely be heard to complain that removal is expensive. Courts do not permit a party to buy a neighbor's land by deliberately building on it and then paying damages. Conversely, an innocent encroacher whose building wall crosses the line by two inches will almost never be ordered to demolish.

Worked Examples

Example 1: The six-inch fence

A survey commissioned for a refinance reveals that the neighbor's chain-link fence, installed twelve years ago, sits six inches onto the owner's side along a 90-foot run. Removal cost is trivial. But under RPAPL § 543, a de minimis, non-structural encroachment such as a fence, hedge, shed, or non-structural wall is deemed permissive and non-adverse for adverse possession purposes — so the neighbor has not acquired title despite the passage of ten years. Because the fence is cheap to relocate and the encroachment is proven by survey, an RPAPL 871 injunction directing relocation is a realistic outcome, though the modest benefit to the plaintiff means courts often push these cases toward negotiated relocation or a boundary line agreement rather than trial.

Example 2: The building extension built in good faith

A homeowner builds a rear addition in reliance on a licensed survey that later proves erroneous. The finished addition — foundation, framing, roof — extends 14 inches onto the neighbor's yard. The neighbor sues under RPAPL 871 demanding demolition of the encroaching portion. Here the balancing test does real work: the encroachment is genuine, but removal would require partial demolition of a structural wall at a cost wildly disproportionate to the value of a 14-inch strip the neighbor was not using. A New York court is likely to deny the injunction and award damages in lieu — typically measured by the diminution in value of the burdened parcel or the fair value of the strip — sometimes coupled with a judgment effectively confirming the encroachment may remain. The parties often resolve such cases with a recorded easement or a lot-line adjustment.

Example 3: The builder who kept going

A developer's surveyor flags that a planned retaining wall and drainage structure will cross the boundary. The adjoining owner sends a written objection before pouring begins. The developer builds anyway, gambling that a court will never order removal of finished work. This is the fact pattern where RPAPL 871 injunctions issue with the least hesitation: the encroachment was willful, and the developer forfeits the sympathy the balancing test otherwise provides. Courts have ordered removal of substantial structures on these facts precisely to prevent private condemnation by construction.

Damages in Lieu of an Injunction

RPAPL 871(1) expressly preserves the court's power to award damages instead of removal. When a court takes that path, damages are typically measured by one of the following:

  • Diminution in market value of the plaintiff's parcel caused by the encroachment;
  • Fair value of the occupied strip, in substance a forced sale price; or
  • Nominal damages where the encroachment is technical and causes no measurable loss.

Plaintiffs should understand that pleading only for an injunction is risky: if the court denies removal on the equities and the complaint contains no damages demand supported by valuation evidence (usually an appraiser), the plaintiff can win on liability and still walk away with a dollar. A well-drafted RPAPL 871 complaint pleads the injunction, damages in the alternative, and — where the boundary itself is disputed — a claim under RPAPL § 1501 to determine title to the disputed strip.

How RPAPL 871 Interacts With Adverse Possession

The single most important deadline in any encroachment dispute is not found in RPAPL 871 at all — it is the ten-year adverse possession period under CPLR § 212(a) and RPAPL Article 5. If an encroaching structure has stood for ten years under a claim of right, hostile, open and notorious, exclusive, and continuous, the encroacher may have acquired title to the strip, extinguishing the RPAPL 871 claim entirely. Two features of the 2008 amendments to Article 5 matter here:

  • RPAPL § 543: de minimis, non-structural encroachments — fences, hedges, shrubbery, plantings, sheds, and non-structural walls — are deemed permissive and non-adverse. These generally cannot ripen into adverse possession no matter how long they stand (for claims governed by the amended statute).
  • RPAPL § 501(3): "claim of right" requires a reasonable basis for the belief that the property belongs to the possessor. A neighbor who knew where the line was faces a harder adverse possession road under current law.

Substantial structural encroachments — building walls, foundations, garages — are a different matter and can still support adverse possession. The interplay between encroachment claims, adverse possession, and prescriptive easements is covered in more depth on our page on boundary line encroachments, adverse possession, and easements.

Procedure: How an RPAPL 871 Action Unfolds

  1. Survey and title review. Retain a licensed surveyor to locate the boundary and the structure, and have counsel review the deeds in both chains of title for description conflicts, easements, or boundary line agreements.
  2. Written demand. A pre-suit demand letter documenting the encroachment and requesting removal serves two purposes: it may resolve the matter, and it establishes willfulness if the neighbor builds or continues after notice.
  3. Commence the action. File a summons and complaint in Supreme Court in the county where the land is located, pleading RPAPL 871, damages in the alternative, and any companion claims (RPAPL Article 15, trespass, nuisance).
  4. Notice of pendency. Because the judgment would affect the title to, or the possession, use, or enjoyment of real property, a notice of pendency under CPLR § 6501 may be filed against the encroaching owner's parcel. This clouds the defendant's title pending the outcome and is a significant point of leverage — and, for defendants, a target: an improperly filed notice can be attacked, as explained on our lis pendens removal page.
  5. Preliminary injunction where construction is ongoing. If the encroaching structure is still being built, move immediately under CPLR Article 63 for a temporary restraining order and preliminary injunction halting construction. Once the structure is finished, the equities shift against removal.
  6. Discovery and expert proof. Expect dueling surveyors, and — on the balancing test — proof of removal costs (contractor or engineer) and valuation (appraiser).
  7. Trial or summary judgment; judgment. A judgment granting the injunction fixes a deadline for removal; a judgment denying it typically awards damages. If the removal work itself requires access over the plaintiff's land, the parties may need to address access terms, much as neighbors do in an RPAPL 881 license proceeding for construction access.

Deadlines and Limitations Periods

  • Injunction to remove the structure: an encroachment is treated as a continuous trespass giving rise to successive causes of action, so the equitable claim does not expire on a fixed date — but it is extinguished if the encroacher acquires title by adverse possession after ten years (CPLR § 212(a)).
  • Money damages for trespass: the three-year statute for injury to property (CPLR § 214(4)) limits recovery of trespass damages to the three years preceding suit.
  • Laches: even within limitations periods, an owner who knowingly watches construction proceed without objecting may be barred from equitable relief. Silence during construction is the most damaging fact a plaintiff can bring to the balancing test.

Common Pitfalls

  • Waiting. Every year of delay strengthens the encroacher's adverse possession and laches arguments and hardens the structure into the equities. Object in writing immediately and sue before the ten-year mark.
  • Suing without a survey. Courts will not find an encroachment on the basis of a fence line, a tax map, or a title report alone.
  • Pleading only the injunction. If the court denies removal on the equities, a plaintiff with no damages proof recovers nothing meaningful. Always plead and prove damages in the alternative.
  • Ignoring the willfulness record. For plaintiffs, failing to document pre-construction notice throws away the strongest injunction factor. For defendants, continuing work after written notice converts a defensible mistake into a willful encroachment.
  • Self-help. Tearing down the neighbor's structure yourself invites liability for property damage and trespass, even if the structure is on your land. Use the statute.
  • Assuming de minimis means dismissed. A tiny encroachment can still cloud title and derail a sale or refinance. Even where an injunction is unlikely, a declaratory or quiet title judgment fixing the line has real value.

Defending Against an RPAPL 871 Claim

Owners on the receiving end of an encroachment suit are not without options. The principal defenses are: (1) the structure does not actually encroach — survey and deed-description challenges; (2) adverse possession — title to the strip has already vested; (3) prescriptive easement — a right to maintain the structure even without title; (4) the balancing test — removal costs grossly disproportionate to any benefit, good-faith construction, and plaintiff's acquiescence; and (5) laches and estoppel where the plaintiff watched the work proceed. A defendant with a strong equities record can often convert a demolition demand into a modest damages payment or a negotiated easement.

A Structure Is Over the Line — Or You've Been Sued to Tear One Down

Our firm litigates RPAPL 871 encroachment actions on both sides of the boundary. For owners whose land has been built upon, we assemble the survey and valuation proof, move quickly to enjoin ongoing construction, and prosecute removal or damages claims — paired with quiet title relief where the line itself is disputed. For owners defending a structure, we build the good-faith and disproportionate-hardship record that defeats mandatory injunctions and negotiate easements, lot-line agreements, or damages resolutions that let the structure stay.

You can contact us by phone at 212-233-1233 or by email at [email protected].

Attorney Albert Goodwin

About the Author

Albert Goodwin Esq. is a licensed New York real estate attorney handling residential and commercial transactions, landlord-tenant matters, and real-property litigation throughout the five boroughs. He can be reached at 212-233-1233 or [email protected].

Albert Goodwin gave interviews to and appeared on the following media outlets:

ProPublica Forbes ABC CNBC CBS NBC News Discovery Wall Street Journal NPR

Client Reviews

Verified feedback from our clients

VIEW MORE
New York State Bar Association Member Badge New York City Bar Association Member Badge American Bar Association Member Badge Avvo Rated Attorney Badge