How does a chip keep data with the power off?
Lesson 11.1 · Trapping Electrons
Sarah · Jenny
Electrons in a cage. Door locked.
Sarah knows RAM forgets the moment the power goes.
Sarah wants to know how the SSD, also a bunch of chips, remembers for years in a drawer.
Jenny says each bit is a little cage for electrons.
Put electrons in and lock the door, and they stay put, power or no power, for years.
The short answer
By trapping electrons in tiny insulated cages that hold them for years. That’s flash memory, the same stuff in USB sticks and phones. Jenny’s SSD is a lot of it, plus a smart controller, with no arm and nothing to spin.
Try it yourself
All of these use the same kind of memory. Flip them to see.
What you just did has a name
Flash memory
Flash memory stores each bit by trapping electrons in a tiny insulated cage inside a transistor.
Trapped electrons change how the transistor behaves, which reads as a 0 or 1, and they stay trapped for years without power.
Flash is non-volatile like a hard drive but has no moving parts, so it can reach any spot almost instantly.
It’s erased in blocks, all at once, which is where the name “flash” came from.
A few more things
Faster than a drive, slower than RAM
Flash sits between the two on the speed ladder from Module 8: about a hundred times faster than a hard drive for small reads, and a lot slower than RAM.
Tough
No spinning parts means no head crashes. A phone survives a drop that would wreck a running hard drive.
Stacked up
Modern flash chips stack many layers of cells on top of each other, like floors of a skyscraper, to fit more in the same space.
Go deeper
The longer version, if you want it.
Storing more than one bit per cage
Early flash stored one bit per cell: electrons or no electrons. Then makers learned to store different amounts of charge and read the level, so one cell could hold two, three or even four bits.
More bits per cell means cheaper, bigger drives, but the levels are harder to tell apart and wear out faster. It’s a trade-off you’ll see on spec sheets as SLC, MLC, TLC and QLC.
Quick check
Why doesn’t a USB stick forget its files when you unplug it?
Let’s take it slower
Picture a little room with a door. Push some marbles in and lock the door, or leave it empty. Those are the two states, one for 0 and one for 1. The marbles stay in there for years whether the lights are on or not. Flash memory is billions of those little rooms. RAM, by comparison, is buckets with holes in them.
More examples
A game save on a console
Your save lives on the console’s flash storage, and it’s there next week even if the console was unplugged.
Your phone in airplane mode
Everything on your phone is stored on flash chips on its board. No internet needed to keep it.
Back to the question
So how does a chip remember with the power off?
Show the answer
By trapping electrons in tiny insulated cages that hold them for years. That’s flash memory, the same stuff in USB sticks and phones. Jenny’s SSD is a lot of it, plus a smart controller, with no arm and nothing to spin.
More on this: SSD vs. HDD: which is better?
One last question
Mark asks what an SSD is made of. Who got it right?
Talk Card
Talk Card · 11.1
Flash memory traps electrons in tiny cells to store bits without power, with no moving parts. USB sticks, phones and SSDs all use it.
How Computers Work · pettigrewlab.com/learn

