Teach "leave it" as a cue to turn away from an item before your rescue dog picks it up. Start with harmless training food you can safely cover, and reward from a different supply. Keep dangerous items out of reach throughout training; a new cue is not a substitute for preventing ingestion.
When your dog scans every sidewalk for food, you need time to spot an item and move away before they reach it. If you keep noticing things only after they're in the dog's mouth, choose an easier route or give yourself more room while you teach the cue.
Decide which problem you're dealing with
"Leave it" means move away before taking something. "Drop it" is a separate skill for releasing an item already held. And suspected swallowing of a dangerous object or substance is a veterinary problem, not a cue test.
If your dog may have swallowed something toxic, sharp, obstructive, or otherwise dangerous, contact your veterinarian or emergency clinic promptly. Don't wait for symptoms and don't try to induce vomiting unless a veterinarian specifically directs you. Save packaging or a photograph if you can do so safely. ASPCA's ingestion guidance explains why apparently normal behavior doesn't rule out a serious exposure.
For ordinary training, use only dog-safe food suitable for your dog's diet. Never rehearse with medication, unknown street food, sharp objects, or something you would be worried about losing to the dog.
Begin where you can prevent a grab without a struggle
Work in a quiet room. Put a modest-value treat in a closed hand and keep separate rewards ready in your other hand or a pocket. Offer the closed hand where your dog can investigate without needing to jump. Wait for a small pause or movement away, then say a familiar reward word such as “yes” and give a treat from the separate supply. The word marks that pause or movement away, so your dog can connect it with the reward.
Keep the hand still. Don't tease the dog by repeatedly moving food toward and away from their mouth. If sniffing turns into hard pawing, biting at your hand, or frustration, stop and make the setup easier with a trainer's help. If your dog is getting frustrated with your hand, don’t keep holding it there and waiting them out.
Once turning away is predictable, say "leave it" just before that familiar choice. Then mark and reward the turn. Gradually try a briefly open hand, closing it calmly if necessary to prevent access. The AKC's leave-it instructions provide a reference for introducing the cue in controlled stages.
Move to a harmless item on the floor only when you can cover it safely and the dog remains comfortable. Reward away from the item and remove it afterward. You want turning away to lead somewhere worthwhile, rather than teaching the dog to wait for eventual access to the same thing.
Change the setup before taking it onto the sidewalk
Practice with different safe objects and in more than one quiet location. Keep distance easy at first. A cue learned beside your chair hasn't been demonstrated next to a discarded sandwich in a busy parking lot.
On walks, scan ahead and choose routes where you can create space. Use secure, comfortable walking equipment. If an item appears, give the cue while you still have distance, move away together, and reward the response. Don't yank the dog's mouth away from the ground as your teaching method.
Our article on planning a leash walk with room to recover offers a useful way to choose easier routes. Although that article addresses reactions on leash, the same practical question matters here: do you have enough room to change the situation before it becomes unmanageable?
If your dog won't take rewards outdoors, return to an easier environment and review outdoor treat refusal. Increasing the value of food won't solve every problem with distance or stress.
Check whether your dog turns away in time
Record whether the dog turned before reaching the item, whether one cue was enough, and whether they could continue walking. If the dog repeatedly returns to the object, reward farther away and remove access. If the cue produces no turn, reduce distraction or distance rather than repeating it over and over.
Keep household trash, food, medications, and small objects secured even after training improves. Outdoor reliability will vary, and you won't always be present to give a cue.
Seek veterinary advice for sudden or persistent eating of nonfood items. If your dog guards found objects, growls when you approach, or swallows quickly when challenged, arrange qualified behavior help and avoid chasing or prying the mouth open. This beginner exercise isn't a safe treatment for guarding.
Stay with safe practice items until your dog can turn away and take a reward from you comfortably. Make the first outdoor practice easier again, and keep scanning ahead on walks. You still need to prevent access when you can’t rely on a response.