How To Change The Code On A Safe: A Step-by-Step Locksmith Guide

How To Change The Code On A Safe: A Step-by-Step Locksmith Guide

How to Change the Recovery Code - Step-by-Step Instructions - Liberty Safe

To change the code on a safe, always begin with the safe door open and the locking bolts fully extended. For electronic safe locks, enter the programming sequence (typically six zeros or a designated master code) followed by your old code and your new six-digit code twice. For mechanical dial safes, align your existing combination on the changing index mark, insert a physical change key into the back of the lock, and dial your new combination before removing the key.


Pre-Programming Security Protocols and Lock Identification

Changing the combination or code on a safe is a fundamental maintenance task that preserves the integrity of your security system. Whether you are managing a commercial depository safe, a home gun safe, or a high-security jewelry safe, resetting access codes prevents unauthorized access after personnel changes or suspected credential leaks. Before attempting to reprogram any safe lock, you must identify its mechanism and gather the correct instruments.

Safe locks generally fall into two categories: electronic digital locks (such as those manufactured by SecuRam, Sargent & Greenleaf, or La Gard) and mechanical dial locks (such as S&G 3-wheel combination locks). Attempting to change a safe code without proper preparation can result in a permanent, expensive lockout requiring destructive entry by an Underwriters Laboratories (UL) certified locksmith.



Mandatory Pre-Operation Checklist



  • Lock Mechanism Type: Identify if the lock is an electronic keypad (solenoid or motor-driven) or a mechanical dial (Group 2 or Group 2M).
  • Essential Equipment & Tools:

    • For Electronic Locks: A fresh, brand-name 9V industrial alkaline battery (Duracell or Energizer, non-rechargeable).
    • For Mechanical Locks: A specific L-shaped change key compatible with your dial model (typically a 3-wheel S&G or La Gard change key).
  • Safety Prerequisite: The safe door must remain open throughout the entire operation. Never close the safe door until the new code has been successfully verified at least three consecutive times.
  • Time and Budget Benchmarks:

    • Electronic reprogramming: 5–10 minutes; Cost: $0 (excluding battery replacement).
    • Mechanical reprogramming: 15–30 minutes; Cost: $10–$20 for a change key if not already owned.

Mastering the Re-programming Sequences for Electronic and Mechanical Safes

The programming sequence varies significantly depending on whether your safe utilizes a modern digital touchpad or a traditional hand-dialed mechanical wheel pack. Follow the precise operational path for your specific lock type below.



Section A: Electronic Digital Safe Locks

Most commercial and residential digital safes utilize standard programming logic developed by industry-leading manufacturers. The processes below outline the exact keypad entries required.

Step 1: Secure the Open Position and Verify Power

Swing the safe door to a fully open position. Turn the handle to extend the locking bolts into the locked position while the door remains wide open. This ensures that if a programming error occurs, the locking mechanism is exposed and can be serviced. Install a brand-new 9V battery to prevent power failure mid-sequence, which can corrupt the lock’s non-volatile memory.

Step 2: Initialize Program Mode on Standard Keypads (SecuRam / La Gard / NL Lock)

On most industry-standard keypads, the programming cycle begins with a series of zeros.



  1. Press 0 six times (0-0-0-0-0-0).
  2. The keypad will emit a double beep, indicating that the system is ready to accept code changes.
  3. Immediately enter your current active six-digit user code. The lock will beep twice.

Pro-Tip: If the keypad emits a sharp, continuous triple-beep or a long red flash, the lock has rejected the programming command. This means you have either entered an invalid old code or the lock is in a temporary penalty lockout state due to previous incorrect attempts. Wait five minutes and try again.

Step 3: Input and Validate the New Six-Digit Code

Once the old code is validated:



  1. Enter your new chosen six-digit combination. The keypad will beep twice.
  2. Enter the exact same new six-digit combination a second time to verify.
  3. The keypad will emit a final, distinct double beep (or show a green light flashing twice) to confirm the code change is successful and stored in memory.

Step 4: Program S&G Pivot Bolt or Spartan Series Locks

