Doors & windows

Get a broken key out of a lock

A key usually snaps when it's worn thin or someone forces a stiff lock. The good news is that a broken piece usually comes out with simple tools, as long as the lock is back in the position the key went in and you don't push the piece deeper. A dry lubricant and a thin hooked tool do most of the work. If the piece is stuck while the lock is turned, or nothing will grab it, a locksmith can remove it, often without damaging the lock.

Open palm holding a brass house key snapped in two, the head and the jagged tip side by side, in a bright home entryway
When a key snaps, keep both pieces. A locksmith can cut a new key from them.
Quick answerDon't push the piece in or try to use the lock. Make sure the lock is turned back to where you put the key in, spray a little dry graphite or PTFE lubricant into the keyway, then grab any part that sticks out with needle-nose pliers. If it's flush, slide a broken key extractor or a thin jigsaw blade in along the top of the key, hook a notch and pull straight out.
Worth checking firstCheck the other side of the door. If it's a deadbolt you can still work from inside, you can take the lock off and bring the cylinder to a locksmith, which usually costs less than a house call. If someone is locked in or out in an emergency, call for help first.
Easy10–30 min$0–15
Cutaway diagram of a pin tumbler lock with a broken key inside, showing the keyway, pins and springs above the key, the plug and a thin extractor hooking the key's notches
The broken piece (1) sits in the plug (5) with its notches holding up the pin stacks (2). Slide a thin extractor (3) along the notched top edge to hook it. The key comes out only with the plug turned back to its home position (4).

Why a broken key gets stuck

Most house locks are pin tumbler locks. The part the key goes into is a cylinder called the plug, and above it sit stacks of small spring-loaded pins. The notches on a key lift each pin stack to just the right height so the plug can turn. When the key breaks, the piece left inside still has those notches, and the springs push the pins down onto them. That pressure, plus any dirt or wear, is what holds the piece in place.

A key can only come out when the plug is in its home position, the same position it was in when the key went in. If the key snapped while you were turning it, the plug may be stuck partway, and nothing will slide out until it's turned back. Pushing on the broken end, or trying to use the lock, can jam the piece behind the pins, and glue on a stick or matchstick tends to end up inside the lock. Work gently, keep the piece moving outward and stop if it's going deeper.

Why keys break in locks

Worn or thin key

Years of use thin the neck where the blade meets the head.

Forcing a stiff lock

Dirt or a misaligned bolt makes you twist hard, and the key gives first.

Cheap or bent copy

Poorly cut duplicates bind on the pins and snap.

Key used as a pull

Pulling the door shut by the key bends it over time.

Wrong or similar key

A key that almost fits can jam and break when turned.

What's happening?
You noticeLikely causeStart at
Key broke while the lock was turnedPlug is out of home positionStep 1
Piece is stuck tight, lock feels grittyDirt or dry pinsStep 2
Part of the key sticks outEasy grabStep 3
Piece is flush or inside the keywayNeeds a hook toolStep 4
Nothing grabs it, door secured from insideRemove the cylinderStep 5
The lock was stiff before it brokeLock needs attentionStep 6
Go easy, and stay safeDon't push the broken piece deeper, don't try to turn the lock with a screwdriver, and don't put superglue in the keyway. If you're locked out with a child, a pet or anyone who needs help inside, or there's any emergency, call 911 right away, or a locksmith if no one is at risk. Saw blades and extractor tools are sharp, so wear gloves and pull away from your body. Only remove locks on a door you own or have permission to work on.

Let's fix it

