Most key fobs can be programmed at home in five to ten minutes using your car's ignition and door locks

Programming a new key fob yourself costs nothing and takes longer to find your car keys than to do the work. The process varies by manufacturer — some cars use the ignition-turn method, others use door-lock sequences, and a few require a dealer visit — but most vehicles made in the last 20 years fall into one of two categories you can handle yourself. The first step is checking your owner's manual or the manufacturer's website for your specific model year, because the wrong sequence will not harm anything but will waste your time.

If your manual does not include programming steps, your car likely requires a dealer or a locksmith. Some luxury brands, newer vehicles with push-button start, and cars with rolling-code security systems cannot be programmed without dealer equipment. A dealer visit typically costs $100 to $300 per fob. A locksmith may charge less but will still need your vehicle identification number (VIN) and proof of ownership.

Key Takeaways

  • Check your owner's manual first — the programming method is specific to your car's year, make, and model, and using the wrong sequence wastes time.
  • The two most common methods are turning the ignition on and off in a specific pattern, or pressing the door-lock button while the car is unlocked.
  • You will need a working key fob or remote to program a new one using the self-programming method.
  • If your car has push-button start, a rolling-code system, or is a luxury brand, you will need a dealer or locksmith with specialized equipment.
  • Dealer programming costs $100 to $300 per fob and takes one to two hours; locksmith costs vary by region.

The ignition-turn method (most common for older vehicles)

This method works on many Ford, Chevrolet, Dodge, and Toyota vehicles made between 2000 and 2015. Sit in the driver's seat with all doors closed and the engine off. Insert your key into the ignition and turn it to the "On" position without starting the engine, then turn it back to "Off." Repeat this cycle four or five times, ending in the "Off" position. The car will usually flash the lights or beep to signal it has entered programming mode.

Once the car signals programming mode, press any button on your new key fob and hold it for three to five seconds. The lights will flash again to confirm the fob has been programmed. Repeat this step for each button you want to program (lock, unlock, trunk, panic). Test the fob by pressing each button from outside the car to confirm it works. If nothing happens, start over — you may have waited too long between steps or used the wrong number of ignition turns.

The door-lock method (common for Honda, Acura, and some Nissan models)

This method requires the car to be unlocked and the engine off. Sit in the driver's seat and close all doors. Turn the ignition to "On" without starting the engine. Press the lock button on your working key fob to lock all doors, then press unlock to open them. Repeat this lock-unlock cycle three times, ending with the doors unlocked. The car will beep or flash lights to confirm it is in programming mode.

Press and hold any button on your new fob for about three seconds. The lights will flash to confirm programming. Release the button and repeat for each additional button you need to program. Test each button from outside the car. If the fob does not respond, check that you ended the lock-unlock cycle with the doors unlocked — ending with them locked will abort the process.

What you need before you start

You will need at least one working key fob or remote to program a new one using either self-programming method. If your only fob is broken, you cannot use these steps — you will need a dealer or locksmith. You also need your car keys to turn the ignition, and you should have your owner's manual or the exact year, make, and model of your vehicle so you can find the correct sequence online if your manual is missing.

Have your new fob and any additional fobs you want to program ready before you start. Some cars allow you to program multiple fobs in one session; others require you to repeat the entire sequence for each new fob. Check your manual to see whether you need to reprogram your working fob as well — some vehicles require all fobs to be reprogrammed together when adding a new one.

When you need a dealer or locksmith instead

Cars with push-button start systems, keyless entry, or rolling-code encryption cannot be programmed using the ignition or door-lock methods. These systems use a rolling code that changes every time you press a button, making it impossible to program a new fob without the dealer's diagnostic equipment. Luxury brands like BMW, Mercedes, and Audi typically require dealer programming. Most vehicles made after 2015 also fall into this category.

A dealer will need your VIN and proof of ownership (registration or title). Bring your car to the dealership, and the technician will program the fob using their diagnostic scanner. The process usually takes one to two hours, though some dealers can do it while you wait. Locksmiths with automotive programming equipment can often do this work for less money, but availability varies by region — search for "automotive locksmith" or "key fob programming" in your area and call to ask whether they service your vehicle's make and model.

Testing your new fob and troubleshooting

After programming, step outside your car and press each button to confirm it works. Test the lock and unlock buttons from at least 10 feet away. If the fob does not respond, go back inside and repeat the programming sequence — you may have moved too slowly between steps or waited too long after the car signaled programming mode. The window for entering commands is usually only a few seconds.

If you programmed the fob correctly but it still does not work, the fob itself may be defective. Check the battery by removing the cover (usually held by a small screw or pried open with a coin) and replacing it with a fresh CR2032 or CR2025 battery — the battery type is printed on the old one. If a new battery does not fix it, the fob's circuit board may be damaged, and you will need a replacement fob from the dealer or a locksmith.

Cost comparison: DIY versus dealer versus locksmith

RouteCostTimeRequirements
Self-programming (ignition or door-lock method)$0 (you provide the new fob)5–10 minutesWorking fob, owner's manual or online instructions, vehicle access
Dealer programming$100–$300 per fob1–2 hoursVIN, proof of ownership, vehicle appointment
Locksmith programming$50–$200 per fob (varies by region)30 minutes–1 hourVIN, proof of ownership, vehicle access

The cost of the fob itself is separate from programming. A replacement fob from the dealer typically costs $150 to $400 depending on the vehicle. Aftermarket fobs from online retailers or auto parts stores cost $20 to $100 but may not work with your car's security system — check reviews for your specific model before buying. If you are buying a new fob, confirm it is compatible with your vehicle before paying for programming.

Frequently Asked Questions

Can I program a fob if I only have one key and it is broken?

No. The self-programming methods require at least one working fob to enter programming mode. If your only fob is broken, you will need a dealer or locksmith to program a replacement. Bring your VIN and proof of ownership.

What if I programmed the fob but it only works sometimes?

Check the battery first — remove the fob cover and replace the battery with a fresh CR2032 or CR2025. If a new battery does not fix it, the fob may have a damaged circuit board and will need to be replaced. Test the battery by confirming the lights on the fob flash brightly when you press a button.

Do I need to reprogram my old fob when I add a new one?

Some vehicles require all fobs to be reprogrammed together when adding a new one; others do not. Check your owner's manual or call your dealer to confirm. If reprogramming is required, you will need to repeat the sequence for each fob, including your working one.

Will programming a new fob erase my old one?

Not usually. Most vehicles allow multiple fobs to work at the same time. However, some cars have a limit on how many fobs can be programmed — typically four to eight. If you exceed the limit, the oldest fob may stop working. Check your manual for your vehicle's fob limit.

Can I program an aftermarket fob, or does it have to be from the dealer?

Aftermarket fobs are cheaper but not may provide to work with your car's security system. Read reviews for your specific vehicle model before buying. If an aftermarket fob does not work after programming, you will need a dealer fob instead — the dealer can confirm compatibility before you pay for one.