Key stuck in the lock: why it happens and what to do
When a key refuses to come out, the urge is to pull harder. Resist it. Here is why keys stick, what to avoid, what to tell a locksmith and how to keep it from happening again.

What a stuck key is actually telling you
A key that will not come out is not a random event. Something inside the lock, on the key itself or in the door around it is holding the key in place. The first useful step is to stop and think about what the key was doing when it stuck. Did it go in smoothly and refuse to turn, or did it turn and then refuse to withdraw? Did the lock feel gritty? Was the door under pressure from the frame?
In a typical pin tumbler cylinder, the key slides into a narrow slot called the keyway and lifts a set of small pins to the correct height. When the key is in, those pins sit in the cuts along its edge. If anything prevents the pins from dropping back or the plug from returning to its original position, the key is trapped in the cuts. That is why a key can stick even though nothing looks broken.
Because the problem could involve the key, the cylinder, the bolt or the door, there is no single fix. The good news is that most stuck key situations follow a handful of patterns, and recognizing which one you are in helps you avoid making things worse.
The most common reasons a key sticks
Wear is the first suspect. Keys that have been copied many times from other copies slowly drift away from the original cuts, and a worn key may not lift the pins properly or release them on the way out. A cylinder that has seen years of use can also develop rough spots in the keyway and loose internal parts. Neither problem appears overnight, but the symptoms often show up suddenly.
Debris is another frequent cause. Dust, lint, grit, old lubricant that has hardened and tiny metal flakes can collect in a keyway, especially on a door that faces open air. In coastal Miami Dade, salt and moisture speed up the buildup, and a thin layer of corrosion can make everything feel rough. Residue from cleaning products or spray lubricants can also gum things up.
The third family involves pressure on the bolt. If the door is out of alignment, the bolt may press against the edge of the strike hole instead of sliding freely. That load transfers back through the mechanism and clamps the plug in place, which holds the key inside. Our page on a deadbolt stuck half locked explains the same kind of binding from the bolt's point of view.
- A worn or poorly copied key may fail to release the pins on the way out.
- Dirt, corrosion and hardened lubricant can slow or block movement inside the keyway.
- A bolt under pressure from a misaligned door can clamp the plug and trap the key.
- A bent key or a damaged cylinder can catch the pins at an odd angle.
What not to do when a key is stuck
Do not twist hard, pull with pliers or strike the key. Keys are made of relatively soft metal, and a key that is twisted with force can bend or snap. A broken key leaves part of itself inside the lock, and that turns a simple problem into a harder one. The same goes for hitting the lock face or the key with a hammer, which can damage the pins and the plug.
Do not spray random products into the keyway, particularly thick oils or anything that leaves a sticky film. They may feel helpful for a moment but can attract dust and make the cylinder harder to service later. Do not try to push other tools into the lock to see if they help. That is how scratches, bent pins and permanent damage happen, and it may also complicate any later assessment.
Do not assume that you must replace the lock. Many stuck keys can be released without losing the cylinder. A calm look from a technician can often separate a simple release from a genuine need for repair or replacement. If the key has already started to bend, stop pulling at once and call. Our page on a key that broke in the lock shows what happens when force goes too far.
Gentle checks you can safely make
There are a few harmless things you can try. First, take the pressure off the door. If the door is closed and you are leaning on it, ease it back slightly toward the frame, or lift it gently by the handle to relieve the load on the bolt. Sometimes just changing the angle of the door releases the key. Do this slowly, without force.
Second, check whether the key is turned all the way back to its straight position. Many keys have a single position in which they enter and exit. If the key has rotated slightly, it will catch. Try rocking it very gently to the straight position and drawing it back by feel. If it moves even a little, keep that gentle motion going, but never yank.
Third, look at the key for visible damage. A bent or chipped key tells you the story. If the key looks fine and the lock feels dry, the problem may be inside the cylinder. At that point the safest option is to leave it alone and make a call. Our guide to how pin tumbler locks work explains why even a small misalignment inside can hold on to a key.
Why humidity, salt and heat make this more common here
South Florida conditions work against small metal parts. Humidity is nearly constant, and salt carried by sea air settles on locks, especially those near the coast, on balconies or on gates. A thin film on pins and springs makes movement stiff, and corrosion roughens the inside of the keyway until keys catch instead of gliding.
Heat matters too. Brass and steel expand and contract with temperature changes, and a door that bakes in afternoon sun may shift slightly in its frame. That shift alone can put side pressure on a bolt. Moisture then swells wooden doors and jambs, adding to the effect. A lock that worked perfectly in dry weather may begin to resist after a very humid week.
Preventive care counts. A technician can clean a cylinder, check the alignment of the door and recommend a suitable lubricant for your lock type. Our guide on salt air and lock corrosion shows what to watch for, and the lock lubrication and maintenance service covers the routine work.
What to tell a locksmith when you call
A clear description saves time and avoids guesswork. Say where you are, which door or vehicle is involved, what type of lock it is if you know, and what the key was doing when it stuck. Mention whether the key is bent or damaged, whether the door is open or closed, and whether you have another key or access to the property.
Also mention anything you already tried, even if it did not work. If you applied a spray, say which one. If you pulled hard, say so. That information helps the technician choose a method that will not make things worse. The price is explained before work begins, so you can decide with full information, and the technician comes to you.
If the key is stuck in a vehicle, mention whether the car is running, whether the doors are locked and whether anyone is inside. For a child or pet locked in a hot car, call emergency services first. Our page on broken key extraction and the guide to what to do when locked out describe what is involved in similar situations.
What to do while you wait
If you are locked out because the key is stuck on the outside, find a safe place to wait and keep your belongings with you. Make sure you are not blocking a walkway or a shared door. If you live in a condo or apartment building, tell a neighbor or the front desk what is happening so no one assumes the door is being tampered with.
If the key is stuck on the inside of a door and you are inside, do not panic. You are not trapped if there is another way out, and most homes have windows, a second door or a way to unlock from the inside. Do not use the stuck lock again until it has been looked at, because turning it repeatedly could leave you unable to open it from either side.
Take a clear photo of the lock and the key position if you can. It can help you describe the problem and shows whether anything has moved before the technician arrives. Keep other keys, including your car key, separate from the stuck one so nothing else is put at risk. Calm preparation makes the visit smoother for everyone.
Finally, think about who else needs to know. If you share the home with others, tell them not to try the lock until it has been looked at. If the door is a business entrance, let staff know there may be a short interruption and that they should not tug on the handle. A little communication prevents well meaning helpers from adding force to a lock that needs patience.
What the technician does and how the visit goes
The technician begins by looking at the situation without assuming the worst. They check the key, the lock face, the door alignment and the way the key sits. Often the cause becomes clear at once. If the door was binding, relieving pressure may release the key. If debris is the issue, a proper cleaning can restore smooth movement.
If the key cannot be released without risk, the technician may remove the cylinder or take other steps to protect the parts. The aim is to release the key with as little damage as possible and to keep the door secure afterward. After the key comes out, the technician will test it and the lock together, looking for wear and checking whether the key is still reliable.
Before the visit closes, the work is checked with you. You should see the lock turn smoothly and the door latch properly. If a part has to be replaced, the technician explains why and what it involves before proceeding. Our page on lock rekeying may be useful if the visit leads to a decision about keys.
Repairs, replacement and what to decide
Not every stuck key leads to replacement. If the cylinder is in good condition and the key was simply caught, the repair may amount to a cleaning and a new copy of the key made properly from the original or from a code. A fresh key cut cleanly often feels much smoother than a worn copy, and that can be the whole answer.
If the cylinder is worn, damaged or corroded, replacing it may be more sensible than repeated repair. When you replace a cylinder you can also choose new keys and make the old ones useless, which is a bonus if you were uncertain about who had copies. Our page on rekeying versus replacing locks explains how to think about the decision.
Sometimes the lock is fine and the door is the real problem. Adjusting the strike, tightening hinges or correcting a swollen frame can stop the bolt from binding and prevent the key from sticking again. A good technician will tell you honestly which situation you are in, rather than selling a new lock when the old one is healthy.
Stuck keys in cars, gates, padlocks and mailboxes
Everything above applies to house doors, but keys stick in many other places. A car door lock or ignition has its own tolerances, and an ignition can hold a key because the steering column is under tension or the gear selector is not fully in park. Wiggling the steering wheel gently while easing the key is a common approach that owners use, but if the key still will not release, stop. Ignition parts are expensive to damage, and the vehicle's anti theft electronics can complicate a hasty fix.
Padlocks and gate locks face the weather directly. A padlock that sits in the sun and rain collects grit in the shackle holes and the keyway, and the key may stick when the shackle is under load, for example when a chain is pulled tight. Easing the tension on the chain or gate can release a key that seems trapped. Our pages on padlock and gate lock service and a jammed gate lock cover these cases.
Mailbox locks are small and delicate. The keys are thin, the cylinders are simple and an abused one can fail sooner than a house lock would. Because they are used every day by every resident, small amounts of wear add up, and a key that has started to feel stiff is worth mentioning to the building before it sticks completely. A stuck mailbox key should never be pried, because the thin metal snaps easily and the box door may be hard to open without the lock working. In shared buildings, report the problem to the property manager, who can arrange proper repair and check that the person requesting help belongs to the unit.
Keeping keys from sticking in the future
Start with the key. If your daily key is a copy of a copy, ask for a new one cut from the original or from a key code. Retire keys that are bent, thin or visibly worn. Keep keys clean and avoid carrying them in a pocket full of lint and grit. A key that is treated gently lasts longer and wears the lock less.
Next, look after the lock. A light, correct treatment once in a while keeps pins moving freely, and a periodic check of the door helps catch alignment problems early. Our lock maintenance calendar gives a sensible rhythm. If a lock starts to feel rough, do not wait for the day it traps a key.
Finally, notice the early signs. A key that needs jiggling to turn, a bolt that is sluggish or a door that must be pulled or lifted to lock are all warnings. Our page on a key that will not turn describes what those symptoms often mean, and responding to them early usually turns an emergency into an ordinary visit.
Common questions
Should I use lubricant on a stuck key?
It is better not to. Many sprays and oils leave a film that attracts dust and can make the cylinder harder to service. A suitable product used correctly can help in regular care, but for a key already stuck, gentle checks and a call to a technician are safer than experimenting.
Can a stuck key mean someone tampered with my lock?
Usually it does not, but it is worth noticing. Look for fresh scratches around the lock face, a loose cylinder or something stuffed in the keyway. If you suspect tampering, do not keep trying. Tell the technician what you saw, and avoid touching more than necessary.
Will I need a new lock if the key comes out safely?
Not always. If the cylinder is in good shape, the fix may be a cleaning, an adjustment or a better cut key. A technician can explain whether wear or damage means replacement is sensible, and the price is explained before any work starts.
What if the key is stuck in my car ignition?
Do not force it. Check that the vehicle is in park and that the steering wheel is not binding, since steering lock pressure can trap a key. If it will not release, a technician can look at the ignition. Bring proof of ownership, because work on vehicle keys requires it.
Why does my key only stick when the weather is humid?
Humidity swells wooden doors and frames and can shift alignment, which loads the bolt and clamps the plug. Moisture also adds to corrosion and film inside the keyway. Adjusting the door and cleaning the lock often solves a problem that appears only in damp conditions.
Is a stuck key an emergency?
It depends on the situation. If you are safely inside or outside and the door is secure, there is no reason to hurry or force anything. If a child or pet is locked in a hot car, call emergency services first. Otherwise, a calm call is the right move.
Home Advisor Locksmith