0 of 6 done
  1. Stop and turn the lock back to homeLook at the keyway. If the slot is straight up and down (or in the same position as when you put the key in), the plug is home and you can move on. If the key broke while it was turned, the plug is probably stuck partway. If a stub sticks out, grip it with needle-nose pliers and gently turn it back to the starting position. If nothing sticks out, a flat tension tool or a very small flat screwdriver, used gently slid into the empty part of the keyway can sometimes turn it back, but stop if it doesn't move easily. Forcing it can push the piece deeper, and that's the point to call a locksmith.
    Front of a door lock with the keyway turned slightly off vertical, and pliers turning the broken stub back to the upright home position
  2. Spray in a dry lubricantUse a tube of graphite powder or a can of dry PTFE (Teflon) lock lubricant with its thin straw and give the keyway 1 or 2 short puffs, aiming along the top and bottom of the broken piece. Wait about 1 minute. The lubricant eases the pins' grip on the key and helps the piece slide. Avoid oily products like cooking oil, and use only a little of any spray, since too much attracts dirt. If you have nothing else, a tiny amount of general-purpose lubricant will do in a pinch, but plan to clean and dry-lube the lock afterward.
    Can of dry lock lubricant with a thin straw puffing graphite into a keyway with a broken key inside
  3. Grab any part that sticks outIf even a little of the key shows past the face of the lock, grip it with needle-nose pliers or sturdy tweezers, as close to the lock face as you can. Keep the pliers in line with the keyway and pull straight out while wiggling gently up and down, not side to side. Don't squeeze so hard that the soft brass flattens and slips. If it moves a little and stops, add another puff of lubricant and try again. Most stubs come out this way.
    Something went wrong?
    • The pliers keep slipping Grip closer to the lock face with the pliers' tips, add another puff of dry lubricant, and pull straight out in small wiggles rather than one hard tug.
    Needle-nose pliers gripping the end of a broken key sticking slightly out of a lock and pulling it straight out
  4. Hook a flush piece with an extractor or bladeIf the piece is flush or recessed, use a broken key extractor (a thin steel strip with small hooks or barbs, sold at hardware stores in sets for about $10 to $15). Slide it into the keyway along the top edge of the key, where the notches are, with the hooks facing out toward you. Push it in as far as the key goes, turn it slightly so a hook bites into a notch, and pull straight out. It often takes several tries, working along the top and then the bottom. A thin, narrow jigsaw blade with its teeth angled back toward you works the same way. If it's too wide, snap it narrower with pliers while wearing safety glasses and gloves, since pieces can fly.
    Something went wrong?
    • The tool won't go in The keyway is too tight on that side. Try the other edge of the key, or use a thinner extractor.
    • The piece went deeper Stop. More attempts usually make it worse. A locksmith can remove it or pull the cylinder.
    Thin key extractor tool slid into the keyway along the notched top edge of a broken key, with its hooks catching a notch
  5. Take the cylinder to a locksmith if it won't budgeIf nothing grabs the piece and you can work from inside, you can remove a typical deadbolt without damaging it. With the door open, unscrew the two long screws on the inside thumb-turn plate and pull both halves of the lock off the door. Bring the outside half, with the key piece still in it, to a locksmith or a hardware store that rekeys locks. They can take the cylinder apart on the bench and remove the piece, usually for less than a house call. Don't take the cylinder apart yourself unless you know how: the pins and springs pop out and have to go back in a specific order.
    Screwdriver removing the two screws on the inside plate of a deadbolt so the outside cylinder can be taken off the door
  6. Test the lock and get a new keyOnce the piece is out, try a spare key, not the broken one. It should go in smoothly and turn without forcing. If it's stiff or gritty, puff in a little more dry lubricant and work the key in and out a few times, or follow the guide for a sticking deadbolt. Throw away the broken key and have a new one cut from a good original, not a worn copy, since copies of copies wear the lock faster and break again. If you have no spare, a locksmith can often cut a key from the broken pieces or rekey the lock.
    A spare key sliding smoothly into the cleared lock and turning, with the two pieces of the broken key set aside

Watch it done

How to remove a broken key in a lock!By Uncle Mike's Locksmith on YouTube. Their method may vary a little from ours.
Watch on YouTube
How you'll know it's fixed
  • The keyway is empty and you can see the lock face clearly
  • A spare key goes in and turns smoothly
  • The bolt locks and unlocks without forcing

Piece still stuck or the lock won't turn? Call a locksmith.

If it comes back

A second broken key usually means the lock is fighting you. If you have to lean on the key or lift the door to turn it, the bolt is rubbing on the strike plate. See the guide for a sticking deadbolt and the guide for a door that sticks or won't latch.

If the knob or lever wobbles while you use the key, tighten it first, since a loose lockset puts side load on the key. See the guide for a loose door knob.

If the lock is old and worn, or you've lost track of who has keys, it may be time to rekey or replace it. A rekeyable lock or a locksmith visit lets you keep the hardware and change the key.

Pull, don't pushEvery move should bring the piece toward you. If you feel it slide inward, stop and add lubricant before trying again.
Renting?Tell your landlord before removing a lock. Many leases don't allow changing locks without permission.
Call a locksmith ifThe lock is stuck partway turned, the piece moved deeper, you can't get it out after a few careful tries, you're locked out, or it's a high-security, smart or commercial lock.Fix it yourself or call? Compare the cost →

What a pro typically charges (a rough estimate; prices vary by area): A locksmith typically charges about $75–$150 to remove a broken key at your home, and more after hours. Bringing the cylinder to a shop often costs less, and rekeying usually adds about $20–$50 per lock.

Find a locksmith near you

Something else going on?

Broken key questions

How do you get a broken key out of a lock?

Turn the lock back to its starting position, puff in dry lubricant, then pull the piece out with needle-nose pliers or hook it with a broken key extractor or thin jigsaw blade along its notches.

Can I use superglue to get a broken key out?

It's risky. Glue easily runs into the lock and can ruin the pins. An extractor tool or a locksmith is a safer choice.

Why won't the broken key come out?

The lock is probably not in its home position, or the pins are pressing down on the key's notches. Turn it back to where it started and add dry lubricant.

How much does a locksmith charge to remove a broken key?

Typically about $75 to $150 for a house call, more after hours. Bringing the cylinder to a shop often costs less.

Can a locksmith make a key from a broken key?

Often, yes. A locksmith can usually read the cuts from the pieces and cut a new key, or rekey the lock if needed.

Reader reports

Did this fix work for you?

Tell the next person how it went. Your numbers are added to the totals anonymously; tips are read by our team before they appear.

How did it go?
Reader Q&A

Questions from readers

No questions on this guide yet. If you're stuck, ask below. Useful questions and answers get added here for the next person.

Ask a question

We read every question before anything is published, and we never show names or emails. Please leave out personal details. PrivacyAccessibility

About the authors

GrabTheHammer Team

  • No sponsored picks
  • Safety first
  • Tells you when to call a pro

We're a small team of writers and editors who check every guide against manufacturer instructions and common code requirements. Our goal is to help you understand the problem, tackle what you safely can and know when to call a pro.

Checked against: Lock manufacturer care instructions and locksmith guidance on broken key extraction and lubrication.

How we write and review →
A helpful next stepFix a sticking deadbolt or door lockClean and lube the lock so the next key doesn't snap.