How to Stop a Dog From Barking: A Plan for Every Type of Barking
How to stop excessive barking: find the type (alert, demand, boredom, fear or separation) and follow the plan for barking at the door and at night.
· Updated · 7 min read

Barking is normal dog communication. It’s how dogs alert, greet, play and ask for things. The problem is excessive barking: barking that goes on and on, happens at all hours, or annoys the neighbors.
Telling a dog to “stop barking” doesn’t work, because barking isn’t one behavior. Barking at the mail carrier and barking when left alone have completely different causes. To train a dog not to bark too much, identify the type first, then use the matching plan below.
Quick answer: how to stop excessive barking
- Identify the type of barking (see the table below).
- Remove the trigger or reward, e.g. block the window view or stop responding to demand barks.
- Meet your dog’s needs: exercise, sniffing, chewing, company and training.
- Teach “quiet” and an alternative behavior like “go to your bed”.
- Reward silence generously, especially in situations where your dog normally barks.
- Be patient and consistent. Expect 2–4 weeks for most barking problems.
- Get help for separation-related or fear-based barking.
Why do dogs bark?
Dogs bark to communicate. It’s how they raise the alarm, ask for things, express excitement or frustration, and call for company. Some common questions:
- Why does my dog bark at nothing? Usually it’s something you can’t hear or smell: a distant dog, wildlife, a noise outside. Older dogs who start barking at nothing should see a vet, as hearing loss and cognitive decline can cause it.
- Why does my dog bark at other dogs? Excitement and frustration on the leash, or fear. See our tips on barking at dogs passing the house below.
- Why do dogs bark at night? Night sounds, needing the toilet, boredom, or discomfort in older dogs.
- Why do dogs bark in their sleep? Soft woofs while asleep are normal and happen during dreaming (REM sleep). There’s no need to wake your dog.
What type of barking is it?
| Type | When it happens | Sounds like | What drives it |
|---|---|---|---|
| Alert / territorial | At the window, door, garden fence | Sharp, loud, repeated | Guarding the home |
| Demand | At you, when you’re eating or busy | Single barks with pauses, staring at you | Has worked before |
| Boredom | Alone in the yard, during quiet times | Monotonous, rhythmic, long-lasting | Under-stimulation |
| Fear / reactive | At strangers, dogs, noises; often on walks | Barking while backing away, hackles up | Wants the scary thing gone |
| Excitement / greeting | Visitors, walks, play | High-pitched, with wiggling | Over-arousal |
| Separation-related | Only when left alone | Often with howling, pacing, destruction | Distress at being alone |
| Compulsive | Repetitive, with pacing or spinning | Same pattern over and over | Stress, confinement |
Not sure? Use our pet behavior analysis tool for a quick assessment.
Teach the foundation skills
1. Teach “quiet”
- Let your dog bark 2–3 times at something mild (like a knock you make yourself).
- Hold a treat in front of their nose. Most dogs stop barking to sniff.
- The instant they’re silent, say “quiet”, count to two, and give the treat.
- Repeat until they reliably stop when they hear “quiet”, then gradually lengthen the silence before you reward.

2. Teach “go to your place”
Train your dog to run to a bed or mat and lie down. It gives them something to do instead of barking at the door, and they can’t easily bark at the window from their bed.
3. Reward calm on purpose
“Catch” your dog being quiet. When a trigger appears and they don’t bark, reward right away. This teaches them that silence pays.
Meet the need: exercise and enrichment
Many barking problems shrink when a dog is properly tired, mentally as well as physically.
- Daily walks with time to sniff: a 20-minute sniff walk can tire a dog more than a long march.
- Food puzzles and snuffle mats instead of bowls.
- Short training sessions: 5 minutes, two or three times a day.
- Chew time: chewing is calming.
- Breed-appropriate jobs: scent games for hounds, herding balls for collies, digging pits for terriers.

How to stop barking in specific situations
Barking at the door or doorbell

