How To Reset The Door Code On A Ford F-150: Step-by-Step Programming Guide

How To Reset The Door Code On A Ford F-150: Step-by-Step Programming Guide

Ford F-150 Code P0022: What It Is And How To Fix It

To reset the door code on a Ford F-150, you must first locate your 5-digit factory master code, which is permanently hardcoded into the vehicle's Body Control Module and cannot be deleted. Once you have this master code, you can program a new personal custom door code or erase existing user codes using either the driver-side door keypad or the Ford SYNC infotainment touchscreen. Understanding this dual-layer system ensures you can change entry permissions instantly while maintaining the vehicle's permanent recovery key.


Preparing to Update Your F-150 SecuriCode: What You Need Before Starting

Before attempting to change or clear the keyless entry codes on your Ford F-150, you must understand how Ford's SecuriCode system is engineered. The system runs on a two-tiered hierarchy: the Factory Master Code and the Personal User Codes.

The Factory Master Code is programmed into the Body Control Module (BCM) or Smart Junction Box (SJB) at the assembly plant. This code is permanent; it cannot be deleted, overwritten, or modified. Even if you perform a hard battery disconnect or system reset, the factory master code remains operational.

Personal User Codes are secondary codes that you program to sit on top of the master code. When you "reset" the door code, you are actually clearing these secondary, custom codes and replacing them with your own.



Pre-Programming Checklist



  • Required Master Code: You must have the 5-digit Factory Master Code. If you do not have it on the wallet card in your owner’s manual, you must retrieve it using one of the methods detailed below.
  • Physical Key Requirements: For the electronic cluster retrieval method, you need two programmed, functional ignition keys or intelligent access key fobs.
  • Flashlight or Smart Device Camera: Essential if you must physically locate the BCM label behind the passenger-side kick panel or behind the rear cab seat.
  • Time Required: 5 to 15 minutes.
  • Project Cost: $0 (DIY) compared to a $75–$150 dealership diagnostic fee.

Step-by-Step Instructions to Program and Reset Your F-150 Keypad Code



Step 1: Retrieve Your 5-Digit Factory Master Code

You cannot reprogram your keypad without first verifying your factory master code. If you do not have the factory code card, use one of these three primary recovery methods.

Method A: The Two-Key Retrieval (For models with physical ignitions or push-button starts)



  1. Insert the first programmed ignition key into the ignition switch and turn it to the ON position (RUN), but do not start the engine. Keep it in this position for 3 to 5 seconds.
  2. Turn the ignition to OFF, remove the first key, and insert the second programmed key.
  3. Turn the second key to the ON/RUN position within 10 seconds of removing the first key.
  4. Watch the information display screen in the instrument cluster. The 5-digit factory master code will display for several seconds before disappearing.
  5. For push-button start models: Place the first active smart fob into the backup slot (usually located in the center console utility tray, cup holder, or under the rubber mat). Press the Start/Stop button once without pressing the brake pedal. Wait 5 seconds, press Start/Stop to turn it off, remove the first fob, place the second fob in the slot, and press Start/Stop again. The master code will display on the instrument cluster screen.

Method B: Physical Inspection of the Body Control Module (BCM)

If you do not have two programmed keys, you must read the physical label on the BCM.



  • For 2015–Present F-150 Models: The BCM is located in the front passenger footwell, behind the kick panel cover. Remove the plastic trim panel carefully. Use a flashlight or your phone's front-facing camera to locate the white sticker on the fuse box casing. The sticker contains a barcode along with a 5-digit code printed in bold font above or below the barcode.
  • For 2009–2014 F-150 Models: The BCM is located in the passenger footwell area on the right sidewall. Locate the label on the module casing containing the 5-digit code.
  • For 2004–2008 F-150 Models: The Vehicle Security Module (VSM) is mounted on the back wall of the cab, behind the rear seat backrest. You must release the seatback latches, fold down the seat, and locate the module to read the label.


Step 2: Clear Existing Custom Personal Codes

