The short answer
Usually not. Most house keys are made of brass or nickel silver, and neither is attracted to a magnet. Even when a key is made of steel and is magnetic, the fragment is held in place by spring-loaded pins pressing on it, and a magnet often can’t overcome that grip.
A magnet is worth a quick try only if you’ve confirmed the key is magnetic. Otherwise, a thin extractor tool or saw blade is a much better bet.
Most keys aren’t magnetic
Key blanks are commonly made from:
- Brass. A copper and zinc alloy, widely used because it’s easy to cut and resists corrosion. Brass is not magnetic.
- Nickel silver. Despite the name, it’s an alloy of copper, nickel and zinc with no actual silver. It’s harder wearing than brass and is also generally not magnetic.
- Plated keys. Many keys are nickel-plated to look silver, but the metal underneath is often brass. A shiny silver key isn’t necessarily steel.
- Steel. Some keys, including some padlock and inexpensive keys, are steel or plated steel. These are magnetic.
So the color of a key doesn’t tell you much. You need to test it.
How to test your key
You still have the other half of the key, the bow (the part you hold). Touch a magnet to it:
- No pull at all: the key is almost certainly brass or nickel silver. A magnet won’t help with the fragment.
- Clear attraction: the key is likely steel, and a magnet is at least worth a try.
A strong fridge magnet or a small neodymium magnet works for this test.
Why even a magnetic key may not budge
In a pin tumbler lock, pins pushed by small springs press down on the key’s cuts. When the key snaps, those pins keep pressing on the fragment, holding it against the bottom of the keyway. To pull it out, a magnet has to overcome that friction, plus any dirt or corrosion in the lock.
There are a few other practical limits:
- The face of the lock and the plug sit between the magnet and the key, so the magnet usually can’t touch the fragment directly.
- Magnetic force drops off quickly with distance, so a fragment set back inside the keyway gets much less pull.
- Some parts inside the lock, such as springs, may be steel too, which can spread out the magnet’s effect.
If you want to try a magnet anyway
If your key tested as magnetic:
- Make sure the lock is in its home position. A key can only come out when the plug is turned back to where the key was inserted.
- Add a little lubricant. A dry PTFE spray or graphite reduces friction. Our article on whether WD-40 will get a stuck key out of a lock covers the trade-offs of using a penetrating spray instead.
- Use a strong magnet. A small neodymium magnet, ideally on a thin rod or pick-up tool, gives the best chance.
- Hold it to the keyway and pull straight back slowly. If nothing moves after a few tries, move on to another method.
Avoid pushing anything into the keyway to get the magnet closer. That’s how fragments end up deeper in the lock.
Tools that work better
For most broken keys, these work more reliably than a magnet:
- Needle-nose pliers or tweezers, if any of the key is sticking out
- A broken key extractor, a thin strip with a hook or barbs that catches the key’s cuts
- A short piece of a thin jigsaw blade, inserted with the teeth facing you
Our step-by-step guide on how to get a broken key out of a lock explains how to use each of these. If none of them work, or the plug won’t turn back to its normal position, a locksmith can usually remove the fragment quickly.