How to Stop a Dog Whining or Barking for Attention

We may earn a commission when you buy through links on this page, at no extra cost to you. Learn more

You sit down with a coffee and your dog plants themselves in front of you and barks. Barking or whining for attention, often called demand barking, is a learned habit, so it can be unlearned. Here is how to stop a dog whining or barking for attention: why it starts, meeting needs first, not rewarding the noise, teaching a polite way to ask, and when to see a vet.

How we wrote this: the advice here follows two Whole Dog Journal articles by trainer Pat Miller, Demand Behaviors in Dogs and What Different Dog Barks Mean, Dogs Trust’s guide on how to stop your dog barking, Battersea’s page on barking, Best Friends Animal Society’s guide to problem barking, and the RSPCA’s advice on dog barking. All were checked on 9 November 2026. Where a tip is our own, we say “in our view”. We are not vets or behaviourists, we did not test any products ourselves, and we do not show prices or ratings.

Why dogs bark and whine for attention

Dogs Trust describes barking, howling and whining as normal ways for dogs to show what they feel and what they want, and says many dogs simply learn that barking is a reliable way to get our attention. Pat Miller puts it plainly in Whole Dog Journal: dogs repeat what works for them. A dog that woofed to go out and got the door opened will try the same woof for a game.

Battersea points out that even shouting at the dog to be quiet still gives them the response they were after. Dogs Trust says telling a dog off or going over to fuss can reward the barking by accident, and Pat Miller adds that eye contact and touch count too.

Common reasons, according to these sources:

  • Learned attention. Barking or whining has paid off before, so the dog tries it again.
  • Boredom. Dogs Trust says a bored dog may see us as their best source of fun, and the RSPCA says a bored dog may spend more time barking.
  • Unmet needs. Battersea says a dog short on exercise or stimulation may bark from frustration.
  • Excitement and play. Dogs Trust notes that if barking at us starts a fun game, dogs may learn to bark every time they want to play.

Pat Miller lists pawing, nudging and jumping up alongside barking and whining as attention-seeking habits. In our view, the method below works for all of them.

Step 1: rule out a real need

First make sure your dog is not telling you something you need to know. In our view, check:

  • Do they need to go outside to pee or poop?
  • Is their water bowl empty?
  • Are they too hot or too cold, or is their bed in a draft?
  • Have they been walked and played with today?

If the answer is yes, sort the need out. If none fit and the whining is new for your dog, read the vet section below first.

Step 2: meet their needs before they ask

A dog with nothing to do will look to you for entertainment. Battersea suggests more exercise, more interesting daily walks and more play at home or in the garden for dogs that bark from boredom. The RSPCA says a dog needs plenty to keep them busy each day.

In our view, a good day for an attention barker includes:

  • A walk with time to sniff. Let your dog set the pace for part of it.
  • Short play sessions. A few minutes of tug or fetch, started by you, gives your dog fun on your terms. Our best dog tug toy guide covers safe tug toys.
  • Something to chew. Best Friends suggests durable rubber and nylon chew toys, such as Kongs, to help relieve boredom. The KONG Classic in our catalog is one option; pick a size your dog cannot swallow and supervise. See our best dog toys for aggressive chewers guide for sizing.
  • Puzzle toys and brain work. Best Friends also lists puzzle toys for boredom. Our best puzzle toys for dogs guide and our guide on how to teach a dog to use a puzzle toy show how to start. We leave what goes inside them to our sister site inthekibble.com.

Our guide on how to keep a dog entertained indoors has more ideas.

Step 3: keep a predictable routine

The RSPCA suggests play and exercise at about the same times each day, so your dog knows when good things will happen and has less reason to bark for them at other times. In our view, if your dog knows the walk comes after you finish work, they have less reason to whine at your desk at 3pm.

Step 4: stop paying for the noise

This is the core of the method. When your dog barks or whines for attention, give nothing back until they are quiet:

  1. Turn away. Battersea suggests staying silent, avoiding eye contact and keeping still. Pat Miller suggests simply turning your back, and walking out of the room if your dog keeps going.
  2. Wait for quiet. Do not speak, do not say “no”, do not push them off. Best Friends says to act as though you cannot hear the barking at all.
  3. Reward the quiet. The moment your dog stops, turn back and give them what they wanted: a calm stroke, a few words, a game or the walk. Battersea and Dogs Trust both say to wait for the barking to stop before you give attention.
  4. Stretch the quiet slowly. Best Friends notes that at first your dog may only be quiet for a second or two, and that you can build the quiet time up as they improve. Pat Miller warns that if you always turn back after one second, your dog learns a chain: bark, pause, get attention. Vary how long you wait and slowly make the average wait longer.

