Can I Change the Locks If My Landlord Keeps Coming In Without Permission or Proper Notice?

By FightLandlords
Can I Change the Locks If My Landlord Keeps Coming In Without Permission or Proper Notice?

Your landlord has entered your apartment without notice three times this month. Last week they walked in while you were getting dressed. The week before, they entered while you weren't home—you only know because your belongings were moved. You've asked them to give proper notice. They ignore you. You feel violated, unsafe, and powerless in your own home.

You're thinking about the one thing that seems like it would immediately solve the problem: changing your locks. If they don't have a key, they can't walk in unannounced anymore. Simple solution, right? You could go to the hardware store today, install a new lock, and finally have privacy and security in your own apartment.

But you hesitate. You think: "Am I allowed to do this? What if changing the locks violates my lease? What if my landlord retaliates by evicting me? Could I get in legal trouble? What are the rules about this? Is there a right way to do it, or should I not do it at all?"

Here's the truth: In New York, you generally should not unilaterally change your locks without following very specific procedures, even when your landlord is repeatedly violating your privacy. However, there are important exceptions for safety emergencies, and there is a legally protected way to change locks if you do it correctly. More importantly, there are often better alternatives that protect your rights without the legal risks that come with changing locks.

Let me show you exactly what New York law says about changing locks, when you can and can't do it legally, what the risks are if you do it wrong, and what safer alternatives you should try first.

What New York Law Says About Landlord Access and Your Locks

Before discussing whether you can change locks, understand the legal framework:

Landlord's Right of Access (With Limitations)

NY law recognizes landlords have limited right to access rental units:

Landlords may enter for:

But this access right is NOT unlimited:

"Reasonable time and reasonable manner" requirement:

Your right to quiet enjoyment:

Repeated unauthorized entries violate these rights:

What Your Lease Probably Says About Locks

Most NYC leases contain provisions about locks:

Common lease clauses:

Why landlords include these provisions:

Legal enforceability:

But lease provisions have limits:

When You CANNOT Change Locks (Legal Risks)

Situations where changing locks creates serious legal problems:

Risk 1: Violating Your Lease

If your lease prohibits changing locks without permission:

Changing locks anyway means:

Landlord's likely response:

Why this matters:

Risk 2: Being Accused of Preventing Lawful Access

If you change locks and don't give landlord new key:

Landlord will argue:

Legal problem:

Example of how this backfires:

Risk 3: Retaliation Risks

Even if changing locks isn't technically illegal, landlord may retaliate:

Potential retaliation:

Your retaliation defense is weaker:

Risk 4: Creating Escalation Instead of Resolution

Changing locks often escalates conflict:

Landlord's likely response:

Instead of solving problem:

When You CAN Change Locks (Legal Exceptions)

Situations where changing locks is legally protected:

Exception 1: Immediate Safety Emergency

NY courts and housing resources recognize:

If your safety is immediately endangered, you may change locks as emergency safety measure

What qualifies as immediate safety threat:

What doesn't qualify:

If you change locks for safety emergency:

You MUST:

  1. Change lock immediately to address safety threat
  2. Notify landlord in writing promptly (same day or next day)
  3. Provide landlord with working key to new lock
  4. Document safety threat (police reports, order of protection, evidence of stalking/threats)
  5. Pursue legal remedies simultaneously (order of protection, report to authorities)

Why you still must provide key:

Example of proper safety-based lock change:

Situation: Tenant has order of protection against ex-partner. Ex had visited apartment before (when you were together). Landlord's master key could potentially allow ex to convince super to let them in.

Proper procedure:

  1. Change locks immediately
  2. Email landlord: "I have changed my locks due to safety concerns related to my order of protection against [ex's name]. I am providing you with a key to the new lock, attached to this email [if emailing] / available for pickup [if in person]. This is necessary for my safety, but you retain access for emergencies."
  3. Provide key promptly
  4. Keep copy of order of protection
  5. Document everything

This is legally defensible:

Exception 2: Landlord Consents

If landlord agrees in writing that you can change locks:

Get written permission:

Follow any conditions:

Why written consent matters:

When landlord might consent:

Exception 3: Changing Locks with Proper Procedure

Even without explicit consent, you may be able to change locks if you:

Follow this careful procedure:

