The core method: teach "come" before you need it
A dog that runs away has usually never learned a reliable recall — the command to come back to you. Training this takes weeks of repetition in low-distraction settings before you test it anywhere near a door, gate, or open space. The dog learns that coming to you is more rewarding than whatever else is happening, and that the command means "stop what you're doing and return when ready."
Start indoors in a single room with no distractions. Call your dog's name followed by "come" in a cheerful, upbeat voice. The moment the dog moves toward you, mark the behavior with the word "yes" or a clicker, then give a high-value treat — something the dog loves more than regular kibble, like small pieces of chicken or cheese. Repeat this 5 to 10 times per session, several times a day. Do this for at least two weeks before moving to a new room or outdoor space.
Never call your dog to come for something the dog dislikes, like nail trimming or a bath. If you do, the dog learns that "come" predicts something unpleasant and will avoid you. Always make the recall rewarding.
Key Takeaways
- Teach a reliable "come" command indoors first, using high-value treats and praise, before testing it outdoors or near open doors.
- Practice in low-distraction environments for at least two weeks, then gradually introduce mild distractions like a second room or a quiet yard.
- Never call your dog to come for something unpleasant, because the dog will learn to avoid the command.
- Use a long leash (15 to 30 feet) in outdoor spaces until the recall is solid, so the dog cannot actually run away even if it tries.
- Manage the environment by keeping doors closed, using baby gates, and securing the yard so the dog has fewer opportunities to bolt.
Gradually add distractions and outdoor space
Once the dog reliably comes indoors, move to a quiet outdoor space like a backyard or empty park. Attach a long leash (15 to 30 feet) to the dog's collar so the dog cannot actually run away, even if the recall fails. Call "come" from a short distance, reward heavily, and repeat. Increase the distance slowly over days or weeks.
Then introduce mild distractions: another person standing nearby, a toy on the ground, or another dog at a distance. Call "come" and reward when the dog responds. If the dog ignores you, gently reel in the long leash and guide the dog back, then reward. The leash prevents the dog from learning that ignoring you is an option.
Only remove the long leash once the dog comes reliably even with distractions present. This usually takes four to eight weeks of consistent practice. Some dogs need longer.
Manage the environment to prevent escape
While you are training, reduce the number of times the dog has a chance to bolt. Keep doors closed and locked. Use a baby gate to block hallways so the dog cannot dash toward an open front door. If you have a yard, walk the fence line and repair any gaps or weak spots where the dog could squeeze through or dig under.
When you open a door, teach the dog to wait. Say "wait" and hold the door open slightly. If the dog tries to push through, close the door when ready. Reward the dog for sitting or standing still while the door is open. This teaches the dog that doors do not mean freedom — they mean "stay put until I say otherwise."
If you have a guest arriving, put the dog in a separate room before opening the door. This removes the temptation and prevents the dog from learning that visitors create escape opportunities.
Use a find collar, ID, and microchip
Even with training, accidents happen. A dog can slip a collar, bolt through an unexpected open door, or get spooked by a loud noise. A properly fitted collar and leash reduce the risk. The collar should be snug enough that you cannot slide more than one finger under it, but not so tight that it restricts breathing.
Attach an ID tag with your current phone number to the collar. If the dog does escape, a person who finds the dog can call you when ready. A microchip — a rice-grain-sized implant placed under the skin by a veterinarian — provides a permanent backup. If the dog is taken to a shelter or veterinary clinic, staff can scan the chip and contact you.
Keep your microchip registration current. If you move or change your phone number, update the registry so the shelter can reach you.
Address the underlying reason the dog wants to leave
Some dogs run away because they are bored, anxious, or have an unmet need. A dog that bolts toward the fence may be chasing a squirrel or another dog. A dog that escapes during storms may be panicking. A dog that runs away when left alone may have separation anxiety.
Increase daily exercise. A tired dog is less likely to bolt. Aim for at least 30 minutes of active play or walking per day, more for high-energy breeds. Provide puzzle toys and chew toys to keep the dog mentally engaged indoors.
If the dog shows signs of anxiety — panting, pacing, whining, or destructive behavior — talk to your veterinarian. Anxiety can be managed with training, medication, or both. A dog that feels safe and content is far less likely to run away.
What to do if your dog escapes
If your dog gets out, act when ready. Search the neighborhood on foot and by car, calling the dog's name. Check hiding spots like bushes, under parked cars, and behind buildings — a scared dog often hides rather than roaming openly.
Contact local animal shelters and veterinary clinics within a 5-mile radius and describe the dog. Leave your phone number. Post on local lost-pet Facebook groups and Nextdoor. Put up flyers with a clear photo and your contact information in the neighborhood and at nearby parks.
If the dog has a microchip, contact the registry and report the dog lost. If someone finds the dog and takes it to a shelter, the shelter will scan the chip and contact you.
Frequently Asked Questions
How long does it take to train a dog not to run away?
A solid recall usually takes four to eight weeks of daily practice, assuming you start indoors and gradually add distractions. Some dogs learn faster; others need longer. The timeline depends on the dog's age, breed, and prior training. Older dogs or those with a strong prey drive may need three to four months.
Can I use an electric fence or shock collar to stop my dog from running away?
Electric fences and shock collars can teach a dog to avoid a boundary, but they do not teach the dog to come back to you. The dog may still bolt if something on the other side of the fence is more interesting than the shock. Positive reinforcement training — rewarding the dog for staying close — is more reliable and does not cause fear or pain.
What if my dog ignores the "come" command even with treats?
The dog may not have learned the command well enough yet, or the distraction is too strong. Go back to practicing indoors or in a quieter space. Use higher-value treats — something the dog wants more than what is distracting it. If the dog consistently ignores you, consult a certified professional dog trainer who can assess what is going wrong and adjust the training plan.
Is it safe to let my dog off-leash in a dog park?
Only if the recall is completely reliable and the dog has been vaccinated and is in good health. Even then, keep an eye on the dog and be ready to call it back if it gets into conflict with another dog or tries to leave the park. If you are not confident in the recall, keep the dog on a long leash or do not visit off-leash areas.
What breed of dog is most likely to run away?
Breeds with a strong prey drive or independent streak — like huskies, beagles, terriers, and sighthounds — are more likely to chase something and bolt. But any dog can run away if the motivation is strong enough and the training is weak. Breed matters less than consistent training and management.