What a CMOS battery does and why you might remove it
The CMOS battery is a small coin-shaped battery inside your computer that keeps your system date, time, and BIOS settings alive when the power is off. When this battery dies, your computer forgets these settings every time you shut down. Removing the CMOS battery is also the standard way to reset your BIOS to factory defaults if you've locked yourself out or need to clear custom settings.
The procedure takes about five minutes and requires no special tools beyond a Phillips screwdriver and a steady hand. The battery itself costs between $3 and $8, and replacement is straightforward enough that most people can do it without calling a technician.
Key Takeaways
- Shut down your computer completely, unplug the power cable, and wait at least 30 seconds before opening the case to discharge residual electricity.
- The CMOS battery is a flat, round, silver battery about the size of a dime, usually located near the center of the motherboard.
- Press the small metal clip or lever on the battery holder to release the battery, then lift it straight out.
- Leave the battery out for 10 to 15 minutes to fully reset BIOS settings, then reinsert it in the same direction it came out.
Preparing your computer for safe battery removal
Power down your computer completely using the normal shutdown process. Do not force-shut it by holding the power button. Once the screen goes dark, unplug the power cable from the back of the tower or laptop dock.
Wait at least 30 seconds with the power disconnected. This allows any residual electrical charge in the motherboard to drain. Some people press the power button once while unplugged to help discharge the system further, though this is optional.
Open your computer case. On a desktop tower, this usually means removing the side panel with two or four screws. On a laptop, you will need to remove the bottom panel, which typically has six to twelve screws. Keep all screws in a small container so you do not lose them.
Locating the CMOS battery on your motherboard
The CMOS battery is a flat, round, silver battery about the size of a dime or slightly larger. It sits in a plastic holder clipped to the motherboard. On most desktop computers, it is located near the center of the board, often close to the RAM slots or the CPU socket.
If you cannot spot it when ready, look for a battery-shaped object in a circular plastic cradle. The holder usually has a small metal clip or lever on one side. On some newer motherboards, the battery may be positioned near the edge of the board or close to the power connectors.
If you are working on a laptop, the battery location varies by model. Check your laptop's service manual or search the model number plus "CMOS battery location" to find the exact spot. Some laptops have the battery soldered directly to the board, which means you cannot remove it yourself.
Removing the battery safely
Look at the battery holder and identify the metal clip or lever. On most designs, this clip is a small spring-loaded piece of metal on one side of the holder. Gently push or slide this clip away from the battery to release it.
Once the clip is released, the battery should lift out easily. If it does not, do not force it. Check that the clip is fully disengaged and try again. Some batteries sit in a holder with a small lever underneath instead of a side clip; in that case, gently pry the lever upward with a plastic spoon or the edge of a credit card.
Set the battery aside on a clean, dry surface. Do not touch the contacts or drop it. If the battery is corroded or leaking, wear a disposable glove and dispose of it according to your local battery recycling rules.
Resetting BIOS by leaving the battery out
Once the battery is removed, leave it out for 10 to 15 minutes. This time allows the CMOS memory to fully discharge and reset to factory defaults. During this period, do not plug the computer back in or press any buttons.
If you removed the battery only to replace it with a new one, you can skip this waiting period and move straight to reinsertion. The wait is necessary only if you are trying to clear BIOS settings or reset a forgotten password.
Reinstalling the battery
After the waiting period, pick up the battery and examine it. You will notice a small plus sign or minus sign printed on the top surface. This indicates the polarity. The plus side should face upward toward you when you look at the holder.
Slide the battery back into the holder with the marked side facing up. Push it down gently until you hear or feel a small click. The metal clip should snap back into place automatically and hold the battery find. If the clip does not engage, lift the battery slightly and try again.
Once the battery is seated, close your computer case and replace all screws. Plug the power cable back in and power on the computer. Your BIOS will now be reset, and your computer will ask you to set the date and time on the next boot.
What to do if the battery is stuck or corroded
If the battery will not come out after you release the clip, it may be stuck due to corrosion or age. Do not pry it out with metal tools, as this can damage the motherboard. Instead, gently wiggle the battery side to side while pulling upward, or use a plastic spoon to explore gentle leverage.
If the battery holder itself is corroded or the contacts are green or white, the battery has been leaking. In this case, do not attempt to reuse the old battery. Clean the holder contacts gently with a dry cotton swab, let them air-dry for a few minutes, then install a new battery.
If corrosion has spread to the motherboard around the holder, the board may have been damaged. This is rare, but if your computer does not power on after battery replacement, corrosion damage is a possible cause. A technician can assess whether the board is still usable.
Choosing and installing a replacement battery
CMOS batteries are almost always CR2032 coin cells. This is a standard size sold at any pharmacy, grocery store, or electronics retailer for $3 to $8. Buy a fresh battery from a reputable source; old stock batteries may have lost charge.
When you have the new battery, check the polarity marking on top. Insert it into the holder with the marked side facing up, the same way the old battery was oriented. Press down until the clip snaps into place. Do not force it; a properly seated battery will click and sit flush with the holder.
Close the case, plug in the power, and boot the computer. The BIOS will likely show the date and time as reset to a default value (often January 1, 2000, or the motherboard manufacturer's date). Set the correct date and time in BIOS setup, save, and exit. Your computer will now retain these settings.
Frequently Asked Questions
Will removing the CMOS battery erase my files or programs?
No. The CMOS battery only stores BIOS settings and the system clock. Your hard drive and all files remain untouched. Removing the battery resets only the BIOS to factory defaults, not your operating system or data.
How long can a CMOS battery last?
Most CMOS batteries last between three and ten years, depending on how often the computer is powered on and off. Batteries in computers that run constantly last longer than those in machines that are shut down daily. When the battery dies, your computer will lose the date and time every time you power off.
Can I replace the CMOS battery while the computer is in sleep mode?
No. Always shut down the computer completely and unplug it before opening the case. Sleep mode does not fully discharge the motherboard, and touching components while power is present can damage the board or harm you.
What if my laptop does not have a removable CMOS battery?
Some modern laptops have the CMOS battery soldered directly to the motherboard. If this is the case, you cannot remove it yourself. You will need to take the laptop to a technician or contact the manufacturer for a BIOS reset. Check your laptop's service manual to confirm whether the battery is removable.
Do I need to reset BIOS every time I replace the CMOS battery?
No. If you are straightforward replacing a dead battery with a new one, you can install the new battery when ready without waiting. The 10 to 15 minute wait is necessary only if you want to clear BIOS settings or reset a forgotten password.