How to Stop a Dog Barking at Strangers
Most barking at strangers is alarm, wariness or over-excitement, not stubbornness. The lasting fix is to change how your dog feels about people appearing, not just to suppress the noise.
We publish this site independently and stand behind the guidance on it. It is not the official Brain Training for Dogs website, and we are not Adrienne Farricelli or her team. Some links here are affiliate links: if you buy through them we may earn a commission at no extra cost to you, and that never changes what we recommend. See our affiliate disclosure.
Quick answer
Reduce practice by blocking window views and adding distance on walks. When a person appears at a distance your dog can cope with, feed a stream of treats until they pass, so strangers start to predict good things. Teach a go-to-mat routine for visitors. Avoid punishment, which can make a wary dog more anxious. For fearful or reactive dogs, work with a reward-based behaviourist.
Work out the motivation
Barking at strangers usually falls into one of three overlapping types: alarm barking (something new appeared), fear or wariness (the dog wants distance), and frustrated greeting (the dog desperately wants to say hello and cannot). Watch the body. Leaning away, hackles up, retreating between barks suggests fear. Wagging, pulling forward, bouncing suggests frustration. The plan is similar but the emphasis differs.
Reduce rehearsal
- Use film or frosting on windows the dog patrols, or move furniture so it cannot watch the street.
- On walks, cross the road, arc around people, and use quieter routes and times while you train.
- At home, put the dog behind a gate before you open the door so it cannot practise barking at the threshold.
Change the association
This is the core technique, often called counter-conditioning:
- Find the distance at which your dog notices a stranger but does not erupt.
- The moment the dog sees the person, start feeding small treats one after another.
- When the person is gone, stop the treats. Person appears, food starts; person leaves, food stops.
- Over many sessions, slowly decrease the distance as the dog stays relaxed.
Done consistently, the dog starts to look at you for a treat when it sees a stranger, instead of barking.
Visitors at home
- Teach a solid go-to-mat or settle in a calm room, rewarded heavily, before you need it with guests.
- When someone arrives, cue the mat, scatter some food there, or give a long-lasting chew.
- Ask guests to ignore the dog at first: no eye contact, no reaching. Let the dog approach in its own time.
- For dogs that find visitors genuinely scary, it is fine to simply pop the dog in another room with a chew rather than forcing an introduction.
What not to do
Avoid shouting, lead jerks, and shock, spray or ultrasonic anti-bark devices. If your dog is barking because it is worried about strangers, adding something unpleasant when strangers appear can deepen the fear and sometimes lead to growling or snapping instead of barking. See our page on anti-bark collars and devices.
When to get help
If your dog lunges, growls or snaps at people, cannot eat when a stranger is in sight even at a distance, or the barking is getting worse, work with a qualified, reward-based behaviourist. Fear-based reactivity responds well to a structured plan.
Want the games mapped out for you?
Brain Training for Dogs organises reward-based mental exercises and obedience training into difficulty levels, with troubleshooting for each step. Check the current offer for format, contents and guarantee terms.
Affiliate link. We may earn a commission at no additional cost to you.
FAQ
Related guides
References
- Pongrácz P, Molnár C, Miklósi Á, Csányi V (2005). Human listeners are able to classify dog barks recorded in different situations. Journal of Comparative Psychology 119(2), 136–144.
- Yeon SC (2007). The vocal communication of canines. Journal of Veterinary Behavior 2(4), 141–144.
- Storengen LM, Lingaas F (2015). Noise sensitivity in 17 dog breeds: prevalence, breed risk and correlation with fear in other situations. Applied Animal Behaviour Science 171, 152–160.
- Herron ME, Shofer FS, Reisner IR (2009). Survey of the use and outcome of confrontational and non-confrontational training methods in client-owned dogs showing undesired behaviors. Applied Animal Behaviour Science 117, 47–54.
- Blackwell EJ, Twells C, Seawright A, Casey RA (2008). The relationship between training methods and the occurrence of behavior problems, as reported by owners, in a population of domestic dogs. Journal of Veterinary Behavior 3, 207–217.
- Fernandes JG, Olsson IAS, Vieira de Castro AC (2017). Do aversive-based training methods actually compromise dog welfare?: a literature review. Applied Animal Behaviour Science 196, 1–12.
- Ziv G (2017). The effects of using aversive training methods in dogs: a review. Journal of Veterinary Behavior 19, 50–60.
- China L, Mills DS, Cooper JJ (2020). Efficacy of dog training with and without remote electronic collars vs. a focus on positive reinforcement. Frontiers in Veterinary Science 7, 508.
- American Veterinary Society of Animal Behavior (2021). Position Statement on Humane Dog Training. View source
- American Veterinary Society of Animal Behavior. Position Statement on the Use of Punishment for Behavior Modification in Animals. View source
These references describe dogs and training in general. They are not evidence about any specific commercial program. This page is general information, not a substitute for individualised veterinary or behaviour advice. Last reviewed: 30 August 2026.