The filing cabinet in the corner will not lock, and the papers inside need to stay put when the room is shared. Types of file cabinet locks come down to how they hold the drawers: a cam lock turns a tongue behind the drawer front, a locking bar drops across all the drawers at once, and a combination lock opens with a code instead of a key. The sections below explain each type, how to measure for it and which lock fits which cabinet.
OfficeKitHQ earns a commission when you buy through links on this page, at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Affiliate disclosure.
The quick answer: types of file cabinet locks
A cam lock suits one drawer or cabinet door: it turns a metal tongue behind the front to hold it shut. A locking bar suits a whole cabinet: one bar drops across every drawer and takes a padlock. A combination lock suits a cabinet that several people open, since it needs a code and no key. Measure the door thickness and the locking distance before you buy, and match the lock to the cabinet it must fit.
Cam locks
A cam lock is a small cylinder with a key and a flat metal tongue, called a cam, on the back. Turning the key rotates the tongue behind the drawer front or the cabinet frame, and the tongue holds the drawer shut. The inBovoga cam locks (on Amazon) turn 90 degrees and the key comes out after unlocking. Cam locks fit filing cabinets, mailboxes, drawers, toolboxes and RV doors, and they install on metal or wood panels. Check the locking length and the door thickness first: the inBovoga lock lists a maximum locking length of 5/8 in and a maximum door thickness of 0.48 in.
Locking bars
A locking bar is a long steel bar that mounts beside the drawers and drops across all of them at once. Close the bar, lower the handle and insert a padlock to lock the whole cabinet. The Guardianite bar fits 4-drawer file cabinets, mounts to the 1/2 in frame around a metal cabinet, and reverses for left or right mounting. A spring-loaded hinge holds the bar open while the drawers are used, so it stays out of the way until the end of the day. The bar is 46.0 in long, so check the space beside the cabinet before you buy.
Combination locks
A combination lock opens with a code, so no key is needed and no key can be lost. It suits a cabinet that several people open, since the code can be shared without cutting extra keys. The Coipdfty combination lock (on Amazon) is made for refrigerator cabinets and drawers, not file cabinets, so check what the lock is made for before you buy it for a filing cabinet.
How to measure for a file cabinet lock
Measure the door thickness and the locking distance before you buy. The locking distance is the space from the front of the door to the part the tongue must catch behind it. The inBovoga lock lists a maximum locking length of 5/8 in, a maximum door thickness of 0.48 in and a keyhole diameter of about 0.7 in. A replacement lock must match the cabinet it replaces: the Xinafan lock (on Amazon) is made for Hirsh HI17345 cabinets and the W601-W650 series, and it installs in less than 5 minutes with basic household tools. Measure the cabinet, match the lock to the measurements, and keep the keys where they can be found.
The locks for the job
Measure the door thickness and the locking distance first, then pick the lock below that matches the cabinet: a cam lock for one drawer, a replacement lock for a Hirsh cabinet, a bar for a 4-drawer cabinet, or a combination lock for shared use.
| # | Product | Office Score | Buy |
|---|---|---|---|
| 1 | Guardianite Locking Bar | 9.7/10 | Buy on Amazon |
| 2 | inBovoga 5/8 Cam Lock | 9.7/10 | Buy on Amazon |
| 3 | Xinafan HI17345 Lock | 9.6/10 | Buy on Amazon |
| 4 | Coipdfty Combination Lock | 9.5/10 | Buy on Amazon |

Guardianite Locking Bar
A 16-gauge steel locking bar for 4-drawer file cabinets with a cobalt drill bit included and a 1-year manufacturer warranty.
Pros
- 16-gauge steel bar with a beige powder coat finish
- Fits 4-drawer file cabinets and mounts to the 1/2 in frame
- Cobalt drill bit included for drilling through hard metals
- Full 1-year manufacturer warranty with refund or replacement
Cons
- Padlock not included
- Made for 4-drawer cabinets, so other sizes need a different bar
- 46.0 in long bar needs clear space beside the cabinet
- Warranty covers US only
Detailed Review
Guardianite lists a 16-gauge steel locking bar for 4-drawer file cabinets with a beige powder coat finish. The bar mounts to the 1/2 in frame around a metal file cabinet, reverses for left or right mounting, and a cobalt drill bit is included. The bar is 46.0 in long, and the spring-loaded hinge holds it open while the drawers are used. A padlock is not included. The maker gives a full 1-year manufacturer warranty, US only, with refund or replacement.
Who it's for: someone who wants to lock all the drawers of a file cabinet with one bar and already owns a padlock. Who should skip it: anyone without a padlock, or with a cabinet other than a 4-drawer metal file cabinet.
Its Office Score of 9.7/10 comes from performance 29/35, build 22/25, value 20/25, safety not scored (non-powered gear) and warranty 3/5: 74 of 90 points, placed on our 9.2 to 9.8 scale.
Key Specifications
| Material | 16-gauge steel |
|---|---|
| Fits | 4-drawer file cabinets |
| Length | 46.0 in |
| Warranty | 1-year manufacturer warranty |
Figures as published on the retailer listing, collected 13 November 2026. Performance figures are manufacturer rated.
Safety and Warranty
What this listing states. This product does not plug in or run on a battery, so safety is not part of its score. Full 1-year manufacturer warranty with refund or replacement (US only). It does not say everything a buyer needs, such as who pays return shipping, so warranty scores 3 of 5. See How We Pick.
Anchor it. Anchor tall bookshelves and file cabinets to the wall with the supplied hardware or an anti-tip kit, load the lowest shelves and drawers first, and open one drawer at a time.
This is general buying information, not professional advice. Follow each product manual and local rules, and see our Safety Disclaimer.

