How to stop a dog barking too much
A dog that barks too much is not being stubborn or dominant — it is telling you something, and the wrong fix depends on getting the message wrong. Barking sorts into four broad reasons: it wants your attention, it is bored, it is alarmed or guarding territory, or it is distressed at being left alone. Punish the wrong one and you can make it worse; work the right one and most barking comes down within a few weeks. Here is how to tell them apart and fix each.
Why dogs bark, and why the reason changes the fix
Barking is a dog's normal way of communicating, not a fault to eliminate outright — the goal is bringing excessive barking down to a reasonable amount, not silence. It clusters into four common drivers: attention-seeking (barking gets you to look, talk to, or touch the dog), boredom (barking fills an understimulated day), alarm or territorial barking (something in view or earshot is a perceived threat or intruder), and separation-related barking (distress at being left alone, usually with pacing or destruction alongside it). The same loud noise can mean four different things, which is why a single blanket fix so often fails.
Breed matters here too, and it is worth setting realistic expectations rather than fighting instinct. The Great Pyrenees is a livestock guardian bred for centuries to bark through the night at anything unfamiliar near the flock — that is the job, not a flaw, and owners of guardian breeds manage the instinct rather than expecting to remove it. At the other end sits the Basenji, famously near-silent and better known for an eerie yodel than a bark. Most dogs sit somewhere in between, and knowing your breed's baseline helps you judge what "too much" actually means for your dog.
Step 1: work out which of the four it is

