← BACK TO JOURNAL Routines

Why does my dog walk between my legs?

Reviewed by TKTK — add real vet name

Walking between your legs can be a bid for closeness, space, or attention. Learn what the moment may mean and when a change is worth checking with your vet.

EMBEDDED TOOL
The Calculator
TAP TO BEGIN
About your dog
Which breed?
We use breed traits to set safe baselines.

The short answer: your dog may walk between your legs because being close to you feels comfortable, safe, or rewarding. Some dogs do it when they want attention or are unsure about something nearby. Others simply like brushing against you as they move. The behaviour on its own does not tell you which reason applies; the setting and the rest of your dog’s body language do.

Notice when it happens. A loose, wiggly dog who does it while greeting you is giving you a different picture from a dog who presses against your legs when a stranger approaches. Neither needs a label before you can respond kindly.

Closeness can feel good

For many dogs, stepping between your legs is an easy way to be near you. They may lean against you for contact, pass through as you stand in the kitchen, or settle there when you pause on a walk. If they look relaxed, move freely, and can leave when they choose, it may simply be a comfortable spot.

It can also become a familiar way to ask for interaction. If you talk to, stroke, or laugh at your dog each time they appear between your feet, they may learn that this is a reliable way to get your attention. Some dogs use it instead of jumping up to greet you. That is not a problem unless it makes walking or standing unsafe. You can calmly reward a greeting with all four paws on the floor and make room before you take your next step.

When your dog wants a little shelter

A dog may move between or behind your legs when they feel uncertain around another dog, a busy pavement, a new person, or a sudden noise. Your body gives them a little space from whatever is approaching. Look for a lowered posture, tucked tail, ears held back, trembling, or a reluctance to move forward. Our guide to a dog walking with their tail between their legs explains why that sign makes more sense alongside the rest of their behaviour.

Let your dog stay close while you make the situation easier: pause, move away, cross the street, or choose a quieter route. You do not need to pull them out into an encounter they are trying to avoid. If this happens often, note what was nearby and whether they relax once there is more distance.

Staying close outside does not, by itself, mean separation anxiety. That concern is more about distress when a dog is left alone or anticipates a departure. If your dog also struggles when you prepare to leave, cannot settle after you go, or shows repeated distress when alone, tell your vet what you have noticed. They can help you consider health and behaviour support without guessing from one habit.

It may be about hands, not legs

Sometimes a dog slips between your legs to avoid a hand coming down toward their head. They may want to be near you without wanting to be petted at that moment. Watch whether they duck, turn their head away, or move off when you reach for them. Give them the option to approach again instead of following them with your hand. Closeness is not always an invitation to touch.

A dog who rubs their side against your legs may also be trying to shift something caught in their coat or soothe an itch. Check for a burr, mud, a rubbing harness strap, or irritated skin, especially if the rubbing is new or persistent. If you notice redness, hair loss, frequent scratching, or repeated rubbing without an obvious cause, ask your vet to take a look.

Does breed make a difference?

Some dogs are especially inclined to keep track of their person. A dog with herding tendencies may weave around moving legs, while a companion dog may prefer to stay close enough to touch. You might recognise that tendency in a Border Collie, but breed is only context, not an explanation for every individual dog. Watch when your dog does it and how easily they move away.

On walks, check whether the route feels manageable as well as whether it is long enough. The walk-length calculator can give you a starting point for time outside, but it cannot tell you whether today’s pavement is too crowded or your dog needs a slower, quieter outing. Let their comfort set the pace.

When to mention it to your vet

An occasional stroll between your legs, with an otherwise relaxed dog, usually needs no intervention. Arrange a vet conversation if the behaviour appears suddenly, becomes much more frequent, or comes with stiffness, limping, reluctance to be touched, skin irritation, or other signs of discomfort. A dog who used to move confidently but now stays pressed against you, seems worried in familiar places, or struggles to settle also deserves a closer look.

You do not have to decide whether it is pain, fear, or a learned habit before you call. A simple note about when it happens, what came just before it, and any other changes will be more useful than a diagnosis made at home. For the background behind our walking guidance, see our sources.

Keep reading

More from the journal
Disclaimer — walkingdog.io provides general guidance based on breed, age, weight, and activity research. It is not veterinary advice. Individual dogs vary. If your dog shows signs of illness, lameness, unusual fatigue, or behavioural change, consult your vet. Heat, humidity, and surface conditions can all affect safe walking duration. Adjust accordingly.