Skip to content

Updated September 2026

How we rate

Bolt & Vault

The safe desk · Ratings before marketing

Safe Ratings Explained · Guide

Do safes have master codes? What the makers can actually do

The short answer is that a factory override is not a myth, but it is also not the hidden backdoor most people picture. The real question is what a manufacturer keeps on file about your safe, and whether you can make them delete it.

#adReader-supported: we may earn a commission if you buy through our links, at no extra cost to you. It never decides a ranking. How we rate · Disclosure

Macro shot of a metal combination dial and its numbered ring
Illustrative stock photo. It does not show a specific product reviewed on this page.

"Do safes have a master code" is asked by two very different people: someone who has lost their own combination and hopes the answer is yes, and someone who wants to be certain nobody else can open their safe and hopes the answer is no. Both deserve a straight answer, and the honest one has three parts.

Everything below comes from manufacturers' own published material and contemporaneous reporting, linked where it is used and checked 2026-10-10. This page is not a bypass guide and contains no override procedures.

The short answer

Three different things people mean by "master code"

  1. A factory default code. Shipped on the keypad so the safe can be opened on arrival. Change it on day one. If you have never changed yours, that is the single highest-value five minutes available to you today.
  2. A manager or secondary user code. Common on multi-user electronic locks, including commercial designs such as Sargent & Greenleaf's 6600 series. This is a feature, not a backdoor: a code hierarchy you control.
  3. A manufacturer-held record of your combination. Not a code built into the lock, but a database entry. This is the one worth understanding properly.

Dean Safe's comparison of mechanical and electronic locks is a useful background read on how the two lock families differ, and our electronic vs mechanical safe locks comparison covers the trade-offs in detail.

The 2023 Liberty Safe case, and what the policy says now

In August 2023 Liberty Safe provided a customer's access code to the FBI, which generated substantial public criticism — covered at the time by Newsweek among others. Rather than summarize the controversy, it is more useful to read what the company now publishes on its own access code facts page: "In August 2023, Liberty Safe was given a search warrant. Liberty did not provide the customer service code without a warrant. Liberty responded to the warrant that was presented to them. Since then, Liberty Safe has refined its policies about how we handle these codes and how we respond to compulsory demands for information."

Liberty's published conditions for releasing customer information are now specific. In its own words, all of the following must be met:

  • A warrant, subpoena, national security letter, court order or equivalent compulsory process must be "specifically issued to Liberty Safe."
  • For access codes, the compulsory process "must specifically require that Liberty Safe release the combination or access code for a safe identified by its serial number."
  • The requested information "must already exist within our system at the time of the request. If a customer has opted out of our retention of this information, we will be unable to comply."

The same page says Liberty will notify customers of a government or law-enforcement request in advance except where prohibited by law, giving them an opportunity to challenge it, and that it will object to or reject a deficient request. Its fuller law-enforcement information policy is published separately.

We cite Liberty here not to single the company out but because it is the only major maker in our registry that publishes a policy on this at all. The absence of such a page from a competitor is not evidence that it keeps no records.

The practical step: have the record deleted

The third condition above is the actionable one. If the combination is not in the manufacturer's system, there is nothing to hand over. Liberty publishes a combination removal request process for exactly that, and also points customers at instructions for changing the code themselves.

Four things to do with any safe, whatever the brand:

  1. Change the factory code immediately, and do not use a date anyone could guess.
  2. Ask the maker what it retains. A direct question to support, in writing, is the only reliable way to find out.
  3. Request deletion if a removal process exists, and keep the confirmation.
  4. Record the combination yourself, somewhere secure and off-site, because once the maker has deleted it, a forgotten code becomes a drilling job. Our dead-battery and lockout guide covers the recovery routes.

Locks that store nothing, anywhere

There is a category of lock with no electronics, no stored code and no manufacturer record: mechanical push-button and dial locks. The Fort Knox Original Pistol Box uses a Simplex mechanical push-button lock with over 1,000 possible combinations and no batteries. The V-Line Top Draw XD uses a genuine Simplex five-button mechanical lock, and V-Line's Desk Mate page puts it plainly: "No keys to lose or batteries to change." On full-size and home safes, the AMSEC BF1512 ships with a mechanical key-locking, spy-proof dial as standard, with electronic locks as options.

The trade is real and worth stating: you set a mechanical combination yourself, nobody else holds it, and if you forget it there is no customer-service route at all. That is the price of there being no record to subpoena. Our gun safes with mechanical locks roundup and best mechanical pistol safes list the models that offer one.

Three safes with no stored code

Our picks for this

Mechanical locks, no records kept

