How to Stop a Dog From Nipping at Ankles and Pant Legs

Updated on March 16, 2018
alexadry profile image

Adrienne is a former veterinary hospital assistant, certified dog trainer, behavior consultant, and author of "Brain Training for Dogs."

Ankle biting is common in small dogs
Ankle biting is common in small dogs | Source

Why Do Dogs Chase Pant Legs?

An owner of a recently rescued Maltese contacted me today desperately in need of help. Her newly acquired one-year-old dog was lunging and nipping at innocent passersby, terrorizing them as they went about their errands. She, therefore, started to go the avoidance route—walking on secluded streets in the early morning and late evening. We discussed a variety of causes for such behavior and came to the conclusion that regardless of the cause, it was evident that her yelling and repeated leash corrections were not only not working, but perhaps even making the behavior worse. I recommended her to use a harness to protect this dog's delicate trachea which was at risk of collapsing every time he lunged and pulled against the collar in an attempt to attack and nip.

Why do some dogs appear to enjoy to chase pant legs? The ankle-biter reputation is quite popular among small dogs obviously due to their size; the legs, after all, are the easiest place to reach! When directed towards family, at times it may be the dog's way to play, get attention or control the comings and goings in the house. When directed towards strangers, it may be fear-based. But how can it be fear based if the dog is actually attacking!? Very likely, the dog learned that every time he moved towards those legs, the person instinctively moves away, which encouraged this behavior. I like to compare this behavior to a person terrorized of cats which sends away cats coming close, by stomping legs on the ground while making a loud "shhhh" sound. Because it works, this person will likely repeat this behavior in the future with cats. Some small dogs may also attack legs out of predatory drive just because it is fun, in the same way other dogs chase balls, bikes, joggers and squirrels! Puppies do it simply because it is an entertaining game; especially if you continue moving and he gets a grip on your pant legs "yeaaaahhhhh! a free game of tug of war"!!

Back to the Maltese owner, she was obviously very concerned; the behavior was quite serious. While the biting never got to break skin, people were scared and the owner was obviously at her wit's end, and I could tell from the way she was talking that she was seriously considering bringing this young dog back to the rescue. I told her since we did not know the history of the dog, the behavior may not be easy to eradicate and no guarantees of the outcome of the behavior could be made. My code of ethics requires me to never make any guarantees when training dogs and I comply with this readily as I would never feel comfortable in doing so. Read more about why a good trainer never makes guarantees.

I, therefore, provided her with an extensive dog behavior modification program she had to adhere strictly to if she wanted to put her dog up for success. I will share it here in case dog owners in need may find it helpful.

How to Stop a Dog From Nipping Legs

One note of caution: while correcting your dog for nipping ankles and pant legs may seem like a logical approach, you may notice it may not be working and it may even be making the behavior worse! There may may be several reasons for this. Perhaps the act of chasing those pant legs is much more rewarding than the correction, or perhaps the behavior is fear-based and your correction is exacerbating this state of mind. Because many dog owners do not know if the behavior is fear-based or part of prey drive (and this can only be evaluated by closely observing the body language when the dog lunges and tries to nip) the best approach would be to ask your dog for alternate behaviors.

One common mistake dog owners make is to correct unwanted behaviors and fail to reward wanted ones. In most circumstances, dogs require an alternate behavior so to fill the void left from the behavior no longer practiced. Once the void is filled, the dog is most likely to proudly respond with the new behavior which will increase in frequency because it is rewarded. Failure to provide an alternate behavior may at times cause another unwanted behavior to fill up the gap and at times it may be even worse than the initial problem!

