When Can a Landlord Change the Locks: Legal Reasons and Exceptions

A landlord can change the locks on your rental only in a few specific situations: after you have moved out and the tenancy has ended, after a court-ordered eviction has been carried out by law enforcement, when you ask them to, when the property has been legallyABANDONED, or as part of a genuine emergency repair. Anything else, including a lock change over unpaid rent or an alleged lease violation, is an illegal self-help eviction in nearly every state. Even if you owe back rent, your landlord has to go through the courts to remove you.

The Legal Situations Where a Lock Change Is Allowed

Lock changes are legitimate when the landlord is no longer interfering with an active tenancy. That category is narrower than many landlords assume.

After You Move Out

Once you have returned the keys, removed your belongings, and the tenancy has officially ended, the landlord can rekey the unit. This is standard turnover practice. The tenancy must actually be over, either because the lease expired, you gave proper notice, or both sides agreed to end it.

After a Court-Ordered Eviction

If a judge rules in the landlord’s favor in an eviction case and a sheriff or marshal formally removes you, the landlord can then change the locks to secure the property. The court order is what makes the lock change lawful. A landlord who swaps the locks before law enforcement carries out the eviction is in the same legal position as any other illegal lockout, judgment or not.

When You Ask for a Lock Change

If you lose your keys, your unit is broken into, or you simply want stronger security, you can ask your landlord to rekey the unit. In that case the landlord must give you a new key right away. Some treat it as a routine maintenance request; others may charge a reasonable fee for the locksmith or hardware. A lock change you requested doesn’t affect your right of access.

When the Property Has Been Legally Abandoned

Abandonment has a specific legal meaning and is not the same as being away from home. It generally requires clear evidence that you have permanently left with no intention of returning. Indicators include the substantial removal of personal belongings, returned keys, or extended absence paired with unpaid rent. Most states require a combination of these factors, and many require the landlord to send written notice and wait a set number of days before treating the unit as abandoned. Travel or a few weeks away does not qualify.

Emergency Repairs

If a door or lock is damaged in a way that compromises security, the landlord can replace it as an emergency repair. The obligation is immediate: you must receive a working key as soon as the repair is complete. A repair that conveniently leaves you locked out for days is not an emergency repair.

Domestic Violence and Safety Exceptions

A growing number of states require landlords to change the locks when a tenant is a victim of domestic violence, sexual assault, or stalking. The specifics vary, but the pattern is similar: you give the landlord a written request along with a copy of a protective order or police report, and the landlord must change the locks within a set window, commonly 24 to 48 hours.

If the landlord fails to act in time, most of these laws let you change the locks yourself even when your lease forbids it. After installing the new lock, you generally have to give the landlord a copy of the new key within 24 hours. The abuser, even if named on the lease, does not get a key. Some states put the cost of the lock change on the tenant; others place it on the landlord. A local domestic violence hotline or legal aid office can confirm the rule in your state.

Can You Change the Locks Yourself?

Outside the domestic violence exceptions, your ability to change the locks on your own turns almost entirely on your lease. Many leases prohibit tenants from changing locks without written landlord approval. If the lease is silent, most states allow it as long as you give the landlord a copy of the new key. Changing the locks and refusing to give the landlord access can itself be a lease violation, because landlords retain a right of entry for repairs, inspections, and emergencies with proper notice.

The safest route is to ask in writing before you change anything. If the landlord has been entering without proper notice, document those incidents first. A pattern of unauthorized entry strengthens your position if you later need to justify a lock change.

Commercial Leases Are Different

Everything above applies to residential tenants. Commercial tenants often have far less protection against self-help evictions. Several states let commercial landlords change the locks on a defaulting business tenant if the lease includes a clause allowing it, provided the landlord acts peaceably and without force. Some states even allow lock changes on commercial tenants who are behind on rent, as long as the landlord posts notice explaining how to get a new key during business hours once the overdue amount is paid. If you lease commercial space, read the default and remedies section of your lease carefully.

What To Do if Your Landlord Illegally Locks You Out

Speed matters. Some legal remedies have short deadlines, and every night out of your home is a night you are paying for someone else’s illegal act.

  • Document everything immediately. Photograph the new lock, any notices posted on the door, and the condition of the property from outside. Screenshot recent texts or emails from your landlord. If belongings are visible through a window, photograph those too. Timestamped evidence is critical in court.
  • Contact your landlord in writing. Send an email or text saying that you believe the lockout is illegal and that you need immediate access to your home. That paper trail shows you tried to resolve things. If the landlord ignores you or refuses, the response itself becomes evidence.
  • Call the police and report an illegal lockout. Bring proof that you live there, such as a copy of your lease, a utility bill, or mail with your name and the address. Response varies by jurisdiction. Some officers will tell the landlord to let you back in on the spot; others will treat it as a civil matter and direct you to court. The police report is valuable either way.
  • Contact a tenant rights attorney or legal aid office. Many legal aid organizations handle illegal lockouts on an emergency basis. An attorney can file for an emergency court order restoring your access, sometimes within 24 to 48 hours. If you can’t afford a lawyer, search for your area’s legal aid organization or call your state bar’s referral line.

Keep receipts for everything the lockout costs you: hotel rooms, meals you wouldn’t otherwise have bought, replacement clothing, and any emergency locksmith fees. These are recoverable damages.

What It Costs a Landlord Who Locks You Out Illegally

Landlords who change the locks without legal grounds take on real financial exposure, and courts take these cases seriously because the conduct is so clearly prohibited. The exact penalties depend on your state, but most of the following are commonly on the table:

  • Actual damages, covering what the lockout cost you: emergency hotel stays, meals, moving expenses, the cost of finding a new place, and any increased rent on comparable housing for the rest of your original lease term.
  • Statutory penalties. Many states impose fixed penalty amounts for illegal lockouts. Some use a per-day penalty for each day the lockout continues; others set a flat sum. These stack on top of actual damages.
  • Treble damages. In some states, if the landlord’s conduct is willful or qualifies as an unfair or deceptive practice, the court can triple the award.
  • Attorney fees. Many state lockout statutes let the winning tenant recover attorney fees, which removes one of the biggest barriers to filing suit.
  • Punitive damages. When the landlord acted with deliberate malice or in an especially egregious way, courts can add punitive damages on top of everything else.

Some states also treat illegal lockouts as criminal offenses, meaning misdemeanor charges on top of civil liability.

What Happens to Your Belongings

Being cut off from your belongings is one of the hardest parts of a lockout, especially when medications, identification documents, or irreplaceable items are inside. If the landlord changed the locks and your property is in the unit, the landlord is responsible for it. A landlord who removes, damages, or allows the theft of your belongings during an illegal lockout faces additional liability for the value of that property.

If you need essential items such as medication or ID right away, tell the police when you report the lockout. Officers can sometimes help you retrieve critical items even before the larger dispute is resolved. Document the condition of anything you can see through windows, and write out an inventory of what was inside at the time of the lockout. If items are missing or damaged when you get back in, that inventory becomes the foundation of your property damage claim.