inBovoga 5/8 Cam Lock
A 2-pack of keyed-alike 5/8 in cam locks in zinc alloy with 4 keys and 2 locking plate shapes, for filing cabinets, mailboxes, drawers and toolboxes.
Pros
- 2-pack keyed alike: 4 keys open all locks
- Zinc alloy with chrome plating for rust resistance
- Maximum locking length 5/8 in and door thickness up to 0.48 in are stated
- 2 different shapes of locking plate are included
Cons
- No warranty term is stated
- Maximum door thickness of 0.48 in limits fit on thicker doors
- Keyed alike, so one key opens every lock in the set
- Keyhole diameter of about 0.7 in needs a matching hole in the door
Detailed Review
inBovoga lists a 2-pack of 5/8 in cam locks in zinc alloy with a chrome-plated surface, keyed alike so 4 keys open all locks. The maximum locking length is 5/8 in (16mm), the maximum door panel thickness is 0.48 in (12.19mm), and the keyhole diameter is about 0.7 in (18mm). The package holds 2 standard locking plates and 2 spare latches, and the key can be removed after unlocking at 90 degrees. The part number names both 5/8 in and 1-1/8 in, while the size field and bullets describe the 5/8 in lock. No warranty term is stated.
Who it's for: someone replacing a cam lock on a filing cabinet, mailbox, drawer or toolbox who wants one key for every lock. Who should skip it: anyone with a door thicker than 0.48 in or who needs a separate key for each cabinet.
Its Office Score of 9.7/10 comes from performance 30/35, build 21/25, value 22/25, safety not scored (non-powered gear) and warranty 0/5: 73 of 90 points, placed on our 9.2 to 9.8 scale.
Key Specifications
| Locking length | 5/8 in (16mm) |
|---|---|
| Max door thickness | 0.48 in (12.19mm) |
| Keyhole diameter | About 0.7 in (18mm) |
| Keys | 4 keys, keyed alike |
Figures as published on the retailer listing, collected 13 November 2026. Performance figures are manufacturer rated.
Safety and Warranty
What this listing states. This product does not plug in or run on a battery, so safety is not part of its score. No warranty term, so warranty scores zero. See How We Pick.
Anchor it. Anchor tall bookshelves and file cabinets to the wall with the supplied hardware or an anti-tip kit, load the lowest shelves and drawers first, and open one drawer at a time.
This is general buying information, not professional advice. Follow each product manual and local rules, and see our Safety Disclaimer.

