There is a Roman god of the threshold.
Not of the door (that's Forculus), and not of the hinge (that's Cardea), but of the limen itself, the strip of stone or wood you step across when you pass from one room to another. His name is Limentinus, and he appears in the indigitamenta, the College of Pontiffs' master lists of divine names, invoked to ensure the right god got credit for the right sliver of reality.
St. Augustine, writing City of God in the fifth century, found this hilarious. Every household gets by with a single doorkeeper, he pointed out, but the Roman gods apparently needed three specialists for one doorway: "Forculus could not at the same time take care also of the hinge and the threshold." The whole passage drips with the convert's contempt for pagan inefficiency. Twenty-three gods for childbirth alone. A goddess for the sheaths that enfold wheat ears (Volutina). A god for the first cry of an infant (Vagitanus). And three divine middle-managers for one door.
But Augustine's mockery lands differently if you read it alongside Gabriel Radvansky's work at Notre Dame.
Since 2006, Radvansky and colleagues have been documenting what they call the location updating effect, better known as the doorway effect: the experimentally robust finding that walking through a doorway causes you to forget what you were just thinking about. You pick up an object in Room A, walk through a door into Room B, and your memory for that object measurably declines, compared to walking the same distance within a single room. The forgetting isn't caused by the physical exertion of walking, or by the visual novelty of a new environment, or by context-dependent memory (returning to Room A doesn't restore what you've lost). The doorway itself does something to your mind.
Event Segmentation Theory offers the going explanation. Your brain, it proposes, parses the continuous flow of experience into discrete episodes, the way a reader parses a novel into chapters. These episodes are bounded by event boundaries, moments where the brain detects a shift in goals, location, or temporal structure and flushes its working model to make room for a new one. Doorways are event boundaries. When you cross one, your brain files away the previous episode and boots up a fresh one for the next room. What was in working memory, the object you were carrying, the errand you were running, gets archived. It's still in there somewhere, but the retrieval path just got longer.
The effect has been replicated across virtual environments, real environments, and (remarkably) imagined environments, where participants merely picture themselves walking through a doorway. Even the mental image of a threshold triggers the segmentation. More recent work, including a 2021 study from Bond University, has complicated the picture: McFadyen and colleagues found that across four experiments, doorways did not always produce the effect, and their results call into question how robust the phenomenon really is under controlled conditions. A separate 2021 study from St Andrews found that temporal gaps alone, without any doorway, could produce similar memory segmentation effects.
But the most interesting recent development comes from the Davachi Lab at Columbia, where researchers have proposed an alternative to the prediction-error model of event segmentation. Their work suggests that event boundaries in memory may reflect the temporal dynamics of working memory rather than perceptual prediction errors. In other words, the doorway doesn't surprise your brain into segmenting. The segmentation is an intrinsic property of how working memory refreshes itself. The boundary is structural, not reactive.
Which brings me back to Limentinus.
The Romans were not the only people to deify the threshold. They were simply the most bureaucratic about it.
The Chinese menshen (門神, literally "gate gods") date back to the Han dynasty, where sacrifices to a door spirit are recorded in the Book of Rites. By the Tang dynasty, the tradition had crystallised into painted portraits of two armoured warriors, pasted to the paired panels of a household gate each Lunar New Year. The original menshen were Shenshu and Yulü, who lived on the mythical Dushuo Mountain near a giant peach tree and bound evil spirits with reed rope. Later they were replaced by historical generals, the most famous being Qin Shubao and Yuchi Jingde, who stood guard at the gates of Emperor Taizong during a period of illness. Door gods always come in pairs, one for each panel, matched in pose and status. The double door requires a double guardian.
In Judaism, the mezuzah marks the doorpost with sacred text. The parchment inside contains the Shema and V'ahavta, taken from Deuteronomy, and it must be affixed to the right doorpost, in the upper third, at a slight angle (a compromise between Rashi, who said vertical, and his grandson Rabbenu Tam, who said horizontal, so the mezuzah became the record of a family argument resolved by tilting). The word mezuzah itself means doorpost, and one etymology derives it from the root zwz, meaning motion or shift. A fixed object, named for movement. Jews touch the mezuzah and kiss their fingers each time they cross the threshold, a physical practice of what the Chassidic tradition calls "threshold consciousness": the deliberate refusal to let spiritual awareness fade during transitions between domains.
The Ainu, the indigenous people of northern Japan, have Apasam Kamuy, the kamuy (spirit-deity) of the threshold. What makes Apasam Kamuy particularly strange and beautiful is that this deity is conceived as "either a male and female couple or a dual entity," a Janus-like being whose doubleness allows it to perceive both sides of a transition simultaneously. Apasam Kamuy is called upon during changes of state: difficult labour, journeys through foreign lands, encounters with hostile spirits like the smallpox god Pakoro Kamuy. The threshold deity protects the passage between the domesticated inside (culture, craft, hearth) and the wild outside. You invoke Apasam Kamuy not because the threshold is dangerous, but because the transition requires a guardian who can see in both directions at once.
And then there is Narasimha, Vishnu's fourth avatar, who exists to solve a problem of liminality. The demon king Hiranyakashipu has extracted a boon of near-immortality: he cannot be killed by man or animal, inside or outside, by day or night, on earth or in the sky, by any weapon. Vishnu defeats the loophole by becoming its embodiment. Narasimha is half man, half lion (neither human nor animal). He appears at twilight (neither day nor night). He kills Hiranyakashipu on his lap (neither earth nor sky), with his claws (neither animate weapon nor inanimate). And he does it on the threshold of the palace, in the doorway, in the space that is neither inside nor outside. The moral is not subtle: the threshold is where categories break down, and the breaking of categories is where liberation becomes possible.
There is something going on here that I want to try to say carefully.
Across cultures that had no contact with one another, humans identified the doorway as a site requiring divine attention. Not the room on either side, not the wall, not the roof, but the transition point itself. The strip of stone. The moment of crossing. And then, twenty-first-century cognitive science discovers that the brain literally reorganises itself at that exact point, that the doorway triggers an architectural change in working memory, a flush and refresh that amounts to a small death of the self-who-was-just-here and the birth of the self-who-is-now-there.
The Romans didn't know about event segmentation. The Ainu weren't reading Radvansky. But they noticed, through the accumulated weight of lived experience, that something happens when you cross a threshold. You are not quite the same person on the other side. The god of the doorstep marks the point where you stop being who you were.
Augustine's mockery, in this light, starts to look like a failure of attention. He sees inefficiency where the Romans saw granularity. Three gods for one door? Perhaps. But the door, the hinge, and the threshold are genuinely different things. The door is the barrier. The hinge is the mechanism of opening. The threshold is the line of transition. Forculus, Cardea, and Limentinus aren't three gods doing one job. They're three gods doing three jobs that happen to cohabitate in one piece of architecture. It's the difference between saying "the whole thing is a doorway" and noticing that the doorway is actually a composite experience with distinct moving parts: the obstacle, the pivot, and the crossing.
That distinction matters for the cognitive science too. The doorway effect isn't about the door. It's about the threshold. It's not the closing of one room or the opening of another that triggers the memory flush, but the crossing itself, the liminal moment when you are, briefly, neither here nor there.
There's a concept in physics called a "doorway state," and I found it by accident while researching this. In nuclear and condensed matter physics, a doorway state is an intermediate quantum state that mediates the transition between a bound state and the continuum. It's the state through which a system must pass in order to escape from one energy configuration to another. Recent work on layered materials (graphene, specifically) has identified "Feshbach resonances acting as doorway states to the continuum," which is a lovely sentence if you're me, because it means that even in the behaviour of electrons tunnelling through graphite, there is a threshold state, a brief intermediate configuration that enables the transition.
I don't want to overload the metaphor. Physics doorway states and cognitive doorway effects are not the same phenomenon. But I find it striking that the word "doorway" keeps showing up in the technical vocabulary of different disciplines to describe the same structural feature: a narrow point of transition through which a system must pass, briefly existing in an ambiguous intermediate state, in order to arrive somewhere new.
A threshold is the place of maximum gradient. Temperature changes most rapidly at a doorway. Sound shifts. Light shifts. If you stand in a doorway, you exist in the steepest part of every environmental curve. Architecturally, the threshold is where the most things are changing at once.
And maybe this is why it got its own god. Not because the Romans were silly, but because they were paying attention to the phenomenology of their own experience. The threshold is where you feel the most transition per square inch. It is the place of highest cognitive load, where your brain has to simultaneously close one model and open another. No wonder it feels, even to a modern person, like a moment that deserves marking. No wonder the mezuzah is there, the menshen are there, Apasam Kamuy is there. No wonder you pause, however briefly, in every doorway you've ever walked through.
No wonder you forget.
Radvansky, G.A. & Copeland, D.E. (2006). Walking through doorways causes forgetting. Memory & Cognition, 34(5), 1150-1156.
Radvansky, G.A. & Zacks, J.M. (2017). Event boundaries in memory and cognition. Current Opinion in Behavioral Sciences, 17, 133-140.
McFadyen, J. et al. (2021). Doorways do not always cause forgetting: a multimodal investigation. BMC Psychology, 9, 41.
Logie, M.R. & Donaldson, D.I. (2021). Do doorways really matter. Cognition, 209, 104578.
Davachi Lab, Columbia University (2024/25). Working paper on predictable boundaries and working memory dynamics.
Augustine of Hippo. City of God, Book IV, Chapter 8.
William Smith (ed.), Dictionary of Greek and Roman Biography and Mythology (1890).
Ashkenazy, M. (2003). Handbook of Japanese Mythology. ABC-CLIO. [Apasam Kamuy]
Munro, N.G. (1962/1995). Ainu Creed and Cult. Columbia University Press.
Dimmitt, C. & van Buitenen, J.A.B. (eds., 1978). Classical Hindu Mythology. Temple University Press. [Narasimha]
Clart, P. (2008). Menshen entry in Encyclopedia of Religion.
Shulchan Aruch, Yoreh De'ah 285-291. [Mezuzah law]
Niggas, A. et al. (2025). Identifying Electronic Doorway States. arXiv:2501.06228.