When you hug someone, your dog may bark, rush between you, or bring a toy. The hug changes several things at once: people move closer, arms lift, voices change, and attention shifts away from the dog.

Excitement, discomfort, and learned attention seeking are all possible. Barking during a hug does not establish jealousy or protection, and pushing between people does not tell you exactly what your dog intends.

Notice which contact starts it

Use what happens naturally rather than repeatedly provoking the reaction. Does your dog interrupt every hug or only energetic greetings? Does it happen with one person, when someone approaches you on the sofa, or during wrestling too?

Watch the whole response. Loose movement and a quick return to play suggest a different level of concern from stiff staring, growling, snapping, or persistent blocking. Even a dog who appears excited can knock someone over or begin mouthing, so manage the space before trying to train.

Give everyday hugs more space

For now, keep your dog out of the space between people. A gate or a comfortable resting area can help, provided your dog is content there. If they already know a mat cue, use it before the hug and offer something worthwhile while they remain there.

Avoid pushing your dog away with your hands or repeating hugs to see whether they will object. If your dog growls or snaps, stop the close-contact practice and arrange help from a qualified reward-based behavior professional. Keep children out of these exercises.

Practice a much smaller movement

For mild barking without aggression, begin with two calm adults and plenty of room. Your dog should be free to move away, with a barrier if needed to prevent rushing between you.

Start with a movement smaller than a hug: one adult steps slightly toward the other, and your dog receives food at their resting spot. Then separate again. If your dog remains comfortable, gradually add a brief shoulder touch or a very short side hug.

Watch for tension or repeated attempts to interrupt, even if your dog is quiet. If the movement is difficult, increase the distance or return to an easier step.

Keep the practice brief and stop before your dog becomes worked up. Add longer contact or a more animated greeting only after the simpler version is easy.

If attention is part of the pattern

Notice whether interruption consistently earns play, laughter, or petting. Give attention for quiet approaches at other times and reward resting nearby before human contact begins. Avoid a regular sequence of hug, bark, pause, treat.

For a dog who also barks when you work or talk to someone else, demand barking offers a broader plan.