Problem behaviours

How to stop a dog barking at people walking past the house

Many dogs appoint themselves head of window security. A person walks by, the dog barks, the person keeps walking, and from the dog's side of the glass the barking worked. Repeat that with every school run and mail delivery and the habit gets very well practised. The plan here is simple to describe: retire the dog from the window post, then hand it a different job.

Last reviewed October 4, 2026

Trainer crouched beside a golden retriever on the rocks of a mountain river

Close the lookout

Take the view away before you train anything.

Every bark at a passer-by that seems to send them away is a rehearsal. Apply frosted window film or a light-filtering blind to the lower part of the glass, move the couch or chair the dog uses as a platform, and close front-room doors during the hours foot traffic is heaviest. A white-noise machine or radio can soften footsteps and voices on the sidewalk.

Management is not a failure to train; it is what stops the habit growing while you teach the alternative. When you are out, leave the dog in a room at the back of the house rather than with a front-window view. If the barking comes with trembling, hiding, or a dog who cannot settle after the person has gone, that often points toward fear, and a professional assessment is worth booking early.

  • Frost the lower window glass
  • Move the couch platform
  • Back room when you are out
  • Soften the sidewalk noise

A new job

Teach a mat routine for every passer-by.

Start without any passers-by. Teach a place command on a mat across the room, well away from the glass, rewarding the dog for lying there calmly. Then tie it to the trigger: when someone approaches, mark the dog's first glance toward the window and reward it for heading back to the mat. Over repetitions, people outside can start to predict a mat and a reward.

Open the blinds a little at a time, only as far as the dog can stay on the mat, and keep sessions short. Barking may temporarily increase as the old strategy stops working; if it persists or escalates into lunging at the glass, reassess with a professional. Our Day Training works on obedience and manners Monday to Friday, with a weekly one-hour go-home lesson so the routine carries home.

Grey doodle puppy looking up from a snowy path in winter

Asked and answered

The questions people ask us.

Why does my dog bark at everyone who walks by the house?

Often because it seems to work: the dog barks, the person leaves, and the barking gets the credit. Some dogs are alerting, some are frustrated, and some are worried, which is why body language matters.

Should I yell at my dog to stop barking at the window?

Shouting from across the room can sound to the dog like you are joining in. Calmly interrupt, call the dog to its mat, and reward it there instead.

Should I let my dog look out the window?

Not while you are working on this. Each view of a passer-by is another chance to rehearse barking, so cover the lower glass and reopen the view gradually once the mat routine holds.

When should I get help for window barking?

If the barking comes with fear signs, lunging at the glass, or a dog who stays wound up long after the person has gone, book a professional assessment. The same applies if it keeps escalating despite good management.

Retire the window guard

Book a consultation and we will look at your front room, your dog's triggers, and the smallest program that fits.

From real owners

Rated 5.0 on Google.

Real Northline dogs