What happens when you replace a key fob

Replacing a key fob means getting a new remote control for your car and programming it to work with your vehicle's locking and unlocking system. The process has two parts: buying the fob itself, and telling your car's computer to recognize it. You can do the programming yourself for many vehicles, or a dealership or locksmith can do it for you. The whole job usually takes between 15 minutes and an hour, depending on your car's make and model.

A key fob stops working for a few common reasons: the battery dies (most common), the buttons wear out from use, water damage, or the internal circuit board fails. Before you replace the whole fob, try replacing just the battery first—it costs a few dollars and fixes the problem about half the time. If the buttons are physically broken or the fob won't hold a charge, replacement is your next step.

Key Takeaways

  • Most key fob batteries cost $3 to $8 and last three to four years; replacing the battery alone solves the problem in roughly half of all cases.
  • A replacement fob from a dealership costs $200 to $500 including programming, while aftermarket fobs from locksmiths or online retailers run $50 to $150 plus programming fees.
  • Many vehicles let you program a new fob yourself by turning the ignition on and off in a specific sequence and pressing buttons—your owner's manual or a locksmith can tell you the exact steps for your car.
  • Dealerships program fobs while you wait, but locksmiths and some hardware stores often do the same job for less money.

Buying a replacement fob: dealership versus aftermarket

A dealership fob is made by your car's manufacturer and may provide to work with your vehicle. Dealerships charge $200 to $500 for the fob plus programming. The price varies widely by brand—luxury cars and newer models cost more. You order through the service department, and they program it while you wait, usually in under an hour. The advantage is certainty: the fob will work, and if something goes wrong, the dealership takes responsibility.

Aftermarket fobs are made by third-party companies and sold through locksmiths, online retailers like Amazon or eBay, or big-box hardware stores. They cost $50 to $150 for the fob itself. The catch is that not every aftermarket fob works with every car—you need to match the fob to your vehicle's year, make, and model. Read the product description carefully and check customer reviews for your specific car. Many aftermarket fobs work perfectly; some do not program correctly or fail within a year. You save money upfront but take on more risk.

A middle ground is buying an aftermarket fob and having a locksmith or dealership program it for you. This costs $50 to $150 for the fob plus $50 to $150 for programming, bringing your total to $100 to $300—less than a dealership fob but with professional installation backing it up.

Programming your new fob yourself

Many vehicles allow you to program a new fob without special tools or a trip to the dealership. The process usually involves sitting in the driver's seat, turning the ignition to specific positions (on, off, on, off, on—the exact sequence varies), and pressing buttons on the new fob while the car's computer listens. Some cars require you to hold down the lock or unlock button for several seconds; others ask you to press it multiple times in quick succession.

The problem is that every manufacturer uses a different sequence, and some cars do not allow self-programming at all. Your owner's manual contains the exact steps for your vehicle. If you do not have the manual, search online for "[your year, make, model] key fob programming" or call a locksmith and ask—they can walk you through it over the phone for free or a small fee. YouTube videos exist for most common cars, but verify the steps match your exact model before you start.

Self-programming works best when you already have at least one working fob. The car uses the existing fob to recognize that you are the owner and then accepts the new one. If both your fobs are broken, you will need a locksmith or dealership to start the process.

Using a locksmith to program your fob

A locksmith can program a new fob for $50 to $150, depending on your area and the complexity of your car. They arrive with the tools to communicate directly with your vehicle's computer, bypassing the need for you to know the programming sequence. This is faster and more reliable than self-programming, especially if your car is older or uses an unusual system.

Find a locksmith by searching "automotive locksmith near me" or asking your car insurance company for a referral. Call ahead and confirm they work on your vehicle's year and make—some locksmiths specialize in certain brands. Ask the price before they come out. Many locksmiths can also cut and program a new physical key at the same time if you need one, which saves a second trip.

Dealership programming: when to use it

Go to your dealership's service department if you want the fob to be may provide to work, if your car is under warranty and you want the work covered, or if you are buying the fob from them anyway. Dealerships program fobs while you wait—usually 30 minutes to an hour. You pay more than a locksmith, but you get a manufacturer-backed fob and the certainty that it will function correctly.

Dealerships are also your only option if your car requires a special key or fob that aftermarket suppliers do not make. Some luxury brands and high-security vehicles fall into this category. Call the service department and ask whether they can program an aftermarket fob or whether you must buy from them.

What to do if your fob battery is dead but the fob itself works

Before you buy a new fob, replace the battery. Most key fobs use a coin-cell battery—usually a CR2032, CR2025, or similar—that costs $3 to $8 at any pharmacy, grocery store, or hardware store. Look at the back of your fob for a small slot or button that opens the case. Pry it gently with a coin or flathead screwdriver. Note which way the old battery sits (the positive side usually faces up), remove it, and slide the new one in the same way. Close the case and test the buttons.

If the fob still does not work after a new battery, the problem is the circuit board or buttons, not the power. That means you need a replacement fob. If the battery fixed it, you are done—no programming needed.

Timing and cost summary

OptionFob CostProgramming CostTotal Time
Replace battery only$3–$8None5 minutes
Self-program aftermarket fob$50–$150None15–30 minutes
Locksmith programs aftermarket fob$50–$150$50–$15030–60 minutes
Dealership fob and programming$200–$500Included30–60 minutes

Frequently Asked Questions

Can I program a key fob myself if I have never done it before?

Yes, if your car supports self-programming and you follow the steps exactly. The process is usually just turning the ignition and pressing buttons—no special knowledge required. Your owner's manual or a locksmith can confirm whether your car allows it. If the steps do not work after two or three tries, stop and call a locksmith instead of guessing.

What if I buy an aftermarket fob and it does not work?

Return it to the seller for a refund if it arrives defective. If it was the wrong model for your car, you will need to buy the correct one. A locksmith can tell you the right fob model for your vehicle if you are unsure. Some aftermarket fobs fail after a few months of use—check the seller's return policy before you buy.

Do I need both old fobs to program a new one?

Not always. If you have one working fob, you can use it to help program the new one. If both are broken, a locksmith or dealership can program the new fob without the old one, but it takes longer and may cost more. Self-programming usually requires at least one working fob.

Will my car's computer remember my old fob after I program a new one?

Yes. Programming a new fob does not erase the old one from your car's memory. Both will work until you tell the dealership or locksmith to remove the old fob from the system. This is useful if you lose a fob but want to keep using the other one.

How long does a key fob battery last?

Most key fob batteries last three to four years with normal use. Heavy use—pressing the buttons many times per day—can shorten that to two years. If your fob stops working suddenly, the battery is the most likely cause.