To ensure unauthorized users no longer have access, clear all previous personal codes from the system's non-volatile memory.



  1. Enter the 5-digit factory master code using the door keypad. Press each button firmly and within five seconds of the last press.
  2. Within five seconds of entering the final digit of the master code, press and release the 1•2 button on the keypad.
  3. Within five seconds, press and hold the 1•2 button for at least two seconds.
  4. The door locks will cycle (lock and then unlock) to confirm that all personal custom codes have been successfully erased. The keypad backlighting will flash to verify the command.


Step 3: Program a New Personal Custom Door Code

Once the system memory is cleared of old custom codes, you can program your new 5-digit sequence.



  1. Enter the 5-digit factory master code.
  2. Within five seconds of entering the final digit, press the 1•2 button on the keypad. The keypad backlighting will illuminate, signaling that the system is in programming mode.
  3. Enter your new, desired 5-digit personal code. Avoid easily guessed sequences like 1-3-5-7-9 or 9-7-5-3-1, as well as repeating numbers like 3-3-3-3-3.
  4. Within five seconds of entering your fifth digit, press and release the 1•2 button to save the code for Driver 1 profile.
  5. The door locks will cycle (lock and then unlock) once to confirm your custom code has been programmed and assigned to Driver 1.
  6. Optional: To program a second custom code for Driver 2, repeat steps 1 through 3, but in step 4, press the 3•4 button instead. The locks will cycle to confirm.

Warning: Do not pause for more than five seconds between button presses during this procedure. If the system detects a pause longer than five seconds, the programming session will time out, the keypad lights will shut off, and you will have to start the sequence over from Step 1.



Step 4: Programming via the Ford SYNC Infotainment System

If your F-150 is equipped with SYNC 3, SYNC 4, or a newer touchscreen system, you can bypass the manual door keypad steps to add or clear personal codes.



  1. Climb into the driver's seat with your key inside the cabin and turn the vehicle on (accessory mode or engine running).
  2. On the center touchscreen display, tap the Settings menu icon.
  3. Scroll and select Vehicle Settings or Vehicle Features.
  4. Tap on Door Keypad Code or SecuriCode.
  5. The screen will prompt you to enter the 5-digit factory master code. Type this in using the digital on-screen numpad.
  6. Once validated, select Add Personal Code or Edit Personal Code.
  7. Enter your new 5-digit custom code and press Save. The system will display a confirmation message indicating the new user profile code is active.

How To Change Door Lock Code Explorer at Sandra Slavin blog

How To Change Door Lock Code Explorer at Sandra Slavin blog

Ford F-150 SecuriCode Technical Specifications and Module Locations

This comparative table highlights the architectural differences in keyless entry systems across Ford F-150 generations.



Generation / Model Years Module Location for Factory Code Label Max Custom User Codes Programming Confirmation Indicator Default Master Retrieval Method
Eleventh Gen (2004–2008) Vehicle Security Module (VSM) behind rear cab wall seat back 1 Custom Code Door locks cycle (Lock/Unlock) Physical module inspection, OBD-II scanner tool
Twelfth Gen (2009–2014) Smart Junction Box (SJB) behind passenger-side kick panel 1 Custom Code Keypad backlighting flashes, locks cycle Two-key ignition display, physical inspection, dealer tool
Thirteenth Gen (2015–2020) Body Control Module (BCM) in passenger footwell compartment 3 Custom Codes Locks cycle, instrument cluster notification Two-key ignition display, BCM label inspection, Ford SYNC
Fourteenth Gen (2021–Present) Body Control Module (BCM) inside right-side passenger kick panel 5 Custom Codes System touchscreen confirmation, locks cycle Two-key fob console slot sequence, Ford SYNC 4 screen

Troubleshooting Keypad Failure Modes and Programming Glitches



