What a CMOS battery does and why you might remove it
The CMOS battery is a small coin-shaped cell on your motherboard that keeps your computer's date, time, and BIOS settings alive when the power is off. Removing it clears those settings and resets your system to factory defaults. You might do this to fix a computer that won't start, to reset a forgotten BIOS password, or to troubleshoot hardware problems that the BIOS is blocking.
The battery itself lasts three to ten years depending on how often your computer runs. When it dies, your system loses the time and date every time you shut down, and sometimes won't boot at all. Removing and reinserting it is also the first step in many repair procedures.
Key Takeaways
- Turn off your computer completely, unplug the power cable, and wait at least 30 seconds before opening the case to let residual charge drain.
- The CMOS battery is a flat, round silver cell about the size of a dime, usually located near the center or edge of the motherboard.
- Press the small metal clip or lever next to the battery to release it, then lift it straight out — do not pry it with a screwdriver.
- Leave the battery out for 10 to 15 minutes to fully clear the BIOS, then reinsert it the same way it came out, with the flat side facing up.
Shut down and discharge your system safely
Power down your computer completely through the operating system, not by holding the power button. Once the screen goes dark, unplug the power cable from the back of the case or the wall outlet. Do not skip this step — the motherboard holds a charge even when the computer appears off.
Wait at least 30 seconds after unplugging before you open the case. This gives any residual electrical charge time to drain. If your case has a power button on the front, press it once while the system is unplugged — this helps discharge any remaining voltage in the capacitors.
Open the case and locate the battery
Remove the side panel of your case. Most desktop cases have two thumb screws or a single latch on the back. Laptop users should consult their manual, as the process varies widely and sometimes requires removing the keyboard or bottom panel.
Look for a small, flat, round silver cell about the size of a dime or slightly larger. It is usually labeled CR2032, CR2025, or a similar code. On most motherboards it sits near the center, but on some older or compact boards it may be near the edge. If you cannot find it, check your motherboard manual — search the model number printed on the board itself.
Remove the battery without damaging the motherboard
Look for a small metal clip or lever next to the battery. This clip holds the battery in place. Press the clip away from the battery with your finger or a plastic tool — a guitar pick or old credit card works well. The battery will pop up slightly as the clip releases.
Lift the battery straight out of its socket. Do not pry it with a metal screwdriver or force it sideways, as this can crack the socket or damage nearby components. If the battery does not come free easily, the clip may not be fully released — try pressing it further.
Set the battery aside on a non-static surface. If you plan to reuse it, keep it in a safe place. If it is dead or you are replacing it, dispose of it according to your local battery recycling rules — most electronics retailers accept old batteries.
Wait and reinsert the battery
Leave the battery out of the socket for 10 to 15 minutes. This time allows the BIOS chip to fully discharge and forget all stored settings. Reinserting it when ready may not clear everything.
After the wait, pick up the new or original battery. Make sure the flat, positive side (marked with a + symbol) faces upward toward the motherboard. Slide the battery into the socket at a slight angle, then press down gently until the metal clip snaps back into place and holds it firm. You should hear or feel a small click.
Close the case, plug in the power cable, and turn on your computer. The system will boot with default BIOS settings. You may see a message about the date and time being reset, or a prompt to enter BIOS setup. This is normal and means the battery removal worked.
What to do if the battery won't come out
If the clip does not release or the battery is stuck, do not force it. Excessive pressure can break the socket or the battery itself. Instead, try pressing the clip from different angles — sometimes it needs to be pushed at a specific point to release fully.
If the battery is corroded or leaking, wear gloves and do not touch the leaked material directly. Clean the socket gently with a dry cotton swab after the battery is out. If corrosion has damaged the socket itself, the motherboard may need professional repair.
Replacing the battery with a new one
CMOS batteries are inexpensive and widely available. The most common type is CR2032, which costs between two and five dollars at electronics stores, pharmacies, or online retailers. Check your motherboard manual or the old battery itself to confirm the exact model before buying a replacement.
Insert the new battery the same way you removed the old one — flat side up, at a slight angle into the socket, then press down until the clip locks. New batteries usually last five to ten years depending on how often your computer runs. If your computer loses the time and date again within a year or two, the battery may be defective and should be replaced.
Frequently Asked Questions
Will removing the CMOS battery erase my files or programs?
No. The CMOS battery only stores the date, time, and BIOS settings. Your files, programs, and operating system are on your hard drive or SSD and are not affected. You will not lose any data by removing the battery.
How long can I leave the CMOS battery out?
You can leave it out indefinitely without damaging the motherboard. However, without the battery, your computer will not keep the correct time and date, and some systems may not boot at all. Reinsert it as soon as you have finished troubleshooting.
What if my computer still won't start after I put the battery back in?
Resetting the BIOS fixes some startup problems but not all. If the computer still will not boot, the issue may be a failed hard drive, bad RAM, or a power supply problem. Try reseating your RAM and checking all power cables before assuming the motherboard is faulty.
Can I remove the CMOS battery while the computer is in sleep mode?
No. Always shut down completely and unplug the power cable first. Sleep mode leaves power flowing to the motherboard, and removing the battery while powered can damage components or cause data loss.
Is it safe to touch the motherboard while the battery is out?
Yes, as long as the power cable is unplugged and you have waited 30 seconds. To be extra safe, touch a metal part of the case before touching the motherboard to discharge any static electricity from your body.