Cats walk under your feet because it works. Weaving between your legs, darting in front of you, and pressing against your ankles are all ways cats get you to stop what you’re doing and pay attention to them. It’s a mix of communication, affection, and learned strategy, and understanding the reasons behind it can help you avoid a painful stumble.
It’s a Greeting and a Claim
When your cat rubs against your legs, they’re doing more than being friendly. Cats have scent-producing glands along their forehead, cheeks, chin, lips, tail, and paw pads. Rubbing these areas against you deposits their scent onto your skin and clothes. This behavior, sometimes called allorubbing or bunting, is how cats mark familiar people and animals as part of their social group. Every other cat your cat encounters will pick up on that scent and recognize you as “taken.”
This is why the behavior often intensifies the moment you walk through the door. You’ve been out in the world collecting unfamiliar smells, and your cat wants to refresh its claim on you. It’s less about possession in the territorial sense and more about reestablishing a shared group scent, the feline equivalent of a welcome-home hug.
They’ve Learned It Gets Results
Cats are excellent at figuring out which behaviors produce a reward. Walking directly into your path forces you to stop, look down, and engage. Whether the payoff is food, petting, or simply your attention, the pattern reinforces itself quickly. If weaving between your legs at 6 p.m. has ever resulted in a filled food bowl, your cat has filed that away permanently.
Michele Bamberger, a veterinary behaviorist and visiting fellow at Cornell University’s College of Veterinary Medicine, notes that this isn’t limited to kittens. An older cat will weave around your ankles just as readily as a young one. “If it works, they’ll do it,” she says. Cats don’t intentionally try to trip you, but walking into your path is an effective way to make you stop and notice them. You’ll often find the behavior at its most forceful around mealtimes or when you first arrive home.
Proximity Means Trust
Cats are often stereotyped as aloof, but research tells a different story. A study published in Frontiers in Veterinary Science found that cats who showed more affection toward their owners also scored higher on measures of proximity-seeking and enjoyment of physical contact. The same study found that when a cat initiates closeness (rather than waiting for you to approach), the two of you tend to stay near each other for longer stretches.
Walking under your feet is proximity taken to an extreme, but it makes sense from your cat’s perspective. Your feet are the lowest, most accessible part of you, and a cat circling your ankles is positioning itself as close to you as physically possible. For a species that communicates trust through physical nearness, getting underfoot is a compliment, even if it doesn’t feel like one at 2 a.m. on the way to the bathroom.
Some Cats Are More Persistent Than Others
Not every cat is equally prone to underfoot behavior. Cats with higher social needs, including many breeds known for being “dog-like” in their attachment, tend to shadow their owners more closely. Kittens that were well-socialized to humans during the critical period of two to seven weeks old often grow into adults who actively seek body contact. A cat that lives in a single-person household with no other pets may also direct all of its social energy at you, making the ankle-weaving more frequent and more intense.
Boredom plays a role too. An indoor cat with limited stimulation may resort to getting in your way simply because your movement is the most interesting thing happening. In these cases, the behavior is less about affection and more about a cat trying to create some activity in an otherwise quiet day.
The Trip Risk Is Real
This behavior isn’t just annoying. It’s a genuine safety concern. CDC data from 2001 to 2006 found that cats and dogs were associated with an estimated 86,629 fall injuries per year in the United States. Among cat-related falls specifically, 66.4% involved a person tripping or falling directly over the cat. That made tripping the single most common cause of cat-related fall injuries by a wide margin.
Older adults face the highest risk, but people of all ages end up in emergency rooms from pet-related falls. Another 8.8% of injuries involved tripping over a pet item like a toy or food bowl rather than the animal itself.
How to Reduce Underfoot Behavior
You won’t eliminate the behavior entirely because it’s rooted in normal feline social instincts, but you can minimize the risk and redirect your cat’s energy.
- Feed on a schedule. If your cat weaves around your feet most aggressively before meals, a consistent feeding routine reduces the frantic solicitation. Some owners use timed automatic feeders so the cat stops associating their movement toward the kitchen with dinner.
- Add a bell. A breakaway collar with a small bell gives you an audible warning when your cat is nearby, especially helpful in dim hallways or at night.
- Don’t reward the weave. If you stop and pet your cat every time it cuts you off, you’re reinforcing the pattern. Instead, wait until the cat is sitting calmly nearby, then offer attention. Over time, this teaches a less hazardous way to ask for your focus.
- Increase enrichment. Puzzle feeders, climbing shelves, window perches, and scheduled play sessions give your cat outlets for energy and curiosity that don’t involve your shins.
- Keep pathways clear. Pet toys, food bowls, and water dishes left in hallways or near stairs add to the tripping hazard. Store them against walls or in designated spots.
Shuffling your feet rather than taking full steps when your cat is nearby also helps. You’re less likely to kick or step on a cat if your feet stay close to the ground, and the sliding motion gives the cat time to move out of the way.

