Your nearest dealer, locksmith, or big-box auto parts store can replace a key fob, but the price and speed depend on which one you choose
A dead or broken key fob usually means a trip to one of three places: your car's dealership, an independent locksmith, or a chain retailer like Best Buy or AutoZone. Dealerships charge the most but have your exact fob in stock and can program it on the spot. Locksmiths are often cheaper and faster for older vehicles. Chain retailers fall in the middle on price but may need to order the fob if they don't stock your model. The real cost difference comes down to your car's age, how common your model is, and whether you need the fob programmed the same day.
Before you go anywhere, call ahead with your vehicle's year, make, model, and VIN to confirm they stock or can order your fob and what their programming fee is. This five-minute phone call saves you a wasted trip and lets you compare prices across all three options.
Key Takeaways
- Dealership fob replacement typically costs $200 to $500 and takes one to two hours, but they stock fobs for your exact vehicle and program them when ready.
- Independent locksmiths usually charge $100 to $300 and work faster than dealerships, but not all can program fobs for every vehicle brand.
- Chain auto parts stores and electronics retailers charge $50 to $200 for the fob itself, but you may wait days for the part to arrive and still need a locksmith to program it.
- Aftermarket fobs cost less than OEM (original equipment manufacturer) fobs but may not work with all vehicle features, and some cars require dealer programming regardless of fob source.
- Before you go anywhere, call ahead with your vehicle's year, make, model, and VIN to confirm they stock or can order your fob and what their programming fee is.
Dealership replacement: highest cost, may provide compatibility
Your car's dealership will have the correct fob for your vehicle and can program it to your car's security system the same day. This is the safest route if your car is new (under five years old) or if you want to avoid any risk of the fob not working. Dealerships typically charge $200 to $500 total, including the fob and programming labor. Some dealerships charge the programming fee separately—often $50 to $100—on top of the fob cost.
The downside is time and money. Dealerships are slower than locksmiths because they handle high volume and may have a wait. You will also pay a premium for the OEM fob, which is the exact part your car left the factory with. If your car is out of warranty, you are paying full retail price with no negotiation room. Call your dealership's service department with your VIN before you go; they can tell you if they have the fob in stock and what the total cost will be.
Independent locksmiths: faster and cheaper for most vehicles
A local locksmith can often replace and program your fob in under an hour for $100 to $300 total. They work faster than dealerships because they handle smaller volumes and keep common fobs in stock. Many locksmiths also stock aftermarket fobs, which cost less than OEM parts but work just as well for basic locking and unlocking. The trade-off is that not every locksmith can program every brand—some specialize in domestic cars, others in imports.
Before you call, have your car's year, make, and model ready. Ask the locksmith directly whether they can program your specific vehicle and what their total fee is. Some locksmiths charge a flat rate; others charge separately for the fob and the programming. If they say they can't do it, ask for a referral to someone who can—locksmiths often know each other and will point you to a specialist. Check online reviews for locksmiths in your area; look for shops with consistent five-star ratings and comments about key fob work specifically.
Chain retailers and online ordering: cheapest fob, slowest delivery
Best Buy, AutoZone, Advance Auto Parts, and Walmart all sell replacement fobs, usually for $50 to $150. The fob itself is cheaper than what a locksmith or dealership charges, but you often have to order it because they don't stock every model. Shipping takes three to seven business days, and then you still need to pay someone to program it—which means a second trip to a locksmith or dealership.
This route makes sense only if you are not in a hurry and you already know a locksmith who will program an aftermarket fob for a reasonable fee. If you order online from Amazon or eBay, the fob may arrive faster, but you have no may provide it will work with your car, and returns can be slow. Call the retailer first and ask them to check their system for your vehicle's year, make, and model. If they have it in stock, you can walk out the same day. If they have to order it, ask how long shipping takes and whether they offer in-store programming or can refer you to someone who does.
Aftermarket versus OEM fobs: what the difference means for your wallet
An OEM fob is the original part your car came with or an exact replacement made by your car's manufacturer. An aftermarket fob is made by a third party and works with your car's locking system but may not include every feature your original fob had. OEM fobs cost $150 to $400 depending on the vehicle; aftermarket fobs usually cost $30 to $100. Both will lock and unlock your doors and open your trunk, but some aftermarket fobs don't support remote start, panic buttons, or other advanced features.
For most people, an aftermarket fob is fine if your car is older than five years or if you don't use those extra features. For newer cars with complex security systems, an OEM fob is safer because it is may provide to work with every feature. Ask the locksmith or retailer which type they are selling before you buy. If they offer both, ask what features you will lose with the aftermarket version. Some cars—particularly luxury brands and recent models—require OEM fobs for full functionality, so confirm this before you order.
Programming requirements: some cars need the dealer no matter what
Most cars built in the last 15 years can have their fobs programmed by a locksmith or even at home using a specific key sequence. Older cars are usually easier to program. But some newer vehicles—particularly luxury brands like BMW, Mercedes, Audi, and some Teslas—require dealer-level programming equipment that only the dealership has. If your car is one of these, you cannot avoid the dealership, and you cannot save money by buying a cheaper fob elsewhere.
Before you buy a fob from anywhere other than the dealership, call the dealership and ask: "Can a locksmith program a replacement fob for my car, or does it have to be done here?" If the answer is "it has to be done here," you know your only option is the dealership. If the answer is "a locksmith can do it," you have choices. Write down the dealership's answer so you can show it to the locksmith if they ask.
What to do before you leave home
Gather your vehicle's year, make, model, and VIN (on your registration or driver's side door jamb). Call three places—your dealership, a local locksmith, and a chain retailer—and ask each one: Do you have this fob in stock? If not, how long to order? What is your total price including programming? Can you do it today? Write down the answers so you can compare.
If you are in a hurry and need the fob today, the locksmith is usually your best bet. If you want to avoid any risk and don't mind paying more, go to the dealership. If you have time to wait and want the cheapest fob, order from a chain retailer and then take it to a locksmith for programming. No matter which route you choose, call ahead—showing up without confirming availability wastes your time.
Frequently Asked Questions
Can I program a replacement fob myself?
Some cars allow you to program a fob at home using a specific key sequence—usually turning the key in the ignition a certain number of times while holding buttons on the fob. This works for many vehicles built before 2010 and some newer models. Check your owner's manual or search your car's year, make, and model plus "DIY fob programming" to see if yours supports it. If your car requires dealer-level equipment, you cannot do it yourself.
What if I lost both my fobs?
You will need at least one working fob or key to program a new one on most vehicles. If you have lost both, the dealership can reprogram your car's security system and issue new fobs, but this costs more—usually $300 to $600 total. A locksmith may be able to do this too, depending on your car's age and security system. Call both and compare prices before you decide.
Will a fob from a different car work on mine?
No. Each fob is programmed to a specific vehicle's security system. A fob from another car, even the same make and model, will not work on your car unless it is reprogrammed. You must buy a fob made for your specific vehicle or an aftermarket fob designed to work with your car's system.
How long does fob programming usually take?
A locksmith can program a fob in 15 to 30 minutes if they have the right equipment and your car is compatible. A dealership usually takes one to two hours because of wait times and higher volume. Chain retailers cannot program on-site; you have to take the fob to a locksmith afterward, adding another day or two to the process.
Is it cheaper to replace the battery in my fob instead of buying a new one?
Yes, if your fob is just dead. A replacement battery costs $5 to $15 and takes five minutes to swap. Most fobs use a CR2032 or similar coin-cell battery available at any pharmacy or grocery store. Open the fob carefully with a flathead screwdriver, swap the battery, and snap it back together. If the fob still does not work after a new battery, the internal circuitry is damaged and you need a replacement fob.