You buy your cat an expensive bed, and it sleeps in the cardboard box the bed arrived in. You unpack the groceries, and before the bags are even empty there is a cat folded neatly inside one. The internet has a slogan for it — "if it fits, I sits" — but the pull a simple box has on a cat is not a quirk or a joke. It is a deep behavioral instinct, and researchers have studied it carefully enough to find something genuinely surprising: cats will even sit in boxes that are not really there. Here is what the science says is going on inside that little cardboard fortress.
Boxes Mean Security
The single biggest reason cats love boxes comes down to one word: safety. Cats are both predators and prey in the wild, and an enclosed space with solid walls on most sides gives them exactly what their instincts crave — a spot where nothing can sneak up from behind and where they can watch the world through a single opening. A box turns an open, exposed room into a defensible den.
This is more than a hunch. In a well-known 2014 study at Utrecht University, researcher Claudia Vinke and colleagues gave hiding boxes to newly arrived shelter cats and compared them to cats without boxes. During the critical first week after intake — when novelty stress is at its peak — the cats with hiding boxes had measurably lower stress scores than those without. The box was not a luxury; it was a coping tool that helped the cats adjust to a frightening new environment.
A Place to Hide From Stress
That shelter finding points to something true of all cats: hiding is their primary way of coping with anything that worries them. When a cat feels overwhelmed — by noise, by strangers, by another pet, by change — its instinct is not to fight or flee across open ground but to withdraw into a confined space and wait until the threat passes. A box, a paper bag, or the back of a closet all serve the same purpose.
This is why a new box appearing in the living room is often the first place a nervous cat will head, and why behavior experts recommend giving cats plenty of hiding options, especially in multi-cat homes or during stressful events like moving, fireworks, or houseguests. Far from being antisocial, retreating into a box is a healthy, self-soothing behavior. A cat that can hide when it needs to is a cat that recovers from stress faster.
Boxes Are Warm
There is a simpler, more physical reason boxes are irresistible: they are cozy. Cats prefer to be considerably warmer than we do. The thermoneutral zone for a domestic cat — the temperature range in which it does not have to burn energy to stay warm — sits at roughly 30 to 38°C (86 to 100°F), far above the room temperature most people keep their homes at. To a cat, your comfortable 21°C living room is a little chilly.
Cardboard is a good insulator, and a snug box traps a cat's own body heat while blocking drafts. Curling up inside one lets a cat hold onto warmth without expending energy, which is exactly why you will so often find a cat wedged into a box in a sunbeam, getting the best of both worlds. The same logic explains the laundry basket, the shoebox, and the cat's uncanny talent for finding the one warm patch in the house.
The "If I Fits, I Sits" Squeeze
Owners often notice their cat will cram itself into a box that seems comically too small — paws and tail spilling over the edges. Counterintuitively, the tighter the squeeze, the better many cats seem to like it. The pressure of walls on all sides appears to be calming, a sensation thought to be related to the same principle behind swaddling an infant or a snug-fitting anxiety wrap: gentle, even pressure is reassuring. A box that hugs a cat on every side delivers a constant, comforting signal that it is safely enclosed.
Cats Will Even Sit in Fake Boxes
Just how hardwired is this instinct? Hardwired enough that a cat does not even need real walls. In a remarkable 2021 citizen-science study titled "If I Fits I Sits," cognitive scientist Gabriella Smith and colleagues had cat owners place shapes on the floor at home: a square outlined in tape, and a Kanizsa illusion — an arrangement of four "Pac-Man"-shaped figures whose notches trick the brain into perceiving a square that is not actually drawn. The control was the same shapes scrambled so no square appeared.
The result made headlines. Cats chose to sit inside the illusory square about as often as they sat in the real taped one, and more often than in the control. In other words, their brains were fooled by the same optical illusion that fools humans, and the mere suggestion of an enclosed boundary was enough to trigger the "sit here" response. The study had its limits — only a handful of the hundreds of enrolled cats completed every trial — but the finding is a striking demonstration of how strongly cats are drawn to the idea of a contained space, real or imagined.
When a Box Habit Is Worth a Second Look
Sitting in boxes is normal, healthy, and nothing to discourage. But context matters. A cat that suddenly starts hiding far more than usual — retreating into boxes or under furniture for long stretches, skipping meals, or withdrawing from family it normally engages with — may be telling you that something is wrong. In cats, hiding is a classic sign of pain, illness, or significant stress, because their instinct is to conceal vulnerability.
So the rule of thumb is reassuring: a cat that chooses a box for a nap, a lookout, or a warm hideaway during a busy afternoon is simply being a cat. A cat whose hiding becomes a sudden, dramatic change in its normal behavior is worth a call to the veterinarian.
The Bottom Line
A cardboard box is, to a cat, a near-perfect object: a warm, enclosed, defensible den that satisfies its deepest instincts for safety and comfort all at once. The pull is so strong that cats will settle into the outline of a box that exists only as an optical illusion. So the next time your cat ignores the pricey new bed in favor of the box it came in, you are not being snubbed — your cat has simply found, by its own ancient logic, the best seat in the house.