Home/Technologies/Flash Memory Explained: How NAND and NOR Store and Retain Data
Technologies

Flash Memory Explained: How NAND and NOR Store and Retain Data

Flash memory is a non-volatile data storage technology found in SSDs, smartphones, and more. Learn how NAND and NOR flash work, their differences, applications, and why flash memory wears out over time.

Nov 27, 2026
7 min
Flash Memory Explained: How NAND and NOR Store and Retain Data

Flash memory is a data storage technology that allows information to be retained even after complete power loss. It is used in SSD drives, smartphones, USB flash drives, memory cards, and chips containing firmware for electronic devices.

There are two main types of flash memory: NAND and NOR. Both use similar physical principles for storing information, but differ in cell architecture, data access speed, recording density, and production cost.

Let's explore how flash memory works, why an electric charge can be retained inside a chip without power, how NAND differs from NOR, and why these devices have a limited number of rewrite cycles.

What Is Flash Memory and How Does It Work?

Flash memory is a type of non-volatile semiconductor memory where information is stored as an electric charge. Unlike RAM, it does not require constant power to retain recorded data.

Inside the chip are millions or even billions of memory cells built using special transistors. Two main technologies are used to store the charge:

  • Floating Gate - an isolated conductive layer that accumulates electrons inside.
  • Charge Trap - a dielectric layer that holds electrons in localized regions of the material.

A classic floating gate transistor consists of several elements:

  • Control gate
  • Floating gate
  • Insulating layers
  • Source and drain
  • Semiconductor channel

The stored electric charge changes the transistor's threshold voltage - the voltage needed to open its channel. Electronics determine what information is stored in a cell by measuring this parameter.

Insulating layers prevent electrons from moving freely, so the charge can be preserved for years even without power. Electrical energy is only needed for writing, reading, and erasing data.

However, the charge is not preserved indefinitely: over time, some electrons may escape the storage area, gradually altering the cell's state.

How Flash Memory Writes, Reads, and Erases Data

Flash memory works by controlling the number of electrons inside a cell. The chip uses electrical pulses of different voltages to change and detect the cell's state.

Writing Data

During writing, a high voltage is applied to the transistor. The electric field causes electrons to overcome the insulating barrier and enter the floating gate or charge trap.

Depending on the memory design, this is achieved using quantum tunneling or hot electron injection. The stored charge changes the transistor's threshold voltage, setting a new logical state for the cell.

Reading Data

During reading, the chip applies a specific voltage to the control gate and checks if electric current flows through the transistor's channel.

In the simplest single-level cell, there are two states:

  • Logical one (1) - an erased cell with low threshold voltage.
  • Logical zero (0) - a programmed cell with high threshold voltage.

Multi-level cells use several threshold voltage ranges, allowing multiple bits of information to be stored in one transistor.

Erasing Data

To erase data, an electric field is created that removes the stored electrons from the charge storage area. The threshold voltage returns to its original range.

A unique feature of NAND memory is that data is written in pages and erased in entire blocks. To change already written information, the controller often needs to move valid data to a free block and clear the old one for reuse.

How NAND and NOR Differ

The main difference between NAND and NOR memory lies in the way transistors are connected within the memory array. The architecture determines data access speed, cell density, and storage cost.

NAND Memory

In NAND Flash, transistors are connected in series to form chains of cells. This design requires fewer contacts and allows more cells to be placed on the chip surface.

Data is read and written in pages and erased in blocks. NAND is well suited for storing large volumes of information thanks to its high recording density and low cost per gigabyte.

NOR Memory

In NOR Flash, cells are connected in parallel to read lines. This architecture provides fast random access to individual memory addresses but occupies more chip area.

NOR allows the processor to execute code directly from memory without first copying it to RAM. This mechanism is called Execute in Place (XIP).

Comparison of NAND and NOR

CharacteristicNANDNOR
Cell connectionSerialParallel
Storage densityHighLower
Random readSlowerFast
Large data writesFastSlower
Data erasureBy blocksBy sectors or blocks
Cost per gigabyteLowHigh
Direct code executionUsually not supportedSupported
Main useFile storageFirmware storage

NAND is focused on compact and cost-effective storage of large data volumes, while NOR is used where fast access to specific memory areas and direct program code execution are important.

Where NAND and NOR Flash Are Used

NAND and NOR are used in different electronic devices, as the requirements for storing user files and program code vary greatly.

Applications of NAND Memory

NAND is used in devices that require large memory capacity, such as:

  • SSD drives
  • USB flash drives
  • SD and microSD memory cards
  • Smartphones and tablets
  • eMMC and UFS storage

Depending on the number of bits stored per cell, NAND memory is divided into several types:

Memory TypeBits per cellNumber of states
SLC12
MLC24
TLC38
QLC416
PLC532

Increasing the number of bits per cell lowers storage costs but complicates data reading and typically reduces rewrite endurance.

3D NAND technology is also used to boost capacity, stacking cells in vertical layers. This increases chip capacity without proportionally increasing chip area.

Applications of NOR Memory

NOR Flash is mainly used for storing program code and system data, such as:

  • BIOS and UEFI on motherboards
  • Microcontroller firmware
  • Automotive electronic control units
  • Networking equipment
  • Industrial controllers
  • Internet of Things devices

Both types of memory can be used in one device. For example, a computer may store UEFI firmware in a NOR Flash chip, while the operating system, apps, and user files reside on an SSD with NAND memory.

Why Flash Memory Wears Out and Loses Data

Flash memory has a limited number of program/erase (P/E) cycles. During each cycle, electrons pass through a thin insulating layer under strong electric fields.

Over time, defects accumulate in the dielectric, reducing the cell's ability to hold a charge. As a result, the transistor's threshold voltage changes, read errors increase, and data retention time decreases.

Flash memory endurance depends on:

  • Rewrite cycles - the more often cells are erased and programmed, the faster they wear out.
  • Storage temperature - heat accelerates charge leakage.
  • Bits per cell - more states reduce the allowable threshold voltage margin.
  • Manufacturing quality - properties of insulating materials affect data reliability.

To extend drive lifespan, controllers distribute load across cells, correct read errors, and replace damaged blocks with reserves.

You can learn more about these mechanisms in the article Why SSDs Degrade: Understanding TBW, NAND Memory, and Wear Leveling.

Flash memory can retain information without power for several years, but the exact period depends on the chip type, its wear level, and storage conditions. Therefore, SSDs, USB flash drives, and memory cards are not recommended as the sole location for important data.

Conclusion

NAND and NOR flash memory store data without power thanks to the ability of transistors to hold an electric charge in an isolated region. By changing this charge, chips write data; by measuring the threshold voltage, they read it.

NAND provides high storage density and low cost per gigabyte, which is why it's used in SSDs, smartphones, and memory cards. NOR offers fast random access and is better suited for firmware storage and direct code execution.

Despite being non-volatile, flash memory has limited rewrite endurance and does not guarantee perpetual data retention. When choosing a storage device, it's important to consider not only capacity and speed, but also longevity, and to regularly back up important files.

Tags:

flash memory
NAND
NOR
SSD
non-volatile memory
semiconductors
data storage
firmware

Similar Articles

Loading...