Pet Cleanup Kit contents: foaming liquid, absorbent powder, brush, gloves and UV light

How to Get Rid of Worm Eggs in Your Yard (Dogs and Cats)

Your vet has found roundworms, hookworms or whipworms in your dog or cat, the pills are working, and now you are looking at the lawn and wondering what is still in it. It’s a fair worry. Pets with worms pass eggs in their poop, and those eggs end up in the soil, where some of them last far longer than the worms inside your pet did. That is how a dog gets reinfected a few weeks after treatment, and how children sometimes pick up roundworm eggs from a garden or a sandbox.

The good news is that you don’t need to poison the whole yard. Most of the work is picking up poop fast and changing the few spots where your pet goes. This guide covers how long each worm survives outside, why sprays and bleach don’t fix a lawn, and a step-by-step plan for grass, patios, dog runs, garden beds and sandboxes. The facts on egg survival come from the veterinary and public health sources listed under Sources near the end; the cleaning plan is our own view. For the litter box, indoor accidents and bedding, see how to clean up after a dog or cat with worms.

The short version

  • Pick up every poop the same day, ideally within a few hours. Fresh roundworm and whipworm eggs are not infective yet; they need days to weeks in the soil first. Fast pickup is the single most useful thing you can do.
  • Roundworm and whipworm eggs can survive in soil for years, and ordinary disinfectants don’t kill them. Bleach, vinegar and lawn sprays won’t clean a lawn.
  • Hookworm larvae are weaker: they live a few months at most in warm, damp, shady soil and die in freezing weather, so sun and drying help.
  • For the toilet area itself, the lasting fixes are physical: a hard surface you can hose and steam, gravel or wood chips you can replace, or a new layer of topsoil.
  • Keep children away from soil where pets go, cover sandboxes, wear shoes and gloves, and wash hands after yard work.
  • Follow your vet’s plan for repeat doses and a recheck, because a pet that keeps passing eggs keeps reseeding the yard.

Which worms end up in your yard?

The three that matter for a yard all spread through eggs or larvae in poop:

  • Roundworms (Toxocara in dogs and cats). Very common in puppies and kittens. The eggs have a thick shell and are the longest-lasting problem in soil. They are also the main worm that can infect people, mostly young children who put dirty hands or soil in their mouths.
  • Hookworms. The eggs hatch in the soil and release tiny larvae that can get into a pet through the mouth or straight through the skin of the paws. In people, the larvae can burrow into bare skin and cause an itchy, winding rash, usually on the feet.
  • Whipworms (dogs). The eggs are very hardy, like roundworm eggs, which is why some dogs keep getting whipworms back from the same yard.

Tapeworms are different. The common dog and cat tapeworm comes from swallowing fleas, not from soil, so flea control matters more than yard work for that one. Giardia and coccidia are not worms, and they need a different approach: see giardia and coccidia.

How long do worm eggs live in the yard?

This is the part that explains everything else. According to the Companion Animal Parasite Council (CAPC) guidelines:

  • Roundworm eggs usually need 2 to 4 weeks in the environment before they become infective. Once they are, they can stay infective for years.
  • Whipworm eggs take about 9 to 21 days, sometimes longer, to become infective, depending on warmth and moisture. Infective eggs can survive in soil for several years.
  • Hookworm larvae can survive in the soil for a few months under the best conditions for them: warm, moderately damp, loose soil out of direct sun. Freezing usually kills the larvae.

Two practical points follow. First, a poop you pick up the same day is removed before its eggs are dangerous, so daily pickup really works. Second, eggs that have already sat in the soil for weeks will not go away by themselves soon, so a toilet spot used during an infection needs extra attention.

What kills worm eggs in the yard?

