You stand up. Your cat stands up. You walk down the hall. A small, silent official follows at ankle height. Then you reach the bathroom and make the tactical error of closing the door.
A paw appears underneath it.
This scene is so familiar that the internet has furnished it with several confident explanations. Your cat is guarding you at your most vulnerable. Your cat thinks you are trapped in a dangerous water-room. Your cat is supervising its territory. Your cat loves you so much that even three private minutes would be unbearable.
All are pleasing stories. None has been demonstrated as the reason cats follow people into bathrooms. In fact, there appears to be no controlled study that isolates bathroom-following itself. What science can give us is more interesting: a set of well-supported behaviours that overlap at one unusually cat-friendly moment.
The bathroom is not one mystery. It is several ordinary cat motives arriving at the same door.

First, your cat is keeping track of you
The old caricature of the cat as a furry tenant who recognises humans only as tin-openers has aged badly. Domestic cats discriminate their own names from other words, respond differently to their owner’s voice and use people as sources of information. In one experiment, cats looked back and forth between their owner and an unfamiliar object, then adjusted some of their behaviour according to whether the owner reacted positively or negatively. In another, cats changed their communication during an unsolvable task depending on whether the human was paying attention. (Saito et al., 2019; Merola et al., 2015; Zhang et al., 2021)
Most relevantly, cats seem to maintain a mental representation of where their person is. Researchers played a cat’s owner calling its name from one speaker and then, moments later, from a second speaker elsewhere. Cats showed more surprise when the owner’s voice appeared to “teleport” than when the same trick involved non-social sounds. The cautious interpretation is that cats mentally map an unseen owner’s location from their voice. (Takagi et al., 2021)
That does not prove your cat follows you to conduct a headcount. It does make following far less mysterious. You are a socially relevant, mobile part of the household, and your movement contains information. Where are you going? What will happen there? Is this a feeding event, a shower, a closed-door disappearance or, against all precedent, something the cat should miss?
Following is the cheapest way to find out.
Is it love? Yes, but mind the label
“Attachment” is tempting because it turns the trip into a tiny declaration of devotion. The scientific picture is real, but not quite tidy.
In a 2019 study using a secure-base test adapted from research with children and dogs, many kittens and adult cats were classified as securely attached to their caregivers: they explored while using the returning person as a source of security. An earlier, much smaller study using a modified Strange Situation test did not find clear evidence of secure attachment in the same child-or-dog-like sense. Different methods and definitions are doing important work here. (Vitale et al., 2019; Potter & Mills, 2015)
The safe conclusion is not that every cat has a miniature human attachment system, nor that following proves separation anxiety. It is that many cats form meaningful, individually variable bonds with people and may seek proximity, contact or information from a preferred caregiver.
Cats can also be socially motivated without being distressed. In a small home study, cats purred and stretched more when reunited with their owner after a four-hour separation than after 30 minutes, which the authors interpreted as greater motivation to re-establish contact. Yet during the separation, the cats showed few behavioural differences. Affection and pathology are not the same thing. (Eriksson et al., 2017)
So yes: your cat may follow because it likes being near you. That is a better-supported answer than “it is protecting you from the toilet”, but it is still only one layer.
The bathroom is a routine with excellent production values
Cats are formidable statisticians of domestic life. They need not understand bathroom as a concept to learn its sequence:
Human stands up → walks down hall → enters small room → becomes stationary → may offer conversation, pats, running water or access to a sink.
Cats readily form associations between events and their consequences. If following you sometimes produces attention, a tap to drink from, a lap, a game with the bathmat or simply a warm room, following has paid. Rewards do not need to arrive every time. Inconsistent rewards can keep behaviour remarkably persistent. That will sound familiar to anyone who has eventually opened a door after the eleventh meow.
This learning can be exquisitely personal. One cat follows the person who turns on the tap. Another appears only during the morning routine. Another ignores an open bathroom but campaigns furiously against a closed one. These patterns are clues: they tell you what outcome the cat has learned to expect.
Routine itself may also be rewarding. Feline environmental guidelines emphasise that familiarity, predictability and a sense of control help cats cope. A repeated bathroom ritual is a dependable event in a household otherwise full of baffling human improvisation. (Ellis et al., 2013)

