The short answer
When barking gets a response, the dog learns that barking works. The fix is to stop responding to the barking and to respond to quiet instead. Keep your reaction calm and consistent, and give attention when the dog is settled.
How to tell if it is attention barking
Attention barking often has a pattern. The dog barks, you look or speak, and the barking stops for a moment. Or the dog barks at you specifically when you are on your phone, cooking, or sitting down. It may also stop as soon as you give it what it wanted, like a toy or a walk.
Other causes can look similar, so rule out the basics first. Check that the dog has food, water, a bathroom break, and enough exercise. A dog that is hungry, thirsty, or uncomfortable may bark for a reason that has nothing to do with attention.
Step 1: Stop responding to barking
When the dog barks for attention, do not give it what it wants. Do not look at it, speak to it, or get up to check on it. A scolding also counts as attention, so keep your reaction neutral. Turn away, or go into another room if you need to.
Stay quiet until the dog stops. Then respond right away.
Step 2: Reward quiet
When the dog pauses, even briefly, reward it. Give a treat, a toy, or a bit of praise. Keep the praise calm if the dog gets excited easily. The goal is to make quiet more rewarding than barking.
Short, frequent rewards work best. A few seconds of quiet is enough to start, and you can increase the time as the dog learns.
Step 3: Teach a clear way to ask for attention
Dogs need a way to get your attention that is not barking. Teach a simple request, such as:
- Sitting in front of you
- Bringing you a toy
- Touching your hand with its nose
When the dog uses the request, respond right away. This gives the dog a clear, polite way to get what it wants. Practice a few times a day, in short sessions.
Be consistent
Everyone in the house should follow the same plan. If one person responds to barking, the dog may learn that barking works some of the time, and that can make it harder to change. Agree on what to do before you start.
What to expect
When you stop rewarding barking, the barking may get louder or more frequent for a short time. Behavior specialists call this an extinction burst. It is a sign the old pattern is being tested. If you stay consistent, it usually fades.
Give the plan a few weeks before you decide whether it works. Keep notes on when the barking happens and how long it lasts, since small changes can be easy to miss.
Things to avoid
- Scolding or yelling. Even negative attention can reinforce barking.
- Giving in once. A single reward after a long barking spell can make the habit stronger.
- Using bark collars as the main fix. These do not teach the dog what you want instead.
When to get help
If the barking is intense, comes with signs of distress, or does not improve with a consistent plan, talk to your vet or a certified trainer. A professional can help you check whether the barking has another cause. For a broader plan, our article on how to stop a dog from barking covers the steps that work across different situations.