Sargent & Greenleaf electronic locks use a slightly different command syntax utilizing the star and pound keys:



  1. Press 22 followed by the star key (*).
  2. Enter your current six-digit code followed by the pound key (#).
  3. Press 1 followed by the star key (*).
  4. Enter your new six-digit code followed by the pound key (#).
  5. Enter your new six-digit code a second time followed by the pound key (#).
  6. Listen for three distinct beeps confirming that the lock has updated its internal EEPROM chip.


Section B: Mechanical Dial Safe Locks (Group 2)

Changing a mechanical combination dial requires a physical "change key." This tool is inserted into the back of the lock housing (located on the inside of the safe door) to disengage the tumblers from their drive pins, allowing them to be set to a new coordinate system.

[Mechanical Dial Index Mark Visualization] | (Changing Index - used ONLY during code updates) \ | (Opening Index - used for normal daily operation)

Step 1: Open the Door and Locate the Changing Index

With the door open and the bolts extended, locate the two index marks on the outer dial ring. The top-center mark is the "Opening Index" (used for normal daily access). To the left of it (usually at about the 11 o'clock position, or approximately 11 degrees apart) is the "Changing Index," which is used exclusively during the combination change process.

Step 2: Dial the Existing Combination onto the Changing Index

You must dial your current combination precisely onto the Changing Index mark. For a standard 3-wheel mechanical lock, execute the following sequence:



  1. Spin the dial to the left (counterclockwise), passing your first number three times, and stop exactly on your first number on the fourth turn at the changing index.
  2. Spin the dial to the right (clockwise), passing your second number twice, and stop exactly on your second number on the third turn at the changing index.
  3. Spin the dial to the left, passing your third number once, and stop exactly on your third number on the second turn at the changing index.

Warning: Do not spin the dial backward to correct an overshoot. If you miss a number even slightly on the changing index, you must restart the entire dialing process from the beginning.

Step 3: Insert the L-Shaped Change Key

Go to the back of the open safe door. Locate the small keyhole on the lock casing.



  1. Insert the short end of the L-shaped change key completely into the keyhole. The key must seat fully until its shoulder is flush with the lock cover plate.
  2. Once fully inserted, rotate the change key 90 degrees counterclockwise (or in the direction indicated by your specific lock manufacturer, usually pointing away from the bolt work). Never force the key; if it does not turn smoothly, your dials are not perfectly aligned on the changing index.

Step 4: Dial the New Combination onto the Changing Index

With the change key turned, the lock’s internal wheels are now disengaged. You will now write your new combination to the wheels by dialing onto the Changing Index:



  1. Spin the dial to the left (counterclockwise) four times, stopping exactly on your new first number on the fourth turn.
  2. Spin the dial to the right (clockwise) three times, stopping exactly on your new second number on the third turn.
  3. Spin the dial to the left (counterclockwise) two times, stopping exactly on your new third number on the second turn.

Step 5: Lock in the New Combination and Remove the Key



  1. Return to the inside of the safe door.
  2. Rotate the change key 90 degrees clockwise (back to its original insertion position).
  3. Carefully pull the change key straight out of the lock housing. The new combination is now mechanically locked into the wheel pack.


Section C: Testing the New Code (The Verification Phase)

Whether your safe is electronic or mechanical, you must perform this verification test.



  1. With the safe door wide open and the locking bolts extended, input your new code or dial your new combination on the Opening Index (the standard 12 o'clock index mark).
  2. Turn the safe handle. The locking bolts must retract fully and smoothly.
  3. Release the handle to re-extend the bolts.
  4. Repeat this test a minimum of three consecutive times.
  5. Only after three successful, error-free tests may you swing the safe door shut and latch it.

Supra C500 Key Safe Change Code at James Goldsbrough blog

Supra C500 Key Safe Change Code at James Goldsbrough blog

Technical Specifications and Security Parameters of Safe Locks

The following technical matrix outlines the comparative operational limits, physical parameters, and default values of the leading high-security safe lock types used across commercial and residential applications.



Lock Category Standard Default Factory Code Programming Instrument Code Length / Dial Configuration Wrong-Try Penalty Duration Security Rating / Certification
S&G 6120 / Pivot Bolt (Electronic) 1-2-3-4-5-6 Keypad commands only 6-digit numeric combination 5 minutes after 3 invalid attempts UL Listed Type 1, VdS Class 1
SecuRam SafeLogic (Electronic) 1-2-3-4-5-6 Keypad commands only 6-digit numeric combination 5 minutes after 4 invalid attempts UL Listed Type 1, CEN/VdS Class B
Sargent & Greenleaf 6730 (Mechanical) 50-25-50 Standard L-shaped change key 3-Wheel (0 to 99 increments) None (mechanical resistance only) UL Listed Group 2, VdS Class 1
La Gard 1947 / 3330 (Mechanical) 10-20-30 La Gard change key 3-Wheel (0 to 99 increments) None (mechanical resistance only) UL Listed Group 2, VdS Class 1
Biometric Hybrid (Electronic/Bio) Factory preset master code Admin fingerprint scan / master key 6-8 digit code or fingerprint 10 minutes after 3 invalid scans UL Listed Type 1 (high-security variants)

Lockout Prevention & Post-Programming Troubleshooting

Operating mechanical and digital safe mechanisms carries a high risk of lockout if the code translation goes awry. Below are the most common real-world failure scenarios along with their diagnostic root causes and steps to resolve them.



Scenario 1: Keypad beeps multiple times but the lock fails to open after code change



  • Root Cause: This is typically caused by a low-voltage condition in the battery or a desynchronization between the keypad and the internal lock solenoid. High-security digital locks require maximum current to drive the locking bolt motor; when voltage drops, the keypad may illuminate and beep, but the motor will fail to retract the bolt.
  • Actionable Fix: Replace the existing battery with a premium 9V alkaline battery (minimum 5-year shelf life, non-rechargeable). Do not use lithium or heavy-duty zinc-carbon batteries, as they do not provide the necessary amperage discharge curve. If the issue persists, enter the programming sequence again using the original default code to see if the update sequence was interrupted and reverted.


Scenario 2: Mechanical dial turns freely after change key insertion, but will not lock in place



  • Root Cause: The change key was not inserted completely into the lock casing, or the dial was not perfectly aligned with the changing index when the key was turned. If the key is rotated when the wheel gates are not aligned, it can bend the lock’s fly pins or fail to capture the keyways.
  • Actionable Fix: Do not turn the dial with force. Gently rotate the change key back to its starting vertical alignment and pull it out. Redial the old combination on the Changing Index (not the opening index), ensuring that every number rests exactly under the index line. Re-insert the change key, push it inward firmly until the key's shoulder rests flat against the metal casing, and attempt the 90-degree turn again.


Scenario 3: The safe door closed and locked before verification, and the new code does not work



  • Root Cause: The door was closed before testing, and either the code was entered incorrectly during the programming phase or a mechanical misalignment occurred.
  • Actionable Fix: Do not panic or try to pry the door open, as this will trigger internal relockers (glass or spring-loaded mechanical blocks) and permanently lock the safe. First, try entering your old combination; occasionally, an incomplete programming sequence defaults the lock back to its previous state. Next, check if your lock has an override key slot behind the keypad. If all electronic or manual attempts fail, do not attempt to drill the safe. Contact an ALOA (Associated Locksmiths of America) certified safe technician to identify the exact drilling coordinates to bypass the lock using a professional borescope.

Frequently Asked Questions



How often should I change my safe's entry code?

High-security best practices dictate changing commercial safe codes every six months, or immediately following any personnel changes or keyholder transitions. For residential gun or document safes, codes should be updated at least once a year to mitigate the risk of combination wear patterns appearing on keypads or dials.



What is a change key and do all mechanical safes use them?

A change key is a precision-engineered metal tool designed to bypass the mechanical wheel pack inside a combination safe lock. Almost all Group 2 and Group 1 mechanical safes (such as S&G, La Gard, and Yale) require a change key to reprogram the combination; you cannot change a mechanical combination dial through external dial spinning alone.



Why does my electronic safe beep three times and refuse to open?

Three consecutive beeps on a digital keypad generally indicate an invalid entry or that the lock is in a temporary lockout penalty mode due to multiple wrong combination entries. Wait at least five to ten minutes without touching any keys to allow the lockout timer to clear, then enter the correct code.



Will losing power or changing the battery erase my safe's code?

No, modern electronic safe locks store your user and master codes in non-volatile memory (EEPROM). This memory retains the programmed codes indefinitely without any electrical power. Your code will remain safely written in the lock's microchip even if the battery is removed for months.

Secure Your Valuables with Professional Safe Services

If you run into issues during the code changing process or need professional hardware maintenance, contact our certified safe locksmith team today to ensure your high-security assets remain fully functional and protected. We provide precision diagnostic testing, mechanical combination changes, and digital lock upgrades for all major safe brands.


How to Change the Door Code on a Schlage Lock: Easy Steps

How to Change the Door Code on a Schlage Lock: Easy Steps

Read also: Six Flag Tickets