HomeExplainers › Science

Science

How the Brain Forms Memories

Open Brief Staff July 6, 2026 7 min read
Key points

Ask where a specific memory is physically located in the brain and the honest answer is that it isn't located anywhere in particular, at least not the way a file sits in one folder on a hard drive. A memory is a pattern of connection strength distributed across many neurons at once, and recalling it means partially recreating that pattern rather than retrieving a stored copy from a single address.

Encoding: turning experience into a neural pattern

When you experience something, whether a conversation, a smell, or a sequence of events, different regions of your brain process different aspects of it simultaneously: visual cortex handles what you saw, auditory cortex what you heard, and so on. Encoding is the process of binding these simultaneously active regions into a single, associated pattern, and it happens through a mechanism called synaptic plasticity: connections, or synapses, between neurons that fire together during an experience become physically strengthened, making it easier for activity in one to trigger activity in the other again later. This strengthening process, when sustained, is known as long-term potentiation, and it's one of the most well-established mechanisms in neuroscience for how experience physically changes the brain's wiring.

The hippocampus: a temporary index, not permanent storage

A seahorse-shaped structure deep in the brain called the hippocampus plays a central role in forming new memories, but it does not appear to be where memories live permanently. Instead, the hippocampus seems to act more like an index, rapidly binding together the scattered cortical regions that were active during an experience into a single retrievable unit while a more durable copy is gradually built elsewhere.

This distinction became clear largely through the study of patients with hippocampal damage, most famously a patient known by his initials, H.M., who lost the ability to form new long-term memories after surgery removed his hippocampus, while retaining memories formed years before the surgery and the capacity to learn certain motor skills. This pattern, an inability to form new explicit memories alongside intact old ones, is what convinced researchers that the hippocampus is needed to create new long-term memories but is not itself their final storage site.

Consolidation: making a memory durable

Immediately after encoding, a memory is fragile and easily disrupted, whether by interference from new information or physical injury. Over hours, days, and sometimes years, a process called consolidation gradually transfers and stabilizes the memory, strengthening the direct connections between cortical regions so the memory becomes less dependent on the hippocampus over time. This is why an older, well-consolidated memory can survive hippocampal damage that would prevent forming any new ones: it no longer needs the hippocampal index to be recalled, having been sufficiently reinforced within the cortex itself.

Why sleep matters so much for memory

Sleep is not simply downtime for the brain; it's an active part of the consolidation process. During certain sleep stages, particularly slow-wave sleep, the hippocampus appears to replay the neural activity patterns from recent waking experience, in compressed and repeated bursts, effectively rehearsing the day's new memories and reinforcing the connections that encode them. This replay is believed to help transfer information from the hippocampus's temporary index toward more stable cortical storage, one reason sleep deprivation reliably impairs memory formation and retention even when the original learning happened while fully awake, a link relevant to broader research on how sleep cycles work across a full night.

Why memory is reconstructive, not a recording

A common misconception treats memory like a video recording that gets played back unchanged. In reality, each act of recalling a memory appears to partially reactivate and then re-stabilize its underlying neural pattern, a process during which the memory can be subtly altered, merged with other information encountered around the same time, or influenced by current beliefs and expectations. This is a major reason eyewitness memory, while often confidently reported, can be measurably inaccurate, and why the same person recalling an event years apart may report meaningfully different details each time, not necessarily through dishonesty but because each recollection is a reconstruction rather than a fixed readout.

Different systems for different kinds of memory

Not all memory relies on the hippocampal pathway described above. Explicit memory, covering facts and personal experiences that can be consciously described, depends heavily on the hippocampus and cortex as outlined here. Implicit memory, covering learned skills and habits like riding a bicycle or typing, relies more on other structures including the basal ganglia and cerebellum, which is part of why patients with hippocampal damage can still learn new physical skills even while unable to form new explicit memories of having practiced them. Research institutes including the National Institute of Neurological Disorders and Stroke maintain public overviews of how these distinct memory systems have been mapped through decades of clinical and experimental research.

The short version

Memory is encoded as a pattern of strengthened synaptic connections spread across multiple brain regions rather than stored in a single location. The hippocampus temporarily binds these scattered pieces together into a retrievable memory, while consolidation, actively supported by sleep, gradually transfers a more durable version into the cortex over time. Because recall partially reconstructs rather than replays a memory, memories can shift subtly each time they are retrieved.