Learning and memory depend on a network of brain regions working together, not a single location. The hippocampus, amygdala, prefrontal cortex, basal ganglia, cerebellum, and the outer layer of the brain called the neocortex each handle different types of memory. Some regions store information temporarily, others house it for decades, and several act as relay stations that move memories from short-term to long-term storage.
The Hippocampus: Where New Memories Form
The hippocampus, a curved structure deep in the temporal lobe on each side of the brain, is the central hub for forming new factual and event-based memories. When you learn someone’s name, memorize a historical date, or remember what happened at dinner last night, the hippocampus is doing the heavy lifting. It binds together the sights, sounds, and context of an experience into a coherent memory.
Critically, the hippocampus is not where most memories permanently live. It acts more like a temporary workspace. During sleep, particularly during deep slow-wave sleep, the hippocampus replays newly acquired information and gradually transfers it to the neocortex for long-term storage. This transfer process, called systems consolidation, can take weeks to years. Brain imaging studies show hippocampal activity decreasing and neocortical activity increasing over a period of roughly 50 days after learning. For some types of factual knowledge, the hippocampus may remain involved for up to a few years before the memory becomes fully independent of it.
The hippocampus also contains specialized neurons called place cells that fire when you’re in a specific location. These cells work closely with the neighboring entorhinal cortex to build your mental map of the world.
The Entorhinal Cortex: Your Internal GPS
Sitting right next to the hippocampus, the entorhinal cortex is the brain’s spatial mapping system. It contains several types of specialized cells that together allow you to navigate and remember where things are. Grid cells fire in a repeating hexagonal pattern as you move through space, essentially tiling your environment with an internal coordinate system. Head direction cells track which way you’re facing. Border cells respond to walls and edges.
These different cell types feed into the hippocampus, where their signals combine to create place cells, the neurons that represent specific locations. Grid cells are thought to perform a kind of dead reckoning, tracking distance and direction based on your own movement, even without visual landmarks. This is why you can walk through a dark room you know well. The discovery of grid cells earned a Nobel Prize in 2014 and reshaped the understanding of how spatial memory works at the cellular level.
The Prefrontal Cortex: Holding Information in Mind
The prefrontal cortex, located behind your forehead, is responsible for working memory: the ability to hold and manipulate information over short periods. When you keep a phone number in mind long enough to dial it, juggle multiple items on a mental to-do list, or follow a set of instructions, your prefrontal cortex is maintaining those representations.
This region also manages what gets updated and what gets preserved. It has to strike a balance: representations need to be stable enough that you don’t lose track of your current goal every time something distracts you, but flexible enough that you can shift gears when circumstances change. A chemical signaling system using dopamine acts as a gate, regulating when new information is allowed to overwrite what’s currently being held. The right dorsolateral portion of the prefrontal cortex is especially important for encoding the context around a task, helping you understand not just what to do but when and why to do it.
The Amygdala: Emotional Memory
The amygdala, an almond-shaped cluster near the hippocampus, is the brain’s center for emotional memory, particularly fear. When you touch a hot stove and learn never to do it again, or when a specific song triggers a wave of emotion tied to a past experience, the amygdala is involved. It forms fear memories almost immediately upon exposure to a threat, which makes evolutionary sense: you can’t afford a slow learning curve when danger is involved.
Fear conditioning is the best-studied example. When a neutral stimulus (like a sound) is paired with something unpleasant (like pain), the amygdala quickly learns the association so that the sound alone triggers a fear response. Sensory information flows through a specific internal pathway within the amygdala, from the lateral region to the basal region to the central region, which then triggers the body’s fear responses like freezing, increased heart rate, and stress hormone release.
The amygdala also amplifies memories formed in other regions. Emotionally charged events are remembered more vividly than neutral ones because the amygdala enhances hippocampal encoding during arousing experiences. This is why you can remember exactly where you were during a shocking news event but not what you had for lunch three days ago.
The Basal Ganglia: Habits and Procedures
The basal ganglia, a group of structures deep in the brain, handle procedural memory: the kind of memory that lets you ride a bike, type on a keyboard, or drive a familiar route without thinking about it. Unlike the hippocampus, which deals with facts and events you can consciously recall, the basal ganglia learn through repetition and reinforcement. You don’t “remember” how to ride a bike the way you remember a birthday party. The knowledge lives in your motor patterns.
The basal ganglia learn through a reinforcement mechanism. When an action leads to a good outcome, dopamine signals strengthen the neural pathways that produced that action, making it more likely to be selected again. Over time, this converts deliberate actions into automatic habits. The motor portion of the basal ganglia handles action selection, choosing which specific movement to execute given a desired outcome. This is why the early stages of learning a skill feel effortful and conscious, but with practice the same actions become smooth and automatic.
The Cerebellum: Fine-Tuning Movement
The cerebellum, the densely folded structure at the back and bottom of the brain, works alongside the basal ganglia in motor learning but serves a different function. While the basal ganglia select which action to perform, the cerebellum refines that action for accuracy. It makes small, precise adjustments that reduce the gap between what you intended to do and what your body actually did.
This learning is gradual. The cerebellum requires multiple repetitions to adapt, producing only incremental corrections each time. That’s why your throwing accuracy improves slowly over many practice sessions rather than in a single leap. When the basal ganglia and cerebellum work together, the result is what researchers describe as a two-stage process: the basal ganglia make an initial coarse selection of the movement, and the cerebellum progressively fine-tunes it.
The Neocortex: Long-Term Storage
The neocortex, the brain’s outer layer, is where memories eventually settle for permanent storage. Factual and conceptual knowledge (semantic memory) gradually migrates here from the hippocampus and becomes independent of it over time. Different types of information are stored in different cortical areas: visual memories in visual cortex, sound-related memories in auditory cortex, and movement-related memories in motor cortex. The storage is distributed, meaning a single complex memory involves connections across multiple cortical regions.
Recent research points to the outermost sublayer of the neocortex, called layer 1, as a particularly important site for encoding semantic memory. This thin layer sits at the top of each cortical column and receives inputs from distant brain regions. It shapes the activity of the large pyramidal neurons below it and appears to be where long-term associations between different contexts and sensory features are formed. Interestingly, the specialized signaling in this layer only matures during adolescence, which may help explain why adults can learn abstract concepts like grammar rules more quickly than young children, while children more easily absorb fine sensory details like accent.
How Memories Are Physically Stored
Across all these regions, the physical basis of memory comes down to changes at synapses, the junctions between neurons. The best-understood mechanism is long-term potentiation, or LTP, first discovered in the hippocampus in the early 1970s. When two connected neurons fire together repeatedly, the connection between them strengthens, making the receiving neuron more responsive to the sending neuron. A brief burst of rapid signaling can enhance a synapse for days or weeks.
LTP has three properties that make it well suited for memory. First, it is input-specific: only the active synapse gets strengthened, not neighboring ones on the same neuron. Second, it requires precise timing: the sending and receiving neurons must be active within about 100 milliseconds of each other. Third, it is associative: a weak connection can be strengthened if it’s active at the same time as a strong one nearby, which mirrors how we learn by association.
At a larger scale, memories are stored in groups of neurons called engrams. An experience activates a specific population of neurons that undergo lasting chemical and physical changes. These neurons, called engram cells, compete with each other for inclusion in a memory trace, with more excitable neurons winning out. Later, reactivating those same neurons can trigger recall of the original experience. Researchers have demonstrated this directly: artificially stimulating engram cells in the hippocampus that were active during a fearful experience caused animals to display the fear response again, even without any external reminder of the original event.

