How To Train My Dog To Ignore Strangers? (A Complete Guide)

To train your dog to ignore strangers, start at a distance where your dog notices people but stays calm, then reward them every time they look at a stranger calmly or turn back to you. Over many short sessions, gradually move closer. Two reward-based methods work especially well for this: DMT (distraction, mark, treat) and conditioned emotional response (CER) training, which changes how your dog feels about strangers.
It’s not uncommon for dogs to bark or even lunge at people they don’t know. (If the person is your dog walker, see why a dog growls at the dog walker.) But this behavior can be dangerous, both for your dog and for the people they’re interacting with.
Luckily, there are a few things you can do to train your dog to ignore strangers. With a little patience and consistency, you can help your furry friend feel more comfortable around new people. This also helps clingy dogs who won't let you out of their sight, and dogs who seem to love everyone except one person.
DMT dog training
The perfect training method to ignore strangers is DMT dog training. DMT stands for distraction, mark, treat. We explain the method in depth in what is DMT dog training.
DMT dog training works as followed:
Whenever your dog calmly notices a stranger, mark the moment with a clicker or a short marker word like “yes.” Then give your dog a treat as they turn their attention back to you.
The key to this method is to work at a distance where your dog can look at the stranger without barking or lunging. If your dog is already reacting, you’re too close: calmly move away and try again from farther back.

Eventually, your dog will learn to ignore strangers in 3 levels.
First level (no cues learned yet): When you start with DMT training, your dog has not associated anything with the act of ignoring strangers. So you will start, at a comfortable distance, by marking any time your dog looks at a stranger calmly, and rewarding with a treat.
Second level (looks back to you): Your dog will associate the mark with a positive stimulus (the treat). Soon, your dog will glance at a stranger and then turn to you on their own, expecting the mark and treat.
Third level (ignores strangers automatically): Your dog will learn that strangers simply aren’t that interesting, and that checking in with you pays off. At this point you can gradually work closer to people and reward less often.
Here are a few things to keep in mind when using the DMT method:
- Be sure to click or mark the behavior as soon as your dog calmly looks at the stranger, before they have a chance to react. If you wait too long, your dog may not understand what they’re being rewarded for.
- Only give your dog the treat when they turn their attention back to you. If you give the treat while they’re still paying attention to the stranger, they may think they’re being rewarded for that behavior.
- Be consistent with your commands and rewards. If you vary too much, your dog may become confused and less likely to respond to the training.
Conditioned Emotional Response training
CER training, or Conditioned Emotional Response training, is a method that is based on the principle of Pavlovian conditioning.
In essence, CER training works by teaching your dog to associate strangers with positive experiences. Every time your dog sees a stranger, you’ll give them something they love, like a high-value treat. When the stranger disappears, the treats stop. Over time, your dog will learn that strangers predict good things, feel less worried about them, and be less likely to bark or lunge at them.

This training method is similar to DMT training. The difference is that, with CER training, you’re not waiting for a particular behavior. The treat is tied to the appearance of the stranger, not to what your dog does, because the goal is to change how your dog feels about strangers. Once the feeling changes, the calmer behavior usually follows.
Another difference is that you don’t need a marker like a clicker or a verbal cue. The stranger becomes the signal that a treat is coming.
Here are a few things to keep in mind when using CER training:
- Start the treats the moment your dog sees the stranger, and stop them when the stranger is gone. The order matters: stranger first, then food.
- Stay far enough away that your dog can still eat. A dog that is too stressed to take treats is over threshold, so increase the distance.
- Like DMT training, consistency is key. Short, frequent sessions work better than occasional long ones.
- This method can take time, especially for fearful dogs, because you’re changing an emotional response rather than teaching a single behavior.
What to avoid when you’re training your dog to ignore strangers
Now you have 2 training methods that you can use to teach your dog to ignore strangers. But there are a few things you’ll want to avoid if you want your training to be successful.
- First, avoid using punishment as a way to train your dog. This includes scolding, hitting, or any other form of physical or verbal abuse. Not only is this ineffective, but it can also make your dog's behavior worse.
- Second, avoid using intimidation to train your dog. This includes staring them down, growling at them, or any other form of threatening behavior. This will only make your dog more anxious and less likely to respond to training.
- Third, don’t let strangers greet or pet your dog while you’re training. Politely ask people to give you space, so your dog isn’t pushed past what they can handle.
- Finally, don't hurry the training process. Rome wasn't built in a day, and neither is a well-trained dog. Be patient and consistent with your commands and rewards.
If your dog’s reaction to strangers is intense (growling, snapping, or biting) or seems rooted in fear, work with a qualified reward-based trainer or a veterinary behaviorist. A sudden change in how your dog reacts to people can also be a sign of pain, so it’s worth a vet check too.
Final thoughts
Teaching your dog to ignore strangers doesn’t have to be difficult. By using the DMT or CER training methods, you can teach your dog to associate strangers with positive experiences. And by avoiding common training mistakes, you can set your dog up for success. Start at a distance, keep sessions short, and reward generously.


