How a DRAM cell works: one transistor, one capacitor, and a constant race against leaks
Reading guide Step 38 of 125 · Memory
Every bit in a computer’s main memory is a tiny bucket of electric charge guarded by one transistor. The bucket leaks, so it must be refilled many times a second, and shrinking it is getting very hard. Here is how the cell Samsung and SK hynix make by the trillions actually works.
Key takeaways
- Each DRAM bit is one transistor and one capacitor: a charged capacitor is a 1, an empty one a 0.
- Reading a cell drains it, so it must be rewritten, and the charge leaks anyway, so every cell is refreshed within 64 milliseconds.
- To keep enough charge as cells shrink, capacitors have become tall, narrow cylinders that are very hard to make.
- Packed so tightly, cells can disturb their neighbors, a flaw called Rowhammer. Samsung and SK hynix are moving to vertical and 3D designs.
The main memory in every phone, PC, and AI server is DRAM, and DRAM is made of trillions of identical cells, each holding one bit. The design is almost 60 years old. In 1966 Robert Dennard, an engineer at IBM, came up with the idea of storing each bit as a charge on a capacitor controlled by a single transistor, replacing a six-transistor design; IBM received the patent in 1968, IBM recounts. Intel built the first successful commercial DRAM chip, holding 1 kilobit, in 1970. Dennard died in 2024, at 91, IEEE Spectrum noted.
One transistor, one capacitor
Each cell sits where two sets of wires cross. A wordline runs along each row and switches the cells’ transistors on; a bitline runs along each column and carries data in and out.
- Writing. The wordline turns the transistor on, connecting the capacitor to the bitline. The bitline is driven high to fill the capacitor with charge (a 1) or low to empty it (a 0). Then the transistor switches off, trapping the charge.
- Reading. The transistor is switched on, and the capacitor’s small charge spills onto the much larger bitline, nudging its voltage up or down very slightly. A sense amplifier at the end of the bitline detects that tiny change and amplifies it into a clear 1 or 0.
- Rewriting. Reading drains the capacitor, so the sense amplifier writes the value straight back. That is why a whole row is read into a row buffer at once; see What is a memory controller?
Why it is “dynamic”
A capacitor is not a perfect bucket. Its charge slowly leaks away through the transistor and surrounding material, so a 1 would eventually fade into a 0. DRAM therefore refreshes itself: every cell must be read and rewritten within a 64-millisecond window, with a refresh command issued on average every 7.8 microseconds, a University of Utah course explains. That constant refreshing is the “dynamic” in DRAM, and it costs power and time. Static RAM, used for caches inside processors, needs no refresh but uses six transistors per bit, so it is far larger; see Why SRAM stopped shrinking.
The capacitor problem
The capacitor must hold enough charge for the sense amplifier to tell a 1 from a 0. The amount it holds depends on its surface area, so as cells shrink, capacitors have been built upward: today each is a deep, narrow hole lined with a thin metal electrode, usually titanium nitride, then a thin insulating film, then a second electrode, Applied Materials explains. Each time the cell gets narrower, the hole must get relatively taller to keep the same area, raising its aspect ratio, its height divided by its width. Etching such holes risks twisting, bending, or stopping short. Because the cells are taller than they are wide, they cannot simply be laid on their side and stacked, Tom’s Hardware noted. See DRAM generations: 1a, 1b, 1c and Etching and deposition.
When neighbors interfere: Rowhammer
Packing cells closer together created a new problem. In 2014, researchers from Carnegie Mellon University and Intel showed that repeatedly opening the same row could make cells in neighboring rows leak charge faster and flip their bits, even though those rows were never written. They found such errors in 110 of 129 DDR3 modules from three makers; every module from 2012 and 2013 they tested was affected, and errors could appear after about 139,000 activations within one 64-millisecond refresh window, their paper reported. The flaw, called Rowhammer, also raised security worries, since a program could disturb memory it does not own, and memory makers and chip designers have added defenses since. The authors warned it would grow worse as cells shrink.
What comes next
To keep DRAM growing denser, Samsung and SK hynix plan to stand the cell’s transistor on end, saving area, and later to stack cells in layers, the way flash memory already is. See What is 3D DRAM? The same cells, stacked in a different way, make up HBM; see What is HBM?
Why it matters for Korea
Samsung and SK hynix together sold about two-thirds of the world’s DRAM in the third quarter of 2026, 37.8 and 28.7 percent by TrendForce’s count, so their ability to keep shrinking this one-transistor, one-capacitor cell, and to replace it when it can shrink no further, underpins Korea’s chip industry; see DRAM vs. NAND.
Sources
- IBM: Dynamic random-access memory (DRAM), IBM history
- IEEE Spectrum: Thanks for the memories (2009, updated 2024)
- University of Utah, CS 6810: Lecture on DRAM main memory
- Applied Materials: DRAM scaling requires new materials engineering solutions (Apr. 27, 2021)
- Tom’s Hardware: 3D DRAM proposal paves the road for a density increase (Aug. 29, 2023)
- Kim and others: Flipping bits in memory without accessing them (ISCA 2014)
FAQs
What is a DRAM cell?
The basic unit of DRAM memory: one transistor and one capacitor storing one bit. A charged capacitor means 1, an empty one 0, and the transistor acts as a gate that connects the capacitor to the wiring when the cell is read or written.
Why is it called dynamic?
Because the stored charge leaks away, so every cell must be read and rewritten regularly, within 64 milliseconds in standard DRAM. Static RAM (SRAM) holds its data as long as power is on, but needs six transistors per bit.
Who invented DRAM?
Robert Dennard of IBM conceived the one-transistor cell in 1966, and IBM received the patent in 1968. Intel built the first successful commercial DRAM chip, a 1-kilobit part, in 1970.
What is Rowhammer?
A flaw in which repeatedly opening one row of DRAM makes charge leak faster from cells in neighboring rows, flipping their bits. A 2014 study found it in 110 of 129 DDR3 modules tested.
Why is DRAM hard to shrink?
The capacitor must hold enough charge to be read reliably, so as cells shrink it has to get taller and thinner, like a deep, narrow hole. Etching and filling such holes is increasingly difficult, which is why the industry is moving to vertical transistors and stacked 3D DRAM.