Guide

How to Rekey a Filing Cabinet

Updated on · By the Scrap Jammies team

Rekeying a filing cabinet means replacing its lock cylinder, or the whole lock, so old keys stop working. Pull the old lock, fit a replacement that matches your cabinet's lock type, test every drawer, and hand out only the new keys.

On this page (10 sections)
  1. What does it mean to rekey a filing cabinet?
  2. When should you rekey instead of just replacing the lock?
  3. How do you match a replacement lock to your cabinet?
  4. What tools do you need to rekey a filing cabinet?
  5. How do you remove the old filing cabinet lock?
  6. How do you install the new lock and test it?
  7. How do you keep access under control after rekeying?
  8. How do you anchor the cabinet so the new lock stays secure?
  9. Is a locked filing cabinet enough to protect documents?
  10. How do you handle an old cabinet you're replacing?

Rekeying a filing cabinet means replacing its lock cylinder, or the whole lock, so the old keys stop working. Pull the old lock, fit a replacement that matches your cabinet's lock type, test every drawer, and hand out only the new keys.

The job is mostly lock hardware and a little patience. Do it when a key goes missing, when someone with a key leaves, or when you simply want one key set for the office.

This guide covers how to rekey a filing cabinet without a locksmith, what to buy, and how to check the result.

What does it mean to rekey a filing cabinet?

Rekeying changes which key opens a cabinet without changing the cabinet itself. You either swap the lock cylinder inside the existing housing or replace the entire lock assembly.

A cylinder swap keeps the original housing and only changes the pins inside. A full lock replacement is the simpler path for most cabinets because it takes out the old mechanism and drops in a new one with fresh keys.

The result is the same: the old key no longer turns. For a metal cabinet in an office, this is the quickest way to end access for a departed employee or a lost key.

When should you rekey instead of just replacing the lock?

Rekey when the lock body is sound and only the key set needs to change. Replace the whole lock when the cylinder is worn, the key sticks, or the housing is damaged.

Look at the key first. A key that wobbles or pulls out too easily points to a worn cylinder.

A key that turns hard may only need lubrication. Our guide to how to dispose of metal file cabinets is the better read if the cabinet itself is failing.

If the cabinet is staying, a replacement lock is the low-cost fix. A locksmith can repin an existing cylinder, but that costs more and takes longer than fitting new hardware.

How do you match a replacement lock to your cabinet?

Match the lock to the cabinet's brand, model, and lock type, then check the dimensions against the old lock. A lock made for one brand's series won't fit another brand's housing.

Start with the cabinet label or the model number stamped inside a drawer. Note whether the lock is a cam lock, a plunger lock, or a central locking bar.

Then measure the old cylinder's length and diameter.

Keying matters too. "Keyed different" means each lock has its own key code.

"Keyed alike" means several locks open on the same key. For a single cabinet, keyed different is the usual choice.

Which replacement lock fits Hirsh cabinets?

The Xinafan HI17345 is made for Hirsh Industries file cabinets in the W601 to W650 series. Its cam turns 180 degrees, and the package includes the lock, a spring clip, and 2 nickel-plated keys.

It's keyed different, so each lock carries its own key code. The maker lists cross-compatibility with several other office cabinet brands, but fit still depends on your cabinet's lock type and dimensions.

Check the exact size against your old lock before ordering.

This is the pick when you have a Hirsh cabinet in that series and want the job done in one swap. For other models, keep looking for a lock listed for your cabinet.

What tools do you need to rekey a filing cabinet?

You need a screwdriver, the replacement lock, and a little lock lubricant. A small tray for the screws helps, and so does a flashlight for the space behind the drawer front.

The usual steps are simple. Open the drawer, remove the lock's retaining clip or screw, and slide the old cylinder out from the front.

Fit the new lock, secure the clip, and test the key.

Some cabinets hold the lock with a spring clip; others use a screw through the housing. Check how yours is held before you start pulling.

How does lock lubricant help before the swap?

The 3-IN-ONE Lock Dry Lube is a clear, quick-drying spray for stuck and stiff locks. Its straw reaches into narrow keyways, and the wider spray covers a whole lock body.

Use it when the old key turns hard or the cylinder won't release. Spray into the keyway, work the key a few times, and wipe off any excess.

The maker says the formula is safe on metal, wood, and most plastic surfaces.

Keep it away from clear polycarbonate and polystyrene. A dry film leaves less grit than oil, which matters on a lock you'll reuse.

This is the pick when the old lock is stiff but still serviceable.

How do you remove the old filing cabinet lock?

Open the drawer and take out the retaining clip or screw that holds the lock. Then pull the cylinder forward out of the drawer front.

