Hannah Klimmt watched tiny cyan specks flicker on her screen—each a living inhibitory synapse in the brain of a mouse, glowing under a microscope in Magdeburg, Germany. Over 13 days, she and her team tracked more than 1,100 of these connections in the hippocampus, the brain’s learning hub, to understand how we hold onto old memories while making room for new ones.

The brain faces a constant balancing act: it must stay stable enough to preserve vital knowledge, yet flexible enough to learn. Scientists have long wondered how it pulls this off. Now, Klimmt and her colleagues at the Leibniz Institute for Neurobiology (LIN), along with teams from Bielefeld and Zurich, have found a clue hidden in the very shape of nerve cells. They discovered that learning reshapes inhibitory synapses—connections that quiet down brain activity—but does so in opposite ways depending on where those synapses sit on the same cell.

On the dendrites, the input branches that receive signals from other neurons, inhibitory synapses changed more often after learning. They formed, disappeared, or shifted—showing flexibility. But at the axon initial segment, the spot where the cell decides whether to fire off its own signal, those same types of synapses became more stable. This spatial split—flexible at the input, steady at the output—suggests the brain protects its core decision-making while allowing incoming information to be reshaped.

The team used two-photon microscopy to return to the exact same synapses in 23 living mice, scanning every two days. The mice learned to associate a sound and a location with a mild foot shock, a classic memory task. The researchers saw no big change in the total number of inhibitory synapses. Instead, the key was location: where a synapse sat determined how it responded to learning.

A mathematical model built by partners in Bielefeld and Zurich mirrored the real data, reinforcing the idea that this spatial division isn’t random—it’s a built-in feature of how neural networks function. The model also pointed to specific types of inhibitory neurons that may be responsible, giving scientists new leads for future study.

"It is surprising that inhibitory synapses within the same nerve cell do not respond uniformly to learning," says Alessio Attardo from the LIN. "Their exact position appears to help determine whether they are remodeled or stabilized."

This discovery, published in Nature Communications, reveals a subtle but powerful design in how brains learn. While the research was done in mice, it opens a window into the delicate architecture of human memory. The next step is to see if our brains use the same strategy—balancing change and stability, one synapse at a time.