It's good to know that a majority of fobs are powered by flat-watch-style batteries which can be easily replaced at home. You may even find that a reset will make your device work again.
Battery Replacement
A dead battery is the most common cause of a key fob that isn't working. It's simple to repair and worth a try before you purchase an alternative fob. You can buy a new button cell battery at a local auto part retailer or hardware store If you own one. You can also refer to your owner's guide (or YouTube for videos explaining how to replace the battery) to find specific instructions on how to replace and open the battery in your fob.
You'll need to gently pry apart the sides of most fobs to reach the battery. You'll usually need a small screwdriver or a different tool that has a flat, thin blade. It may be helpful to look for a notch on the lower edge of the fob that you can use to wedge your tool between. You may also want to watch out for tiny pieces that could break loose as you work.
Once you have your new battery, place it the same way that you removed the old one. The positive (+) side should be facing the buttons and the negative (-), the markings on the battery compartment.
Test the fob to see whether it is working by pressing the button. If it doesn't work, there may be a problem with your vehicle that needs to be repaired or replaced by a professional.
Certain key fobs are difficult to open, and the contacts could be fragile and easily damaged. In these cases, a car specialist or a dealer could be the best option. If you're looking to replace a battery, try to be gentle and follow the instructions specifically in the owner's manual. You might be able find a similar battery at a discounter or big-box retailer, but you'll need to consult your owner's manual to make sure that it's compatible with your vehicle.
Replace the internal key
The majority of key fobs have an actual mechanical key however, it's hidden within the fob to stop thieves from getting. When the battery in the fob fails, a blank key is left behind that can be used to open doors and trunks. In certain cases it is possible to start certain cars. Many people don't realize this however, they can save themselves having to go to the dealership by simply replacing the fob's battery. The flat watch-style battery is found in the majority of modern fobs. They can be located at hardware stores and auto parts stores. It is important to use the correct kind of battery. A bad battery can damage the electronic circuitry, causing the fob to fail faster.
If you change the battery, and the issue persists it could be a sign something else is wrong with your car. Check your owner's manual to determine if there's a reset procedure that can restore the fob to factory-setup. If this doesn't work, you'll have to visit a dealership or independent shop that specializes security systems for vehicles and key fob programming.
Fobs can also fail because of faulty transmitter receivers. They are typically located on the dashboard or close to the steering wheel, and they transmit signals that allow you to open and start your car using the fob. If you notice that you're having to get closer and closer to your car to be able to make it work, there's a good chance the transmitter is failing.

A professional might have to open the fob's case to replace the transmitter. A simple screwdriver is enough to do the job however, some fobs have complex release mechanisms that require a specific tool or specialized equipment that is available only at a dealer. It's best to have a certified mechanic do this job so that you don't break the fob or hurt yourself.
Reprogramming the Key
A key fob that's not working could just require an upgrade in battery. They are easily available in home improvement and pharmacy stores and are affordable. This is a great way to start before buying an entirely new key fob.
You can also re-program your key fob by yourself If you follow some basic steps. This procedure can differ between automobiles, so refer to the owner's manual and study the specific model of your vehicle. For instance the key fob might require the ignition to be turned on while reprogramming it. Another may require the key to be inserted and removed several times.
The general process is simple. Make sure the battery is securely in place. Then, sit in the driver's seat, and close all doors EXCEPT for the driver's side door. This will ensure the new key is communicating with the vehicle properly. After that, put the old key back in the ignition and switch it to the ON position, but do not start the engine. Then press the lock button on the fob, while aiming it at the transmission receiver, which is typically situated on the front of the car above the mirror. Within a brief time the key will signal to the vehicle that it's been programmed by turning off the doors locks or emitting a chime. This procedure can be difficult, so it's important to be attentive to the timing and to not over-press the key button.
If the key fob doesn't function after reprogramming, you can try replacing the batteries. If the issue persists, you might want to visit your car dealer or locksmith. A professional locksmith will have the tools and equipment to reprogram your car's fob or clone the key if needed.
Genesky says he can usually program newer fobs at around $200 to $250, based on the vehicle. However, he's had the need to turn away customers with European models due to the fact that they don't have the costly equipment they require. The majority of aftermarket fobs can be programmed, but you should always check with your local car dealer to find out the cost.
How do I get a new fob
If the key fob you have cannot be fixed, you could need to buy another one. Depending on your vehicle's model and make, an auto locksmith or dealership may be able to help. The dealership is likely to be the most expensive option for a replacement fob, however, it will also have the tools and software needed to program your car properly. Many locksmiths in independent shops provide a new car key fob at the lower cost.
It is a good thing to try to reset the fob you have before you decide to buy a new one. The owner's guide should explain the correct reset procedure. It is typically the result of a series of button presses which restores the factory settings.
You should also look over your owner's guide and warranty information to see whether you are eligible for an additional key fob. If your vehicle is under warranty or you have a car insurance policy or auto club membership that provides bumper-to-bumper coverage, you may be eligible for reimbursement for the cost of a new fob.
Finding the right where to purchase a fob can be a challenge. If you have a relatively new car and would like the assurance with knowing that your key fobs are in working condition, you might prefer going to the dealership to get this service. However, if you're looking for a more affordable option it is possible to find a locksmith independent who can provide the same services for a lower cost.
If you're not comfortable doing this kind of work yourself, a professional locksmith may be a great choice. They are skilled and equipped to replace or reprogram the majority of car key fobs and often, they can do it quickly. In addition, a locksmith will often visit your workplace or home to do the job which is practical for some. They can even cut and program keys on the spot if you have lost them, which is ideal for those who don't like to leave their vehicles unattended.