How to Teach an Alternate Behaviors

  1. Start by choosing a quiet room where there are little distractions
  2. Choose very high-value treats, avoid stale cookies or kibble, you want to use treats your dog drools for and will do anything for. Sliced cooked hot dogs, slivers of roasted chicken, or commercially available treats may work well. If your dog is a bit finicky go with what Ian Dunbar calls "the Ferrari of dog treats" — freeze-dried liver. Make the treats bite-size.
  3. Place the treats in a treat bag. Some trainers like to mix a variety of treats up.
  4. Make a smacking noise with your mouth and immediately follow it by a treat. Smack, treat, smack treat, smack treat. Do this 7 to 10 times, or until your dog hears the smacking noise and looks up at you for the treat. When this happens you know you have classically conditioned your dog to associate that sound with treats. You may also see Pavlov's law in action if your dog drools or smacks his lips in anticipation.
  5. Once you have accomplished this, start asking for an operant behavior; in this case we want eye contact. Start bringing the treat at eye level so your dog will have to look up at you for the treat. It would go like this: smacking noise, treat at eye level, the moment your dog looks at you say "good boy" and give the treat. Be very quick in capturing that moment of eye contact by praising it (good boy!) the moment you see it and delivering the treat. If you wish, you can make the eye contact a bit longer by delaying the good boy a few seconds followed by the treat. Do this once your dog is getting good at making eye contact.
  6. Now that you have a dog that makes beautiful eye contact upon hearing the smacking sound it is time to do this in more and more distracting environments. Ask it in the yard, with a few people around, near a busy street, then at the park before being let inside to play, etc.. Make sure you ask it while walking and are able to keep his eye contact for a few steps at a time. Go very slow and gradual in teaching this. If he fails to respond, very likely it is too hard for him and you need to work on it more in less distracting areas. Don't put him to fail by asking this too quickly in distracting areas. Create a good foundation of solid eye contact first. The more you make the smacking noise and he doesn't listen, the more this sound will weaken in value. Make the sound always valuable. If he is a bit distracted upon making the smacking noise don't repeat it; rather bring the treat to his nose and then bring it to your eyes and praise and reward the moment he makes eye contact. This is just a way to tell him "hey, we are still working on this, pay attention!"
  7. At this point, once your dog has learned to respond to the smacking sound you can try working him under the "threshold". What this means, is you will work him from a distance from people passing by. This is part of working gradually and desensitizing him to the presence of people walking. Find a distance where you feel your dog will respond to your requests of making eye contact and work from there. Every time a person is passing by making the smacking noise and walk past the person with him looking at you. The more you do this successfully, the more your dog will get to this equation: person passing= smacking noise+ eye contact = TREAT! You want to establish a pattern in your dog's mind. If you are really good at this, he will start looking at you the moment he sees a person walking by as if saying "yeah! a person! where's my treat, where's my treat!" This should change your dog's emotional state from going into attack mode to going into treat mode.

Helpful Tips

  • Make it clear in your dog's mind that people passing by are indicators of treats coming, therefore, give them the moment people pass by and stop giving them once the person has passed.
  • If you are having difficulties having people walk at a distance without coming too close, enroll a few volunteers to walk around him in a controlled setting like in your yard. Then practice this on busier sidewalks, etc..
  • Some dogs do best if instead of hand feeding the treats you toss them on the ground. In your case, if the biting at pant legs is due to predatory drive, launching the treats at first may work better since it will "discharge" the need to change something.

Alternate Option

If your dog is not responding too well in making eye contact while walking (smaller dogs may have a bit more difficulty than larger dogs which are closer to the eyes) instead of asking for eye contact, you may ask for a sit after making the smacking noise. Once your dog associates smack-treat, smack treat, make the smacking noise and then bring the treat between your dog's eyes and bring it towards your dog's head. This should cause your dog to sit. If your dog is jumping instead of sitting you are keeping the treat too high. After establishing a pattern that smacking noise means sit you can then follow the same directions above; your ultimate goal is to have your dog automatically sit upon spotting a person.

Note: A foundation of training is a must for certain behavior modification programs to work, since many incorporate operant behaviors. Training a dog the "say please" training method has proved helpful for many dog owners.

Why Alternate Behaviors Work Best

Why do alternate behaviors works so well? They work well simply because a dog cannot misbehave if they are busy making eye contact or sitting! This is an excellent way to put a dog up for success while changing the dog's emotional state about the problems. Pant legs should not longer be appealing to attack once food is introduced into the picture! Also think, how nice it would be if every time you pass by people your dog is looking nicely at you! Your dog's reputation would surely significantly rise!

Teaching alternate behaviors is a great way to put your dog up for success. According to the be Association of Professional Dog Trainers:

"Behavior modification should focus on the scientifically based approach of removing reinforcers for inappropriate behaviors and instead reinforcing appropriate behaviors."

In this case, this would mean managing the dog's environment by limiting exposure to pant legs especially during the initial stages of behavior modification (remember the more your dog gets to practice this behavior the more it is reinforced) and reinforcing appropriate behaviors (focus, sit). Ultimately, a win-win situation for all!

Disclaimer: Please consult with a dog behaviorist if your dog is displaying aggressive behaviors. Only a dog behaviorist may see and assess behaviors and offer the most appropriate behavior modification program tailored for your dog. Use extreme caution and make safety your top priority. By reading this article you accept this disclaimer and assume full responsibility for any of your actions.

