Hardware

What is CMOS battery?

A CMOS battery is a small coin-cell battery on the motherboard that provides continuous power to the CMOS memory chip, preserving BIOS/UEFI settings and the real-time clock while the computer is powered off.

What Is a CMOS Battery?

A CMOS battery is a small, coin-shaped battery mounted on a computer's motherboard. Its primary job is to supply a small, continuous amount of power to the CMOS (Complementary Metal-Oxide-Semiconductor) memory chip and the system's Real-Time Clock (RTC) even when the computer is unplugged or turned off. Although it is a simple, inexpensive component, its failure produces some of the most common and easily misdiagnosed symptoms in a PC, making it an essential topic for hardware technicians and certification candidates.

The most common form factor is the CR2032 lithium coin cell, a 3-volt battery roughly the size of a coin. It typically lasts anywhere from 2 to 10 years depending on usage patterns and how often the system is powered.

Why It Matters

Modern motherboards store firmware configuration data and keep track of time using low-power volatile memory. Without a persistent power source, this information would be lost every time the system loses main power. The CMOS battery bridges this gap:

  • It preserves BIOS/UEFI settings such as boot order, hardware configuration, and enabled/disabled devices.
  • It powers the Real-Time Clock so the system maintains the correct date and time.
  • It retains security-related configuration such as certain passwords stored in CMOS.

How It Works

Historically, the CMOS chip was a small block of volatile SRAM that required constant power to retain its contents. The CMOS battery provided a trickle of current so the stored settings and clock survived power loss. On many modern systems, firmware settings are actually stored in non-volatile flash memory, but the battery is still required to keep the RTC running and to maintain a small amount of state.

Key Components

  • Coin-cell battery: Usually a CR2032 lithium cell producing 3V.
  • Battery holder: A retaining clip on the motherboard that holds the cell and connects it to the circuit.
  • CMOS/RTC chip: Combined into the motherboard chipset (often the Southbridge or its modern equivalent), containing the real-time clock and configuration memory.
  • Clear CMOS jumper: A jumper or button used to reset firmware settings to defaults by discharging the CMOS memory.

Common Symptoms of a Failing CMOS Battery

Recognizing the signs of a dead or dying CMOS battery is a frequent exam topic and a real-world troubleshooting skill:

  • Incorrect or resetting system clock: The date and time revert to a default value (often a date in the past) after each power cycle.
  • Lost BIOS/UEFI settings: Custom configuration such as boot order returns to defaults.
  • Boot errors: Messages like CMOS checksum error, CMOS battery failure, or RTC battery low appear during POST.
  • Certificate or authentication issues: An inaccurate clock can cause SSL/TLS certificate validation failures and problems syncing with time-dependent services.

Replacing a CMOS Battery

  1. Power down the system completely and unplug it from the wall.
  2. Follow proper ESD (electrostatic discharge) precautions—use an anti-static wrist strap.
  3. Open the case and locate the coin-cell battery on the motherboard.
  4. Gently release the retaining clip and remove the old battery, noting its orientation (positive side up in most designs).
  5. Insert the new battery of the same type, ensuring correct polarity.
  6. Power on the system, enter BIOS/UEFI setup, and reconfigure the date, time, and any custom settings.
Note: Replacing the CMOS battery clears saved firmware settings, so record any custom configuration beforehand. This behavior is also why removing the battery is a valid method for clearing a forgotten BIOS password.

Best Practices and Considerations

  • Always match the battery type exactly (e.g., CR2032) to ensure proper voltage and fit.
  • Keep the correct system time synchronized using NTP after replacement to avoid drift-related issues.
  • In enterprise environments, note that a failing battery on servers can cause logging inconsistencies and authentication failures tied to Kerberos, which is time-sensitive.
  • For laptops, the CMOS battery may be a soldered or hard-to-reach component, sometimes requiring partial disassembly.

Real-World Example

A user reports that their desktop displays the wrong date every morning and occasionally shows a "CMOS checksum error" during startup. A technician recognizes these as classic signs of a depleted CMOS battery, replaces the CR2032 cell, re-enters BIOS to set the correct time and boot order, and the problem is resolved—demonstrating how a small, low-cost part can prevent recurring boot and timekeeping issues.

Studying for CompTIA (Hardware)?

ExamWizardz turns the official objectives into a guided study plan — with practice tests, real PBQs, and a readiness score. Join the waitlist to be first in when CompTIA A+ launches.