The Quick Answer
If you’ve locked yourself out with the key inside, start with the simplest options: check every other door and window, find a spare key, or call your landlord or property manager. If those don’t work, a few DIY methods can open simple spring latches and interior privacy locks, but they won’t open a locked deadbolt. For a deadbolted exterior door, a licensed locksmith is usually the safest and quickest choice.
Only try to open a door you have the right to enter, such as your own home or a rental you live in.
In an Emergency, Call 911
If a child or vulnerable person is alone inside, if something is cooking on the stove, or if there’s any risk to someone’s safety, call 911 or your local emergency number. Emergency responders can get through a door quickly, and it’s not the time to experiment with a credit card.
Check Every Way In
Before anything else, walk around the house and check:
- Back doors, side doors and patio doors
- The door from an attached garage into the house, if your garage has a keypad or you have the opener in your car
- Ground-floor windows that might be unlocked
Be careful with windows. Don’t climb through anything that requires standing on unstable objects, and avoid breaking glass. A broken window is often more expensive to fix than a locksmith visit.
Find a Spare Key
Think about who might have a spare: a family member, roommate, trusted neighbor or friend. If you keep a spare in a lockbox, now is its moment. A short trip to collect a key is often faster and cheaper than any other option.
If your door has a keypad or smart lock, you may be able to get in with a code or a phone app instead of a key. Some smart locks also let another household member unlock the door remotely.
Call Your Landlord or Property Manager
If you rent, your landlord, building manager, or maintenance staff usually has a key. Some charge a lockout fee, especially after hours, but it’s often less than a locksmith. Check your lease or call the office number first. Avoid drilling or forcing a rental’s lock, since you may be responsible for repairs.
DIY Options That Can Work
These methods only work on certain types of locks. None of them will open a deadbolt that’s been thrown.
The credit card method on spring latches
Many doors use a spring latch: the angled bolt that clicks into place when you close the door. If the door is only latched (not deadbolted) and the angled side of the latch faces you, you can sometimes slide a flexible plastic card between the door and the frame, angle it toward the latch, and push while wiggling the door handle. The card pushes the angled latch back into the door, and the door opens.
Use an old gift card or loyalty card rather than a credit card you need, because the card can bend or break. This won’t work if the door has a deadlatch (a small extra plunger next to the latch that stops it from being pushed back), if the latch faces the other way, or if the gap is covered by trim.
Interior privacy locks
Bedroom and bathroom doors often have privacy locks with a small hole in the outside knob or lever. These are designed to be opened in an emergency. Depending on the lock, you push a thin straight tool into the hole to press a release, or insert a small flat tool to turn a slot. Many of these locks come with a small emergency key, but a straightened paperclip or thin screwdriver often works too.
Removing hinge pins
If the door’s hinges are on your side, you can sometimes tap the hinge pins up and out with a nail and hammer, then lift the door out of the frame. Exterior doors usually have their hinges on the inside for this reason, so this is mostly useful for interior doors, closets, or sheds. The door can be heavy, so get help to lift it.
If you’re curious about what works on different types of locks, our guide on whether it’s possible to unlock a lock without a key goes into more detail.
Calling a Locksmith
If the door is deadbolted or the DIY methods don’t work, a locksmith is the best choice. A skilled locksmith can often open a standard residential lock without damage, typically by picking it or using other non-destructive techniques. Our article on how locksmiths get into locked doors explains the methods they use.
A few tips for choosing one:
- Ask for a quote on the phone, including any call-out fee and after-hours charges.
- Check that the business has a real name and local address. It’s worth knowing how to tell if a locksmith is legitimate, because lockout scams are common.
- Be wary of a locksmith who immediately wants to drill the lock on a standard door. Drilling is sometimes necessary, but many lockouts can be opened without it.
- Expect to show proof that you live there, such as an ID with your address, once you’re inside.
Prices vary a lot by location and time of day. If you’re curious about typical charges, our guide on how much locksmiths charge per hour gives a sense of the range.
What If It’s a Car Door?
If you’ve locked your key inside a car rather than a house, the options are a little different. Spare keys, roadside assistance, manufacturer apps and automotive locksmiths are the usual routes. Our guide on how to unlock a car if the keys are locked inside covers those in detail.
How to Avoid Getting Locked Out Again
- Give a spare key to someone you trust who lives nearby.
- Use a secure lockbox rather than hiding a key under the mat or a flowerpot, where burglars know to look.
- Consider a keypad or smart lock so you don’t need a physical key to get in. Be aware that these have trade-offs, including battery life.
- Make a habit of checking for your keys before you close the door behind you.
- Fix doors that lock automatically when closed if you find yourself getting locked out often.
Getting locked out with the key on the other side of the door is a common problem, and in most cases there’s a simple, damage-free way back in. Start with the easy options, use DIY tricks only on the locks they’re suited for, and call a trusted locksmith when you need one.