Being locked out of your home by a landlord can be alarming and confusing.
In most U.S. states, landlords are not allowed to lock tenants out without a court order—even if rent is overdue.
This guide explains when a lockout is illegal, what exceptions may exist, and what tenants can do if it happens.
Table of Contents
What Is a Lockout Eviction?
A lockout eviction occurs when a landlord prevents a tenant from entering their rental unit by:
- Changing the locks
- Blocking doors or access points
- Removing keys or access codes
Lockouts are often used to pressure tenants into leaving quickly—but in many cases, this is not legal.

Is It Illegal for a Landlord to Lock You Out?
In most states, yes.
Generally, a landlord must go through the formal eviction process, which includes:
- Providing proper written notice
- Filing an eviction case in court
- Receiving a court judgment
- Having law enforcement carry out the eviction
Locking a tenant out without a court order is commonly considered an illegal eviction.
👉 Related: [What to Do If Your Landlord Illegally Evicts You]
Does It Matter If Rent Is Overdue?
Even if rent has not been paid, landlords usually cannot take self-help actions like lockouts.
Failure to pay rent typically allows a landlord to:
- Issue a pay-or-quit notice
- File an eviction lawsuit
It usually does not allow a landlord to:
- Change the locks
- Remove the tenant’s belongings
- Force the tenant out without court involvement
Are There Any Exceptions?
Some limited exceptions may exist, depending on state or local law.
For example:
- Abandoned property: If a unit is clearly abandoned, a landlord may be allowed to secure it
- Commercial leases: Different rules may apply than for residential tenants
- Temporary lock changes: Some landlords may change locks for repairs but must provide access
Because laws vary, it’s important to review local regulations.
What If the Landlord Claims It Was for Safety or Repairs?
Landlords may argue that lock changes were necessary due to:
- Security concerns
- Emergency repairs
- Building code issues
However, even in these cases, tenants are usually entitled to reasonable access.
Completely denying entry can still be considered unlawful.
What Should a Tenant Do After a Lockout?
If you are locked out, you may consider taking the following steps:
- Document the lockout with photos or video
- Save all communications with the landlord
- Ask for written explanation of why access was denied
- Contact local housing authorities or non-emergency police
- Review tenant protection laws in your state
In many jurisdictions, courts can order landlords to restore access.
Can Police Help With a Lockout?
Police responses vary by location.
In some areas, officers may:
- Document the incident
- Encourage the landlord to restore access
- Advise tenants on next steps
In other areas, police may treat the issue as a civil matter.
Even if immediate access is not restored, a police report can still be helpful.
Penalties for Illegal Lockouts
If a lockout is found to be illegal, landlords may face:
- Court orders to restore possession
- Fines or statutory penalties
- Liability for tenant damages, such as hotel costs
The exact consequences depend on state and local law.
State Laws on Lockout Evictions
Lockout rules vary by state and city.
Some states impose strict penalties, while others focus on restoring tenant possession. Always check local statutes or housing codes.
👉 See:
- California Lockout Eviction Laws
- New York Illegal Lockout Rules
- Texas Lockout Eviction Exceptions
(State-specific guides coming soon.)
Frequently Asked Questions
Can a landlord lock me out without notice?
In most cases, no. Lockouts without court approval are commonly illegal.
Can I change the locks back?
Tenants should be cautious. Some states allow temporary measures, others do not. Local law matters.
What if my belongings are inside?
Removing or withholding belongings may also violate tenant protection laws.
Related Eviction Law Guides
- What to do if your landlord illegally evicts you
- Can a landlord shut off utilities to evict a tenant?
Final Thoughts
Locking a tenant out is one of the most common forms of illegal eviction.
While exceptions may exist, landlords generally must follow the court process—no matter the situation.
Understanding your rights is the first step toward protecting your housing stability.
Author Disclosure
Written by Emily Carter, J.D.
Housing law researcher and Small Claims Court specialist with over 8 years of experience in landlord–tenant disputes.
This content is for educational purposes only and does not provide legal advice.
