You can replace most key fobs yourself in under an hour

A key fob replacement breaks into two parts: getting the right fob for your car, and programming it to work with your vehicle. The fob itself costs between $50 and $400 depending on your car's make and model — luxury vehicles and those with advanced features run higher. You can buy a replacement fob from a dealership, an auto parts store, or online retailers like Amazon or eBay. Programming is where the work happens, and the method depends entirely on your car's year and manufacturer.

Some vehicles let you program a fob yourself using a sequence of button presses and key turns in the ignition. Others require a dealer or a locksmith with specialized equipment. Before you buy anything, check your owner's manual or search your vehicle's year, make, and model plus "self-program key fob" to see if your car supports DIY programming. If it does, the process usually takes 5 to 15 minutes. If it doesn't, you'll need to budget for a dealer visit or locksmith call, which typically costs $50 to $200 on top of the fob price.

Key Takeaways

  • Replacement fobs cost $50 to $400 depending on your vehicle; dealerships are most expensive, while online retailers and auto parts stores often charge less.
  • Some cars let you program a fob yourself by turning the key in the ignition and pressing buttons in a specific sequence; your owner's manual or a vehicle-specific search will tell you if yours does.
  • If your car requires dealer or locksmith programming, expect to pay an additional $50 to $200 for that service alone.
  • When buying a replacement fob, confirm the part number matches your vehicle's year and model to avoid buying one that won't work.

Where to buy a replacement fob and what to check before ordering

Dealerships stock fobs for every vehicle they sell, but they charge the highest prices — often $150 to $300 for the fob plus programming. Auto parts chains like AutoZone, O'Reilly, and NAPA carry aftermarket fobs for most common vehicles at $50 to $150. Online retailers including Amazon, eBay, and specialized sites like LKQ and Car Keys Express sell fobs for $40 to $200, sometimes with programming instructions included.

Before you order, find your vehicle's exact part number. Look in your owner's manual under "key fob" or "remote control," or search your car's year, make, model, and "key fob part number" online. The part number ensures you get a fob that matches your car's electronics. Some aftermarket fobs work across multiple models; others are model-specific. Read the product listing carefully — it should state which years and models it fits. If the listing is vague, contact the seller before buying.

Aftermarket fobs are usually cheaper than OEM (original equipment manufacturer) fobs but work just as well once programmed. The main difference is appearance and durability of the plastic casing. If you want the exact fob that came with your car, order an OEM part from the dealership or from online OEM parts retailers.

How to program a key fob yourself if your car supports it

Not all vehicles allow self-programming, so confirm yours does before you start. Search "[your year] [your make] [your model] self-program key fob" or check your owner's manual. If your car supports it, the manual will list the exact steps. The process usually involves sitting in the driver's seat with the doors closed, turning the key from Off to On a set number of times without starting the engine, listening for a chime or watching for lights to flash, and then pressing buttons on the new fob in a specific order.

Here is a typical sequence for vehicles that support self-programming:

  1. Sit in the driver's seat with all doors closed.
  2. Insert the key in the ignition.
  3. Turn the key to On, then back to Off, then to On again (or the number of times your manual specifies — often three to five cycles).
  4. Listen for a chime or watch the door locks for a click or flash, which signals the car has entered programming mode.
  5. Press any button on the new fob for a few seconds until you hear another chime or see the lights flash again.
  6. Turn the key back to Off.
  7. Test the fob by pressing each button to confirm the doors lock and unlock, the trunk opens, and the panic button sounds.

The exact number of key turns, the buttons to press, and the signals to listen for vary by manufacturer. Always follow your owner's manual or the instructions that came with your new fob. If the fob doesn't work after following the steps, the car may not support self-programming, or the fob may be incompatible with your vehicle.

When you need a dealer or locksmith to program the fob

Newer vehicles, especially those made after 2010, often require dealer or locksmith programming because the fob must communicate with the car's security system using encrypted codes. A dealership can program any fob they sell, and many will program aftermarket fobs you bring in, though some charge extra for that service. A locksmith with the right equipment can program most fobs and often charges less than a dealership.

