How to Get Rid of Worms in Dogs (and Keep Them Away)
Updated: 6 days ago

Most dogs get worms at some point, and puppies very often pick up roundworms from their mother. The good news: worms are easy to treat once you know which kind your dog has. That part matters, because different worms need different medicine, and none of the "natural" home remedies you'll see online are proven to work.
Step 1: Get a stool test
The most reliable way to find out what's going on is a fecal (stool) test at your vet. They look for worm eggs under a microscope, then prescribe a dewormer that targets that specific worm. Bring a fresh sample, and tell your vet if you've seen anything in your dog's poop or around their bottom, since some worms don't show up on every test. Heartworm is checked with a blood test instead.

A vet visit. Bring a fresh stool sample so the vet can check for worm eggs under the microscope. Photo: Maja Dumat, CC BY 2.0
Signs your dog may have worms
Worms, or small rice-like segments, in poop or vomit or around the tail
Diarrhea, sometimes bloody
Weight loss or a dull coat
A pot-bellied look in puppies
Pale gums, weakness or low energy, which can be signs of anemia
Scooting or licking under the tail
Coughing and tiring easily, which can point to heartworm
Many dogs with worms show no signs at all. That's why vets recommend a stool test every year.
The common types of worms
Roundworms
The most common worm in dogs, especially puppies, who often get them from their mother. Dogs also pick them up by swallowing eggs from infected poop in soil. Heavy infections can give puppies a pot-bellied look and slow their growth. If they come out in stool or vomit, they look like spaghetti.

Adult roundworms. They look like strands of spaghetti and are most common in puppies. Photo: Flukeman, CC BY-SA 3.0
Hookworms
Small worms that attach to the wall of the small intestine and feed on blood, which can cause serious anemia, especially in puppies. Dogs get them by swallowing the larvae or when larvae burrow through the skin, often on the feet.

A hookworm egg under the microscope. This is what your vet looks for in a stool sample. Photo: Joel Mills, CC BY-SA 3.0
Whipworms
They live in the large intestine and cause long-lasting watery or bloody diarrhea and weight loss. Their eggs can survive in soil for a long time, so dogs often get reinfected.
Tapeworms
Dogs get the most common tapeworm by swallowing an infected flea, often while grooming. Others come from eating rodents or rabbits. You may see small, rice-like segments in the poop or around your dog's bottom. Because fleas spread them, flea control is part of tapeworm prevention.

How tapeworms spread: a dog swallows an infected flea while grooming. That's why flea control prevents them. Diagram: CDC, public domain
Threadworms
Threadworms are less common. Dogs pick them up from soil or feces contaminated with larvae, often through the skin, and puppies can get them through their mother's milk. They mostly cause diarrhea in young puppies.
Heartworms
Heartworms are the most dangerous. They spread through mosquito bites and live in the heart and lungs, causing coughing, tiredness and eventually heart failure. Only a vet can treat heartworm disease, and treatment takes months of medicine and strict rest. Prevention is far easier: a monthly or longer-lasting preventive and a yearly heartworm blood test.

Heartworm spreads through mosquito bites, which is why prevention matters even for indoor dogs. Photo: CDC / James Gathany, public domain
Treatment: the right dewormer for the right worm
Your vet will prescribe a dewormer that targets the worms your dog has, at the right dose for their weight. Some need a second dose a few weeks later to catch worms that hatch after the first. Follow the schedule, and bring a follow-up sample if your vet asks for one. Over-the-counter dewormers don't cover every type of worm, so check with your vet before using one.
Skip the "natural" dewormers
Many home remedies sold as dewormers are useless or dangerous:
Garlic, black walnut hulls and wormwood are toxic to dogs, and clove can be harmful. Moldy walnut hulls can even cause seizures. Diatomaceous earth, pumpkin seeds, papaya, coconut, carrots, turmeric, chamomile, goldenseal, grapefruit seed extract and apple cider vinegar aren't proven to clear worms.
Trying them only gives the worms more time.
How to keep worms away
Use a parasite preventive from your vet. Many heartworm preventives also control some intestinal worms.
Keep up with flea control to prevent tapeworms.
Pick up poop right away in your yard and on walks, so eggs don't build up in the soil.
Don't let your dog eat poop, dead animals or rodents.
Get a stool test and a heartworm test every year, and follow your vet's deworming schedule for puppies.
Wash your hands after handling poop. Some dog worms, including roundworms and hookworms, can infect people, especially children.
Pick up poop right away, in the yard and on walks. A roll of poop bags with a leash dispenser makes it easy. Fleas spread tapeworms, so keep up with flea prevention and check your dog with a flea comb.
Worms in dogs FAQs
Can humans catch worms from dogs?
Yes, some dog worms can infect people, especially roundworms and hookworms, and children are most at risk. Wash your hands after handling poop, pick up after your dog right away, and keep your dog on a regular deworming plan.
Can I touch my dog if it has worms?
Yes, petting your dog is fine. The risk comes from worm eggs in poop and in the soil it touches, so wash your hands after cleaning up and before eating.
How do dogs get worms?
Puppies often get roundworms from their mother. Dogs also pick up worm eggs from soil or poop, get tapeworms by swallowing fleas, and get heartworms from mosquito bites.
What kills worms in dogs naturally?
Nothing reliable. Pumpkin seeds, garlic and other home remedies haven't been shown to clear worms, and some are toxic to dogs. Use a dewormer your vet recommends for the type of worm your dog has.
Sources
Gastrointestinal Parasites of Dogs, Merck Veterinary Manual
Heartworm Testing: What Every Dog Owner Needs to Know, American Heartworm Society
About Toxocariasis (roundworm infection in people), Centers for Disease Control and Prevention
PupHealthy isn't a veterinary practice. This guide is general information, checked against the veterinary sources listed above, and it's not a substitute for advice from your own vet. If your dog has symptoms or you're unsure what to do, contact your veterinarian.
Spot a mistake? Let us know through the Contact page.
Related guides: How to Get Rid of Fleas on Dogs · How to Help Your Dog Gain Weight · How to Give a Dog Liquid Medicine





Comments