Your dog follows a hand target around you, but takes the wider route when you offer your hand between your legs. That choice tells you something about the setup. They already know how to approach a hand. They may need to see the opening and the way out before they are ready to take a step into it. The middle trick for dogs starts with a voluntary approach and, eventually, a brief stand between your feet.
Practise on a grippy floor, with your feet still and plenty of room ahead. Reward something you can see, such as a front paw crossing the line of your heels. Your dog can go straight through or walk around you. DogPath is free to download if you want to record the starting angle and the first movement they offered. The first practice can end with that one movement.
Set up the middle trick for dogs with a clear exit
Pick a place where you can both move easily. A wide hallway with a firmly anchored runner or a flat yard with a secure fence can work. Clear the floor of toys, leads and other things you might step on. Practise indoors or in an enclosed area where you can leave the lead out of the exercise. A lead near ankles can get in the way of a dog who wants to turn and leave. Keep children and other dogs out of the practice space so the path forward stays open.
Try out your position without the dog. Place your feet a comfortable distance apart and check that you can remain balanced without leaning over. Your dog should fit easily between your lower legs with room on both sides. If you need an exaggerated stance or have trouble balancing, choose a hand target beside your body instead. The same reward timing can be practised without bringing the dog between your feet.
Decide in advance where a reward will appear. Place a few familiar treats in a pocket or nearby pouch. You should be able to reach them without stepping toward the dog. A reward at a comfortable head height is easier to find and gives them room to keep their paws down. If they already have a hand target, you can start with an empty hand and deliver the treat after the movement.

Invite a small approach from the side
Set yourself up at a slight angle to your dog, so they can see the opening and the floor on the other side. Hold your hand low near the opening, where the dog can see it without going under your body. If they glance toward the gap or take one step closer, mark the movement with your familiar word and reward it. You can deliver the first reward out to the side. That leaves the dog free to sniff the floor or turn away between attempts.
After an easy approach, offer the hand a little closer to the opening. Keep your feet where they are. If the dog goes around you, let them finish the movement. Try another time with the opening easier to see and the hand closer to them. You can start by rewarding the dog near the outside of one foot. Once that spot is comfortable, move the hand only a small distance toward the middle. The DogPath hand target guide explains how to build that nose touch separately if your dog is new to it.
Watch what the dog does before deciding on a second turn. A dog who looks, steps back, then returns may be exploring at their own pace. A dog who freezes or repeatedly leaves needs more room or a simpler task. Avoid moving a treat into the gap while they are eating or using food to keep them in place. You want them to see and choose the route while the way out remains available.

Reward a step, then let the dog move on
When your dog routinely approaches from the side, you can set up with them slightly behind you, where they can still see the space. Offer the same low hand in front of the opening. Make the first goal one forward step. Mark it as it happens. Deliver the reward where the dog is able to reach it comfortably. If all four paws cross the gap and they go on through, that is a useful repetition. Let them move forward, then start again after they choose to come back.
On a later turn, you can reward at their normal nose height while they are in the gap and facing forward. Keep your knees and feet still. One brief stop after the reward is plenty. Give a familiar release word if you use one, then move the target hand forward for an easy exit if your dog wants it. If they step out immediately, allow it. The release word is an extra cue that the repetition is finished. The DogPath guide to release cues covers building that word with easier positions first.
When your dog regularly steps in with their own movement, add a short word such as “middle” just before the familiar hand gesture. Keep the same angle and distance for the first few tries. If the dog heads around you or stops at the entrance, return to the gesture that worked earlier. You can fade the gesture later after the word and the familiar movement have occurred together in easy rounds.

Use DogPath to change one thing at a time
Pick one visible thing to record. “Turned toward the opening” and “one paw passed my heel” describe different steps. Prepare small rewards, practise for a couple of brief turns and write the entry after the dog has moved away. Include the floor, starting position, the hand cue you used and what the dog did. A note such as “went around twice when I stood straight ahead” shows which setup to change.
Use the note to choose one adjustment. If the dog approached easily from a slight angle, begin a little farther back next time and leave the pause short. If starting position is easy, keep it and reward a moment of standing before you give the release cue. If you want to change the distraction level, choose a familiar quiet corner with a different background while keeping distance and pause the same. A new room, a longer wait and a different entry angle in one round make it hard to tell which part mattered.
Here is one example. “Runner in the hallway, started behind my left shoe, low open hand, stepped in and walked straight through.” Next time use the same runner, shoe and hand. Move the reward slightly closer to the place you want the dog to pause, while keeping the path forward open. If that works, record the small difference. If the dog walks around, make the entry angle easy again. There is no deadline for adding the pause.
Keep the trick separate from crowded situations
Enjoy this as a stationary trick on a quiet surface. Choose a comfortable stance and step away after your dog has cleared your feet. A training cue cannot make a busy pavement, a crowd or an approaching dog safe. Outside the practice area, manage those situations with enough distance, a secure lead when needed and a route you can leave. If you need to move through a tight space, give your dog a clear path beside you.
Do one or two easy invitations when the dog is available to practise. If they walk away, stay still and give them room. If they prefer to stand beside one leg, reward that position as its own helpful activity. Different dogs are comfortable with different amounts of space around their body. The aim is to give your dog a choice they can repeat, including the choice to leave.
Stop and seek veterinary advice if a dog who moved comfortably starts showing pain or sudden difficulty walking, turning or standing. If the dog panics near legs, guards space or you are worried about a bite, avoid repeating the close setup and seek qualified in-person help. For your next ordinary practice, choose the last movement the dog offered easily and plan where you will reward it. A glance from a comfortable distance is a useful place to start.

