Ford F-150: Find Factory Code For Keyless Entry

The Keyless Entry system on the Ford F-150 allows for a code to be entered on a numerical pad on the door to enter the vehicle. Every Ford F-150 has a factory key that is used for this Keyless Entry system. If you need this code, use these steps to obtain it.


1995 – 2023 Models

Note: You will need 2 keys or remote key fobs that are programmed for the vehicle to be able to perform these steps.

Models with Key

  1. Insert one KEY into the IGNITION.
  2. Switch IGNITION ON for a few seconds.
  3. Switch IGNITION OFF.
  4. Remove KEY.
  5. Insert the SECOND KEY into the IGNITION.
  6. Switch IGNITION ON.
  7. The FACTORY CODE will show for a few seconds on the INSTRUMENT CLUSTER above the STEERING WHEEL.

Models with Push Button Ignition

  1. Place the first smart key fob into the slot inside the center console with the buttons on the fob facing downward. Wait 5 seconds.
    1. The slot is in the front cup holder in a few models.
    2. The slot might also be toward the rear of the center console.
  2. Push the “Start/Stop” button once again to turn it off.
  3. Remove the first key fob from the slot.
  4. Place the second key fob into the slot with the buttons.
  5. Push the “Start/Stop” button again. Do not start the engine.

The factory Keyless Entry code will appear on the display.

Lost a Key

If you don’t have 2 programmed keys, then you can find the code by following one of these 2 options.

  1. Locate the Smart Junction Box in your Ford F-150. The box is normally located on the driver’s side, over the brake pedal. You may have to grab a flashlight and peel the trim back a bit to spot it.
  2. Look for a bar-coded sticker on the Smart Junction Box that has a 5-digit code or a 5-digit code plus a letter on it. That code is the keyless door entry code.

Or your dealer can get the factory code for you. You will need to show the following:

  1. Personal ID.
  2. Vehicle documentation that includes the Vehicle Identification number.

Ford Freestar Keyless Code

6 thoughts on “Ford F-150: Find Factory Code For Keyless Entry”

  1. None of the above methods worked for my 2012 F-150 Lariat. I finally found the security code behind the passenger side under-dash panel, where the fuse box is supposed to be. It was kind of a miracle that I found it, because I was looking for something else at the time.

  2. Hah!

    Altellyavich, I had same issue (key thing not working), but I followed your lead and found the sticker on the box behind the trim on the left side of passenger wheel well. Thank you! BTW, I first went to dealership and they said the only way was to generate new new code…and charge me $100.

  3. On 2010 F-150 it is on the sticker on the back side of the box behind the trim on the left side of passenger wheel well. You need to remove the screws holding the fuse box in and look behind it.

  4. Using: Models with Push Button Ignition
    This did work great! On my 2021 F150 the Keyfob slot is in the bottom of the cup holder under the rubber mat.


Leave a Comment