Maintenance and Repairs

Locked Out of Your Rental: What to Do

Locked yourself out? Call the landlord or a locksmith and bring proof you live there. If the landlord changed the locks to force you out, it is illegal; call the police.

On this page
  1. If you locked yourself out
  2. If your landlord locked you out
  3. When you can change or rekey the locks yourself

If you locked yourself out, call your landlord or property manager first, then a licensed locksmith if no one can come, and have proof that you live there ready. If your landlord changed the locks or blocked the door to make you leave, that is an illegal eviction in California, Florida, New York, Texas, Washington, and Chicago: call the police, show proof of residence, and ask a court to restore you if the landlord refuses. Those laws also make the landlord pay, such as 3 months' rent or your actual damages, whichever is greater, in Florida.

If you locked yourself out

State laws require the landlord to provide working locks and keys. Washington requires reasonably adequate locks and keys, Florida requires landlords of units other than single-family homes and duplexes to provide locks and keys unless the lease says otherwise, and Texas requires a keyed deadbolt or doorknob lock on each exterior door, window latches, and door viewers. None of these laws requires the landlord to come open the door when you lose or forget your key, so your lease and the manager's policy decide whether someone will come and what it costs.

  1. Call the office or the emergency maintenance number. Ask whether it offers lockout service, how long it will take, and what it charges. Check your lease for a lockout or after-hours fee before you agree.
  2. Call a licensed locksmith if the landlord cannot help. Expect to prove the address. In California, a locksmith who opens a home must record your name, address, phone number, date of birth, and driver's license or ID number on a work order that you sign.
  3. Bring proof that you live there. Have a photo ID, and if it shows an old address, add a lease, a utility bill, or mail in your name.
  4. Ask the locksmith to open the lock, not replace it, unless your landlord agrees. Texas bars tenants from changing or rekeying a lock without the landlord's permission except under the narrow repair remedies in its lock law.

If you lost the key and want the lock rekeyed, Texas puts the cost on you: the landlord must rekey at your expense whenever you ask, and the charge cannot exceed a third-party contractor's price for parts, labor, taxes, and extra keys. A Texas landlord also must rekey at its own expense within 7 days after a new tenant moves in; see changing the locks when you move in.

If your landlord locked you out

Changing the locks to force a tenant out is a form of self-help eviction, meaning an eviction without a court order. California's Attorney General told police in 2022 that only a sheriff or marshal can remove a tenant, only after a court judgment, and that this holds even if the tenant owes rent or has received an eviction notice. Florida bars changing the locks or using a boot lock, a device that blocks the lock, to keep you out. New York bans changing the entrance lock without giving the occupant a key, and Chicago bans plugging, changing, or adding a lock to force a tenant out.

Two exceptions:

  • Repairs. A landlord may remove or replace a lock for a genuine repair. Texas requires the repair to be done promptly, Florida allows it only for maintenance, repair, or replacement, and Chicago allows a temporary interference only as needed for repairs or an inspection.
  • Texas rent lockouts. A Texas landlord may change your locks for unpaid rent only if the lease allows it and it gives written notice at least 5 days ahead by mail, or 3 days ahead by hand delivery or posting inside your main door. It must then post a notice with a place open 24 hours, or a phone number answered 24 hours, where you can get the new key, and give you the key at any hour whether or not you pay. If it uses the phone option, it must deliver the key within 2 hours after you call. It cannot change the locks while anyone is inside or more than once per rental period.

What to do right away:

  1. Call the police. California's bulletin tells officers to instruct the landlord to let you back in and to write a report even if no one is arrested. Ask for the report number.
  2. Show that you live there. The bulletin lists an ID, mail, a utility bill, a vehicle registration, or a pay stub, and notes that neighbors can confirm who lives in the unit.
  3. Record the evidence. Photograph the new lock and any notice on the door, and save texts from the landlord.
  4. Ask a court to put you back in. In Texas, file a sworn complaint for a writ of reentry, a court order restoring you to the unit, in the justice court for your precinct; the judge can issue it without first notifying the landlord, and a sheriff or constable enforces it. California and Florida law let you ask a court for an order that stops the lockout.
Where What the landlord can owe you or face
California Your actual damages, plus up to $100 for each day the lockout lasts, with at least $250 per violation, and attorney's fees to the winning side
Chicago Moving back in, plus up to 2 months' rent or twice your actual damages, whichever is greater
Florida Your actual damages, including costs the lockout caused, or 3 months' rent, whichever is greater, plus costs and attorney's fees
New York Triple your damages in a lawsuit, and restoration to the unit; the landlord also faces a criminal charge (class A misdemeanor) and civil penalties of $1,000 to $10,000 per violation, plus up to $100 a day for up to 6 months if it does not restore you after you ask
Texas Moving back in or ending the lease, plus one month's rent and $1,000, actual damages, court costs, and attorney's fees, minus rent you owe; one more month's rent if the landlord does not give you a key as required
Washington Moving back in or ending the lease, plus actual damages; the winning side recovers costs and attorney's fees

New York's unlawful eviction law covers anyone who has lived in the unit for 30 days in a row or has a lease.

When you can change or rekey the locks yourself

Read your lease first, and follow any clause that requires the landlord's permission for a lock change or a copy of the new key. Keeping the landlord out can create its own problem: New York's Attorney General notes that a landlord may enter without notice in an emergency such as a fire or water leak.