Then there is the scandal of the closed door
An open bathroom and a closed bathroom are different experiments.
The closed door removes three things at once: access to you, information about what is happening and the cat’s freedom to choose whether to enter. It also creates a physical barrier at the exact moment the cat has become interested. Veterinary behaviour literature describes cats directing frustration towards barriers that prevent access, although no study has established a universal feline hatred of doors. Scratching, rubbing or vocalising at the frame can therefore reflect blocked access or learned persistence, not a philosophical objection to architecture. (Rodan et al., 2022; Mills et al., 2014)
The learning loop is simple. The cat scratches. The human opens the door. From the cat’s perspective, the experiment succeeded. Even if you wait ten minutes first, you may have taught not “scratching fails” but “scratching for ten minutes works”.
This explains an apparent contradiction: a cat may demand admission and then leave immediately. The prize was not necessarily cuddling. It may have been restored access, restored information or restored choice.
Territory matters, but not in the cartoon sense
Cats care about familiar space. They regularly assess their environment and use rubbing, scratching and other scent-depositing behaviours to help maintain a recognisable olfactory landscape. Predictability and familiarity are associated with security. (Rodan et al., 2022; Ellis et al., 2013)
That makes “territorial behaviour” relevant, but the phrase is often stretched into a tiny military drama. There is no evidence that your cat must inspect the bathroom because it considers the room a disputed province, or that accompanying you is a patrol. A more defensible version is that cats value awareness of their familiar physical and social environment. A normally accessible room becoming unavailable, with a valued human inside, is a change worth investigating.
This also helps explain why novelty matters. A bath running, a cupboard open or a newly laundered mat may attract inspection independently of you. The cat may be following the event as much as the person.
The prize may not be cuddling. It may simply be restored access, restored information or restored choice.
What about scent?
For cats, scent is not decorative metadata. It is a major channel for recognising individuals and organising familiar space.
In a 2025 experiment, cats sniffed the odour of an unfamiliar person for longer than their owner’s odour, showing that they can distinguish familiar from unfamiliar human scent. Cats also commonly rub their faces and bodies on familiar people and objects, depositing chemical cues, although the exact message conveyed by every rub remains uncertain. It is safer to call this familiarity and scent communication than to say a cat is “claiming” you as property. (Miyairi et al., 2025; Vitale, 2018)
Bathrooms are olfactorily busy: concentrated human scent, damp towels, soaps, cleaners, drains and frequently washed surfaces. Some cats may investigate those changes or rub on legs and doorframes while there. But the evidence does not show that scent is the main cause of bathroom-following, and it certainly does not justify the claim that a cat accompanies you to “protect your smell”. Think of scent as part of the room’s information load, not the solved case.
The overlooked answer: you are finally available
Human–cat interaction is negotiated. A review of observational studies found that interactions tend to last longer when the cat initiates them, and that successful relationships involve both partners responding to the other’s bids. (Turner, 2021)
In the rest of the house, you are inconveniently kinetic. You type, cook, clean, carry things and stare into rectangles. In the bathroom, you are briefly stationary, at cat height or seated, with empty hands. The room is small enough to make proximity easy. You may speak to the cat because the situation is funny, which makes it even more socially rewarding.
From the cat’s point of view, this may be less “I cannot bear to lose you” than “at last, office hours”.
So why does your cat do it?
Watch the pattern instead of choosing a universal story.
- Follows you everywhere, then settles nearby: social proximity or monitoring is likely important.
- Appears at the same time each day: routine learning is doing heavy lifting.
- Runs to the sink, bathmat or cupboard: the room contains its own reward.
- Protests only when the door closes: blocked access, lost choice and reinforcement are stronger candidates than bathroom fascination.
- Rubs on you or the frame: tactile contact and scent communication may be part of the ritual.
- Demands entry, checks the room, then leaves: information or access may have been the goal.
Several can be true at once. That is the central answer. Your cat follows you into the bathroom because you are socially relevant, your movements predict outcomes, the room offers repeatable rewards, and a closed door can make access suddenly valuable. Attachment, territory and scent may contribute, but none alone explains every cat.
The behaviour is usually ordinary. A sudden, marked increase in clinginess or vocalisation, especially alongside changes in appetite, thirst, toileting, sleep, mobility or general behaviour, is different from a longstanding bathroom habit and deserves a veterinary check. Behaviour changes can be the first visible sign that something has changed physically or emotionally.
Otherwise, accept the most scientifically defensible conclusion available: you do not go to the bathroom alone because, through affection, observation and excellent reinforcement timing, you have acquired a colleague.
Sources & Further Reading
- Merola, Prato-Previde & Marshall-Pescini (2015), Social referencing and cat–human communication
- Zhang et al. (2021), Feline communication strategies when presented with an unsolvable task
- Takagi et al. (2021), Socio-spatial cognition in cats: mentally mapping owner’s location from voice
- Vitale, Behnke & Udell (2019), Attachment bonds between domestic cats and humans
- Potter & Mills (2015), Domestic cats do not show signs of secure attachment to their owners
- Turner (2021), The mechanics of social interactions between cats and their owners
- Eriksson, Keeling & Rehn (2017), Cats and owners interact more with each other after a longer duration of separation
- Miyairi et al. (2025), Behavioral responses of domestic cats to human odor
- Ellis et al. (2013), AAFP and ISFM Feline Environmental Needs Guidelines
- Rodan et al. (2022), ISFM/AAFP Cat Friendly Veterinary Environment Guidelines
- de Souza Machado et al. (2020), Identification of separation-related problems in domestic cats