Scenario 1: Keypad does not illuminate or respond to inputs



  • Root Cause: The keypad module has lost ground connection, has a blown fuse in the BCM, or has suffered physical water intrusion that corroded the ribbon cable connectors inside the door panel.
  • Actionable Fix: Inspect fuse #26 (or your model year's specific BCM keypad/door module fuse) in the passenger-side footwell. If the fuse is intact, carefully pry the keypad module out of the door pillar using a non-marring trim tool. Inspect the wiring harness plug for green copper corrosion or broken pin wires. Clean with electrical contact cleaner, apply dielectric grease, and reconnect.


Scenario 2: The system rejects the new code (keypad flashes rapidly but locks do not cycle)



  • Root Cause: You entered a duplicate code or a sequence that violates Ford's safety algorithms (such as five consecutive numbers or numbers that map to the exact same physical buttons, like 1-1-1-1-1 or 1-2-1-2-1).
  • Actionable Fix: Select a completely randomized 5-digit number sequence. Ensure that each key press is discrete and that you are not mapping duplicate numbers assigned to the same key face (remember that 1 and 2 share the same physical button, as do 3/4, 5/6, 7/8, and 9/0).


Scenario 3: Lost factory master code and only have one programmed key



  • Root Cause: The two-key electronic cluster retrieval method requires two unique key transponder IDs to prevent unauthorized users from retrieving security codes.
  • Actionable Fix: If you cannot find the physical sticker on the BCM, you must plug an OBD-II diagnostic scanner into your truck's OBD port. Using diagnostic software such as FORScan (with an extended license) or a professional bi-directional scan tool (like a Bosch or Snap-on diagnostic computer), read the live data parameters from the Body Control Module (BCM). The parameter ID (PID) labeled "factory_door_code" or "sec_code" will display the 5-digit sequence in clear text.


Scenario 4: The door locks cycle but the custom code works intermittently



  • Root Cause: The capacitive sensors or physical microswitches behind the keypad buttons are wearing out, resulting in missed button presses during fast entry sequences.
  • Actionable Fix: Enter the code slowly and deliberate, pausing for half a second between each button press. Watch the backlighting carefully; if a button fails to light up when pressed, the contacts are failing, and the door pillar keypad assembly must be replaced.

Frequently Asked Questions



Can you delete the factory master code on a Ford F-150?

No, you cannot delete, change, or disable the factory master code. It is hardcoded into the non-volatile memory of the Body Control Module to ensure that the vehicle owner can always access the truck if key fobs are lost or dead.



Where is the physical door code label on a 2015–2020 F-150?

The physical label is located on the back of the passenger compartment fuse box cover or directly on the Body Control Module module casing, which sits behind the plastic kick panel trim in the passenger-side footwell. You may need to remove the plastic threshold plate and kick panel to see the module label clearly.



How do you find the door code using two key fobs?

For push-button start models, place the first smart key fob in the backup programming slot inside the center console. Press the Start/Stop button once without pressing the brake pedal to cycle the accessories, then turn it back off. Immediately replace the first key fob with the second key fob in the slot, and press the Start/Stop button again. The factory master door code will display on the central screen in your instrument cluster.



Why does my SecuriCode keypad flash rapidly?

Rapid flashing on the keypad indicates that a programming time-out has occurred, an incorrect master code was entered, or the user-entered personal code sequence violates system programming rules. If this happens, wait 10 seconds for the lights to go dark and attempt the sequence again.



Can I program multiple custom door codes?

Yes. Depending on the model year of your F-150, you can program between three and five distinct custom personal codes. This allows you to assign specific, easily remembered codes to different family members, employees, or service personnel without sharing your primary personal code.

Ensure Your Ford F-150 Remains Secure and Accessible

Regularly resetting and managing your custom SecuriCode user entries prevents unauthorized access by former owners, mechanics, or valets who may have memorized your custom code. For advanced system diagnostics, programming replacement keypads, or recovering factory master codes without physical teardown, consider utilizing specialized OBD-II diagnostic software like FORScan to manage your truck's security preferences.


How To Change The Garage Door Opener Code?

How To Change The Garage Door Opener Code?

Read also: Transit guides explain the connections at metro north 125th