Xinafan HI17345 Lock
A keyed-different replacement lock for Hirsh HI17345 cabinets and the W601-W650 series, with hardened steel bolts, a brass tumbler and 2 keys.
Pros
- Keyed different: each lock has its own distinct key code
- Hardened steel locking bolts and a brass tumbler mechanism
- Fits Hirsh HI17345 cabinets and the W601-W650 series without structural changes
- Installs in less than 5 minutes with basic household tools
Cons
- No warranty term is stated
- Only one lock per package
- Keyed different, so each cabinet needs its own key
- Sized for Hirsh HI17345 and W601-W650 locks, so other cabinets need the dimensions checked
Detailed Review
Xinafan lists a replacement lock for Hirsh HI17345 cabinets and the W601-W650 series, keyed different so each lock has its own key code. The lock uses hardened steel bolts and a brass tumbler, and the package holds a spring clip, the lock and 2 nickel-plated keys. The listing says installation takes less than 5 minutes with basic household tools, in a two-step process: remove the old lock and insert the replacement. No warranty term is stated.
Who it's for: an office manager replacing a Hirsh cabinet lock who wants each cabinet on its own key. Who should skip it: anyone who needs several locks on one key or a lock for a cabinet outside the Hirsh W601-W650 series.
Its Office Score of 9.6/10 comes from performance 30/35, build 21/25, value 20/25, safety not scored (non-powered gear) and warranty 0/5: 71 of 90 points, placed on our 9.2 to 9.8 scale.
Key Specifications
| Compatibility | Hirsh HI17345, W601-W650 |
|---|---|
| Keys | 2 nickel-plated keys |
| Install time | Less than 5 minutes |
| Package | Lock, spring clip, 2 keys |
Figures as published on the retailer listing, collected 13 November 2026. Performance figures are manufacturer rated.
Safety and Warranty
What this listing states. This product does not plug in or run on a battery, so safety is not part of its score. No warranty term, so warranty scores zero. See How We Pick.
Anchor it. Anchor tall bookshelves and file cabinets to the wall with the supplied hardware or an anti-tip kit, load the lowest shelves and drawers first, and open one drawer at a time.
This is general buying information, not professional advice. Follow each product manual and local rules, and see our Safety Disclaimer.

Coipdfty Combination Lock
A 2-pack of combination refrigerator locks with adhesive plates and no keys needed.
Pros
- Combination lock with no keys to lose
- 2-pack with adhesive plates, no drilling or screws
- High-strength steel wires and combination lock
- Fits refrigerators, cabinets, drawers, closets and more
Cons
- No warranty term is stated
- Adhesive only; cannot replace a keyed cam lock
- Combination must be remembered; no key override stated
Detailed Review
Coipdfty lists a 2-pack of combination locks for refrigerators, cabinets and drawers, with high-strength steel wires and a combination that needs no keys. The lock plates stick on with adhesive, so no drilling or screws are needed, and the combination is set by the user. One contradiction: the spec table lists 3.15 x 6.0 x 1.8 in while the Size line gives 2.75L x 2.75W Inch, so the two figures do not describe the same measurement.
Who it's for: households that want a keyless lock on a fridge or cabinet and dislike carrying keys. Who should skip it: anyone who needs a keyed cam lock for a metal filing cabinet or wants a warranty term.
Its Office Score of 9.5/10 comes from performance 29/35, build 20/25, value 20/25, safety 6/10 and warranty 0/5: 75 of 100 points, placed on our 9.2 to 9.8 scale.
Key Specifications
| Pack | 2-pack, combination, no keys |
|---|---|
| Size | 3.15 x 6.0 x 1.8 in |
| Material | High-strength steel wires |
| Install | Adhesive plates, no drilling |
Figures as published on the retailer listing, collected 6 November 2026. Performance figures are manufacturer rated.
Safety and Warranty
What this listing states. Combination lock with no keys, high-strength steel wires stated, so safety scores 6 of 10. No warranty term, so warranty scores zero. See How We Pick.
Anchor it. Anchor tall bookshelves and file cabinets to the wall with the supplied hardware or an anti-tip kit, load the lowest shelves and drawers first, and open one drawer at a time.
This is general buying information, not professional advice. Follow each product manual and local rules, and see our Safety Disclaimer.
As an Amazon Associate I earn from qualifying purchases.
FAQ
What type of lock does a filing cabinet use?
Most filing cabinets use a cam lock on the drawer front or a locking bar across all the drawers. A cam lock turns a tongue behind the drawer front, while a bar drops across every drawer and takes a padlock. Check which type the cabinet already has before you buy a replacement.
How do I measure for a replacement cam lock?
Measure the locking length and the door thickness. The inBovoga lock lists a maximum locking length of 5/8 in, a maximum door thickness of 0.48 in and a keyhole diameter of about 0.7 in. Match those figures to the cabinet before you buy.
What is the difference between keyed alike and keyed different?
Keyed alike means one key opens every lock in the set: the inBovoga 2-pack comes with 4 keys that open all locks. Keyed different means each lock has its own key code: the Xinafan lock gives each cabinet its own key. Pick keyed alike for convenience and keyed different when each cabinet needs its own key.
Do I need a padlock for a locking bar?
Yes. The Guardianite bar (on Amazon) drops across the drawers and takes a padlock, which is not included. Close the bar, lower the handle and insert the padlock to lock the cabinet.
Can I put a combination lock on a file cabinet?
A combination lock opens with a code and needs no key, but the Coipdfty lock in this guide is made for refrigerator cabinets and drawers, not file cabinets. Check what the lock is made for before you buy it for a filing cabinet.
More for your workspace
See the file cabinet types guide, the file cabinet drawer size guide, the best lockable office storage and all office storage guides.









