Skip to main content
Last updated: December 2026Researched by DepositHawk Research Team

Lockouts and Locks in Maryland: What Renters Can Do

Under Md. Code, Real Prop. § 8-216(b), a landlord may not take possession or threaten to take possession of a dwelling unit by locking the tenant out or any other action, and may take possession only under a court warrant of restitution or if the tenant has abandoned or surrendered it.

Md. Code, Real Prop. § 8-216(b)

Lockouts and locks: Lockouts Banned, Lock Change After Protective Order

Under Md. Code, Real Prop. § 8-216(b), a landlord may not take possession or threaten to take possession of a dwelling unit by locking the tenant out or any other action, and may take possession only under a court warrant of restitution or if the tenant has abandoned or surrendered it.

  • Lockouts: Barred without a court process (Md. Code, Real Prop. § 8-216(b))
  • Penalty: The statute allows actual damages and reasonable attorney's fees and costs
  • Rekeying between tenants: No statute found in the sections we read
  • Lock standards: No statute found in the sections we read
  • Domestic violence lock change: Yes (Md. Code, Real Prop. § 8-5A-05)

Section 8-216(b) bars taking possession by locking the tenant out. Subsection (d) says it does not stop a landlord from temporary measures, including changing the locks, to secure an unsecured property if the landlord makes good faith attempts to give the tenant notice that the tenant may promptly be restored to possession. Section 8-5A-05 lets a tenant who is a victim of abuse send a written request with a protective order or qualifying peace order, and the landlord shall change the locks by the close of the next business day. If the landlord does not, the tenant may use a certified locksmith and must give the landlord a duplicate key. The landlord may charge a fee not above the reasonable cost of changing the locks. I read sections 8-203 to 8-218 and subtitle 8-5A and found no rekey requirement or lock standard; I did not search the rest of Title 8.

Md. Code, Real Prop. § 8-216(b). Read the source. Checked December 1, 2026

•First Steps

What to Do About a Lockout or a Lock

If you are locked out, write down what happened, keep photos and receipts, and contact a local legal aid office or the court clerk about your options.

  1. Write down the date, the time, who was there, and what was said.
  2. Take photos of the lock, the door and anything left outside, and keep receipts for costs you pay.
  3. Tell your landlord in writing, by email or letter. Say what happened and what you are asking for. Keep a copy.
  4. If you are in danger, call emergency services. For a protective order, contact the court clerk or a local victim services program.

•The Law

Lockout and Lock Rules in Maryland

Maryland bars a landlord from removing or locking out a tenant without a court process (Md. Code, Real Prop. § 8-216(b)).

We did not find a statute in the sections we read that makes a landlord change or rekey the locks between tenants in Maryland. Your lease may still promise it.

We did not find a statute in the sections we read that sets lock or deadbolt standards for rentals in Maryland. Local housing codes and your lease may.

Maryland has a rule on domestic violence lock changes (Md. Code, Real Prop. § 8-5A-05). Read the statute for who qualifies and what notice is required.

•Outside Help

Legal Aid and Related Guides

A local legal aid office or the court clerk can explain the options open to you where you live. Bring your notes, photos and any messages with your landlord.

For repairs, see the Maryland repairs guide. For heat, air conditioning and mold, see the Maryland heat, AC and mold guide. For owners dealing with an occupant who won't leave, see Squatters and guests in Maryland. For your wider rights, see the Maryland tenant rights guide. For the general overview, see the lockouts and locks overview. No one can promise how a case will turn out, and this page is general information, not legal advice.

Sources. Lockouts: Md. Code, Real Prop. § 8-216(b). Domestic violence lock change: Md. Code, Real Prop. § 8-5A-05. Last checked December 1, 2026.

More Maryland Guides

●Frequently Asked Questions

Frequently Asked Questions

Can a landlord lock a tenant out in Maryland?

Under Md. Code, Real Prop. § 8-216(b), a landlord may not take possession or threaten to take possession of a dwelling unit by locking the tenant out or any other action, and may take possession only under a court warrant of restitution or if the tenant has abandoned or surrendered it.

Does a landlord have to rekey the locks between tenants in Maryland?

We did not find a statute in the sections we read that makes a landlord change or rekey the locks between tenants in Maryland. Your lease may still promise it.

Are there lock standards for rentals in Maryland?

We did not find a statute in the sections we read that sets lock or deadbolt standards for rentals in Maryland. Local housing codes and your lease may.

Can a domestic violence victim change the locks in Maryland?

Maryland has a rule on domestic violence lock changes (Md. Code, Real Prop. § 8-5A-05). Read the statute for who qualifies and what notice is required.

See what your state’s law says your landlord owes you. Check my rights & generate my letter — $19.

DepositHawk is not a law firm and does not provide legal advice. Information and documents are for informational purposes only. No attorney-client relationship is created. Consult a licensed attorney for advice specific to your situation.