Your brain constructs a sense of “place in space” through a network of specialized neurons that fire in response to your location, the direction you’re facing, the boundaries around you, and even the slope of the ground beneath your feet. This internal GPS is centered on the hippocampus and surrounding regions, and it does far more than tell you where you are. The same neural machinery helps you remember where you’ve been, plan where you’re going, and even organize abstract thoughts that have nothing to do with physical space.
How the Brain Builds a Spatial Map
The discovery of “place cells” in the hippocampus, which earned John O’Keefe a share of the 2014 Nobel Prize, revealed that individual neurons fire when an animal occupies a specific location. A given place cell stays quiet as a rat moves around a room, then lights up reliably in one particular spot. Collectively, thousands of these cells tile the environment, creating an internal map. The system is sensitive to surprisingly fine details. When researchers tilted the floor that rats were running on, place cells encoded the tilted surface just as robustly as flat ground, but a large majority of them changed their firing patterns when the tilt angle shifted, suggesting that terrain slope is woven into the spatial map at a basic level.
1PubMed Central. Hippocampal place cell encoding of sloping terrainPlace cells don’t encode every kind of spatial information, though. In a four-room environment where researchers changed how the rooms connected to each other, place cells kept firing in the same locations regardless. Their firing rates didn’t shift to reflect the new layout, meaning the cells didn’t explicitly represent which doors were open or closed.
2Current Biology. Place cells do not explicitly encode spatial connectivity in a four-room environmentBeyond the hippocampus, grid cells in the nearby entorhinal cortex fire in regular hexagonal patterns as you move through space, acting like a metric ruler for the brain’s map. Recent work has uncovered a particularly striking feature of these cells: some grid cells represent not where an animal is right now, but where it is about to be. These “predictive” grid cells shift their firing fields against the direction of travel during goal-directed behavior, effectively encoding the animal’s future location. They fire at specific phases of the hippocampal theta rhythm and, together with other grid cells, organize sequences spanning from the current position to upcoming ones within each cycle of that rhythm.
3Science. Predictive grid coding in the medial entorhinal cortexThe spatial mapping system also extends into brain areas you wouldn’t expect. Researchers recording from the primary somatosensory cortex, a region traditionally associated with touch, found neurons that behave like head-direction cells (firing when the animal’s head faces a particular angle) and border cells (firing when the animal is near a wall). Roughly 4% of recorded cells in this area qualified as each type, a proportion too high to be chance. This means the brain maintains spatial signals even in regions thought to be dedicated to processing bodily sensation.
4Cell Research. A novel somatosensory spatial navigation system outside the hippocampal formationTwo Ways of Knowing Where You Are
Your brain uses two fundamentally different reference frames to track your position, and it runs them in parallel. One is egocentric: space defined relative to your own body. The coffee mug is to your left; the door is behind you. The other is allocentric: space defined relative to the external world. The coffee shop is north of the park; your car is on the third level of the garage. Both frames are active at the same time, but in different brain regions. Recordings from electrodes placed inside the human brain show that egocentric-selective activity peaks in medial occipital and temporal areas, while allocentric-selective activity concentrates around the parietal cortex.
5PubMed Central. Timing of Allocentric and Egocentric Spatial Processing in Human Intracranial EEGThe relationship between these two systems isn’t a clean division of labor. Spatial signals throughout the hippocampal system have traditionally been described as allocentric, but recent evidence shows egocentric processing there too. The emerging picture is that raw sensory input arrives in self-centered coordinates and is gradually transformed into world-centered representations as it flows into the hippocampal system, with both frames coexisting and interacting along the way.
6PubMed Central. Egocentric and allocentric representations of space in the rodent brainThis matters for everyday life more than it might seem. When you give someone directions by saying “turn left at the gas station,” you’re cueing their egocentric system. When you pull up a map and trace a route, you’re relying on allocentric representation. People differ in which system they lean on, and these preferences can shift with age, experience, and even the language they speak.
How Bats Solve the Three-Dimensional Problem
Most studies of place cells have involved rats running on flat surfaces, which makes the spatial problem essentially two-dimensional. But the world has a vertical axis too, and understanding how the brain maps height has required studying animals that actually move through all three dimensions. Bats are the ideal subject. Using wireless neural recording systems on freely flying Egyptian fruit bats, researchers found that hippocampal place cells fire within confined three-dimensional volumes of space. In over 90% of neurons recorded, all three spatial axes were encoded with similar resolution, meaning the bat’s brain doesn’t treat altitude as secondary information. Place fields from different neurons covered different locations and, taken together, tiled the room uniformly.
7PubMed. Representation of three-dimensional space in the hippocampus of flying batsWork in big brown bats, an echolocating species, confirmed and extended these findings. Individual hippocampal neurons showed restricted three-dimensional firing fields, with peak activity centered at specific coordinates in the flight room. One neuron, for instance, fired most strongly around a point about two meters up and two meters from one wall, with a surrounding volume of roughly three cubic meters showing activity above half its peak rate.
8Frontiers in Cellular Neuroscience. 3D Hippocampal Place Field Dynamics in Free-Flying Echolocating BatsBats also demonstrate that sensory neurons outside the hippocampus adapt their spatial coding in real time. Neurons in the midbrain’s superior colliculus of free-flying echolocating bats encode three-dimensional egocentric space, and when a bat inspects an object, those neurons sharpen their tuning and shift their peak responses to represent closer distances. The bat’s brain essentially zooms in on whatever it’s paying attention to.
9PubMed Central. Dynamic representation of 3D auditory space in the midbrain of the free-flying echolocating batReplay, Memory, and the Night Shift
Your brain doesn’t stop mapping space when you fall asleep. During rest and sleep, place cells spontaneously replay past trajectories, firing in rapid compressed sequences that recapitulate routes the animal traveled while awake.
10PubMed Central. The Role of Hippocampal Replay in Memory and PlanningThis replay is more than just a neural echo. It can be steered from the outside. In one experiment, rats learned to run along a track where different sounds played on different sides. When those sounds were played during the rats’ subsequent sleep, hippocampal replay shifted toward recapitulating the part of the track associated with that sound. Each cue independently biased which spatial memory the brain replayed, indicating that external stimulation during sleep can selectively strengthen particular spatial memories.
11PubMed Central. Biasing the content of hippocampal replay during sleepNot all memories get equal replay time, either. The brain appears to prioritize. Sleep replay for a given environment increases with the amount of time the animal recently spent running there, but decreases if the environment is already very familiar. Novelty and recent effort both boost a memory’s chances of being replayed. The best predictor of which track gets more sleep replay turns out to be how much awake replay happened for that track during behavior itself, suggesting a kind of tagging system: the brain marks new or important experiences for later consolidation.
12Nature Communications. The role of experience in prioritizing hippocampal replayNavigation Hardware That Comes Pre-Installed
One of the most remarkable findings in spatial neuroscience is how early the brain’s navigation circuitry comes online. It doesn’t simply emerge as an animal learns to explore the world. Large-scale recordings from rat pups reveal that the toroidal geometry characteristic of grid-cell networks appears in the entorhinal cortex by postnatal day 10, before the pups have opened their eyes or ears, before they can walk on all fours, and before they’ve done any real exploration. By day 8 or 9, traces of directional tuning are already detectable in individual cells, consistent with even earlier maturation of deeper brain structures. As the pups begin actively exploring around days 15 to 16, these internally generated maps gradually align with external landmarks, producing stable spatial firing fields by three weeks of age.
13bioRxiv. Toroidal topology of grid-cell activity precedes spatial navigation during developmentThe deep evolutionary roots of this system are also striking. Insects possess a brain region called the central complex that appears to serve as a navigation center, and this structure is as old as insects themselves. Research across many species shows that the central complex contains circuitry that likely forms the basis for elementary navigational decisions. The implication is that internal spatial maps are not a mammalian invention; they represent an ancient solution to the problem of moving purposefully through an environment.
14PubMed Central. The insect central complex and the neural basis of navigational strategiesWhen Your Inner Map Starts to Degrade
Getting lost in familiar places is one of the earliest signs of cognitive decline, and the connection is more than anecdotal. In a prospective study of older adults, slower performance on a spatial navigation maze predicted future cognitive impairment. Each additional ten seconds needed to complete an immediate maze-solving task was associated with a 25% higher risk of developing mild cognitive impairment and a 53% higher risk of developing a condition called motoric cognitive risk syndrome, even after accounting for age, sex, education, and other health factors.
15PubMed Central. Spatial navigation and risk of cognitive impairment: A prospective cohort studyThe vestibular system, which detects head motion and gravity, contributes to this picture. A study examining how people navigate using vestibular cues alone found a relationship between self-reported sense of direction and vestibular navigation performance. Notably, people with vestibular-cerebellar dysfunction still performed normally on vestibular navigation tasks, but patients with dementia showed clear impairments, particularly on complex path-completion tasks. Frequent GPS use, interestingly, showed a negative correlation with sense of direction scores.
16PubMed Central. Vestibulo-spatial navigation: pathways and sense of directionThe GPS finding connects to a broader concern. A three-month study of people who used GPS navigation through augmented-reality glasses found decreased functional connectivity in brain networks associated with navigation, compared to a control group that showed increases over the same period. The researchers didn’t find a corresponding decline in navigational ability over that timeframe, so it’s too early to say that GPS use actively harms your navigation skills. But the neural changes raise questions about what happens with years of reliance on turn-by-turn directions.
17PubMed Central. Could Prolonged Usage of GPS Navigation Implemented in Augmented Reality Smart Glasses Affect Hippocampal Functional Connectivity?Physical Movement Matters More Than You’d Think
If the brain builds spatial maps from movement, does it matter whether that movement is real? Apparently, yes. Researchers compared spatial memory and hippocampal activity during physical walking versus virtual navigation while standing still. Physical walking produced stronger theta-band activity in the left hippocampus compared to virtual walking, a signal that in animal studies is closely tied to spatial learning and memory. The difference was specific to the hippocampus and didn’t appear in other brain structures like the anterior thalamus.
18Journal of Neural Engineering. Improved spatial memory for physical versus virtual navigationThis finding has practical implications for virtual-reality-based rehabilitation and training. It suggests that augmented-reality systems where you physically walk through space could engage hippocampal circuits more effectively than VR systems where you navigate with a joystick from a chair. The brain seems to treat actual bodily movement as a different kind of spatial experience, and the hippocampus responds accordingly.
How Language Shapes Your Sense of Place
Not everyone builds the same kind of spatial map. Cross-cultural research has shown that the language you speak systematically influences how you think about space, and not just which words you use to describe it. In some languages, speakers habitually describe locations using absolute reference frames (comparable to cardinal directions like north and south) rather than relative ones (left, right, in front of). Studies across cultures show a strong correlation between which spatial frame a language favors and how its speakers perform on nonverbal spatial memory tasks. Speakers of absolute-frame languages tend to solve spatial problems using absolute strategies even when no language is involved, while speakers of relative-frame languages default to relative strategies.
19PubMed. Plasticity of human spatial cognition: spatial language and cognition covary across culturesThis goes beyond simple preference. The differences show up as genuine competence differences: people are measurably better at tasks that align with the spatial system their language emphasizes. Frames of reference were long assumed to be innate and universal, hard-wired into the brain’s architecture. But children can acquire either system with comparable ease, and the system that sticks seems to track with linguistic environment. Language, it appears, can restructure something as fundamental as how you encode location.
20Trends in Cognitive Sciences. Space, time and kinesisSpatial Cognition Without Space
Perhaps the most surprising twist in this research is that the brain’s spatial hardware doesn’t just handle physical space. When people navigate a two-dimensional conceptual space (say, judging where different stimuli fall along two abstract dimensions like neck length and leg length of cartoon birds), the entorhinal cortex produces the same hexagonal grid-cell-like signal that it generates during physical navigation. The brain regions activated during this abstract task overlap strikingly with those active during actual spatial movement.
21PubMed Central. Organizing conceptual knowledge in humans with a gridlike codeThis finding reframes the hippocampal-entorhinal system as something broader than a navigation circuit. It appears to be a general-purpose relational engine, organizing any kind of knowledge that can be arranged along continuous dimensions. Your sense of “where” a concept sits in relation to other concepts may rely on the same neural code that tells you where your car is parked. The brain’s spatial map, in other words, might be the template it uses to organize experience in general.
Losing Your Bearings in Microgravity
Spaceflight strips away one of the brain’s most basic spatial inputs: gravity. On Earth, the vestibular system constantly reports which way is down, providing a vertical reference axis around which the rest of your spatial map is organized. In microgravity, that signal becomes ambiguous. Research over the past decade has identified two patterns in how the brain responds: dysfunction and adaptive plasticity. Astronauts show both cognitive disruption and compensatory neural changes, as the brain reweights its sensory inputs to rely less on vestibular information and more on vision and proprioception.
22PubMed Central. Microgravity effects on the human brain and behavior: Dysfunction and adaptive plasticityLong-duration missions intensify these concerns. Animal studies show that conditions associated with spaceflight (social isolation, restricted movement, altered gravity) individually affect brain plasticity in regions tied to spatial navigation. Evidence from spaceflight analogs and extreme-environment studies suggests that spatial cognition and its underlying neural circuits could be meaningfully impaired during long missions, which has prompted recommendations for mitigation strategies as agencies plan for trips to Mars and beyond.
23PubMed Central. Brains in space: the importance of understanding the impact of long-duration spaceflight on spatial cognition and its neural circuitryThe Cosmic Address
Zooming out from the brain to the universe, “place in space” takes on a literal meaning. Earth sits within the solar system, which orbits within the Milky Way galaxy, which belongs to the Local Group of galaxies, which falls within a much larger structure called the Laniakea Supercluster. Mapping these cosmic structures uses some of the same conceptual tools the brain uses internally: reference frames, boundaries, and flow fields. Laniakea was defined by tracing the gravitational flow patterns that cause galaxies to drift toward a shared center of attraction, and updated mapping confirms its volume at roughly two million cubic megaparsecs.
24Astronomy & Astrophysics. Dynamic cosmography of the local Universe: Laniakea and five more watershed superclustersThe parallel is worth pausing on. Your hippocampus defines “place” by establishing boundaries and tracking your flow through them. Cosmographers define superclusters by establishing gravitational watersheds and tracking how matter flows within them. At both scales, “place” isn’t a fixed dot on a grid. It’s a region defined by the forces and boundaries that make it distinct from what surrounds it. The brain, it turns out, has been solving the same structural problem that cosmologists are still working on: figuring out where things are, what belongs together, and where one place ends and another begins.