For a dog that paws or fusses for a walk, Pat Miller suggests putting the lead down and waiting until the dog is calm.

Expect it to get worse before it gets better

Pat Miller calls this an extinction burst: when barking stops working, many dogs try harder. Dogs Trust notes that dogs tend to be more persistent than we are patient. Both warn that answering the loudest barking, or snapping at the dog, teaches that more noise works. In our view, a burst is a sign the plan is working, so ride it out.

Reward quiet you did not ask for

Battersea says to give your dog attention whenever they are calm and quiet on their own, so they learn they do not have to shout for it. Pat Miller adds that this stops the bark-then-pause chain creeping back. If your dog sits quietly by your chair, notice it and give a stroke before the nudge or bark starts.

Step 5: teach a polite way to ask

Pat Miller’s second tool is an incompatible behaviour: something your dog cannot do while barking. She suggests teaching from puppyhood that polite behaviours such as sit or down are what get attention, rather than pushy ones such as pawing or barking. Dogs Trust lists sit, down, stay, go to bed and settle as calm behaviours to teach instead of barking.

In our view, two options work well for attention barkers:

  • Sit to ask. Your dog sits and waits; you respond with a stroke or a game. Practise when your dog is calm.
  • Settle on a mat. A bed or mat next to your chair becomes the place where good things happen. Praise your dog calmly when they lie down on it and build up the time slowly. Our guide on how to get a dog to sleep in its own bed covers building that habit, and our clicker training guide explains how to mark the exact moment your dog gets it right.

Pat Miller suggests doing both at once: ask for the polite behaviour before the barking starts, and turn away if the barking happens anyway. Once it becomes your dog’s default, keep rewarding it now and then so it sticks. Praise, play and attention are all the rewards you need.

Step 6: get everyone on the same page

Pat Miller says a demand behaviour that pays off only now and then becomes very hard to stop, like a slot machine. One family member who answers the whining can undo weeks of work. Dogs Trust names consistency and patience as keys to quick learning. In our view, agree on house rules and tell visitors too:

  • Nobody answers barking or whining with eye contact, talk, touch or a telling off.
  • Everyone rewards quiet and polite asking.

What not to do

  • No bark collars or sprays. Dogs Trust says anti-bark collars rarely fix barking without new problems: they do not change how the dog feels and can lead to aggression towards people or animals nearby. We do not recommend them.
  • No shouting or punishment. Battersea says even negative attention, like shouting, still rewards the dog. Dogs Trust says that ignoring a dog for a long time and then telling them off teaches them to keep going.
  • Do not ignore a dog who is not asking for attention. Dogs Trust says ignoring will not change how a dog feels if they bark for any reason other than attention, such as worry about being left alone. Dogs that bark when left alone need a different plan; see our guide on crates and separation anxiety.

When to see a vet

Dogs Trust says that if a dog starts barking when they have not before, it is important to see your vet, because a sudden change in behaviour can point to a medical problem, and it names joint pain and doggy dementia among causes. It also says dogs can bark when they are in pain, and that you should speak to your vet as soon as possible if you think that is the reason. Contact your vet if your dog:

  • starts whining or barking suddenly, with no clear trigger, or much more than usual;
  • whines when you touch or lift them, or when they get up, lie down or climb stairs;
  • seems restless, cannot settle, pants, or keeps changing position;
  • is older and also seems confused or stiff.

If the barking does not improve with training, Battersea says your vet can recommend a qualified behaviourist. We do not suggest calming products or medication here; that is a question for your vet.

For other barking problems, see our guides on barking at night, barking at the TV and a dog that follows you everywhere.

Want to turn barking into a trick you control? See how to teach a dog to speak and be quiet on cue.

FAQ

Should I ignore my dog when they whine for attention?

Yes, if you are sure they are asking for attention and not for a real need. Battersea and Best Friends both say to ignore the noise and give attention once your dog is quiet. Check toilet, water and comfort first, and see your vet if the whining is new.

How long does it take to stop demand barking?

It depends on how long the barking has worked. Pat Miller says a habit with lots of past rewards takes more consistency and often brings a bigger burst of barking before it fades.

Why does my dog whine at me for no reason?

There is usually a reason: a need, boredom, or a habit that has paid off before. If you cannot find one and the whining is new, ask your vet to check for pain.

Is demand barking a sign of a bad dog?

No. Pat Miller calls demand behaviours a way for dogs to tell us what they want. You get to decide which ways of asking you are happy with, and teach your dog those instead.

Similar Posts