To find a locksmith, search "automotive locksmith near me" or ask your local auto parts store for a referral. Call ahead and confirm they can program fobs for your vehicle's year and make. Bring your car keys and proof of ownership (registration or title) when you visit. Programming usually takes 15 to 30 minutes. Some locksmiths offer mobile service and will come to your home or workplace.

If you order a fob online and it arrives without programming instructions, contact the seller to ask whether they can program it remotely or whether you'll need to take it to a dealer or locksmith. Some online retailers partner with locksmiths and can arrange programming for you, sometimes for an additional fee.

Troubleshooting a fob that won't program or work after replacement

If you followed the self-programming steps and the fob still doesn't work, the most common cause is that you bought the wrong fob for your vehicle. Double-check the part number against your car's documentation. A second common cause is that the fob's battery is dead — replace it with a fresh coin-cell battery (usually CR2032 or CR2025) and try again. The battery compartment is usually on the back or side of the fob and opens with a small flathead screwdriver or a coin.

If the fob still doesn't work after you've confirmed the part number and replaced the battery, your car may not support self-programming. Take the fob and your car keys to a dealer or locksmith. Bring your owner's manual or a printout of your vehicle's specifications so the technician can confirm what programming method your car requires.

If you programmed the fob at a dealer or locksmith and it still doesn't work, the fob itself may be defective. Ask the technician to test it before you leave. If it fails the test, request a replacement fob or a refund. Most retailers offer a return window of 30 days, so keep your receipt and packaging.

Cost comparison: DIY versus dealer programming

RouteFob CostProgramming CostTotalTime Required
Self-program (if supported)$50–$150$0$50–$1505–15 minutes
Locksmith programming$50–$150$50–$150$100–$30030 minutes to 1 hour
Dealership (OEM fob + programming)$150–$400$50–$200$200–$6001–2 hours

The cheapest option is self-programming if your vehicle supports it. You pay only for the fob, which costs less at online retailers and auto parts stores than at dealerships. If your car requires professional programming, a locksmith is usually cheaper than a dealership, though prices vary by location and the complexity of your vehicle's security system.

What to do if your car is too old or too new to find a replacement fob

Older vehicles (pre-2000) may not have key fobs at all, or the fobs may be out of production. If you can't find a replacement that matches your car's electronics, a locksmith can sometimes reprogram an older fob you already own or source a compatible fob from a salvage yard. Call a few locksmiths in your area and describe your vehicle — they may have seen similar cases and know where to find parts.

Very new vehicles sometimes have fobs with features that only the dealership can program, such as integration with smartphone apps or advanced security protocols. In these cases, you have no choice but to use the dealership. Call ahead and ask whether they can program an aftermarket fob or whether you must buy an OEM fob from them. Some dealerships will only program fobs they sell.

Frequently Asked Questions

Can I program a key fob without the original key?

Most self-programming methods require the original key in the ignition to trigger programming mode. If you've lost your original key, you'll need to visit a dealer or locksmith with proof of ownership. They can program a new fob using the car's VIN and your registration.

How long does a key fob battery last?

A key fob battery typically lasts three to four years with normal use. If your fob stops working, try replacing the battery first — it's cheaper and faster than buying a new fob. The battery is usually a coin-cell type (CR2032 or CR2025) that costs $3 to $8.

What if I have multiple cars and want to use one fob for all of them?

Most fobs are programmed to a single vehicle and won't work with others. You'll need a separate fob for each car. Some aftermarket universal fobs claim to work with multiple vehicles, but they're less reliable than vehicle-specific fobs and may not support all features like trunk release or panic buttons.

Can I program a fob if the car won't start?

Self-programming usually requires the ignition to turn on without starting the engine, which works even if the battery is dead or the starter is broken. If you're having trouble getting the ignition to turn, have a mechanic check the steering wheel lock or ignition switch before attempting fob programming.

Is it cheaper to repair a broken fob or replace it?

If the fob's buttons are stuck or the casing is cracked, you can sometimes replace just the internal circuit board or the button pad for $10 to $30. If the electronics are damaged or the fob won't hold a charge, replacement is usually the better choice. A repair kit costs less but takes more time and may not last as long as a new fob.