Evictions

Can landlords change locks during an eviction?

Pennsylvania rental guidance and tenant-landlord operational information.
Published March 4, 2026 State-specific rental guidance Update This Question
Reviewed by Tenants & Landlords Editorial Team

This rental guidance was reviewed by the Tenants & Landlords Intelligence Team, specializing in lease agreements, notices, rent disputes, deposits, evictions, and tenant-landlord operational procedures.

Asked 91 days ago · Pennsylvania

Pennsylvania Tenant Guide: Changing Locks During an Eviction

When facing an eviction in Pennsylvania, tenants often have many questions about the eviction process and their rights, including concerns about whether a landlord can change the locks on a rental property during an eviction. Understanding the legal process and tenant protections in Pennsylvania is crucial to ensure landlords and tenants comply with laws and avoid unlawful actions.

Can Landlords Change Locks During an Eviction in Pennsylvania?

Short answer: In Pennsylvania, landlords are not allowed to change the locks or otherwise forcibly remove tenants without following the proper legal eviction process.

Why Landlords Cannot Change Locks Without Legal Process

Under Pennsylvania law, tenants have the right to peaceful possession of the rental property until an eviction is legally executed by the courts. Landlords attempting to change locks without a court order are engaging in what’s called a “self-help eviction,” which is illegal.

Changing locks or cutting off utilities to force a tenant out can be considered harassment and could subject the landlord to legal penalties. Tenants can take action against landlords who attempt these practices.

What Is the Proper Legal Eviction Process in Pennsylvania?

  1. Providing Notice:
Before starting an eviction, landlords must provide proper written notice to the tenant. The notice period varies depending on the reason for eviction: - Nonpayment of rent: Generally a 10-day notice to pay or quit. - Lease violations: Typically a longer notice period such as 15 days. - No cause termination (for month-to-month leases): Usually 15 days or more.
  1. Filing an Eviction Lawsuit:
If the tenant does not comply with the notice (e.g., does not pay rent or remedy the lease violation), the landlord must file a formal eviction complaint in the local Magisterial District Court.
  1. Court Hearing and Judgment:
The court will schedule a hearing for both parties to present their cases. If the landlord prevails, the court will issue an order for possession.
  1. Execution of Possession:
If the tenant still does not leave after the court order, the landlord must arrange for the sheriff to carry out the eviction, which includes physically regaining possession of the property.

Only after a court-issued possession order and sheriff’s intervention may a landlord lawfully change the locks or take other steps to retake the property.

Tenant Protections Against Illegal Lockouts in Pennsylvania

Tenants in Pennsylvania have important protections if a landlord tries to change locks or lock them out without going through the formal eviction process:

  • Right to Re-Enter:
If the landlord illegally changes the locks, tenants may have the right to re-enter the property immediately.
  • Right to Sue:
Tenants can file a lawsuit against landlords for illegal eviction or lockout. This can involve claims for actual damages, statutory penalties, and attorney’s fees.
  • Local Enforcement:
Some municipalities may have additional tenant protection ordinances that impose stricter rules or provide additional resources.

What Should Tenants Do If Locked Out Illegally?

If a tenant finds themselves locked out or unable to access the rental unit due to an unlawful lock change, they should:

  • Document the Situation:
Take photos, videos, or keep written records of the lockout and any communication with the landlord.
  • Contact the Landlord:
Attempt to resolve the situation amicably while reminding the landlord that changing locks without court approval is illegal.
  • Seek Legal Help:
Contact a local tenant rights organization, legal aid service, or an attorney to understand rights and options for immediate relief.
  • File a Complaint:
Report the landlord to the Pennsylvania Attorney General’s Consumer Protection Division or relevant local housing agency.

Summary: What Pennsylvania Tenants Should Know

  • Pennsylvania landlords cannot change locks or lock out tenants without completing the full legal eviction process.
  • Legal evictions require proper notice, a court proceeding, and a sheriff’s execution of possession.
  • Lockouts without a court order are illegal and may expose landlords to legal penalties.
  • Tenants locked out unlawly have rights to re-enter, seek damages, and report landlords.
  • Immediate documentation and seeking legal advice are vital if facing an illegal lockout.
Understanding these protections can empower Pennsylvania tenants to assert their rights and ensure landlords follow the law throughout the eviction process. If facing eviction or wrongful lockout, consulting with a housing attorney or tenant advocacy group can provide personalized guidance tailored to individual circumstances.

Ask a Rental Question