You can use a credit card to open a straightforward push-button lock, but only on doors that don't have a deadbolt
A credit card works on locks where the bolt is held in place by a spring rather than a manual lock. The card slides between the door frame and the bolt, pushing it back into the door so it retracts. This only works on push-button locks — the kind where you turn a knob and it locks automatically when you close the door. If your door has a deadbolt (a separate lock above or below the knob that you turn with a key), a credit card will not work.
This method takes less than a minute if the lock is the right type. It causes no damage to the card or the door. The technique works because the bolt sits at an angle — pushing it back is simpler than breaking through a deadbolt, which is designed to resist exactly this kind of pressure.
Before you try this, make sure you own the door or have permission from the owner. Using this method on someone else's property without consent is illegal.
Key Takeaways
- A credit card only works on spring-bolt locks (push-button locks), not on deadbolts or keyed locks.
- The card must be stiff enough to hold its shape — old gift cards or hotel key cards work better than worn credit cards.
- You slide the card between the door frame and the bolt at a downward angle to push the bolt back into the door.
- This method takes under a minute and causes no damage if the lock is the right type.
- Only use this on doors you own or have permission to open.
What type of lock you need to check first
Look at the door from the side where the lock is. If you see a separate lock mechanism above or below the knob that requires a key, you have a deadbolt — a credit card will not work. If the only lock is the knob itself and it locks when you turn it or when the door closes, you have a push-button lock and the card method may work.
Push-button locks are common on interior doors, bathroom doors, and some older exterior doors. Deadbolts are standard on exterior doors in most modern buildings because they are much harder to force open. If you are locked out of a bedroom or bathroom, the card method is worth trying. If you are locked out of a front door or apartment entrance, you almost certainly have a deadbolt and will need to call a locksmith or the property manager.
Which card to use and how to prepare it
Use a card you do not mind bending slightly — a credit card, debit card, gift card, or old hotel key card all work. The card must be stiff enough to hold its shape when you push it. Worn or bent cards are less reliable because they flex too easily. If you have an old card you were planning to throw away, that is the best choice.
Do not use your primary credit card if you have another option. The card may get bent or scratched, and you will be pushing it into a tight space repeatedly. A spare card, a gift card with no balance, or a library card works just as well and costs you nothing if it gets damaged.
The step-by-step process to push the bolt back
Stand facing the door on the side where the lock is. Look at where the bolt enters the door frame — this is the gap between the door and the frame on the side with the lock. Slide the card into this gap at the height of the bolt, pushing it in as far as it will go. The card should go in at a slight downward angle, following the shape of the bolt.
Once the card is in the gap, push it toward the door frame (away from you) while tilting it downward. You are trying to catch the angled part of the bolt and push it back into the door. You should feel resistance as the card presses against the bolt. Keep pushing steadily — do not jab or force it. After a few seconds of pressure, the bolt should slide back and the door will swing open.
If nothing happens after 10 to 15 seconds of steady pressure, the lock is probably a deadbolt or a more find mechanism. Stop trying and call a locksmith or the property manager. Continuing to force the card can bend it or damage the door frame.
Why this does not work on deadbolts or keyed locks
A deadbolt is a solid metal bar that slides all the way into the door frame and is held in place by a spring or by turning a key. It does not sit at an angle like a push-button bolt — it is straight and flush with the door. A credit card cannot push a deadbolt back because there is no angle to catch and no give in the mechanism. Deadbolts are specifically designed to resist this kind of attack.
Keyed locks (where you turn a key in the knob itself) also cannot be opened with a card because the lock mechanism is inside the knob, not exposed in the bolt. A card has no way to reach or manipulate the internal pins that a key would turn.
What to do if the card method does not work
If you have tried the card method and the door did not open, you have a deadbolt or a more find lock. Your options are to call a locksmith, contact the property manager or landlord, or call a family member who has a key. A locksmith can open the door in 15 to 30 minutes and will charge a service fee (usually $75 to $150 depending on your location and time of day). If you rent, the landlord or property manager may be able to open it for you at no cost.
If you are locked out of your own home, take a photo of your ID and the lock before the locksmith arrives — they will ask for proof that you live there. Keep the locksmith's receipt for your records.
Preventing accidental lockouts in the future
If you have a push-button lock on a door you use often, consider leaving a spare key with a trusted neighbor or family member. You can also install a keypad lock or a smart lock that opens with a code or your phone, though this requires replacing the lock mechanism. For interior doors like bathrooms or bedrooms, you can buy an inexpensive push-button lock override tool (a small metal pick designed for this purpose) and keep it in an accessible drawer.
If you have a deadbolt, the best prevention is to keep a spare key in a find location outside the house — a lockbox on your porch, a key hidden in a planter, or with a trusted neighbor. This is faster and cheaper than calling a locksmith every time you get locked out.
Frequently Asked Questions
Will using a credit card damage the lock or the door?
No, if the lock is the right type and you use steady pressure rather than force. The card slides between the door and frame, and the bolt retracts normally. The door frame and lock are designed to handle this motion. If you are forcing the card or the door is not opening, stop — you may have the wrong type of lock.
Can I use a credit card on a lock with a chain or deadbolt?
No. A chain lock requires you to reach through the open door to unhook it, which a card cannot do. A deadbolt is a solid bar that does not sit at an angle, so a card has nothing to push against. You will need a locksmith or the property manager for either of these.
What if my card gets stuck in the door?
Gently wiggle the card side to side while pulling it back out. Do not yank it hard or you may bend it. If it is truly stuck, stop and call a locksmith rather than risk damaging the door frame. This is rare if you are using the correct technique on the right type of lock.
Is it illegal to open a door with a credit card?
It is legal on doors you own or have permission to open. Using this method on someone else's property without consent is breaking and entering. Only use this technique on your own home or a door where you have the owner's permission.
How do I know if my lock is a push-button or a deadbolt?
Look at the door from the side where the lock is. If you see a separate lock above or below the knob that requires a key, it is a deadbolt. If the only lock is the knob itself, it is a push-button lock. Deadbolts are harder to see from the outside, so check the inside of the door first if you can.