Non-volatile memory (NVM) is a class of computer storage that preserves data when power is removed. Unlike volatile forms of memory that lose their contents when a device is turned off, NVM remains intact and is therefore used wherever persistent storage is required. For a general definition of memory types see computer memory, and for a contrast with temporary storage see volatile memory.

Key characteristics

NVM is characterized by data persistence, varying endurance (how many times it can be written), different read/write speeds, and retention time (how long data remains readable without refresh). It may be electrically erasable, mechanically altered, or set during manufacture. Design trade-offs often balance speed, cost, capacity and longevity.

Common types

  • Read-Only Memory (ROM): Programmed during manufacture or during a one-time write process; commonly holds firmware such as a device bootloader (bootloader example).
  • Electrically Erasable Programmable ROM (EEPROM): Can be erased and rewritten electrically in small blocks, used for configuration and calibration data.
  • Flash memory: A widely used form of electrically erasable storage used in USB drives, SSDs and memory cards; available in NOR and NAND architectures (flash memory).
  • Other technologies: Magnetic and optical media, ferroelectric memory, and newer non-volatile approaches such as phase-change and resistive memories aim to improve speed and endurance.

History and development

The need for persistent storage emerged with early digital computers and electronic control systems. Over decades, solid-state non-volatile technologies replaced many mechanical and magnetic forms for small, fast, and reliable storage. Flash memory in particular enabled portable media and low-cost solid-state storage that reshaped consumer electronics and enterprise storage.

Uses and importance

NVM is essential for firmware, system boot routines, device settings, removable media, long-term archival, and data retention in embedded systems. In modern systems it complements volatile main memory by storing code, user files and system state across power cycles.

Distinctions and notable facts

Not all non-volatile memories are equal: some allow many write cycles while others are write-once; some are optimized for fast reads, others for high density or low cost. Newer memory technologies are pursued to combine the speed of RAM with the persistence of traditional NVM, potentially changing system architectures in the future.