Spend a few days simply watching and noting when the barking happens, because the fix depends on getting this right. Attention barking usually happens facing you, often with eye contact, and stops the moment you engage, even to tell the dog off. Boredom barking tends to happen alone in the garden or a quiet room, often repetitive and directionless. Alarm and territorial barking is aimed outward — at a window, a fence line, a doorbell — with a stiffer, more forward body and a different pitch. Separation barking happens only once you have left, often paired with pacing, drooling, or destruction near doors and windows, and it is a distress signal rather than defiance.
A cheap indoor camera pointed at the dog's usual spot answers the separation question definitively, since you cannot observe it yourself. For the other three, a simple diary — time, what the dog could see or hear, how it looked — usually makes the pattern obvious within a few days.
Step 2: attention and boredom barking — stop paying for it, and fill the gap
For attention barking, withdraw completely the moment it starts: no eye contact, no talking, not even "no", and turn your back or leave the room if you can. Any response, including telling the dog off, is attention, and attention is what the barking is buying. The moment it goes quiet, even for a second, mark it and reward calmly. Expect barking to get briefly louder or more insistent before it fades — trainers call this an extinction burst, the last hard push of a behaviour that has always worked before it stops — and holding your nerve through that spike is the part most owners give up on too soon.
For boredom barking, the fix is mostly upstream of the barking itself: more real exercise for the dog's actual energy level, food puzzles and scatter feeding instead of a bowl, chew items, and a couple of short training sessions a day for mental work. A dog with somewhere to put its energy has far less reason to bark at nothing. Teaching a dedicated "quiet" cue helps both: reward silence on request, building duration gradually, so the dog has a clear, paid alternative to barking.
Step 3: alarm and territorial barking — manage what your dog can sense
Reduce what triggers the alarm in the first place. Frosted window film or simply blocking the sightline to the street stops a lot of barking at the source, and a fan or radio can mask outside sound for a dog that reacts to noise more than sight. Where you cannot remove the trigger, counter-conditioning changes what it predicts: pair the doorbell, the postal worker, or a passing dog with something the dog loves, delivered calmly and immediately, so the trigger starts to mean "treats appear" instead of "intruder alert".
Teach an incompatible behaviour too — a solid "go to your bed" or "watch me" that the dog can do instead of running the fence line or the window. Practise it away from the trigger first, at full success, before asking for it in the real moment. This is slower than it sounds satisfying, but it is the only version that actually changes how the dog feels about the trigger rather than just suppressing the noise for a moment.
Step 4: separation-related barking needs its own plan
Barking that happens only when your dog is alone is not the same problem as the other three, and treating it the same way usually fails. It is a fear response, and the fix is desensitisation: building tolerance to being alone in tiny, almost boring increments, starting with seconds at a door rather than minutes out of the house, and only extending the duration once the dog stays relaxed at the current one. Rushing this — a full morning out because the school run is unavoidable — usually undoes weeks of careful work in one session.
If the barking is intense, happens for the entire absence, or comes with drooling, self-injury or damage to doors and crates, treat it as a genuine welfare problem rather than a training inconvenience: talk to your vet or a qualified separation-anxiety trainer. Some dogs need short-term medication alongside behaviour work to make that gradual process possible at all, and that is a medical decision, not a training failure.
Common mistakes: why shouting and bark collars backfire
Shouting rarely reads as discipline to a dog — to an attention-seeking or bored dog it often reads as you joining in, which rewards the exact barking you want to stop. To an alarmed dog it can add to the sense that something worth worrying about is happening. Either way, it teaches nothing about what to do instead.
Skip shock, citronella-spray and ultrasonic anti-bark collars for the same reason we steer people away from choke and prong collars for leash pulling: they suppress the sound through discomfort rather than addressing why the dog is barking, and the American Veterinary Society of Animal Behavior's position statement warns that aversive tools carry real risks of fear, anxiety and redirected aggression. A dog startled every time it barks at the postal worker can just as easily learn to fear the postal worker, or the yard, or you. Reward-based redirection takes longer to show results but it is addressing the actual cause, which is the only version that holds once the tool comes off.
Common questions
How do I get my dog to stop barking?
Work out which of four things is driving it — attention, boredom, alarm, or being left alone — because each needs a different fix. In general: never reward barking with attention, reward the first moment of quiet, meet the dog's exercise and enrichment needs, and manage or counter-condition outside triggers rather than punishing the noise itself.
Why does my dog bark at everything outside the window?
This is usually alarm or territorial barking — your dog is reacting to things it can see or hear passing by. Blocking the sightline with window film, masking outside noise, and pairing passers-by with treats to counter-condition the reaction both work better than telling the dog off after the fact.
Is it OK to yell at my dog to stop barking?
No. Yelling often reads to the dog as you joining in, especially with attention-seeking or bored barking, which can reward the very behaviour you want to stop. It also teaches nothing about what the dog should do instead, so the barking usually returns.
Do anti-bark collars work?
Shock, citronella and ultrasonic bark collars can suppress the sound, but they work through discomfort or startle rather than addressing why the dog is barking, and veterinary behaviour bodies warn they carry real risks of fear and anxiety. Reward-based training addresses the cause and holds up once you stop actively managing it.
How long does it take to stop a dog barking too much?
Attention and boredom barking often improve within one to two weeks of consistent handling, though expect a brief spike before it gets better. Alarm barking and separation-related barking usually take several weeks of gradual counter-conditioning or desensitisation, and severe separation anxiety can take months with professional help.
Why does my dog bark when I leave the house?
This is usually separation-related distress, not defiance, especially if it comes with pacing, drooling or damage near doors. It needs its own plan built on very gradual desensitisation to being alone, and a vet or separation-anxiety trainer is worth involving if it is severe.
More in Dogs

How to crate train a puppy, step by step
Done right, a crate becomes the one place a puppy feels safest — not a cage. The reward-based method, the timing, and the mistakes that make a puppy hate it.

How to stop a puppy biting and mouthing
Puppy biting is normal, not aggression — and how you respond in the first months decides whether it fades or hardens. The reward-based fixes that actually work.

House training a puppy: the schedule that actually works
Most house-training failures are a supervision problem, not a stubborn puppy. The realistic age-based schedule, the signals to watch for, and how to recover from a setback.

Leash training a puppy, from first steps to real walks
A puppy's first collar and lead should feel like nothing at all. The gentle, reward-based route from wearing the gear indoors to a calm walk outside, and what to do differently for a natural puller.

How to socialize a puppy: the critical window, done right
A puppy's sensitive period for accepting new things as normal narrows sharply by around 16 weeks. What to expose it to, why every single experience has to end well, and where more is not automatically better.

Working dog jobs: the breeds behind the badge
Which breeds do police, detection, rescue and hunting work, and the drive that makes each one right for the job.