Questions & Answers


      0 of 8192 characters used
      Post Comment

      • profile image

        Mark 5 weeks ago

        Define professional. So many dog trainers are full of it.

      • profile image

        John 2 months ago

        In just MINUTES daily, you can train your dog—it’s that easy when you know how!

        This is a book that gives you a system that professional trainers use to ensure that your chaotic four-legged friend is soon the most perfectly behaved good boy you’ve ever known. All you need to know is the secrets. Like most of the best secrets, these are obvious once you realize what they are!!!!

      • alexadry profile image

        Adrienne Janet Farricelli 4 months ago from USA

        Mark, in cases of biting, always best to play it safe and have a professional guide you. In the meanwhile, prevent access to people's legs and try training at home an alternate behavior and making it very rewarding (for example targeting your hand, heeling next to you).

      • profile image

        Mark Jenkins 5 months ago

        I have a one year old English bulldog and he a great dog very frenindly but twice has just out of the blue bitten two different men on the back of there knee any suggestions

      • profile image

        rah 11 months ago

        A tug a rope works. take one with you.

      • profile image

        geholman 16 months ago

        I have a 1 1/2 year old mini aussie that is niping ankles when people come and go. I take him and introduce him to the person who is visiting and he will slowly make up with the person, but then when he as warmed up to coming to their lap and enjoying the rubbing and scratching on his neck he will just out of the blue lung at that person's face and follow them to the door nipping and biting at their ankles and feet. What do I do?

      • profile image

        Mindy Geier 17 months ago

        I have a lab mix that is 9 months old. We just recently started letting him off leash in our back yard and he is having a ball. BUT, for some reason now while he is running around, he comes up to you and puts his mouth over my boot. Doesn't bite, just has his mouth open and over my boot, or he will nip at my knee. I correct him each time and then he starts running around again and then comes back and does it again. Now I just noticed he goes after my feet when I walk past him while we are in the house. I keep correcting him but he keeps doing it. This behavior has only started since I have let him off leash to run. Any suggestions?

      • alexadry profile image

        Adrienne Janet Farricelli 2 years ago from USA

        Movement is what triggers this reaction, the feet are as exciting to play with as the ball. And when the foot is moved away it triggers the behavior much more. Feet need to become boring, and the toys more rewarding. Not moving feet at all is important, make feet boring, stay still,at the same time make the toys more rewarding by perhaps using a ball that is stuffed with treat or a stuffed Kong. The dog is basically using feet as tug toys. Guests can try tossing kibble or treats to redirect the behavior, you may also want to treat the "leave it" cue to say when the dog becomes interested in feet, but if there is a history of latching on and biting, please see a force-free dog trainer to help you out before your dog injures somebody.

      • profile image

        AJ Wiggins 2 years ago

        Help. I have a rescue pit mix that I adopted at age 1yr. 4 months. She is not 1yr. 7 months... so we had her for 3 months and she bites feet. Here is how it plays out. Bounce a ball near your feet she pounces near the ball and if the feet move she will bite. Last night she met my daughter's friend and after jumping up on the girl, the girl move away swiftly and raised a foot from the ground and the dog latched onto her foot and held it. there were no broken bones and there was a small puncture wound. How do we keep the dog from biting at feet. I apologize if this is a duplicate question but I do not see my other question. All help is welcomed. Thanks.

      • lambservant profile image

        Lori Colbo 2 years ago from Pacific Northwest

        What you say makes perfect sense. I guess I've seen too many people go over board. I had a family member who had just gotten a little chihuahua one time when I visited. Normal sized. About a year later I made a return visit and that little dog was so obese his breed was unrecognizable. I had no idea this grotesque looking dog was the same dog. It broke my heart and I was so angry. He had a relatively shorter life. She motivated him with fattening people treats and other crap. He may have learned obedience but the family didn't enjoy him as lo g as they could have. That is an extreme example of course.

      • alexadry profile image

        Adrienne Janet Farricelli 2 years ago from USA

        Yes, there are several other motivators and I use them as well, especially because not all dogs are food motivated. Those dogs you mention who are obese and over treated often have owners who fail to use treats correctly.A dog does something good? They give a whole cookie instead of small bite-size pieces. Out of a whole treat they give, I can make dozens of treats. They then feed their dogs at the table. The kid drops a french fry? in the dog's mouth it goes. These owners also fail to adjust their dog's daily meals to compensate for the treats and on top of that they fail to exercise their dogs. Not to mention they have no clue on how to wean their dogs off treats once they start and use other forms of rewards. Please note that the behavior modification methods suggested in this article are meant to be used along with a behavior professional for safety. If you mention this dog has several issues going on that require training or retraining, perhaps you can tell the owner to consult with a trainer who does board and training? Sounds like there are many thing going on.

      • lambservant profile image

        Lori Colbo 2 years ago from Pacific Northwest

        I'm not totally on board with treat training, especially if he has several issues going on that require training or retraining. So many dogs become obese because of over treating or over feedin or giving lots of people food. And isn't it more ideal to train them without treat rewards? I get it that food is a good motivator but that doesn't make it the best or most healthy way. Your thoughts?

      • alexadry profile image

        Adrienne Janet Farricelli 3 years ago from USA

        If your dog jumps away when you try to put his lead on, he's not ready to be off leash. Being off leash is something dogs earn after proving themselves capable of being calm, under control and obedient. If an emergency arises and you must get your dog on leash ASAP, things will be difficult if he plays the keep away, catch-me-if-you-can game. I would recommend classes with a reputable force-free trainer especially since he nipped your mom. Your dog needs to learn self-control and to lower arousal. This needs to be done gradually with your dog under threshold and then increasing distractions. Also,he'll need to refine his bite inhibition because he broke skin which is often seen when a dog is too aroused.

      • profile image 3 years ago

        Hi , my dog nips at my ankles if i stop to talk to anybody ( usually other dog walker's ) or if i pet another dog . He is always off his leash at these times . I have been told to ignore him , but its difficult to carry on walking with a dog attached to your leg ! He barks and nips at the same time and he jumps away when i try to put his lead on. This usually happens 2 or 3 times per walk , sometimes i can distract him by finding a stick to throw . Last week my mother in law took him to the beach and he nipped her leg and broke the skin, again once she managed to get him on his leashed he was fine . Please help , its taking the joy out of dog walking .

      • alexadry profile image

        Adrienne Janet Farricelli 5 years ago from USA

        Making his sit for his food is a good approach, as you teaching him that nipping gets him nothing, while sitting gets him to have the food. The same philosophy can be used to train in other circumstances. Try to catch his attention BEFORE he is about to do the nipping. Make a smacking noise with your mouth and reward when he looks at you and do it repeatedly. If you are into clicker training, catching the quick pauses of non-nipping behavior and marking them will help you out. You can then incorporate a sit too, since a dog cannot be sitting and nipping at the same time! best wishes!

      • profile image

        Angie 5 years ago

        Hmm, my rottweiler mix is an ankle biter. He nips ankles when he is being protective over my roommate's corgi, a toy, or his bed. He also does it when I'm getting his food ready. I've trained him to sit and wait for his food, but I'm not sure how to prevent the ankle biting when he is being protective. I never know when it is going to happen, because he will be fine with a person and then randomly bite their ankle just because the little dog came in the room. But he won't do it every time! Today he nipped the ankle of a little boy when the boy came near his new toy. Any tips?

      • Sinea Pies profile image

        Sinea Pies 6 years ago from Northeastern United States

        Great hub. Mine pulls at my sleeves when she needs to go out. I'll apply these principles and see how it works! :)

      • TENKAY profile image

        TENKAY 6 years ago from Philippines

        It's okay, he only shows aggression towards kids. I still take him for walks but this time in a leash. I let him run around the park without the leash when kids are not around.

      • alexadry profile image

        Adrienne Janet Farricelli 6 years ago from USA

        Thank you for sharing,I hope this is helpful. Please use extreme caution if your dog has started biting.

      • TENKAY profile image

        TENKAY 6 years ago from Philippines

        A dog's behavior is affected by their past experience. What started as fun and game for the kids (age ranges 7 to 10) and my male shih tzu ended with a change in behavior of my dog towards kids. Five months ago, almost every afternoon for a week, I allowed the kids to play with my dog in their catch-me-if-you-can game, as my dog being the catcher. Initially, my dog would chase the kids if the children will call him and then run when the dog starts to chase them. Then I noticed that my dog chase kids even without calling him, and then eventually started biting. The dog became aggressive towards kids.

        I have to process this aggression, thanks to this hub, now I have an idea how to do it.

      • alexadry profile image

        Adrienne Janet Farricelli 6 years ago from USA

        Thank you Brandon. Actually the dog in the picture is not mine. I am owned by two big Rottweilers that are often chased by ankle-biters on our walks!

      • Brandon Spaulding profile image

        Brandon Spaulding 6 years ago from Yahoo, Contributor

        I love your dog. Everyone needs tips for controlling animal behavior. They have to be socialized just like people. Thanks for the tips! Voted up, useful, funny, and interesting.


      This website uses cookies

      As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

      For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: ""

      Show Details
      HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
      LoginThis is necessary to sign in to the HubPages Service.
      Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
      AkismetThis is used to detect comment spam. (Privacy Policy)
      HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
      HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
      Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
      CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
      Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
      Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
      Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
      Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
      Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
      Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
      VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
      PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
      Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
      MavenThis supports the Maven widget and search functionality. (Privacy Policy)
      Google AdSenseThis is an ad network. (Privacy Policy)
      Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
      Index ExchangeThis is an ad network. (Privacy Policy)
      SovrnThis is an ad network. (Privacy Policy)
      Facebook AdsThis is an ad network. (Privacy Policy)
      Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
      AppNexusThis is an ad network. (Privacy Policy)
      OpenxThis is an ad network. (Privacy Policy)
      Rubicon ProjectThis is an ad network. (Privacy Policy)
      TripleLiftThis is an ad network. (Privacy Policy)
      Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
      Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
      Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
      Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
      ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
      Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)