State rules that let you act:

  • New York City: In an apartment building covered by the state's Multiple Dwelling Law, you can add your own lock to your apartment door, in addition to the landlord's, if it is no more than 3 inches around. You must give the landlord a duplicate key if asked, and refusing can be grounds for eviction. A lease cannot charge you extra for the added lock.
  • Texas: If the landlord does not rekey after the prior tenant moved out, or does not repair a broken lock within a reasonable time after receiving your repair request (ordinarily presumed to be 7 days), you can have the work done and deduct the reasonable cost from your next rent, telling the landlord when you pay. Give the landlord a key if it asks in writing.
  • Washington: If you use the state's repair-and-deduct remedy to fix a lock, you must promptly give the landlord a key to the new lock.
  • California, for survivors of abuse: When the abuser does not live in your unit, the landlord must change the locks within 24 hours of your written request with your choice of a protective order, police report, qualified third-party statement, your own signed statement, or other documentation reasonably verifying the abuse. If it does not, you can change them yourself, even if the lease says otherwise, using locks of similar or better quality, then notify the landlord within 24 hours, give it a key, and get reimbursed within 21 days. See tenant protections for domestic violence survivors for other states.

If a lock is broken or a door will not secure, report it in writing as a repair; see how to report maintenance issues to your landlord and, for a door that will not lock at night, emergency repairs.

Sources

  1. Information Bulletin 2022-DLE-05: Protecting Tenants Against Unlawful Lockouts and Other Self-Help Evictions (California Department of Justice, Office of the Attorney General)
  2. Cal. Civil Code section 789.3, Utility interruptions, lockouts, and removal of property (California Public Law (text of the California Civil Code))
  3. Cal. Business and Professions Code section 6980.55, Locksmith work orders (California Legislative Information)
  4. Cal. Civil Code section 1941.5, Lock changes for victims of abuse or violence (California Public Law (text of the California Civil Code))
  5. Landlords' and Tenants' Rights Guide: Landlord's obligation to change locks for victims of abuse or violence (California Department of Real Estate)
  6. Florida Statutes chapter 83, part II (2026), sections 83.51 and 83.67 (The Florida Senate)
  7. Texas Property Code chapter 92, Residential Tenancies (sections 92.0081, 92.009, 92.156, 92.158, 92.161, 92.162, 92.163, 92.164, 92.165, and 92.166) (Texas Legislative Council)
  8. N.Y. Real Property Actions and Proceedings Law section 768, Unlawful eviction (New York State Senate)
  9. Residential Tenants' Rights Guide (Individual Locks, Peepholes and Mailboxes; Tenant Protections During Eviction; Access to the Apartment) (New York State Office of the Attorney General)
  10. Chicago Municipal Code section 5-12-160, Prohibition on interruption of tenant occupancy by landlord (City of Chicago (American Legal Publishing))
  11. Chapter 59.18 RCW, Residential Landlord-Tenant Act (RCW 59.18.060, 59.18.100, and 59.18.290) (Washington State Legislature)

Legal Disclaimer: Tellus provides this content for informational purposes only. This is not legal advice. Laws vary by state and locality, and regulations may have changed since this article was published. Consult a qualified attorney for guidance specific to your situation.

Rules in your state

State law sets many of the limits and deadlines described above. These pages cite the statute for each state.

StateGuides
CaliforniaYour Right to Habitable Housing in California, Rent Payment Protections for California Tenants, Requesting Repairs in California Rentals, California Eviction Protections for Tenants
New YorkYour Right to Habitable Housing in New York, Requesting Repairs in New York Rentals, Understanding Your Lease Rights in New York, New York Eviction Protections for Tenants
TexasYour Right to Habitable Housing in Texas, Rent Payment Protections for Texas Tenants, Understanding Your Lease Rights in Texas, Texas Eviction Protections for Tenants
FloridaYour Right to Habitable Housing in Florida, Requesting Repairs in Florida Rentals, Understanding Your Lease Rights in Florida, Florida Eviction Protections for Tenants
New JerseyYour Right to Habitable Housing in New Jersey, Rent Payment Protections for New Jersey Tenants, Understanding Your Lease Rights in New Jersey, New Jersey Eviction Protections for Tenants
IllinoisYour Right to Habitable Housing in Illinois, Requesting Repairs in Illinois Rentals, Illinois Eviction Protections for Tenants
MassachusettsYour Right to Habitable Housing in Massachusetts, Massachusetts Eviction Protections for Tenants
PennsylvaniaYour Right to Habitable Housing in Pennsylvania, Requesting Repairs in Pennsylvania Rentals, Understanding Your Lease Rights in Pennsylvania, Pennsylvania Eviction Protections for Tenants
WashingtonYour Right to Habitable Housing in Washington, Rent Payment Protections for Washington Tenants, Understanding Your Lease Rights in Washington, Washington Eviction Protections for Tenants
MarylandYour Right to Habitable Housing in Maryland, Requesting Repairs in Maryland Rentals, Maryland Eviction Protections for Tenants

More in Maintenance and Repairs

Savings tools and property management powered by real estate.

There are no fees for opening or using Tellus. Available on iOS and Android.

Get the app