Nothing you can safely spray on a lawn. CAPC notes that common disinfectants don’t kill roundworm eggs, and that once eggs are in the soil they can only be removed or destroyed by extreme measures such as paving the area, removing the topsoil, burning or treating with steam. In practice that means:

  • Bleach: doesn’t kill roundworm or whipworm eggs, kills grass and plants, and runs into drains and soil. Keep it for washing indoor hard surfaces where its job is cleaning, not killing eggs.
  • Vinegar, “yard odor” sprays and enzyme cleaners: they can help with smell, but they do nothing useful against worm eggs.
  • Heat: steam and boiling water do work on hard surfaces such as concrete, pavers and stone, where you can get the heat right onto the eggs. They don’t reach eggs inside soil or turf.
  • Sun, drying and cold: help a lot with hookworm larvae, very little with roundworm and whipworm eggs.
  • Borax or salt on the soil: you may read that these kill hookworm larvae. They also kill the lawn and plants for a long time and are harmful if a pet eats the treated soil or licks its paws. In our view, don’t use them in a yard your pets and children use; if a kennel run has a stubborn hookworm problem, ask your vet first.

So the plan is to stop new eggs from arriving, remove the ones you can, and make the toilet area a surface you can actually clean.

Step-by-step: clearing the yard after worms

  1. Gear up. Disposable gloves, poop bags or a scooper, closed shoes you can wash, and a bucket of hot soapy water for tools.
  2. Do a full sweep of the yard. Walk it in lines and pick up every old dropping, including dried and half-buried ones under hedges and along fences. Bag them and put them in the trash. Don’t compost or bury them, because that puts the eggs straight back into soil.
  3. Pick a toilet spot. While your pet is being treated, take your dog out on a leash to one corner of the yard for toilet trips. One small area is much easier to clean and to fix later than a whole lawn.
  4. Pick up daily from now on. Every poop, the same day, ideally right after your dog goes. Watch for poop that looks normal: a dewormed pet can still pass eggs for a few days.
  5. Clean your tools. Rinse the scooper and wash it in hot soapy water, then let it dry in the sun. Wash gloves off before you take them off, then wash your hands.
  6. Treat the toilet spot once treatment is done using the surface guide below.
  7. Keep going until your vet clears your pet, and then keep daily pickup as a habit. Your vet will tell you when to repeat deworming and when to bring a stool sample.

Grass and lawns

You can’t sterilize a lawn, and you don’t need to. What helps:

  • Pick up poop daily so no new eggs settle in.
  • Mow regularly and keep the grass short in the toilet area, so sun and air reach the soil and it dries out between rains. Hookworm larvae dislike sun and dry ground.
  • Fix soggy, shaded patches where water sits. Damp, shady soil is where hookworm larvae last longest.
  • If the old toilet spot is small and was used heavily while your pet had worms, you can lift the turf and the top few inches of soil, bag it, and lay new topsoil and seed or turf. That is the only real “reset” for soil.
  • Keep children from playing on the toilet area. Fencing off that corner with a low garden fence is often easier than treating it.

Patios, concrete and pavers

Hard surfaces are the easiest place to win, because you can reach the eggs.

  1. Scrape up all poop and bag it.
  2. Scrub with hot water and dish soap or a patio cleaner, then rinse. Point the hose away from lawns and play areas, and don’t wash it into a storm drain.
  3. Go over the area with boiling water from a kettle or a steam cleaner made for outdoor use. Work slowly so the surface gets properly hot, and keep pets and children out of the way.
  4. Let it dry in the sun.

Joints between pavers hold soil and eggs. Sweep out the old joint sand where your pet goes and refill it. For more on stains and smell on hard surfaces, see dog pee smell in the yard.

Dog runs and kennel areas

A run that one or more dogs use every day collects eggs fast. CAPC lists paving the toilet area with concrete or asphalt as one of the few measures that really removes the problem. Options, from simplest to most work:

  • Gravel or pea gravel: pick up daily, hose often, and replace the top layer of gravel after an infection and once or twice a year anyway.
  • Wood chips or mulch: easy to remove and replace, but they hold moisture. Rake out and bag the old layer, let the ground dry, and put down fresh chips.
  • Concrete or pavers: the best long-term choice for a run. Hose, scrub, steam and dry as above.

For the dog house, bowls and the rest of the run, see how to clean an outdoor dog house and kennel run.

Garden beds, vegetables and pots

