> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# N.Y. Real Property Actions and Proceedings Law § 871 — Action for the removal of encroaching structures

- **Citation**: N.Y. Real Property Actions and Proceedings Law § 871
- **Node Type**: section
- **Jurisdiction**: New York (state)
- **Code Body**: Laws of New York (NY Senate Open Legislation, as published 2026-10-26) (N.Y. Laws)
- **Official Source**: [https://www.nysenate.gov/legislation/laws/RPA/871](https://www.nysenate.gov/legislation/laws/RPA/871)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-8/section-871](https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-8/section-871)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-8/section-871](https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-8/section-871)

## Hierarchy

Division RPA — Real Property Actions and Proceedings Law > Article 8 — WASTE AND OTHER ACTIONS AND RIGHTS OF ACTION FOR INJURY TO REAL PROPERTY

## Text

§ 871.

Action for the removal of encroaching structures. 1. 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. Nothing herein contained shall be construed as limiting the power of the court in such an action to award damages in an appropriate case in lieu of an injunction or to render such other judgment as the facts may justify.

2. This section shall not be deemed to repeal or modify any existing statute or local law relating to encroaching structures.