Step 1: Send written notice to landlord: "I am changing my apartment lock due to [safety concerns / repeated unauthorized entries violating my privacy rights]. I will provide you with a key to the new lock immediately upon installation. This does not affect your lawful right to access the apartment with proper notice for repairs, emergencies, or legally required purposes."

Step 2: Change lock

Step 3: Immediately provide landlord with key

Step 4: Keep records:

Why this procedure is safer:

Legal analysis:

Risk remains:

Safer Alternatives to Try BEFORE Changing Locks

More effective strategies that don't carry legal risks:

Alternative 1: Set Clear Written Boundaries

Send formal letter establishing entry requirements:

Template already provided in previous article, but key points:

Why this is better than changing locks:

Often effective:

Alternative 2: Document Pattern and Report to Authorities

Build evidence of harassment:

Document every unauthorized entry:

Report to HPD (NYC):

Why this is better:

Alternative 3: Get Legal Help to Send Cease and Desist

Contact legal services:

Lawyer sends formal cease and desist letter:

Why this is better than changing locks:

Usually free:

Alternative 4: File HP Harassment Case

Seek court order prohibiting unauthorized entries:

File Housing Part (HP) harassment proceeding:

What court can order:

Why this is better:

Alternative 5: Install Additional Security (Doesn't Replace Lock)

Options that don't violate lease:

Door chain or security bar:

Video doorbell or camera:

Why these are safer:

Limitations:

If You DO Decide to Change Locks: How to Do It Correctly

If you determine changing locks is necessary despite risks:

Step 1: Document Why Change Is Necessary

Before changing locks, create written record:

Evidence of unauthorized entries:

Evidence you tried other solutions:

Safety concerns if applicable:

Why this matters:

Step 2: Notify Landlord in Writing

Before or immediately after changing lock, send written notice:

Template:

"[Date]

Dear [Landlord],

I am writing to notify you that I have changed the lock on my apartment door at [address].

Reason for Lock Change:

This action is necessary due to [select appropriate]:

I have attempted to address this issue through [boundary-setting letter dated X, conversation on Y, etc.], but unauthorized entries have continued.

Access Preserved:

I am providing you with a key to the new lock [attached to this letter / available for pickup at your office / being sent via certified mail]. You retain the right to access my apartment for:

Proper Entry Procedures:

I expect that all future non-emergency entries will comply with proper procedures:

I continue to document all communications and entry attempts.

Please contact me if you have questions about this matter.

[Your Name]"

Why this notice is critical:

Step 3: Provide Key Immediately

Critical: You MUST provide landlord with key to new lock

How to provide key:

Best: Hand-deliver with receipt:

Second best: Certified mail:

Document delivery:

Why providing key is essential:

Legal requirement:

Your protection:

If you don't provide key:

Step 4: Keep Meticulous Records

Save everything:

Why records matter:

Step 5: Continue Pursuing Legal Remedies

Changing locks should not be your only action:

Simultaneously:

Why:

What to Expect If You Change Locks

Realistic outcomes:

Best Case Scenario

Landlord accepts lock change:

Why this might happen:

Middle Scenario

Landlord complains but doesn't escalate:

Your response:

Worst Case Scenario

Landlord retaliates:

Your defense:

Retaliation claim:

Necessity defense:

Counterclaim:

Get lawyer immediately:

The Truth About Changing Locks

Here's what you need to know:

Changing locks is legally risky and usually not the best first solution. Even when landlord is harassing you with unauthorized entries, changing locks creates legal vulnerabilities.

If you do change locks, you must do it correctly:

Never change locks without providing landlord a key. This creates serious legal problems and emergency safety issues.

Safer alternatives usually work better:

There are legitimate situations where changing locks is justified:

Free legal help is available. Before changing locks, consult with legal services about best strategy for your situation.

The goal is stopping unauthorized entries, not just making yourself feel better. Legal remedies (court orders, harassment complaints) are more effective and less risky than lock changes.

If landlord keeps entering without permission:

Better approach:

  1. Set written boundaries
  2. Document every entry
  3. Report to HPD
  4. Get lawyer to send cease and desist
  5. File harassment case if needed
  6. Consider lock change only if above steps fail AND you follow proper procedure

Protect yourself legally while asserting your rights. Get legal help. Use available remedies. Change locks only as last resort with proper procedure.

Find out if you have a case in 30 seconds →