Squatter Rights in Maryland, Adverse Possession Laws 2025
Adverse possession requires 20 years of continuous unauthorized possession under Md. Code, Cts. & Jud. Proc. § 5-103
Maryland sets one of the longest adverse possession windows in the country: a claimant must hold the property continuously for 20 years before they can even attempt to claim title, under Md. Code, Cts. & Jud. Proc. § 5-103. For a Maryland landlord, that two-decade requirement is reassuring news. Compared with five-year states like California, where an occupant can mature a claim in the span of a single lease cycle gone wrong, Maryland's clock is so long that an ordinary attentive owner almost never loses property to a squatter by accident.
That does not mean the risk is zero. The 20-year period only protects owners who actually pay attention to their property over time. An inherited, vacant, or absentee-owned parcel that sits unwatched for decades is exactly the scenario the statute can reach. The practical takeaway: Maryland gives you an enormous margin of safety, but it rewards owners who inspect, document, and act on unauthorized occupancy rather than ignoring it.
The Five Elements of Adverse Possession in Maryland
To take title under § 5-103, an occupant must satisfy every element for the full 20 years, and missing any one defeats the claim. The possession must be actual (physically using the land as an owner would), open and notorious (visible enough that a diligent owner would notice), exclusive (not shared with the true owner or the public), hostile (without the owner's permission), and continuous for the entire period. The continuity requirement is decisive: any genuine break, the owner retaking possession, the occupant leaving, restarts the count from zero. Maryland's grounding facts list no shorter color-of-title period, so there is no documentary shortcut that trims the 20 years. A claimant holding a defective deed still faces the same two-decade clock as a bare trespasser, which keeps Maryland firmly in the low-risk tier for owners.
How a Maryland Landlord Stops the Clock Cold
Because hostility and continuity are required, you break a developing claim simply by reasserting control, and you have decades of runway to do it. A single eviction filing or a written demand to vacate resets the clock, because it documents that the occupancy is no longer adverse or uninterrupted. Granting permission also works: an occupant who is there with your consent is not hostile, so handing them a short written license or a lease converts a potential adverse possessor into a tenant you can lawfully remove. The cheapest protection of all is routine attention, periodic inspections of vacant or rented units, prompt response to reports of unauthorized occupants, and dated records of every contact. In a 20-year state, an owner who walks the property even occasionally over two decades has essentially no exposure under § 5-103.
Holdover Tenant vs. Squatter, and Why Self-Help Is Illegal
Maryland law treats two situations very differently. A holdover tenant entered legally under a lease and simply stayed past its end; a squatter never had permission at all. Neither, however, may be removed by force. Self-help, changing the locks, removing doors, shutting off heat, water, or electricity, or hauling belongings to the curb, is illegal in Maryland regardless of how clearly the occupant is in the wrong. Those tactics expose the owner to liability and can hand the occupant a counterclaim, all to dislodge someone who is nowhere near the 20-year threshold a claim would require. The correct response to either a holdover or a squatter is the same: go through the court. The good news is that the law you have to follow is also the law that protects you, since a court action is precisely what interrupts any adverse possession argument.
The Correct Court Removal Path
Removal in Maryland runs through the courts, not the curb. The owner serves the proper written notice or demand to vacate, then files the appropriate eviction or possession action in the local District Court. The occupant gets a chance to respond at a hearing; if the court rules for the owner, it issues a judgment for possession. Only a sheriff or constable, never the landlord personally, may then carry out the physical removal. Skipping these steps is the single biggest mistake owners make, because it is both unlawful and unnecessary: in a 20-year state under § 5-103, time is overwhelmingly on the owner's side, so there is no reason to risk an illegal lockout. Document everything, file promptly, and let the court process do the work.
What Landlords Can Do to Prevent Adverse Possession in Maryland
- Serve a formal written demand immediately. The moment you discover unauthorized occupancy, serve a written notice to vacate. This document is evidence that possession is not hostile with your acquiescence, it also begins the legal clock for eviction proceedings.
- File for eviction (unlawful detainer or ejectment) without delay. Filing a lawsuit interrupts the adverse possession period. You do not need to wait for the unauthorized occupant to meet all elements, act before the statutory period runs.
- Keep detailed records. Maintain dated photographs, written notices, inspection logs, and all correspondence. These records prove you were monitoring and objecting to the occupancy throughout the period.
- Never accept rent or give informal permission. Accepting payment or verbally permitting the occupant to stay creates a permissive occupancy, which bars adverse possession. But it also complicates eviction by potentially creating a tenancy. Always formalize any permitted occupancy in writing.
- Post no-trespassing signs and inspect regularly. For vacant or vacant-land properties, regular inspections and posted notices help establish that any occupancy was known to you and objected to.
Holdover Tenants vs. Squatters in Maryland
There is an important legal distinction between these two types of unauthorized occupants. A holdover tenant is a former leaseholder, someone who once had a valid lease who remains in the unit after that lease has expired without the landlord's consent and without executing a new lease. In Maryland, holdover tenants are typically treated as month-to-month tenants or as tenants at sufferance depending on whether the landlord continues to accept rent. They must be removed through the formal eviction process with appropriate notice.
A squatter (or trespasser) is someone who entered the property without any prior legal right to do so, they never held a lease with the landlord. Despite having no legal right of occupancy from day one, squatters cannot be physically removed by the landlord without a court order in Maryland. Changing the locks, removing belongings, or shutting off utilities to force a squatter out constitutes illegal self-help eviction and can expose the landlord to civil liability.
How to Evict a Squatter in Maryland
- Document the unauthorized occupancy. Photograph the unit, note the date of discovery, and gather any evidence that the person has no legal right to be there (no lease, no rental agreement).
- Serve a written notice to vacate. In Maryland, serve a formal written notice demanding the squatter leave the premises. Keep a copy and use a method that creates proof of delivery (certified mail, process server, or witness).
- File an unlawful detainer or ejectment action in the appropriate Maryland court if the squatter does not leave by the deadline in your notice. Attach a copy of the notice and proof of service to your filing.
- Attend the court hearing. Present your evidence of ownership and unauthorized occupancy. The court will issue a judgment for possession if you prevail.
- Obtain and execute a writ of possession. After judgment, request a writ of possession. The county sheriff or marshal will schedule and carry out the physical removal, do not attempt to remove the squatter yourself.
Frequently Asked Questions
How long does a squatter have to stay to claim ownership in Maryland?
Twenty years. Under Md. Code, Cts. & Jud. Proc. § 5-103, a claimant must hold the property continuously, openly, exclusively, and without permission for a full 20 years before attempting to claim title. That is one of the longest windows in the country, which makes accidental loss of property to a squatter very unlikely for an attentive Maryland owner.
Can police remove squatters in Maryland?
Usually not on their own. If an occupant claims any right to be there, police generally treat it as a civil matter and will not forcibly remove them. Lawful removal comes through a court judgment for possession, which a sheriff or constable enforces. Police may assist with a genuine criminal trespass, but the owner should not rely on a 911 call to substitute for the court process.
What's the difference between a squatter and a holdover tenant in Maryland?
A holdover tenant entered legally under a lease and stayed past its end; a squatter never had permission at all. The distinction affects the notice and filing details, but the bottom line is identical: both must be removed through the courts, and self-help, lockouts or utility shutoffs, is illegal in Maryland for either one.
How can a Maryland landlord prevent an adverse possession claim?
Reassert control before 20 years of continuous, hostile possession can accrue. A single eviction filing or written demand to vacate resets the clock, and granting written permission converts an occupant into a tenant rather than an adverse possessor. Routine inspections and dated records of any unauthorized occupancy give a Maryland owner near-total protection under § 5-103.
This analysis was prepared by the Eviction Risk Map research team and reflects Maryland's adverse possession standard under Md. Code, Cts. & Jud. Proc. § 5-103, which requires 20 years of continuous, adverse possession. Last reviewed June 2026. It is general information, not legal advice; consult a licensed Maryland attorney about any specific property or dispute.
Major Cities in Maryland
Related Guides for Maryland Landlords
Squatter Rights in Other States
Adverse possession data sourced from Md. Code, Cts. & Jud. Proc. § 5-103. Eviction notice data from U.S. Census Bureau ACS 2023 and Md. Code, Real Prop. § 8-402. Last updated August 28, 2026. This page is for informational purposes only and does not constitute legal advice. Consult a licensed real estate attorney for your specific situation.