She barks because you answer. That's it, and it isn't a character flaw on either side.
At some point she barked at you and got something out of it. You turned around. You said her name. You picked the toy back up, or let her onto the couch, or went and opened the gate to the yard. Which one doesn't matter. What she learned is that a bark pointed at you gets you moving, and a thing that gets you moving is worth doing again.
We hear this one a lot, and most owners already know it's their own doing. That's fine. It's a very fixable problem, mostly because you control the thing the dog wants. The other kinds of barking we write about, dogs at the window, dogs at the doorbell, you don't control the trigger. Here you are the trigger.
Before any of that, make sure it's really attention and not a need. A dog who barks at the back door at bedtime might just need one more trip out. A dog who barks at the pantry at dinnertime might be an hour past dinner. An older dog who starts barking in the evening for no reason you can find, or any dog whose barking changed suddenly, should see the vet before you start a training plan, since pain and hearing loss and cognitive changes can all look like demand barking from the outside.
If it's a young puppy barking from a crate at 3 a.m., that's probably a bladder, not a demand. Our puppy page covers that: how to stop a puppy from barking, by what it's barking at.
Once you've ruled those out, it's attention, and here's what we do.
For three days, keep a note on your phone. Time, what you were doing, what the dog did, what happened next. Be exact about the last part. "I said her name" is attention. "I moved her paw off my leg" is attention. "I laughed and told her to knock it off" is attention. Most owners find the bark gets some kind of response nearly every time, and they didn't know it. When a knock comes at the front door, the barking often has other causes, covered in the reasons dogs bark at the door.
You're also looking for the moments. Lots of dogs demand bark at the same three or four: when you open the laptop, when you start cooking, when you're talking to someone else in the house, when you stop petting her and she decides you weren't done. Knowing the moments lets you get ahead of them, which comes later.
Also look at the dog's day. Not as an excuse, just as a fact: a three-year-old border collie mix who got a quick loop around the block and nothing else is going to bark at you more than one who had thirty minutes off leash and a frozen food toy. Fix the day first, then train the bark. The training goes faster.
Stop rewarding it
This is the part everyone knows and nobody enjoys.
When the dog barks at you for attention, you give nothing. Not "no," not "quiet," not eye contact, not a hand on the collar. Turn your shoulders away. Look at the wall. If you were about to stand up, sit back down. Keep your hands still, because a hand that moves toward the dog is attention even if it's pushing her away.
If she escalates, and she will, barks louder, jumps, paws at you, then you leave. Walk out of the room and shut the door behind you. Count to fifteen. Come back in. If she's quiet, you're back and life goes on. If she starts again, out you go. We've done this eight times in a row with a cattle dog on the first evening. By the end of that week it was once.
Two things to expect. It gets worse before it gets better, usually for three to five days, and it gets worse in a specific way: louder, longer, with new moves added. That's the dog running through everything that has ever worked. If you give in during that stretch, you've just taught her that the louder version is what works, and you start over from a harder place. So decide before you begin whether everyone in the house can hold out. If one of the kids is going to cave on day three, wait for a week when everyone can commit, or it's wasted. For owners who want a cue to pair with all that waiting, teaching a dog the quiet command is the place to start.
The second thing: this only works if the dog can get attention some other way. Ignoring on its own just makes a frustrated dog. Which brings us to the real training.
Reward the quiet instead
The bark goes away faster when there's an obvious, easy thing that works in its place.
Start simple. When the dog barks and you've turned away, wait for the first gap. Even two seconds. The instant she's quiet, turn back, say something warm, and give a bit of what she wanted. Then stretch the gap. Two seconds becomes five, five becomes ten. You're rewarding silence, not barking, and the dog can tell the difference inside a few days.
Then pick a replacement behavior and teach it separately, at a calm time, with food. Sit is fine. Lying on a mat is better, because the dog has somewhere specific to go that isn't your face. We teach mat work for attention barking exactly the way we teach it for the doorbell, and the steps are in our place command guide. Ten reps, twice a day, two minutes each.
Once she has the mat, start rewarding her for going to it on her own when she wants something. A dog who walks to her mat and lies down while you're at the laptop gets a chew, or a minute of your attention, or the ball thrown once. A dog who barks at you gets the wall. After a couple of weeks you'll see her bark once, stop herself, and go lie down. That's the moment it's working.
The other half is giving attention before she asks. If your notes say she barks at 8 p.m. when you sit down to watch something, do five minutes of tug or a short training session at 7:50 first. Then she goes to her mat with a chew. You're not letting the bark decide when she gets you.
One thing we see go wrong: people teach "quiet" by saying it while the dog is barking, then rewarding when she stops. The dog learns that barking is step one of the quiet game. If you want a quiet cue, teach it when she's already quiet, and keep the bark out of it entirely.
At night
Demand barking at night is the same problem with worse timing.
Make sure the dog had a real evening: a walk, dinner, a last trip outside right before bed. Then she goes to her bed or crate and you go to yours. If she barks and you've ruled out needing to go out, you don't go in. Not to shush, not to check, not to say goodnight again. A white noise machine helps you more than it helps the dog.
If you've been going in, expect two or three loud nights. Earplugs, tell the neighbors, hold the line. If you've been going in for a year and the dog is older, it may take longer, and it may never fully reach zero. We don't promise zero with this one. We do see most dogs settle into a couple of grumbles and then sleep.
For a dog whose barking is mixed up with the door, the knock, the bell, the hallway, our guide "Calm at the Door in 21 Days" walks through the whole routine day by day.

Calm at the Door in 21 Days
The 21-day plan for dogs who bark at the doorbell, the window and every visitor. 10 minutes a day, reward-based, 6 printable tools.
See the plan →Not sure yet? Take the free 2-minute quiz
Educational content from the CalmDoor team. Not veterinary or behavioral advice for your specific dog. If your dog has bitten, or behavior changed suddenly, see your veterinarian and a certified professional.











