What you need to know before you start
Replacing a key fob costs between $50 and $400 depending on your car's make and model, whether you go to a dealership or a locksmith, and whether you need the fob programmed to your specific vehicle. Some fobs are straightforward battery swaps you can do yourself in five minutes. Others require professional programming that only a dealership can do. The first step is figuring out which type you have and what your options are.
You have three main routes: replace it yourself if it's just a battery issue, visit a dealership, or use an independent locksmith. Each has different costs and timelines. A dealership will charge the most but guarantees compatibility. A locksmith is usually faster and cheaper but may not stock every model. Doing it yourself works only if your fob just needs a new battery or if you have a spare fob that's already programmed.
Key Takeaways
- Most key fob problems are solved by replacing the battery inside, which costs $5 to $10 and takes five minutes with a flathead screwdriver.
- If a new battery doesn't work, your fob likely needs reprogramming, which requires a dealership visit or a locksmith who stocks your car's model.
- Dealerships charge $150 to $400 per fob but may provide it will work with your car; locksmiths typically charge $50 to $150 but availability varies by location.
- Some cars let you program a spare fob yourself using a specific key sequence in the ignition, so check your owner's manual before paying for service.
- If you've lost all your fobs, you'll need to go to a dealership because they can reprogram the car's receiver to accept new fobs.
Try replacing the battery first
Before you spend money on a new fob, open the one you have and swap out the battery. Most fobs use a coin cell battery (usually CR2032, CR2025, or similar) that costs $3 to $10 at any pharmacy, grocery store, or hardware store. Look for a small slot or seam on the edge of your fob where you can pry it open with a flathead screwdriver or a coin.
Once it's open, note which way the battery sits — the positive side usually faces up — and slide the old one out. Drop in the new battery the same way, close the fob, and test it. If your car locks and unlocks, you're done. If nothing happens, the fob itself is broken or needs reprogramming, and a battery swap won't fix it.
Keep the old battery. If the new one doesn't work, you can swap it back and know the problem is elsewhere. Some fobs have two batteries or a different design, so if you can't find a seam, search your car's model number plus "key fob battery" online to see what type you have before you force it open.
Check if you can program a spare fob yourself
If you have a spare fob that still works, you may be able to program a new one without leaving home. Some car manufacturers let owners do this using a sequence of turns in the ignition or button presses on the fob itself. The steps vary widely by brand and year, so your owner's manual is the only reliable source.
Search your manual for "key fob programming" or "remote programming." If instructions are there, follow them exactly — they usually involve turning the key to specific positions or holding buttons for set amounts of time. If it works, you've saved yourself a service visit. If your manual doesn't mention it or the steps don't work, move on to a dealership or locksmith.
This option only works if you still have at least one working fob. If you've lost all of them, you cannot program a new one yourself because the car has no way to recognize it.
Dealership replacement: may provide but expensive
A dealership will order a fob for your exact car model, program it to your vehicle, and may provide it works. Costs typically run $150 to $400 per fob depending on your car's brand and year. Luxury and newer vehicles cost more. You'll need to bring your car keys and proof of ownership (registration or title).
Call ahead and ask what they charge for your specific model and whether they have fobs in stock. If they do, you may get it the same day. If they need to order it, expect three to seven business days. Some dealerships charge a programming fee on top of the fob cost, so ask for the total before you commit.
The dealership is your only option if you've lost all your fobs, because they can reprogram the car's receiver to accept new ones. It's also the safest choice if you're unsure whether your fob needs just a battery, reprogramming, or a full replacement.
Locksmith replacement: faster and cheaper, with limits
An independent locksmith can often cut and program a key fob for $50 to $150, sometimes while you wait. They're usually faster than dealerships and charge less. The catch is that not every locksmith stocks every car model, and their programming equipment may not work with all vehicles, especially newer ones.
Call locksmiths in your area and ask if they have fobs for your car's make, model, and year. Ask the total cost upfront, including programming. If they have it in stock and can program it, you may be done in an hour. If they need to order it, the timeline is similar to a dealership but the price is lower.
Locksmiths work well for common car models and older vehicles. For luxury brands, new models, or cars with advanced security systems, a dealership is more likely to have the right equipment. Some locksmiths can also reprogram your car to accept a new fob if you've lost all of them, but this is less common than at dealerships.
What to bring and what to expect
Whether you go to a dealership or locksmith, bring your car keys and a form of photo ID. You'll also need proof that you own the car — a registration, title, or insurance card. Some places ask for your Vehicle Identification Number (VIN), which you can find on your registration, insurance card, or on the driver's side of your dashboard where it meets the windshield.
The technician will program the new fob to your car's receiver, which usually takes 10 to 30 minutes. They'll test it before you leave to make sure the lock, unlock, and trunk buttons all work. If you ordered the fob and it arrived while you were there, programming happens on the spot. If you're picking up a fob you ordered earlier, programming is usually included in the original quote.
Ask whether the price includes programming. Some shops charge separately for the fob and the service. Also ask if they can program multiple fobs at once if you want backups — many can, and it's cheaper per fob than doing them one at a time.
Online fob sellers and what to watch for
You can buy unprogrammed key fobs online from retailers like Amazon, eBay, or specialty auto parts sites for $20 to $60. These are cheaper than dealership or locksmith prices, but they arrive blank and need programming. You'll still have to pay a dealership or locksmith to program it, which brings your total cost back up to $70 to $200.
This route makes sense only if you want to save money on the fob itself and don't mind the extra step of taking it somewhere to be programmed. It doesn't work if you need the fob urgently, because shipping takes several days. Also, not all online fobs are compatible with all cars, so verify the listing matches your exact car model and year before you order.
Avoid sellers who claim their fobs are "pre-programmed" to your car. That's not possible — fobs must be programmed to your specific vehicle's receiver, and no seller can do that without your car present. If a listing says pre-programmed, it's either a scam or the seller doesn't understand how fobs work.
Frequently Asked Questions
Can I use a fob from a different car model on mine?
No. Key fobs are programmed to communicate with your car's specific receiver, and they use different frequencies and codes by manufacturer. A fob from another car, even the same brand, will not work on your vehicle. You need a fob designed for your exact make and model.
What if my fob works sometimes but not always?
This usually means the battery is dying. Replace it first. If a new battery doesn't fix it, the fob's internal circuitry may be damaged, or it may need reprogramming. A locksmith or dealership can test it to tell you which.
How long does a key fob battery last?
Most fob batteries last three to four years with normal use. If you use your fob frequently, it may die sooner. There's no way to predict exactly when it will fail, so keep a spare fob or know where to get a replacement battery quickly.
Do I need to reprogram my car if I get a new fob?
The fob needs to be programmed to your car, not the other way around. The technician who gives you the new fob will handle this. Your car's settings and programming stay the same.
What should I do if I've lost all my key fobs?
Call a dealership. They're the only ones who can reprogram your car's receiver to accept new fobs when you have no working fobs left. Bring your car keys and proof of ownership. This costs more than replacing a fob when you have a spare, but it's your only option.