Broken and Stuck Keys

Will WD-40 Get a Stuck Key Out of a Lock?

WD-40 can help free a stuck key by reducing friction, but it won't pull out a broken one. Learn how to use it, its downsides, and better lock lubricants.

On this page
  1. The short answer
  2. What WD-40 actually does in a lock
  3. How to use it on a stuck key
  4. When a spray won’t help
  5. The downside of oily sprays in locks
  6. Better long-term lubricants
  7. Preventing stuck keys

The short answer

WD-40 can sometimes help a stuck key come out of a lock, especially when the problem is friction, dirt or light corrosion. A short spray into the keyway can loosen things enough for the key to slide out with gentle wiggling.

It won’t do much for a key that has broken off inside the lock, though. A spray can reduce friction, but it can’t grip the fragment. For that, you’ll need a tool such as a broken key extractor, as described in our guide to removing a broken key from a lock without a locksmith.

What WD-40 actually does in a lock

The original WD-40 is a multi-use product that displaces moisture, loosens grime and provides light lubrication. In a lock, that can help in a few ways:

  • it can loosen dust and grit that’s making the key bind against the pins
  • it can ease light rust or corrosion on the key or inside the keyway
  • it can reduce friction between the key’s cuts and the pins

That’s why many people find a stuck key comes free after a quick spray. It’s a sensible thing to try if it’s what you have on hand.

How to use it on a stuck key

  1. Use the straw. Attach the thin straw to the nozzle so you can aim into the keyway.
  2. Spray briefly. A short burst along the top and sides of the key is enough. More isn’t better.
  3. Wait a minute. Give it a little time to work into the lock.
  4. 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 went in. If it’s slightly off, turn it gently until it lines up.
  5. Wiggle gently while pulling. Move the key slightly up and down, not side to side, while pulling straight out. Avoid twisting hard; this is how keys snap.
  6. Wipe away the excess. Clean off any drips from the lock face and the key.

If the key still won’t move after a couple of tries, stop forcing it. A key that’s bent, badly worn or the wrong key for the lock may need a different approach.

When a spray won’t help

WD-40 is unlikely to solve the problem if:

  • The key is broken. You need a tool that can hook the fragment.
  • The key is bent or twisted. Forcing a bent key out can damage the pins or snap the key.
  • The plug is stuck partway around. The key can’t come out until the plug is back in its home position.
  • The lock is frozen. Ice needs to be thawed; our article on whether WD-40 works as a lock de-icer covers that situation.
  • Something inside the lock is broken. A broken spring or pin can lock the key in place.

The downside of oily sprays in locks

Many locksmiths and lock makers don’t recommend standard oily sprays as a regular lock lubricant. The concern is that an oily film can attract dust and lint over time, which can build up into a sticky residue in the pins. That residue can make the lock stiffer, which is the opposite of what you want.

Another point: if a lock has been lubricated with graphite before, adding oil on top can turn the graphite into a paste. It’s best to stick to one kind of lubricant in a given lock.

So WD-40 is reasonable as a one-off fix to free a stuck key. As a routine treatment, there are better choices. This is the same question people ask when they wonder whether you can use WD-40 to unstick a lock in general.

Better long-term lubricants

For ongoing lock care, these are commonly recommended:

  • Dry PTFE lubricants. Sprays that go on wet and dry to a thin, non-sticky film. WD-40 itself sells a dry PTFE lubricant in its Specialist range, separate from the original formula.
  • Graphite powder. A traditional dry lubricant for pin tumbler locks. It works well but can be messy, and a little goes a long way.
  • Lock-specific lubricants. Some lock manufacturers sell or recommend their own products.

For vehicle locks, which face more weather, our article on the best lubricant for car door locks covers options in more detail.

Preventing stuck keys

  • Lubricate locks lightly once or twice a year, more often in dusty or coastal areas.
  • Replace keys that are visibly worn, bent or cracked.
  • Have new keys cut from a good original rather than from a worn copy.
  • Check that the door lines up with the strike plate. If you need to push or pull the door to turn the key, the problem may be the door, not the lock.
  • Don’t use the key as a handle to pull the door shut.

A key that sticks often is a warning sign. Dealing with it early is usually easier than having to figure out how to get a broken key out of a lock later.

The complete guide to broken and stuck keys

How to Remove a Broken Key From a Lock Without a Locksmith
Read the guide

Keep exploring

Guides from other topics

All topics →