What Is EEPROM? How It Works and Why It Matters

EEPROM stands for Electrically Erasable Programmable Read-Only Memory. It’s a type of computer memory that holds onto stored data even when the power is turned off, and it can be rewritten electronically without removing the chip from its circuit. You’ll find EEPROM in everything from car engine computers to TV remote controls, quietly storing the small bits of information that devices need to remember between uses.

How EEPROM Works

At its core, EEPROM stores data by trapping electrical charges inside tiny cells on a silicon chip. Each cell holds a small charge that represents either a 1 or a 0. Because the charge is physically trapped behind an insulating layer, it stays put even without power. When you need to change the stored data, a precisely controlled electrical voltage pushes new charges through that insulating layer, a process the semiconductor industry calls tunneling.

The key feature that sets EEPROM apart from older memory types is byte-level access. It can read, write, or erase a single byte of data at a time, one tiny piece without disturbing anything else stored on the chip. This makes it especially useful when a device only needs to update a small value, like a volume setting or a saved channel number, without rewriting everything.

Where EEPROM Came From

Before EEPROM existed, engineers used EPROM chips that required ultraviolet light to erase. You had to physically remove the chip from the circuit board, expose it to UV light through a small quartz window on the chip’s surface, wait for it to erase, and then reprogram it. Many EPROM chips were even sealed in opaque plastic, making them effectively one-time programmable since there was no way to get UV light to the memory cells.

Research into electrically erasable memory began in the early 1970s, and the first true EEPROM was patented by Siemens in 1974. By 1977, Eliyahou Harari at Hughes Aircraft Company had patented a refined version of the technology that became the foundation for modern EEPROM. The ability to erase and rewrite data using only electricity, with no UV lamp and no chip removal, was a significant leap forward for electronics design.

EEPROM vs. Flash Memory

Flash memory is actually a descendant of EEPROM, and people sometimes confuse the two. The critical difference comes down to how they handle data. EEPROM erases and writes one byte at a time. Flash memory works in blocks, typically 512 bytes or larger, erasing and writing an entire block at once.

This block-level approach makes flash memory faster and cheaper for storing large amounts of data, which is why it’s used in USB drives, SSDs, and smartphone storage. But it also means flash can’t efficiently change just one small value without rewriting an entire block. EEPROM’s byte-level precision makes it the better choice when a device needs to frequently update individual settings or small data points without wearing out surrounding memory cells.

How Long EEPROM Lasts

EEPROM has two durability limits worth knowing about: write endurance and data retention.

Write endurance refers to how many times you can erase and rewrite a memory cell before it wears out. Standard EEPROM chips are rated for around 1 million write cycles at room temperature. High-performance chips from manufacturers like STMicroelectronics have been rated for 4 million cycles at 25°C, and lab testing on some devices has demonstrated up to 1 billion write cycles without failure. Heat accelerates wear, so the same chip rated for 4 million cycles at room temperature drops to about 1.2 million cycles at 85°C.

Data retention is how long the chip holds its data without power. For pages that haven’t been heavily rewritten, EEPROM can retain data correctly for 100 years at 40°C. Pages that have been through intensive write cycling still hold data for about 10 years. Built-in error correction helps maintain this reliability over the chip’s lifetime.

Common Uses

EEPROM typically stores small, important pieces of information that a device needs to remember when it’s turned off and on again. Some of the most common examples include:

  • Configuration settings: saved preferences like display brightness, language selection, or network credentials on routers and appliances
  • Calibration data: factory-set values that tell sensors and instruments how to measure accurately
  • Device identity: serial numbers, MAC addresses, and encryption keys that make each device unique
  • Firmware parameters: small updates or patches to a device’s operating software that need to survive a reboot

Your car’s engine control unit likely uses EEPROM to store fuel injection timing and emissions calibration data. A digital thermostat uses it to remember your temperature schedule. Even simple devices like garage door openers store their paired remote codes in EEPROM.

How Devices Talk to EEPROM Chips

Most modern EEPROM chips are serial devices, meaning they send and receive data one bit at a time over just a few wires. The two most common communication methods are I2C and SPI.

I2C (Inter-Integrated Circuit) uses only two wires: one for data and one for a clock signal that keeps everything synchronized. It’s popular in designs where circuit board space is tight or the microcontroller has limited connection pins. Some very small microcontrollers, like the classic ATTiny series used in hobbyist projects, only support I2C. Standard I2C runs at 100 kilobits per second, with faster versions reaching up to 3.4 megabits per second.

SPI (Serial Peripheral Interface) uses four wires and can transfer data in both directions simultaneously, reaching speeds up to 60 megabits per second. It draws less average power during repeated data access, making it a better fit for battery-powered devices that need to read or write frequently. The tradeoff is that SPI requires more connection pins on the microcontroller.

For most EEPROM applications, the choice is straightforward: if you only need occasional reads and writes and want to minimize wiring, I2C works well. If speed or power efficiency matters, SPI is the stronger option.

Why EEPROM Still Matters

In a world of gigabyte flash drives and terabyte SSDs, EEPROM might seem like a relic. Its storage capacity is tiny by comparison, typically ranging from a few kilobits to a few megabits. But that byte-level precision, combined with high write endurance and decades-long data retention, keeps it essential for embedded systems. When a device needs to reliably store and update a handful of critical values millions of times over its operational life, EEPROM remains the most practical solution. It fills a narrow but important role that larger, faster memory technologies aren’t designed for.