Replacement key fob costs range from $50 to $400 depending on your car's make and model, whether you buy from a dealer or a locksmith, and whether the fob needs programming
The price you pay splits into two parts: the physical fob itself and the programming that makes it work with your car. A basic aftermarket fob from a locksmith or online retailer runs $50 to $150. A fob from your car's dealer costs $150 to $400. Programming adds $50 to $200 on top of that, though some locksmiths include it in their price. Luxury vehicles and newer models with advanced security features sit at the higher end; older or simpler cars at the lower end.
Where you buy matters as much as what you buy. A dealership charges the most but guarantees compatibility and usually handles programming in one visit. A locksmith typically costs 30 to 50 percent less and can often program on the spot. Online retailers sell cheap fobs but you'll need to find someone to program it afterward, which adds time and a second trip.
Key Takeaways
- Dealership fobs cost $150 to $400 including programming; locksmith fobs typically run $100 to $250 total.
- Aftermarket fobs from online retailers cost $30 to $80 but require separate programming, which adds $50 to $200.
- Programming is not optional—a fob without it will not unlock or start your car, even if it is the right physical model.
- Luxury brands and vehicles with keyless entry or push-button start cost significantly more than standard fobs.
- Locksmiths can often program while you wait; dealerships may require an appointment and take longer.
Dealership fobs versus aftermarket and locksmith options
A dealership is the safest choice if you want certainty. They stock the exact fob for your vehicle, program it to your car's security system, and may provide it will work. You pay for that certainty: expect $200 to $400 total. The dealership has your vehicle identification number (VIN) on file, which speeds up the process, and they handle everything in one place.
A locksmith is usually cheaper and faster. Most automotive locksmiths keep blank fobs in stock and can program them while you wait—often in 15 to 30 minutes. The total cost is typically $100 to $250. The catch is that not every locksmith can program every car model; call ahead and confirm they work on your year and make. Some locksmiths will come to your home or workplace, which saves you a trip.
Online retailers sell aftermarket fobs for $30 to $80, but you are buying only the physical shell and circuit board. You still need someone to program it. This route makes sense only if you already have a trusted locksmith or if your dealership will program a fob you supply (many will, for a programming fee of $50 to $100). The total cost ends up similar to a locksmith, but spread across two transactions and more time.
What programming costs and why it is necessary
Programming is the step that links your fob to your car's receiver. Without it, the fob is just a piece of plastic with a circuit board—it cannot unlock the doors or start the engine. Programming stores your car's security code in the fob's memory so the car recognizes it as legitimate.
Some cars can be programmed by the owner using a sequence of key turns and button presses found in the owner's manual. Many newer vehicles cannot; they require a dealer or locksmith with a specialized programming device. Check your manual or call a locksmith before you buy a fob online—if your car needs professional programming, buying a cheap fob and then paying $100 to program it defeats the savings.
Programming fees vary. A dealership typically charges $50 to $150 for programming alone. A locksmith usually includes programming in their total price, or charges $50 to $100 as a separate line item. If you buy a fob online and bring it to a dealership to program, expect to pay their full programming fee even though you supplied the fob.
Luxury vehicles and advanced fob features cost more
A basic fob for a 2010 Honda Civic might cost $80 to $120 total. The same fob for a 2020 BMW or Mercedes runs $250 to $400. Luxury brands charge more because their fobs contain more sophisticated electronics, their security systems are harder to program, and fewer locksmiths stock parts for them.
Fobs with extra features also cost more. A fob that opens the trunk, controls the sunroof, or includes a panic button costs more than a straightforward lock-and-unlock model. A fob with a built-in key blade (so you can unlock the car manually if the battery dies) costs more than a fob-only design. Keyless entry fobs and push-button start fobs are more expensive than traditional fobs because they integrate with more of the car's electronics.
If your car is a luxury model or has advanced features, get a quote from both a dealership and a locksmith before you decide. The difference can be $100 or more, and a locksmith may be able to source a compatible aftermarket fob that costs less than the dealer's original part.
When to replace a fob versus repair it
A fob that does not work might not need replacement. If the buttons are stuck or the battery is dead, you can fix it for $5 to $15. If the case is cracked but the electronics work, you can buy a replacement shell for $10 to $30 and move the circuit board over yourself—no programming needed because you are keeping the original electronics.
Replace the fob only if the circuit board or receiver is damaged. Water damage, a hard drop, or age-related failure of the internal components means the fob itself is broken and cannot be repaired. In that case, you need a new fob and programming.
If you have a spare fob at home, you can keep using it while you decide whether to repair or replace the broken one. If your spare is also broken or you never had one, you need a replacement to drive the car, which may push you toward the faster (and more expensive) dealership option.
How to keep costs down
Get a quote from at least one locksmith before going to the dealership. Many people assume the dealership is the only option and never ask. A locksmith quote takes one phone call and usually costs nothing.
If you have an older car with a straightforward fob design, an aftermarket fob from an online retailer can work well. Read the reviews carefully—look for comments about whether the fob arrived working or required adjustment. Buy only from sellers with a return policy in case the fob does not fit or work.
Consider buying a spare fob now, while you have one working fob to program it with. A spare costs the same as a replacement but you buy it on your schedule, not in an emergency. Keep the spare in a safe place at home so you always have a backup.
If your car is old enough that the fob design is no longer common, a locksmith may have a harder time sourcing parts. In that case, the dealership may be your only option, and the cost will reflect that scarcity.
Frequently Asked Questions
Can I program a fob myself?
Some cars allow it—check your owner's manual for a "self-programming" or "DIY programming" section. The process usually involves turning the key to specific positions or holding down buttons in a sequence. Many newer cars, especially those with push-button start or keyless entry, do not allow self-programming and require a dealer or locksmith with specialized equipment.
What if I lose both my fobs?
You can still drive the car using the physical key blade (if your fob has one) or by unlocking the door manually. You will need to buy at least one new fob and have it programmed before you can use the remote lock and unlock functions. A dealership can order a new fob even if you have no fobs in hand, as long as you can prove ownership of the vehicle.
Will a fob from a different car work on mine?
No. Each fob is programmed to a specific car's security system. A fob from another vehicle of the same make and model might have the same physical shape, but it will not unlock or start your car without reprogramming. Even then, some cars do not allow reprogramming of fobs from other vehicles due to security restrictions.
How long does a fob battery last?
Most fob batteries last three to four years with normal use. If your fob stops working, try replacing the battery first—it costs $3 to $8 and takes two minutes. If a new battery does not fix it, the circuit board is likely damaged and you need a replacement fob.
Can a locksmith program a fob I bought online?
Yes, most automotive locksmiths can program an aftermarket fob as long as it is compatible with your car's year and make. Call the locksmith first with your vehicle information to confirm they can do it. Some locksmiths charge a flat programming fee; others charge based on the fob model. The total cost is usually less than a dealership but more than buying the fob and programming together from a locksmith.