- Record your doorbell or knock on the inside of the door yourself.
- Ring it at low volume, cue “place”, and reward on the mat.
- Gradually increase the volume, then practice with a helper outside.
- When real visitors arrive, keep your dog on a leash or behind a gate and reward quiet.
Barking at people or dogs passing the house
- Block the view: frosted window film on the lower half of windows, closed blinds, or moving the sofa away from the window solves much of the problem.
- Teach “thank you”: after one or two barks, say “thank you”, call your dog away, and reward. You’re acknowledging the alert, then taking over.
- Use white noise or a radio to mask outside sounds.
Barking at strangers on walks
Usually fear-based. Increase distance until your dog can see the person without barking, then feed treats while the person is visible (counter-conditioning). Over weeks, gradually decrease the distance. Don’t force greetings.
Barking at night
- Make sure your dog had a good walk and a last toilet trip before bed.
- Check their sleeping area. Can they see out of a window, or hear wildlife?
- Use white noise to mask outdoor sounds.
- Puppies may need a toilet trip; seniors who start barking at night should see a vet, since pain and cognitive decline are common causes.
Barking when you leave
If your dog barks only when alone, especially with howling, chewing at doors or house soiling, it may be separation-related distress.
- Record your dog to see what actually happens.
- Practice very short absences (seconds at first) that your dog can cope with, and build up slowly.
- Avoid leaving them alone for longer than they can handle while you train. Use a dog sitter, daycare or friends.
- Speak to your vet. Separation anxiety is a welfare issue and sometimes needs medication alongside training. Our separation anxiety guide has a full step-by-step plan.
Barking at cats, birds and squirrels
Prey-driven barking is intense. Manage access to windows and the yard, practice “leave it” and recall on a long line, and give your dog legitimate outlets for chasing, like flirt-pole games.
Puppy barking
Puppies bark when they’re over-tired, bored, want attention, or are left alone in a crate or pen. Help them learn quiet early:
- Prevent rather than react: a chew or stuffed food toy before you get busy, and naps after play.
- Don’t answer demand barks. Wait for a pause, then give attention.
- Reward quiet moments with a calm “good” and a treat, especially near the door and the window.
- Get your puppy used to everyday sounds like the doorbell and traffic with our sound desensitization player.
- For crate barking at night, see puppy crying in the crate at night.
Demand barking at you
Stop rewarding it completely: no eye contact, talking or giving in. The moment there’s a pause, give what they want if it’s appropriate. Prevent it by anticipating needs, like a chew before you sit down to eat.
What not to do
- Don’t yell. To your dog, it sounds like joining in.
- Don’t use shock, spray or ultrasonic bark collars. They can increase fear and stress and don’t fix the cause. More in our honest guide to bark collars and anti-barking devices.
- Don’t punish fear barking. It makes the scary thing scarier.
- Don’t debark. Surgical debarking is banned in many places and doesn’t address the cause.
Can a dog whistle help?
A whistle won’t magically stop barking, but it makes a clear, distinctive cue that carries across a room or garden. Train a recall signal with our free online dog whistle, then use it to call your dog away from the window for a reward. Full method: does a dog whistle stop barking?
Related guides
- How to stop a dog from whining
- How to stop your dog from jumping on people and fences
- Dog training glossary
Frequently asked questions
How do I teach my dog the “quiet” command?
Wait for your dog to bark a couple of times, then hold a tasty treat in front of their nose. Most dogs stop barking to sniff. The moment they’re quiet, say “quiet”, wait 1–2 seconds, and give the treat. Gradually lengthen the quiet time before the reward, then use the cue at the first bark. Always reward silence, not barking.
Do anti-bark collars work?
Shock, spray and ultrasonic collars can suppress barking, but they don’t address why a dog barks, and they can increase fear, stress and aggression. They can also punish the wrong thing, such as another dog’s bark. Reward-based training and fixing the cause work better and are kinder.
Can a dog whistle stop barking?
A whistle can interrupt barking for a moment. It works much better as a trained cue, for example a recall signal that calls your dog away from the window for a reward. Try our free online dog whistle to train a signal.
Why does my dog bark at nothing?
Dogs hear and smell far more than we do, so “nothing” is often a distant dog, a wildlife sound or a smell. Boredom, anxiety and, in senior dogs, cognitive decline or hearing loss can also cause barking with no obvious trigger.
How long does it take to stop excessive barking?
Demand and alert barking often improve within 2–4 weeks of consistent training and management. Fear-based and separation-related barking usually take longer, often several months, and may need professional help.
Should I yell at my dog to stop barking?
No. To your dog, yelling often sounds like you’re barking along, which can increase the excitement. Calmly interrupt, redirect and reward quiet instead.
Note: This article is for general information and isn’t a substitute for advice from your veterinarian. Some links may be affiliate links; we may earn a commission at no extra cost to you.Written with AI assistance. Editorial review in progress. Last updated: . How we create our content