Work with the drawer open so you can see the back of the lock. A spring clip sits in a groove on the cylinder; squeeze or pry it free and keep it.

If a screw holds the housing, back it out slowly.

Don't force a stuck cylinder. Spray lock lubricant into the keyway and let it sit, then try the key again.

A cylinder that still won't move may need the housing loosened first.

How do you install the new lock and test it?

Slide the new lock into the opening, fit its clip or screw, and turn the key through a full cycle. Then close and open every drawer the lock controls.

Check that the cam lines up with the drawer's locking bar. A cam at the wrong angle leaves the drawer unprotected even when the key turns.

The Xinafan lock uses a 180-degree cam, so confirm yours matches the old lock's swing.

Test each drawer twice. Then try the old key; it should not turn at all.

Keep the spare key in a safe place and collect any other copies.

How do you keep access under control after rekeying?

Hand out only the new keys and keep a written list of who has one. A short access log stops a forgotten copy from turning up later.

Decide who needs a key at all. In a shared office, a central locking key for one manager is often enough.

For a home office cabinet, keep one key on your ring and one spare in a locked drawer or safe.

If a key goes missing again, repeat the swap rather than waiting. A keyed-different lock means a fresh key code with each replacement.

Can the drawer rails matter when you rekey?

The Epakh Metal Adjustable File Cabinet Rails set is a 12-piece kit with 4 hanging rails and 8 rail clips. The rails measure about 15.75 inches long, and the kit suits metal drawers.

It's a useful add-on when the drawers are coming out for the lock job and the folder rails are loose or missing. The maker notes the parts fit metal rails directly; a wooden cabinet needs separate rails.

Measure your drawer before buying.

How do you anchor the cabinet so the new lock stays secure?

Bolt the cabinet to the wall or floor so a locked drawer can't be tipped or dragged. A lock only protects what stays in place.

A tall vertical cabinet that isn't anchored can tip when a top drawer is pulled open. Fit a wall strap or bracket at the top, then check the cabinet sits level.

Our guide to how to anchor a file cabinet to the wall walks through the bracket types and drill points.

Pick a cabinet for the room before you spend on locks. Our roundup of vertical filing cabinets covers models that suit a home office.

Is a locked filing cabinet enough to protect documents?

No, a lock stops casual access but doesn't keep out water or fire. Rekeying only changes who can open the drawer.

Water is the more common risk. A pipe leak or a wet floor can soak paper through the drawer gaps.

Our post on whether filing cabinets are waterproof explains what a metal cabinet actually keeps out.

If the papers matter, store the most important documents in a fireproof safe and use the cabinet for working files. Rekeying is about access control, not document protection.

How do you handle an old cabinet you're replacing?

Rekey only what you're keeping; if the cabinet is going, plan its removal first. An old cabinet with a stuck lock is easier to move when the drawers are empty and secured.

Remove the drawers or tape them shut so they don't slide during the move. For a metal cabinet, check local rules for scrap or bulky-item pickup before you set it at the curb.

The disposal guide above covers the options.

If you keep the cabinet, a fresh lock and a tidy set of rails make it usable again. Rekeying a filing cabinet is a small job with a clear payoff: the old key stops working and you know exactly who holds the new one.

For anyone asking how to rekey a filing cabinet cheaply, the answer is the same. Buy a replacement lock matched to your cabinet, fit it in minutes, and test every drawer before you hand out keys.

A keyed-different lock with two keys covers most home and office cabinets, and a quick spray of dry lube keeps it turning smoothly.

Frequently asked questions

Can I rekey a filing cabinet without a locksmith?

Yes, if you replace the lock rather than repinning it. A replacement lock for your cabinet model swaps in with basic tools in a few minutes.

A locksmith is the better call when the cabinet is part of a master key system or you need every drawer on one key.

How much does it cost to rekey a filing cabinet?

A replacement lock is a low-cost hardware item; a locksmith visit costs more and varies by area. Replacing the lock yourself keeps the job in the budget range.

Ask for a quote first if the cabinet has several drawers on one lock.

Will a replacement lock fit my cabinet brand?

Only if the lock matches your cabinet's model and lock type. The Xinafan HI17345 is made for Hirsh Industries W601 to W650 series cabinets.

For other brands, measure the old lock and confirm the fit before ordering.

What should I do with the old keys after rekeying?

Keep one set as a spare in a safe place and stop using the rest. Collect keys from anyone who had access.

An old key that still turns means the cylinder wasn't fully replaced or a second lock is still in place.

Does rekeying a filing cabinet damage it?

No, when you remove and refit the lock as the hardware directs. Avoid forcing the cylinder or prying the housing.

If the old lock is stuck, soften it with lock lubricant and try again before applying more force.