Cats in particular like soft, freshly dug soil. If pets have used your vegetable beds:

  • Remove any droppings with a trowel and a little soil around them, and bag it.
  • Wear gloves when you garden, and wash hands afterwards even if you wore gloves.
  • Wash vegetables well before eating, especially root crops and leafy greens that touch the soil. Peel root vegetables if your yard has had worm problems.
  • Cover empty beds with netting or chicken wire so cats can’t dig. More ideas are in cat poop in the garden and, for indoor plants, cat peed or pooped in a plant pot.

Sandboxes and play areas

Sand is a favorite toilet for cats and a common place for children to pick up roundworm eggs. If a pet with worms (or a neighbor’s cat) has used the sandbox, don’t try to disinfect the sand: bag it all, scrub the empty box with hot soapy water, let it dry, and refill with new play sand. Keep it covered whenever it isn’t in use. Step-by-step instructions are in cat poop in the sandbox.

Paws, shoes and the way back inside

  • Wipe or rinse your dog’s paws after toilet trips while the yard is being cleared, especially with hookworms, which can enter through the skin. See how to clean your dog’s paws after a walk.
  • Keep “yard shoes” by the back door and don’t wear them through the house. If you step in something, see how to get dog poop off shoes.
  • Don’t go barefoot on the lawn or the toilet area, and don’t sit or lie on soil where pets go.
  • Wash hands with soap and water after yard work, after handling your pet, and before eating. The CDC lists this alongside picking up pet waste every time as the main ways to prevent roundworm infection in people.

What not to do

  • Don’t pour bleach, disinfectant or pool chemicals on the lawn. They won’t kill the eggs and will damage the soil, plants and possibly your pet’s paws.
  • Don’t use borax, salt or weed killer as a worm treatment where pets and children play.
  • Don’t burn the yard yourself. “Prescribed burns” in the guidelines are for kennels and farms with professionals and permits, not back gardens.
  • Don’t compost pet poop in a home compost heap or bury it in the garden.
  • Don’t hose poop into the lawn or a flower bed; pick it up first.
  • Don’t stop the deworming course early because the yard is clean. Treating the pet is what stops new eggs.

When to call the vet or a doctor

Call your vet if your pet still has diarrhea, a swollen belly, weight loss, pale gums or worms in its poop after treatment, if a new pet or puppy joins the home, or if worms come back after a recheck. They may suggest a different dewormer or a monthly preventive that also covers roundworms, hookworms and whipworms.

See a doctor if anyone in the home gets an itchy, raised, winding red line on the skin (often the feet) after walking barefoot in the yard, or if a young child who plays in soil has a fever, cough, tummy pain or any change in vision. Mention that a pet in the home had worms.

Sources

Safety facts on this page (how long eggs and larvae survive, how long they take to become infective, what kills them) come from these sources. The cleaning steps are our own view.

Frequently asked questions

How long do hookworms live in the yard?

Hookworm larvae can survive a few months in warm, damp, shady soil, and less in sun, dry ground or frost. Freezing usually kills them. Pick up poop daily, keep the toilet area sunny and well drained, and the yard usually clears within a season once your pet is treated.

How do I kill roundworm eggs in my yard?

In soil and grass, you can’t kill them with any safe spray. You can remove them: pick up all poop, use one toilet spot, and if that spot was used heavily during the infection, replace the top few inches of soil or turn it into gravel or paving. On concrete and pavers, scrub and then use boiling water or steam.

Does vinegar or bleach kill worm eggs?

Not in a useful way. Roundworm and whipworm eggs resist common disinfectants, and vinegar does even less. Bleach also harms grass and plants. Indoors, washing hard surfaces with hot soapy water, rinsing and drying removes eggs physically, which is what you want.

Can my dog get worms again from the yard?

Yes, which is why yard cleanup matters. Eggs passed before treatment can become infective weeks later and last for years. Daily pickup, one toilet spot and your vet’s repeat doses or monthly preventive break that cycle.

Is it safe for my kids to play in the yard?

Mostly, with a few rules: keep them off the pet toilet area, cover the sandbox, no bare feet on the lawn while a pet is being treated, and handwashing after playing outside and before eating. Young children who put soil in their mouths are the ones most at risk from roundworm eggs.

Further reading

Spick'n Span Flyer

Sign up to get 10% off your entire order and be first to know about our product launches, exclusive promos, and more...