Guide

How to Reset a Safe Code on a Digital Keypad Safe

Resetting a safe code takes about a minute. Finding out how your safe wants it done takes longer. One maker wants a program button, another a red button inside the door, a third a string of keypresses. The reset button is never on the outside. That isn't an oversight. It's the security model, hiding in plain sight.

Short answer: How to reset a safe code on a digital keypad: open the safe first, then follow your manual's change procedure. Most makers use one of three methods — a program button plus the factory code, a reset button inside the safe, or a keypad sequence plus the current code. Enter the new code twice, then test it several times with the door open before you close it. If you don't know the current code, the reset has to start from the backup: a factory code, an override key or the manufacturer.

This page covers electronic keypad codes. Mechanical dial combinations are a different procedure — see how to change a safe combination. For choosing a keypad safe in the first place, see our digital safes page.

How to reset an electronic safe code: the three methods makers use

I read the code-change pages of four manufacturers' documents. They split into three groups.

1. Program button plus factory code (SentrySafe Fire-Safe). The manual describes a factory code, a user code and an optional secondary code. To add a user code, press the "P" key, enter the 5-digit factory code from the back of the owner's manual, then enter your new 5-digit code. The secondary code needs the user code first.

2. Reset button inside the safe (First Alert, SentrySafe pistol safes). The First Alert 5200DF guide puts a red reset button on the inside of the safe. Press it, enter a new 4–8 digit passcode, press it again, re-enter the passcode and press it once more. Green means the codes matched; red means they didn't, and the old code stays. SentrySafe's QAP pistol safe manual puts its reset button behind the battery pack, inside the safe. Hold it until the keypad flashes three times, then enter a 4–6 digit code.

3. Keypad sequence plus current code (Liberty SecuRam, LaGard). Liberty's BackLit SecuRam video does it from the keypad with the door open: a special change sequence, the current code, then the new code twice. A LaGard instruction sheet works the same way. Both locks confirm a good entry with two beeps and reject a bad one with three.

Different buttons, one rule: the door is open first. Every reset I read starts from inside, or from a code you already know.

How to change code on a safe digital keypad without locking yourself out

The step people skip is the test. Each manual repeats it in its own words.

  • The SentrySafe T8-331 manual: "Test first with door open."
  • The LaGard sheet: test the new code several times before closing the door.
  • Liberty's video: enter the new code and listen for two beeps before you close up.

The SentrySafe Fire-Safe manual adds a trap. After deleting a code, the lock does not confirm it. Test that the old code no longer works.

Write the new code down and store it away from the safe. First Alert's guide includes a Safe Identification Record page for exactly that. SentrySafe offers online code storage for registered safes.

