Replacement key fob costs range from $50 to $400 depending on your car's make and model, whether you program it yourself or use a dealer, and whether you need the physical fob replaced or just reprogrammed

The price you pay splits into two parts: the fob itself and the programming. A basic aftermarket fob runs $15 to $80, but dealer fobs cost $100 to $300. Programming adds another $50 to $200 if you go through a dealer or locksmith. Some cars let you program a fob yourself for free using a sequence of button presses and key turns—no technician needed. Others require dealer equipment and will not accept a fob you program on your own.

Your actual bill depends on what broke. If your fob still works but the battery is dead, you are looking at $5 to $15 for a replacement battery and five minutes of your time. If the buttons are worn out or the case is cracked, you might replace just the rubber button pad ($10 to $25) or the entire fob. If the fob does not respond at all, the internal circuit board may have failed, which usually means replacing the whole unit.

Key Takeaways

  • A dead battery is the cheapest fix at $5 to $15 and is the first thing to check before assuming your fob is broken.
  • Aftermarket fobs cost $15 to $80 and work on most cars, while dealer fobs run $100 to $300 but come with a warranty.
  • Programming costs $50 to $200 at a dealer or locksmith, but many cars allow you to program a fob yourself for free using your ignition key.
  • Some vehicles require dealer programming and will reject any fob you program yourself, so check your owner's manual or call the dealer first.
  • A locksmith is often cheaper than a dealer and can usually program most aftermarket fobs on the same day.

When a battery replacement solves the problem

Before you buy a new fob, open the one you have and replace the battery. Most fobs use a coin-cell battery—usually CR2032, CR2025, or similar—that costs $3 to $8 at any pharmacy, grocery store, or hardware store. The battery compartment is usually on the back or side of the fob, held by a small screw or a sliding tab. Once you pop it open, note which way the old battery sits (the + side faces up or down depending on the fob design) and swap it for a new one.

If the fob still does not work after a fresh battery, the problem is likely the circuit board, a stuck button, or water damage inside the case. At that point, you need a replacement fob.

Aftermarket fobs versus dealer fobs

An aftermarket fob is made by a third party, not your car's manufacturer. These cost $15 to $80 depending on the model and where you buy them. You can order them online from Amazon, eBay, or auto parts retailers, or pick one up at a local auto parts store. They work on most vehicles and are physically compatible with your car's door locks and ignition system. The trade-off is that aftermarket fobs sometimes have cheaper buttons or cases and may not last as long as a dealer fob.

A dealer fob is made by your car's manufacturer and costs $100 to $300. You buy it directly from your car's dealership. Dealer fobs come with a warranty, are may provide to work with your specific vehicle, and often have better build quality. If you plan to keep your car for many years, a dealer fob may be worth the extra cost. If you are selling the car soon or want the cheapest option, an aftermarket fob does the job.

Programming costs and self-programming options

Once you have a new fob, it needs to be programmed—linked to your car's receiver so the buttons work. Some cars let you do this yourself using a straightforward procedure: sit in the driver's seat, turn the key to the "On" position without starting the engine, turn it back to "Off," and repeat this cycle several times while holding down a button on the fob. The car's lights will flash to signal that programming is complete. This costs nothing and takes five minutes.

Other cars require a dealer or locksmith to program the fob using specialized equipment. This costs $50 to $200 depending on where you go. A dealership usually charges more ($100 to $200) than an independent locksmith ($50 to $150). Some locksmiths can program fobs on the spot; others may need to order the fob and schedule a time to program it. Call ahead to confirm they can handle your car's make and model.

Check your owner's manual or call your dealership to find out whether your car supports self-programming. If it does, buy an aftermarket fob and program it yourself. If it does not, you will need to pay for professional programming no matter where you buy the fob.

Where to buy a replacement fob

You have four main options: the dealership, a locksmith, an auto parts store, or an online retailer. A dealership sells only dealer fobs and charges for programming; expect to spend $150 to $500 total. A locksmith sells both aftermarket and dealer fobs, programs them, and usually costs less than a dealership; expect $100 to $250 total. An auto parts store sells aftermarket fobs only and does not program them; you pay $20 to $80 for the fob and then take it to a locksmith or dealership for programming.

Online retailers like Amazon sell aftermarket fobs for $15 to $60, but you still need to pay for programming unless your car supports self-programming. Buying online saves money on the fob itself but adds shipping time. If you need a fob today, a local locksmith or auto parts store is faster.

Factors that push the price higher

Luxury and newer vehicles often cost more to replace. A fob for a 2024 BMW or Mercedes can run $200 to $400 just for the fob, plus $100 to $200 for programming. Older or common vehicles like a 2010 Honda Civic cost much less—$50 to $150 total. Vehicles with advanced features like keyless entry, push-button start, or remote trunk release also cost more because the fob has more circuitry.

If you need the fob programmed the same day, a locksmith will usually charge a service call fee of $50 to $100 on top of the fob and programming cost. If you can wait a few days, you may save money by ordering online and having a locksmith program it later. Some dealerships offer discounts if you buy two fobs at once, so ask about that option if you need spares.

Preventing future fob failures

A key fob lasts three to four years on average before the battery dies or the buttons wear out. You can extend its life by keeping it away from extreme heat, moisture, and drops. Do not leave it in a hot car, drop it repeatedly, or expose it to water. If you drop your fob, check that all the buttons still work and the case is not cracked. A small crack can let moisture in and damage the circuit board over time.

If you use your fob heavily—unlocking your car multiple times a day—the buttons will wear out faster. Consider buying a spare fob now while your current one works. A spare costs the same as a replacement and gives you a backup if one fails. Store the spare in a safe place at home so you always have a working fob.

Frequently Asked Questions

Can I program a fob myself if my car does not support self-programming?

No. If your car requires dealer or locksmith programming, a fob you program yourself will not work. The car's receiver is locked to specific programming codes that only dealer equipment or professional tools can access. Trying to program it yourself will waste time and may damage the fob.

Is an aftermarket fob as good as a dealer fob?

Aftermarket fobs work just as well as dealer fobs for locking, unlocking, and trunk release. The main differences are build quality and warranty. Dealer fobs usually last longer and come with a warranty; aftermarket fobs are cheaper but may have weaker buttons or cases. For most people, an aftermarket fob is a good value.

How long does it take to get a replacement fob?

If you buy from a local auto parts store and program it yourself, you can have a working fob in an hour. A locksmith can usually program a fob the same day for $50 to $150 extra. A dealership may take one to three days if they need to order the fob. Online ordering takes three to seven days for shipping, plus time for programming.

What if I lost my only fob and cannot get into my car?

Call a locksmith. They can open your car and program a new fob on the spot, usually within an hour. This costs more than a planned replacement—expect $150 to $300—but it is faster than waiting for a dealership appointment. Have your car's VIN and proof of ownership ready when you call.

Do I need to reprogram my fob if I change the battery?

No. Changing the battery does not erase the programming. The fob stays linked to your car. Just swap the old battery for a new one and the fob will work again.