The simplest way to stop a cat from weaving between your legs is to teach them an alternative behavior, like going to a mat or touching a target, and reward that instead. Cats walk between your legs as a greeting and bonding behavior, not to annoy you. But it’s a real safety concern: CDC data shows that tripping or falling over a cat was the cause of about two-thirds of all cat-related fall injuries treated in U.S. emergency rooms, with an estimated 86,629 pet-related fall injuries occurring annually across cats and dogs combined.
Why Cats Walk Between Your Legs
Weaving between your legs is your cat’s version of saying hello. Cats do a similar move with each other, rubbing along one another’s sides as a friendly greeting. When your cat does it to you, they’re marking you with their scent glands (located on their cheeks and along their body) and reinforcing the social bond. It’s essentially “you’re mine, and I’m happy to see you.”
Some cats escalate this into full “velcro mode,” especially around mealtimes, when you first come home, or during their peak energy windows in the morning and evening. Cats that don’t get enough play or interaction during the day are more likely to demand attention through underfoot behavior because your movement through the house is the most exciting thing happening.
Teach a “Go to Mat” Command
Mat training, sometimes called “stationing,” gives your cat a specific place to go instead of threading through your ankles. The idea is simple: your cat learns that going to a designated mat earns a treat, and eventually they’ll choose the mat over your legs when you’re on the move.
Start by placing a small mat or towel on the floor near where the weaving happens most (usually the kitchen or a hallway). Any time your cat steps onto the mat with all four paws, click a clicker (or make a consistent mouth noise) and give a treat. Practice until your cat runs to the mat reliably, at least eight out of ten times. Then begin adding distance. Stand a few feet away and reward them for staying on the mat while you walk past. Increase the distance gradually, and don’t add distractions (like carrying food) until the basic behavior is solid at longer distances.
This works especially well for kitchen weaving. Place the mat a few feet from where you prep food, and reward your cat for stationing there instead of circling your feet while you cook.
Use Target Training to Redirect Movement
A target stick or even your open hand can become a tool to physically guide your cat out of your walking path. Target training teaches your cat to touch their nose to an object on cue, and once they know the behavior, you can use it to move them anywhere.
Hold your open palm (fingers pointed down) a couple inches from your cat’s nose. When they sniff or touch your hand, click and treat. Repeat this many times, then gradually move your hand to different positions and farther away so they have to take a step or two to reach it. Once your cat reliably touches your hand, add a verbal cue like “touch” right before they make contact, then click and treat.
You can also teach this with a lightweight stick, a spatula, or any long object. The advantage of a target stick over your hand is reach. If your cat is winding between your legs at the top of the stairs, you can extend the stick to guide them to the side without bending down. Once your cat follows the target reliably, you can add movement, clicking and treating as they follow the target across a room or through a doorway ahead of you.
Increase Playtime to Lower Demand
Cats that weave obsessively between your legs are often under-stimulated. Interactive play burns off energy and reduces the kind of restless attention-seeking that puts them underfoot. Observe when your cat is most active and schedule a play session about 30 minutes before those peak times. For most households, this means a session before dinner and another before bed.
Use a wand toy or feather lure and let your cat stalk, chase, and “catch” the toy to mimic a full hunting sequence. End the session with a small meal or treats. This routine lowers stress in both you and your cat, and over time, it creates a predictable pattern that replaces the leg-weaving habit with something more satisfying for everyone. The key is consistency. Behavioral change in cats takes weeks, not days, so stick with the schedule even when progress feels slow.
Manage High-Risk Moments
While you’re training, you still need to avoid falls. A few practical adjustments help:
- Shuffle, don’t step. In areas where your cat tends to appear, slide your feet along the floor rather than lifting them. This gives your cat a gentle nudge rather than a stumble.
- Toss a treat ahead. Before walking through a doorway or down stairs, toss a treat or kibble piece in the direction you want your cat to go. They’ll chase it, clearing your path.
- Use sound cues. Say a consistent word like “move” or “coming through” as you start walking. Cats learn to associate the sound with your movement surprisingly quickly, even without formal training.
- Keep lights on. Many trips happen in dim hallways or kitchens at night. A motion-activated nightlight in problem areas makes a real difference.
When the Behavior Changes Suddenly
If an older cat starts weaving between your legs more than usual, or seems to be bumping into you rather than greeting you, pay attention. Cats with declining vision or hearing may stay closer to you because you’ve become their primary way of navigating the house. Cognitive dysfunction syndrome, common in senior cats, can cause disorientation and altered social behavior. Other medical causes include pain, neurological conditions, and high blood pressure.
The distinction matters: a cat that has always been a leg-weaver is showing normal social behavior. A cat that suddenly becomes one, especially past age 10 or so, may be compensating for a sensory or cognitive change. Look for other shifts like disrupted sleep patterns, increased vocalization at night, staring at walls, or forgetting where the litter box is. These patterns together suggest something medical rather than behavioral.

