California does not have one rulebook for the locks on a short-term rental. The expectations come from several places at once: your city or county’s short-term rental rules, your HOA, fire and building safety principles for exit doors, your booking platform’s policies, and the simple fact that a stranger will sleep behind your front door tonight. Hosts who handle this well tend to follow the same pattern: a unique code for every stay, exits that open from inside without a key, and tight control over everyone else who can get in.
We are locksmiths, not lawyers. This is general information, not legal advice. Short-term rental rules vary from city to city and change often, so confirm what applies to your property with the city or county and, when needed, an attorney.
Who sets the rules for your rental’s doors
Before you buy hardware, it helps to know who has a say over it.
| Source | What it tends to cover | Where to check |
|---|---|---|
| Your city, or the county for unincorporated areas | Whether short-term rentals are allowed, permits or registration, and any conditions attached | The city’s planning or code compliance office |
| Your HOA | Exterior hardware appearance, rental restrictions, guest access to shared amenities | CC&Rs, rules, and architectural guidelines |
| Fire and building authorities | How people get out: exit doors, bedroom locks, rated doors in multifamily buildings | The local fire marshal or building department |
| Your booking platform | Check-in instructions, safety disclosures, house rules | The platform’s host policies |
| Your insurer | Expectations about locks and key control | Your policy and your agent |
State landlord law is the other piece people ask about. California Civil Code Section 1941.3 generally requires landlords of residential rental units to install and maintain a deadbolt on each main swinging entry door and working locks on windows that open, with some exceptions. Whether and how that applies to a short-term rental is a question for an attorney, but it is a sensible baseline either way. Our guide to California landlord lock laws explains the rule.
Keyed access or code access for guests
Both can be run responsibly, but they put different obligations on you.
Physical keys make you responsible for knowing where every copy is. Each guest who takes a key home, or quietly copies one, is a gap you cannot close without a rekey. A typical Southern California rekey runs roughly $20 to $40 per lock plus a service visit of roughly $50 to $100, which adds up on a busy calendar.
Code access lets you issue each guest a credential that starts at check-in, ends at checkout, and leaves a record of when it was used. The tradeoff is dependence on batteries, firmware, and sometimes Wi-Fi, so a keyed backup still matters. Professional smart lock installation typically runs roughly $100 to $250 in labor plus the lock, usually $150 to $350; actual quotes depend on the door and the model.
Many hosts who start with keys move to codes. Our vacation rental locks guide compares the hardware and backup options in detail.
Changing codes between stays
A code is only as good as the routine around it. This one works for most properties:
- Give every booking its own code. Never recycle a past guest’s code, even months later.
- Schedule it. The code should go live at check-in and expire at checkout. If your lock or rental software can automate this, let it.
- Avoid guessable codes. Skip the house number, the year, and runs like 1234. If you build codes from the guest’s phone number, remember that anyone who knows the number knows the code.
- Confirm the old code is dead before the next guest arrives. Test it at the door during turnover.
- Change the lockbox code whenever the backup key could have been seen or used.
- Rekey the backup cylinder if a physical key goes missing.
Exit doors and fire safety
Fire and building codes generally require exit doors in businesses and multifamily buildings to open from the inside without a key, a tool, or special knowledge. If your rental is a unit in a multifamily building, that principle may apply to doors you control, and fire-rated doors in those buildings generally need rated hardware. Ask the local fire marshal or building department before changing anything on a rated door.
In a single-family house, the same idea is still the safe way to set things up. Your guests do not know the house, and they may be waking to an alarm in the dark.
- Skip double-cylinder deadbolts on any door a guest might use to escape. They need a key to get out.
- Keep the inside simple. A thumbturn or lever should open the door. No code should be needed to leave.
- Keep bedroom doors free to open from inside. Privacy locks are fine; locks that need a key from inside, and hasps on the outside, are not.
- Keep owner closets and storage rooms out of sleeping areas if they lock.
- Explain slider bars and secondary latches in your house guide so guests can release them quickly.
Our guide to who decides your door hardware explains how HOAs, cities, and fire authorities divide that responsibility.
Guest codes, staff codes, and privacy
Keep guest codes private
A door code works like a key, and an access log is a record of when someone came and went. Treat both with care.
- Send codes privately, through the booking platform or a direct message close to arrival. Never put them in a listing, a review reply, or a group chat.
- Limit who on your team can see guest codes. Your cleaner needs their own code, not the guest’s.
- Look at the access log for operational reasons, such as confirming a checkout or settling a dispute, and keep only what you need.
- Be upfront that the lock records entries. It avoids surprises later.
- Remove old admin accounts after a sale, a co-host change, or a new manager.
Cleaners, managers, and vendors
Every person who is not a guest should have access that you can remove without disturbing anyone else.
- One code per cleaner or crew, limited to turnover days and hours if the lock supports schedules.
- Your owner code stays with you. Do not share it, even once.
- One-time or short-window codes for plumbers, pool service, and other single visits.
- Same-day removal when someone stops working for you.
- A clean handoff when management changes: transfer the admin account, delete the old manager’s codes, and rekey any keyed cylinders. Our guide to key handoffs between owners and property managers covers that transition.
HOA and city notes
In an HOA, three questions come up most: whether a visible keypad or new handleset needs architectural approval, whether short-term rentals are allowed at all, and whether guests may use pool and clubhouse fobs. Answers differ by community, so read the CC&Rs and ask the management company first. Our guide to HOA rules for exterior locks covers the hardware side.
Cities in Ventura County, and the county itself for unincorporated areas such as Oak View and Meiners Oaks, each handle short-term rentals in their own way, and the rules change. The Ojai Valley is the clearest example: the City of Ojai bans short-term rentals inside city limits, and the county’s Ojai Valley overlay bans whole-home short-term rentals. Before you invest in hardware, confirm the property can operate as a rental and ask whether any permit conditions touch on safety or access. We stick to the hardware and leave permit interpretation to the city.
If a guest will not leave
Once in a while, a stay goes wrong and a guest refuses to check out. Resist the urge to simply change the code. California generally prohibits self-help evictions, in which a landlord changes the locks to force a tenant out, and whether a long-staying guest has a tenant’s rights is a legal question. Get guidance from an attorney or local law enforcement before you cut off anyone’s access. Our guide on why landlords cannot lock out tenants explains the general principle.
Bottom line
Give each guest a unique code that expires at checkout, keep a controlled keyed backup, make every exit open from inside without a key, and give cleaners and vendors access you can remove in seconds. Check your city’s short-term rental rules and your HOA’s CC&Rs before you install anything visible. If you would like help setting it up, our vacation rental lock service handles installation, programming, and rekeying.