Ontario Landlord Guide › Can a landlord or tenant change the locks in Ontario?

Can a landlord or tenant change the locks in Ontario?

Last updated October 24, 2026 · Written for small Ontario landlords

Short answer: Yes, but only with a key for the other side. A landlord who changes the locks while the tenant lives there must give the tenant replacement keys (Residential Tenancies Act, s. 24). A tenant can't change the locks without the landlord's consent (s. 35). Locking a tenant out over rent or anything else is illegal: you get the unit back only when the tenant moves out or abandons it, or with an LTB eviction order (s. 39).

Official source: Residential Tenancies Act, 2006, ss. 24, 35 and 39 · Last checked Oct 2026

The rules in one table

SituationAllowed?Section
Landlord changes the locks and hands the tenant new keysYesRTA s. 24
Landlord changes the locks and keeps the tenant outNo. It is a lockoutRTA s. 24, s. 39
Tenant changes the locks with the landlord's consentYesRTA s. 35(1)
Tenant changes the locks without consentNo. The landlord can file an L8RTA s. 35(1), (2)
Landlord changes the locks after the tenant has moved out or abandoned the unitYes, the tenancy is overRTA s. 39(a)

The rules cover the lock on any door that gives entry to the rental unit or to the building, not just the unit's front door (ss. 24 and 35).

If you, the landlord, want to change the locks

Never change the locks to get a tenant out

A landlord can't recover possession of a rental unit unless the tenant has vacated or abandoned it, or an LTB order evicting the tenant has authorized it (s. 39). Even with an eviction order, it is enforced the same way as a writ of possession (s. 85), by the sheriff, not by you. If a tenant stops paying, the lawful route is the N4 notice and then an L1 application. If you think the tenant has left for good, read what counts as an abandoned unit before you touch the lock.

What a lockout can cost you:

If your tenant changed the locks

Key deposits and key charges

Under O. Reg. 516/06 s. 17 you may collect:

Anything above that is a fee or "other like amount" that section 134 bans. A key deposit is separate from the last month's rent deposit. See also which other charges are allowed.

Worked example

Your tenant rents the upper unit of a duplex. On Monday, November 2, 2026, you find a new lock on the shared side door and your key no longer works.

Mistakes to avoid

Official sources

Not legal advice. This site is general information written by a small Ontario landlord, based on official Ontario and Tribunals Ontario sources as of October 24, 2026. Laws and LTB forms change; check the linked official source before you act, and talk to a lawyer or licensed paralegal (or call the LTB at 1-888-332-3234) about your situation. Not affiliated with the Government of Ontario, Tribunals Ontario or the Landlord and Tenant Board. Full disclaimer.