A credit card can open a straightforward push-button lock, but only in specific situations
A credit card works on push-button locks — the kind where you press a button on the inside of the door and the lock catches. It does not work on deadbolts, chain locks, or locks that require a key from the outside. The card slides between the door and frame to push the button back, releasing the latch. This takes about 30 seconds if the lock is the right type, and it fails silently if it is not.
This method works only when you are locked out of your own space — a bedroom, bathroom, or apartment where you live or have permission to enter. Using it on someone else's door is breaking and entering, regardless of your reason. If you are locked out of a rental unit, contact your landlord or property manager instead of forcing entry, because forced entry can damage the door and may violate your lease.
If the lock is a deadbolt or if you do not have a card, call a locksmith. A locksmith visit costs between $50 and $150 in most areas, takes 15 to 30 minutes, and leaves no damage. It is the safest choice if you are uncertain about the lock type or if you need to prove you entered legally.
Key Takeaways
- A credit card only works on push-button locks where the button is on the inside of the door, not on deadbolts or key-operated locks.
- The card slides between the door and frame to push the button back, and takes about 30 seconds if the lock is the right type.
- This method is legal only when you are locked out of your own space or a space where you have permission to enter.
- If you are locked out of a rental unit, contact your landlord or property manager rather than forcing entry yourself.
- A locksmith is the safer choice if you are unsure about the lock type or need to avoid damage to the door.
Identify whether your lock is a push-button or a deadbolt
Look at the door from the inside. If you see a small button or knob in the center of the lock, it is a push-button lock. If you see a bolt that slides in and out when you turn a key or knob, it is a deadbolt. Push-button locks are common on interior doors — bedrooms, bathrooms, closets. Deadbolts are standard on exterior doors and many apartment entrances.
Push-button locks have a small hole on the outside of the door. If you look closely, you can see the button inside through that hole. Deadbolts have no button visible from outside. If you are not certain which type you have, do not attempt the card method — call a locksmith instead. Forcing a deadbolt can damage the lock mechanism and cost more to repair than a locksmith visit.
Gather a thin, stiff card and position yourself at the door
Use an old credit card, gift card, or library card — something thin and stiff but not so brittle that it will snap. Do not use your active credit card; the friction can damage the magnetic stripe. Stand on the side of the door where the lock button is located (usually the inside, but you are now on the outside trying to get in).
Look at the gap between the door and the frame. The card will slide into this gap, so the gap needs to be at least as wide as the card is thick. If the door fits very tightly against the frame, the card method will not work. If there is visible space, you can proceed.
Slide the card between the door and frame to reach the button
Insert the card into the gap above or below the lock, depending on where the button sits. Angle the card slightly toward the lock so the edge of the card can contact the button. Push the card in slowly — you are trying to feel for the button, not force the card through.
Once the card touches the button, push the card toward the inside of the door. The button should move back into the lock body, releasing the latch. The door will not swing open on its own; you still need to turn the handle or push the door. If the button does not move after 10 to 15 seconds of gentle pressure, the lock is not a straightforward push-button or the card is not reaching the button. Stop and call a locksmith.
Turn the handle and open the door once the button releases
After you feel the button give way, keep slight pressure on the card and turn the door handle with your other hand. The door should open. If it does not, the button may not have fully released, or the lock may have a secondary mechanism. Remove the card and try again, or stop and call a locksmith.
Once you are inside, remove the card and close the door. Check that the lock still works by closing the door and testing the button from the inside. If the lock is damaged, contact your landlord or property manager if you rent, or a locksmith if you own the space.
When to call a locksmith instead
Call a locksmith if the lock is a deadbolt, if the door frame is too tight for a card to fit, if you have tried the card method and it did not work, or if you are unsure whether you have permission to enter. A locksmith can open almost any residential lock in 15 to 30 minutes. Costs vary by location and time of day — expect $50 to $150 for a standard residential call during business hours, and $100 to $250 for evenings or weekends.
If you are locked out of a rental unit, contact your landlord or property manager first. Many leases require you to call them before forcing entry, and they may have a key or a preferred locksmith. If you force entry without permission, you may be charged for the damage or lose your security deposit.
Prevent future lockouts by planning ahead
Give a spare key to a trusted friend or family member who lives nearby. Store a spare key in a locked box outside your home, or use a keypad lock on an exterior door so you can enter with a code. If you rent, ask your landlord where they keep the master key and how to reach them if you are locked out after hours.
For interior doors like bedrooms or bathrooms, consider removing the lock button entirely if you live alone and do not need privacy locks. Many interior locks are straightforward to remove and reinstall. If you have children, keep the button lock in place but teach them how to unlock it from the outside in case they lock themselves in by accident.
Frequently Asked Questions
Will this method work on my apartment door?
Only if your apartment door has a push-button lock, which is rare. Most apartment exterior doors have deadbolts or electronic locks. If you are locked out of your apartment, contact your landlord or property manager — they are required to help you regain entry, and forcing the door may violate your lease.
Can I use this method on a door that is locked from the outside?
No. If the lock requires a key from the outside, it is a deadbolt or pin tumbler lock, and a credit card will not open it. You will need a locksmith or the key itself.
What if the card breaks inside the lock?
Stop when ready and do not try to remove it. Call a locksmith. Trying to extract a broken card can damage the lock further and make the repair more expensive. A locksmith has tools to remove the card without damaging the mechanism.
Is it legal to unlock someone else's door with a credit card?
No, unless you have permission from the owner or you are the owner. Using this method on someone else's property is breaking and entering. If you need to enter a space you do not own, contact the owner or call a locksmith who can verify your identity.
How much does a locksmith cost compared to replacing the lock?
A locksmith call costs $50 to $150 in most areas. Replacing a lock costs $100 to $300 depending on the lock type and whether you hire someone to install it. If you are locked out, a locksmith is almost always cheaper than replacing the lock.