(Every one of these manuals says "test with the door open." I've started reading it in a stern voice.)

How to set a digital safe code you'll actually remember, and nobody else will guess

The LaGard sheet says a new code should avoid repeating the same number and avoid simple sequences. Sargent & Greenleaf gives similar advice for dial combinations: no birth dates, house numbers or phone numbers. The same logic holds for keypads.

Length depends on the lock. The manuals above range from 4 to 8 digits on First Alert, 4 to 6 on the SentrySafe QAP, 5 on the SentrySafe Fire-Safe, and 6 to 9 on the LaGard sheet. Use the longest the lock allows that you can still enter under stress.

Electronic digital safe default code: change it first

Many safes ship with a factory or default code. This page doesn't list them, and you shouldn't rely on anyone who does. They behave differently by maker:

  • Liberty says to change the BackLit lock's default user code as soon as the safe goes into service.
  • First Alert says that once you program a personal passcode on the 5200DF, the factory pre-set code no longer opens the safe.
  • SentrySafe Fire-Safe and T8-331 models use a factory code unique to the safe, printed on the manual. The Fire-Safe manual says it always opens the safe and cannot be deleted.

That last point changes how you store paperwork. On those models, the manual itself is a working key. Keep it where you'd keep a key.

How to reset a gun safe code, and codes with manager levels

Some gun safe locks have two levels of code. Liberty's ProLogic lock uses a manager code that can add user codes and also opens the lock. It is changed through the lock's on-screen system menu, and Liberty's first step is to replace the factory manager code before adding any user codes. Liberty's own page says electronic lock owners can change their combinations themselves. Liberty also keeps a recovery code for its SecuRam locks, available to owners through its request form.

If your gun safe has a manager code, change both. A new user code with the factory manager code still in place leaves a second way in that you didn't choose.

How to reset a safe code with the key, without the key, or without the code

You know the code, but the key is gone. Open the safe with the code and reset as normal. Then order a replacement key; see how to open a safe without a key.

You have the override key, but no code. The QAP manual says the override key opens the safe if you've lost your code. Once it's open, reset the code from inside.

You have neither. There is no legitimate reset from outside a locked safe. The manufacturer can help once you prove ownership. SentrySafe's replacement program lists a non-refundable charge and up to 7–10 business days. Honeywell's FAQ asks for a copy of your picture ID plus a receipt or a notarized form. Otherwise, call a licensed safe technician; our locked out of a safe guide covers how to choose one.

Electronic digital safe battery replacement: does it wipe the code?

It depends on the model, so read the battery section before you swap.

  • SentrySafe QAP1BE/QAP1E: user codes and fingerprints are not erased when battery power is removed.
  • Liberty BackLit SecuRam: Liberty's battery video shows the existing code opening the lock after the change.
  • SentrySafe T8-331: the optional passcode has to be re-programmed after a battery change, and the manual says to use the factory code to open the safe when changing batteries.

For SentrySafe specifics, see our Sentry battery guide.

Here's the catch: a reset doesn't remove every way in

You changed the code. Good. But on many safes, the code was never the only way in.

The override key still opens the First Alert and SentrySafe QAP safes. The factory code on the SentrySafe Fire-Safe still opens it, and the manual says you can't delete it. A Liberty recovery code sits with Liberty. None of these is a flaw. They are how owners get back in. But they mean a new code doesn't lock out anyone who has your old manual or a spare key.

If you're resetting because someone else had access — a former roommate, a previous owner — the code is step one. The key and the manual are steps two and three. Ask the manufacturer whether a lock or key change is available for your model.

Skip it if: when you don't need a code reset

That's the procedure. Open the door, follow your manual's method, enter the new code twice and test it three times before you shut anything. Then put the manual, the override key and the new code somewhere that isn't the safe, and take the old code off the sticky note.

Where to look next

Questions people ask about how to reset safe codes

How do you reset an electronic safe code?

With the safe open, follow your manual's change procedure: usually a program or reset button, or a keypad sequence, followed by the current or factory code and then the new code entered twice. Test the new code several times with the door open before you close it.

How do you reset a safe code without the key?

If you know the current code, you don't need the key: open the safe and reset the code from inside. If you have neither the code nor the key, contact the manufacturer with the model and serial number and proof of ownership, or use a licensed safe technician.

How do you reset a safe code with the key?

On models with an emergency override key, use the key to open the safe, then follow the manual's reset steps from inside. SentrySafe's Quick Access Pistol Safe manual, for example, places the reset button behind the battery pack and names the override key as the way in if the code is lost.

What is the default code on an electronic digital safe?

Factory codes differ by manufacturer and model, and some are unique to each safe and printed in its manual. Manufacturers such as Liberty Safe advise changing a default code as soon as the safe goes into service. Check your manual and change it before you store anything.

Does changing the batteries reset the code on a digital safe?

It depends on the model. SentrySafe's QAP1BE/QAP1E manual and Liberty's BackLit SecuRam video show codes surviving a battery change, while the SentrySafe T8-331 manual says its optional passcode must be re-programmed afterward.

Sources

  1. SentrySafe Fire-Safe Owner's Manual (P44621) — accessed 2026-10-12
  2. SentrySafe owner's manual (P56435, T8-331 security safe) — accessed 2026-10-12
  3. SentrySafe Quick Access Pistol Safe QAP1BE / QAP1E Owner's Manual (P56411) — accessed 2026-10-12
  4. First Alert 5200DF Owner's Guide — accessed 2026-10-12
  5. BackLit SecuRam: Change Your Code | Liberty Safe — accessed 2026-10-12
  6. BackLit SecuRam: Overview and Open | Liberty Safe — accessed 2026-10-12
  7. BackLit SecuRam: Change Battery | Liberty Safe — accessed 2026-10-12
  8. ProLogic SecuRam: Change Manager Code | Liberty Safe — accessed 2026-10-12
  9. How to Change the Recovery Code | Liberty Safe — accessed 2026-10-12
  10. Can I Change the Combination on My Safe Lock? | Liberty Safe — accessed 2026-10-12
  11. Battery & Combination Changes, La Gard Electronic Locks (instruction sheet published by safes.co.nz) — accessed 2026-10-12
  12. Lost Safe Key or Combination | Customer Support | SentrySafe | Master Lock — accessed 2026-10-12
  13. Products FAQs | Honeywell Safes — accessed 2026-10-12