Two Simplex push-button boxes and a home safe with a mechanical dial as standard. In all three, the combination exists only in the lock and in your head.

  • Fort Knox Original Pistol Box

    Best mechanical pistol box

    Fort Knox Original Pistol Box

    Access box8.8/10

    The heavy-steel mechanical pick: a Simplex push-button lock with no batteries, a maker-stated 10-gauge body and 3/16-inch door, a CA DOJ roster listing and a limited lifetime warranty.

    $299.00Amazon

    #ad · Price as of October 19, 2026 · Disclosure for the link to Fort Knox Original Pistol Box

  • V-Line Top Draw XD (2912-S BLK XD)

    Best mechanical box for two handguns

    V-Line Top Draw XD (2912-S BLK XD)

    Access box8.3/10

    A USA-made top-opening box for up to two handguns with a five-button Simplex mechanical lock, 16-gauge steel, an internal lock cover and a CA DOJ approval stated by the maker and shown on the state roster.

    Check price · Amazon

    #ad · Price as of October 19, 2026 · Disclosure for the link to V-Line Top Draw XD (2912-S BLK XD)

  • American Security (AMSEC)No image

    Best UL burglary and fire-rated home safe

    AMSEC BF1512

    UL RSC7.1/10

    Carries both a UL RSC Level I burglary rating and a 60-minute, 1,700°F fire rating the maker attributes to UL, built around a 1/2 in steel plate door; a dealer-sold benchmark, not an Amazon buy.

    Check price · Amazon

    #ad · Price as of October 19, 2026 · Disclosure for the link to AMSEC BF1512

What to ask before you buy

  • Does this model ship with a factory code, and how do I change it?
  • Do you retain my combination or access code, and for how long?
  • Is there a process to have it deleted, and will you confirm deletion in writing?
  • If I forget the code, what is the recovery route, and what does it cost?
  • Is a mechanical lock available as a factory option on this model?

Those five questions tell you more about a manufacturer than any marketing page. A maker that answers them clearly is one worth buying from; our gun safe red flags page covers the other signals worth watching, and how we rate explains why support and transparency carry weight in every score on this site.

How we scored this

Every pick, checked against the paperwork

Here is exactly what goes into a score: whether an independent lab listed the safe (UL for burglary under UL 1037, UL or Intertek for fire), the maker's published steel, lock and bolt-down specs, the owner's manual, a dated CPSC recall search, and a public rubric applied the same way to every safe. Every figure links to where it came from, so you can confirm the pick in a couple of clicks and buy with confidence.

Scores are our editorial judgment of that documented evidence. Commissions never set a score or decide a pick. The rubric and its weights are published.

Questions

Frequently asked

Do gun safes have a master code or backdoor?
There is no universal master code across brands. Many electronic safes ship with a factory default code you are expected to change, and some manufacturers keep a record of your combination against the safe's serial number so they can help if you are locked out. That record, rather than a hidden backdoor, is what can be demanded under legal process.
Did Liberty Safe give the FBI a backdoor code?
Liberty's published account states it was given a search warrant and responded to it, and that it did not provide the customer service code without a warrant. It has since published conditions requiring compulsory process issued specifically to Liberty, naming the safe by serial number, with the information already in its system — and a process for customers to have their code deleted.
Can I stop a safe manufacturer from keeping my combination?
Where the maker offers it, yes. Liberty publishes a combination removal request process and states that if a customer has opted out of retention, it will be unable to comply with a compulsory demand. Ask your own manufacturer in writing what it retains and whether deletion is available, and keep your own secure record of the code first.
Which safe locks have no stored code at all?
Mechanical ones. Simplex push-button locks, like those on the Fort Knox Original Pistol Box and the V-Line Top Draw XD, and mechanical dial locks, like the one fitted as standard to the AMSEC BF1512, hold the combination in the mechanism alone. Nobody has a record, which also means nobody can help you if you forget it.

Keep reading

Receipts

Sources

  1. Liberty Safe — Liberty Safe, Access Codes, and the FBI: The Facts (checked 2026-10-10)
  2. Liberty Safe — combination removal request process (checked 2026-10-10)
  3. Liberty Safe — policy for FBI and law-enforcement information demands (checked 2026-10-10)
  4. Newsweek — Liberty Safe responds to backlash over FBI code (2023 reporting)
  5. Sargent & Greenleaf — 6600 series electronic lock, multi-user code structure
  6. Dean Safe — Lock logic: mechanical vs electronic locks
  7. Fort Knox — Original Pistol Box product page, Simplex mechanical lock (checked 2026-10-10)
  8. V-Line Industries — Top Draw XD product page, Simplex five-button mechanical lock (checked 2026-10-10)
  9. American Security — BF1512 product page, mechanical spy-proof dial standard (checked 2026-10-10)

Every figure above is traceable. Ratings come from the listing body or the maker's own spec pages (linked on every product), recall status from dated CPSC searches, and law summaries from official sources. Prices come live from Amazon so the number you see is the number you pay. Read the full method.

More in Safe Ratings Explained