Landlord access to your smart lock: what you have to give
A landlord can ask for a way into a smart lock door, but a standing code is not the only way to give it. What a lease can require, and the compromise that keeps a log off your door.
A landlord asking about a smart lock usually starts reasonably: can the unit have one, does it need approval, will maintenance still be able to get in. Then the request changes shape. Instead of a key copy, it is a request for the keypad code itself, kept live for as long as the lease runs. That is a different ask, and landlord access to smart lock codes is not automatically owed just because the lock happens to be electronic. A property owner generally keeps the same right of entry a traditional key already gave them, nothing more, and a permanent code is usually more access than that right requires.
The confusion is understandable. A metal key is a static object; a smart lock code is data that can be logged, time-stamped and tied to a name. Treating the two as identical skips over exactly the part that matters to a tenant. For the broader picture of what a rental can and cannot do with a smart lock in the first place, the general rules for renters are worth reading alongside this one.
What your lease can actually require
Most leases that mention locks at all were written before smart locks were common, so they talk about keys: the landlord gets a copy, the tenant does not re-key without permission, and the landlord can enter with notice for repairs, inspections or emergencies. Swap “lock” for “smart lock” and the same logic should carry over: a landlord is entitled to a way in, not to a specific technology for achieving it.
A lease can specify how that access is provided, and a tenant who installs a smart lock without reading it first can end up in breach even with good intentions. Some leases ban changing the lock hardware entirely, in which case the question of a code never comes up because the lock change itself needs sign-off. Others are silent, which is its own risk: silence gets read differently by a tenant who assumes it is allowed and a landlord who assumes it is not.
Why landlords and property managers ask for it
The request is rarely about surveillance for its own sake. A property manager juggling dozens of units does not want to coordinate a key handoff every time a water heater fails, and a landlord who has been locked out by a tenant’s own rekeying has a real incident behind the rule. A standing code, from where they sit, is the single cheapest way to guarantee entry without a scheduling call.
That convenience is exactly why it is worth separating from necessity. A locksmith can still cut a key from a cylinder; a code typed into an app does not require a locksmith at all, which makes it the path of least resistance rather than the only workable one.
Short-term rentals complicate the comparison further, because a host running an Airbnb genuinely does need frequent, remote, revocable access for cleaners and incoming guests, and that is a different relationship than a landlord with a year-long tenant. A request that makes sense for a host between bookings does not automatically make sense for a signed lease, and the two should not be judged by the same standard just because both involve a keypad.
The privacy problem with a permanent code
A live code does not just open a door, on many models it also writes a timestamp every time it is used. Handed to a landlord without limits, that turns a lock into a log of exactly when the apartment is occupied and when it is not. The Electronic Frontier Foundation has raised this directly: entry logs can reveal far more about a tenant’s routine than a landlord has any ordinary reason to know, and the same access that lets a landlord fix a leak also lets them see a pattern of comings and goings they were never meant to track.
There is also a quieter risk: a code that works today keeps working after the reason for it is gone. A contractor who needed one visit, a leasing agent who has moved to another building, a previous property manager replaced six months ago, none of them should still be able to let themselves in, but a code nobody revoked does not know that the job ended. This is a different problem from a lock being hacked from outside: the door was never breached, the person who still has the code was simply never meant to keep it.
What counts as reasonable access, and what is overreach
A rough sorting line, before the details:
- Reasonable: a sealed key on file for emergencies; a scheduled code that expires after a maintenance visit; a standing code only on a unit where the lease explicitly names it.
- Overreach: a standing code with no expiry and no lease language requiring one; entry logged and reviewed outside of a stated repair or emergency; a code shared with a third party the tenant never agreed to.
A key in a lockbox is not the same as a live code
A sealed physical key, kept in a lockbox in the leasing office or a property manager’s safe, gives a landlord exactly what a traditional lease already promised: a way in, usable when it is needed, with no record of every ordinary day the tenant simply came home. A live app code or a standing keypad code goes further, because it works remotely, instantly, and usually without the tenant knowing it was used unless they check a log themselves.
Entry notice rules still apply to a smart lock
Whatever notice period a lease or local law sets for a landlord to enter does not disappear because the lock is electronic. A landlord who lets themselves in with a standing code outside of an emergency, without the notice the lease promised, has not followed a different set of rules just because no key was involved. The technology changed; the underlying entry right generally did not.
A compromise that works for both sides
Give maintenance a code that expires
Most smart locks built for this already separate a standing owner code from a guest or service code, and a code that starts and ends on its own schedule does the job a property manager actually needs without leaving a door open indefinitely. Set one for the day of the repair, let it expire automatically, and the maintenance visit happens without a code sitting active for the rest of the lease.
Keep a sealed physical key as the fallback
For a true emergency, a sealed key in the office safe covers the case a dead battery or an offline lock would otherwise block. It is the same promise a traditional lease made, just delivered through a drawer instead of an app, and it sidesteps the argument entirely about whether a landlord should hold a live code at all.
Offering this in writing, before the disagreement happens, tends to work better than refusing a landlord’s request outright. Most property managers are not attached to the app itself, they are attached to not being locked out, and a scheduled code or a sealed key answers that without handing over a standing log of the tenant’s own door.
State and local rules worth checking
Entry notice periods, what counts as an emergency, and whether a landlord can collect or keep digital access data at all vary by state and sometimes by city, and a handful of cities have started writing rules specifically about smart locks and the data they generate rather than leaving it to general landlord-tenant law. None of that is something to guess at from a blog post. A local tenant rights organization or legal aid office can say what applies to a specific address and lease, and getting that answer costs nothing. This is not legal advice, just a pointer toward people who can give it.
What to do if a landlord wants more than that
If a lease demands a standing code and nothing less, and a scheduled code or a sealed key is refused as an alternative, the next step is reading the lease’s own language carefully rather than assuming either side is automatically right. Some leases spell out exactly what access method is required; many simply say “access” and leave the method open, which is where a scheduled code is easiest to defend as compliant. Put the offer in writing, keep a copy, and treat a flat refusal to accept anything but a standing code as a question for a tenant rights office rather than something to resolve by just handing the code over to end the conversation.
Common questions
Can my landlord make me give them the code?
They can require some way in, which a lease usually already promises. Whether that has to be a standing code specifically, rather than a sealed key or a scheduled code, depends on the lease’s exact wording and on local law, so it is worth checking rather than assuming either answer.
What if my lease already says the property manager gets a key?
A clause written for a metal key still applies in spirit: the property manager gets a way in. A sealed key kept on file satisfies that clause as written; a live app code goes beyond it unless the lease specifically names one.
Does a smart lock let my landlord see when I come and go?
Only if they hold a code or app access that logs entries, and only for the door the lock is on. A lock the tenant controls, with the landlord holding a sealed key instead of a live code, does not hand over that log.
What if my landlord already has a universal override code?
If the lock came with the unit already paired to a code the landlord set, that code can usually be changed or supplemented once the tenant has control of the app, the same way a new resident would want the locks changed after moving into a house. Check the lease before changing anything, since some explicitly address who controls the primary code.
The short version
A landlord is generally owed a way in, not a standing log of every time the door opens. A sealed physical key or a code that expires on its own schedule usually satisfies the same entry right a traditional key always did, without leaving a live code active for the length of the lease. Read the lease’s exact wording before assuming either a landlord or a tenant is in the right, offer the scheduled-code or sealed-key compromise in writing, and treat anything that depends on state or local rules, like notice periods or data limits, as a question for a tenant rights office rather than a guess.