Worms in Dogs: Common Types, Symptoms, and Prevention.

Learn the common types of worms in dogs, the symptoms to watch for, how infections spread, how vets diagnose them, and how to help prevent reinfection.

Worms in dogs are common parasites, and an infected dog does not always look sick. Some dogs show obvious digestive problems, weight loss or visible worms in their stool, while others can carry intestinal parasites without noticeable signs.

Puppies deserve particular attention because some worms can pass from a mother to her puppies before birth or while nursing. Other infections are picked up from contaminated soil, feces, fleas, prey animals or mosquitoes.

Quick answer: The common worms that affect dogs include roundworms, hookworms, whipworms and tapeworms. Heartworm is another important parasitic worm, but it is spread by mosquitoes and affects the heart and blood vessels rather than the intestine. Diagnosis and treatment depend on the type of parasite, so a veterinarian may recommend stool testing, blood testing or other tests rather than treating every suspected worm infection in the same way.
Important: Do not give your dog a deworming medicine simply because you suspect worms. Different products target different parasites, and the correct treatment depends on your dog’s age, weight, health and the parasite involved.

Common Types of Worms in Dogs

The word “worms” covers several different parasites. They do not all spread in the same way, cause the same symptoms or respond to the same treatment.

Type of Worm How Dogs Commonly Get It Possible Signs Important Point
Roundworms From the mother before birth or while nursing, swallowing infective eggs from the environment, or eating infected animals. Poor growth, pot-bellied appearance, diarrhea, vomiting or visible worms. Some dogs show no signs. Especially common in puppies and some species can infect people.
Hookworms By swallowing larvae, skin penetration, nursing or exposure to contaminated environments. Diarrhea, dark or bloody stool, weakness, pale gums, weight loss or anemia. Mild infections may show no signs. Heavy infections can be dangerous, especially in puppies.
Whipworms By swallowing infective eggs from contaminated soil or environments. Diarrhea, mucus or fresh blood in stool, weight loss and dehydration in heavier infections. The eggs can survive in suitable environments for long periods.
Tapeworms Often by swallowing an infected flea, or by eating infected prey or raw animal tissues depending on the tapeworm species. Often no illness. Rice-like segments may appear around the anus, in bedding or in stool. Flea control is essential for preventing the common flea tapeworm.
Heartworms Through the bite of an infected mosquito. Early infection may show no signs. Later disease can cause coughing, exercise intolerance, tiredness and breathing problems. Heartworm is different from intestinal worms and requires specific prevention and blood testing.

Symptoms of Worms in Dogs

The symptoms of worms in dogs vary according to the parasite, the number of worms present and the dog’s age and general health.

Possible signs include:

  • Diarrhea
  • Vomiting
  • Weight loss
  • Poor growth in puppies
  • A swollen or pot-bellied abdomen
  • Changes in appetite
  • Dull coat or poor body condition
  • Visible worms or worm segments in stool
  • Rice-like segments around the anus or on bedding
  • Blood or mucus in the stool
  • Dark, tar-like stool
  • Pale gums
  • Weakness or unusual tiredness
  • Scooting or irritation around the anus in some tapeworm infections

However, a dog can have worms without showing any obvious symptoms.

Important to know: Not seeing worms in your dog’s poop does not mean your dog is parasite-free. Many intestinal parasites are diagnosed by finding microscopic eggs, parasite antigens or DNA rather than seeing an adult worm.

What Do Worms in Dog Poop Look Like?

What owners see depends on the parasite.

Roundworms

Adult roundworms are long, pale worms. Owners sometimes describe them as looking similar to spaghetti. They may occasionally appear in stool or vomit, particularly in heavily infected puppies.

Tapeworm segments

The common flea tapeworm, Dipylidium caninum, releases small segments called proglottids.

Fresh segments may move near the anus or on fresh stool. Once dry, they can resemble small grains of rice or seeds and may be found on the dog’s bedding.

Hookworms and whipworms

These are generally not noticed by owners in the stool. Diagnosis normally depends on veterinary fecal testing rather than visually finding adult worms.

Roundworms in Dogs

Roundworms are among the most common intestinal parasites of dogs, particularly puppies. Toxocara canis is especially important because puppies can acquire it from their mother.

Roundworm larvae can pass to developing puppies before birth, and puppies can also become infected while nursing. Dogs may later acquire roundworms by swallowing infective eggs from contaminated soil or by eating certain infected animals.

Signs of roundworms

Many infections cause few or no obvious signs. When illness occurs, you may notice:

  • Poor growth
  • Pot-bellied appearance
  • Diarrhea
  • Vomiting
  • Poor body condition
  • Visible adult worms in stool or vomit

Young puppies with heavy infections are at greater risk of complications.

Hookworms in Dogs

Hookworms are small intestinal parasites that attach to the intestinal lining and feed on blood and tissue fluids.

Dogs can become infected in several ways. Depending on the hookworm species, larvae may be swallowed, penetrate the skin or pass from a mother to her puppies while nursing.

Why hookworms can be serious

Blood loss caused by heavy hookworm infection can lead to anemia. Puppies can become seriously ill before the infection is obvious.

Possible signs include:

  • Weakness
  • Pale gums
  • Poor growth
  • Weight loss
  • Diarrhea
  • Dark or tar-like stool
  • Blood in the stool
Contact a veterinarian promptly if a puppy has pale gums, marked weakness, persistent bloody or black stool, collapse or other signs of significant illness. Heavy hookworm infections can cause dangerous blood loss.

Whipworms in Dogs

Whipworms, particularly Trichuris vulpis, live mainly in the large intestine of dogs.

Dogs become infected after swallowing infective eggs from a contaminated environment. These eggs are hardy and can remain in suitable environments for a long time, which can make reinfection difficult to control.

Light infections may cause no noticeable signs.

Heavier infections can lead to:

  • Diarrhea
  • Mucus in the stool
  • Fresh blood in the stool
  • Weight loss
  • Dehydration
  • Anemia in severe cases

Tapeworms in Dogs

Tapeworms are segmented intestinal worms. There are several species, and dogs become infected in different ways depending on the species involved.

The flea tapeworm

One of the best-known dog tapeworms is Dipylidium caninum.

Dogs do not usually get this tapeworm simply from being near another infected dog. They become infected when they swallow a flea carrying the immature tapeworm, often while grooming or chewing an itchy area.

The most noticeable sign may be small tapeworm segments around the anus, on bedding or in fresh stool.

Because fleas are part of the life cycle, treating the tapeworm without controlling fleas can lead to reinfection.

For detailed flea prevention advice, read our Fleas and Ticks on Dogs: Signs, Prevention, and What to Do .

Other tapeworms

Dogs that hunt, scavenge or eat infected prey or raw animal tissues can encounter other tapeworm species.

Preventing access to carcasses, prey and raw offal can reduce this type of exposure.

What About Heartworms?

Heartworm disease is caused by Dirofilaria immitis. Although it is a worm infection, it is very different from the intestinal worms discussed above.

Dogs become infected through the bite of an infected mosquito. As the parasites mature, adult heartworms primarily affect the pulmonary arteries and can damage the heart and lungs.

A dog with early heartworm infection may appear completely healthy.

As disease progresses, possible signs include:

  • Persistent cough
  • Reduced stamina
  • Tiredness after exercise
  • Reduced appetite
  • Weight loss
  • Difficulty breathing in more advanced disease
Heartworm is not diagnosed with a routine stool test. Dogs require specific blood testing. Preventive medication targets developing stages of the parasite and should be used according to veterinary guidance.

How Do Dogs Get Worms?

There is no single route of infection. Different worms use different life cycles.

A dog may acquire parasites through:

  • Transmission from the mother before birth
  • Nursing from an infected mother
  • Swallowing parasite eggs or larvae from contaminated soil
  • Contact with environments contaminated by dog feces
  • Larvae penetrating the skin
  • Swallowing infected fleas
  • Eating prey animals
  • Scavenging carcasses
  • Eating infected raw animal tissue
  • Mosquito bites in the case of heartworm

This is why dogs that never visibly interact with another infected dog can still acquire parasites.

Can Indoor Dogs Get Worms?

Yes. Indoor living may reduce some exposures, but it does not eliminate parasite risk.

For example, fleas can enter homes and transmit Dipylidium tapeworms. Dogs still go outside to toilet, mosquitoes can enter buildings, and contaminated soil can be encountered during ordinary walks.

A dog’s preventive plan should therefore be based on realistic exposure rather than simply whether the dog is described as an indoor or outdoor pet.

How Do Veterinarians Diagnose Worms in Dogs?

Veterinarians choose tests according to the parasite they suspect.

Fecal examination

A fresh stool sample can be examined for parasite eggs. Centrifugal fecal flotation is commonly used for intestinal parasites such as roundworms, hookworms and whipworms.

Fecal antigen or molecular testing

Some veterinary laboratories can test stool for parasite antigens or parasite DNA. These methods can help identify infections that may be difficult to detect by looking for eggs alone.

Visible tapeworm segments

Tapeworm infections can be unusual because a routine fecal flotation test may miss them. Owners sometimes provide the most useful clue by seeing and reporting rice-like tapeworm segments.

Heartworm testing

Heartworm requires specific blood testing rather than a normal fecal test.

If you see something unusual in your dog’s stool: Take a clear photo if practical, and ask your veterinarian whether they want you to bring a fresh stool sample or the suspected worm or segment in a sealed container.

Can a Stool Test Miss Worms?

Yes. A single negative stool test does not always rule out every parasite.

A dog may be infected before adult worms begin producing eggs, egg shedding can vary, and some parasites such as tapeworms may be less reliably detected by routine fecal flotation.

This is one reason veterinarians may recommend repeat testing or additional diagnostic methods when a dog’s symptoms and history suggest parasites despite an initial negative result.

Treatment for Worms in Dogs

Treatment depends on which parasite is present.

There is no single dewormer that should be assumed to treat every type of worm.

A veterinarian may consider:

  • The parasite identified or suspected
  • Your dog’s age
  • Your dog’s weight
  • Pregnancy or nursing status
  • Other medical conditions
  • The severity of infection
  • The possibility of reinfection
  • Other parasites common in your area

Some intestinal parasites require repeated treatment because medication may not eliminate every developmental stage at once.

Follow-up testing may also be recommended to confirm that treatment has worked.

Do not guess a deworming dose or combine parasite medications on your own. Products differ in active ingredients, parasite coverage, age limits and weight requirements.

Why Worms Can Come Back After Treatment

Finding worms again does not always mean that the medication failed.

Reinfection can happen if the original source of exposure remains.

Examples include:

  • Fleas remaining in the home
  • Contaminated soil or kennel areas
  • Repeated exposure to infected feces
  • Hunting or scavenging
  • Eating infected prey
  • Missing preventive doses

Successful parasite control therefore combines appropriate treatment with prevention and environmental management.

Deworming Puppies

Puppies are especially vulnerable to intestinal worms because roundworms and hookworms can be acquired very early in life.

Veterinary parasite-control guidelines therefore recommend repeated deworming during early puppyhood rather than waiting for visible worms or symptoms.

For example, the U.S.-based Companion Animal Parasite Council recommends that when continuous broad-spectrum parasite control is not being maintained, puppies begin appropriate deworming at 2 weeks of age, repeat it every 2 weeks until 2 months of age, and then continue at longer preventive intervals.

This is not a do-it-yourself medication schedule. Products, approved ages and parasite risks vary between countries. Ask your veterinarian to create the correct deworming and prevention plan for your puppy.

How Often Should Dogs Be Tested for Intestinal Parasites?

Testing frequency depends on age, health, lifestyle and local parasite risk.

The Companion Animal Parasite Council currently recommends intestinal parasite testing at least four times during a puppy’s first year of life and at least twice a year for healthy adult dogs, with the schedule adjusted for individual risk.

Your veterinarian may recommend a different schedule based on where you live, whether your dog hunts or scavenges, travel history, previous infections or other health factors.

How to Help Prevent Worms in Dogs

No prevention plan can remove every possible exposure, but several habits can significantly reduce risk.

  • Use veterinarian-recommended parasite prevention consistently.
  • Have stool testing performed as advised by your veterinarian.
  • Pick up dog feces promptly.
  • Wash your hands after handling pet waste.
  • Prevent dogs from scavenging carcasses or eating prey where possible.
  • Avoid feeding raw offal or other high-risk animal tissues.
  • Maintain effective flea control to help prevent flea tapeworms.
  • Keep kennels, runs and sleeping areas clean.
  • Prevent dogs from drinking from heavily contaminated environments when possible.
  • Discuss parasite risks with your veterinarian before travelling.
  • Use heartworm prevention where recommended.

Why Picking Up Dog Poop Matters

Promptly removing feces is an important part of parasite control.

Several intestinal parasites release eggs into the environment through an infected dog’s stool. Depending on the parasite, those eggs or larvae can later become infective and expose other animals.

Regular waste removal reduces environmental contamination and also helps protect people from parasites with zoonotic potential.

Can People Get Worms From Dogs?

Some canine parasites can affect people, although transmission depends on the particular worm.

Roundworms

People can develop toxocariasis after accidentally swallowing infective Toxocara eggs from contaminated soil or other environments. Infection is not usually caused simply by touching a dog.

Hookworms

Certain dog hookworm larvae in contaminated soil or sand can penetrate human skin and cause a condition called cutaneous larva migrans.

Flea tapeworm

People can rarely acquire Dipylidium caninum, but infection occurs by swallowing an infected flea rather than directly from the dog. Children account for many reported human cases.

Good parasite prevention, prompt disposal of dog feces, flea control and routine handwashing help reduce risk.

For families with children: Pick up pet waste promptly, encourage handwashing after outdoor play and do not allow children to play in areas visibly contaminated with animal feces.

Is Ringworm a Type of Worm?

No. Despite its name, ringworm is not caused by a worm.

Ringworm is a fungal skin infection. It belongs to a completely different group of diseases and requires a different approach to diagnosis and treatment.

When Should You Call a Veterinarian?

Arrange veterinary advice if you notice:

  • Worms or rice-like segments in your dog’s stool
  • Repeated vomiting or diarrhea
  • Persistent weight loss
  • Poor growth in a puppy
  • A swollen abdomen in a puppy
  • Blood or mucus in the stool
  • Persistent scooting or irritation around the anus
  • Ongoing digestive problems despite deworming
  • Possible worms in a dog with an unknown medical history
Seek prompt veterinary care if your dog or puppy has pale gums, severe weakness, collapse, heavy or persistent bleeding, black tar-like stool, difficulty breathing, marked abdominal swelling or rapidly worsening symptoms.

Worm Prevention as Part of Your Dog’s Health Care

Parasite control works best as part of routine preventive care rather than only when worms become visible.

Regular veterinary examinations, appropriate parasite testing, flea control and prevention chosen for your dog’s lifestyle can all work together.

If fleas are part of the problem, read our guide: Fleas and Ticks on Dogs: Signs, Prevention, and What to Do .

Frequently Asked Questions

How do I know if my dog has worms?

Possible signs include diarrhea, vomiting, weight loss, poor growth, a pot-bellied appearance, blood in the stool or visible worms or segments. However, many infected dogs show no obvious symptoms, so veterinary testing is important.

Can dogs have worms without showing symptoms?

Yes. Light infections and some early infections can be completely unnoticed. A healthy-looking dog can still carry intestinal parasites.

Can I always see worms in my dog’s poop?

No. Many worm infections are detected through microscopic stool testing, antigen testing or other laboratory methods. Not seeing worms does not rule out infection.

What do tapeworms look like in dog poop?

The segments of the common flea tapeworm may look like small grains of rice. They can appear in fresh stool, around the dog’s anus or on bedding.

Why does my dog keep getting tapeworms?

If your dog has the common flea tapeworm, reinfection can occur when the dog swallows another infected flea. Effective flea control is therefore an essential part of prevention.

Can worms cause diarrhea in dogs?

Yes. Roundworms, hookworms, whipworms and some tapeworm infections can cause digestive problems, although the exact signs vary by parasite and severity.

Can worms cause blood in a dog’s stool?

Yes. Hookworms and whipworms can cause intestinal bleeding. Dark, tar-like stool can indicate digested blood, while some whipworm infections can cause fresh blood. Significant bleeding needs veterinary attention.

Can a dog get worms again after being dewormed?

Yes. Deworming treats susceptible parasites present at that time but does not permanently protect a dog from future exposure. Reinfection is possible unless the source of exposure is also controlled.

Are heartworms the same as intestinal worms?

No. Heartworms are transmitted by mosquitoes and primarily affect the pulmonary arteries, heart and lungs. Intestinal worms live mainly in the digestive tract and are usually diagnosed differently.

Can people catch worms from dogs?

Some canine parasites have zoonotic potential. For example, people can acquire roundworm infection from contaminated environments, certain hookworm larvae can penetrate human skin, and the flea tapeworm can rarely infect a person who swallows an infected flea.

Should I deworm my dog if I see no worms?

Do not base parasite prevention only on whether you can see worms. Your veterinarian can recommend routine testing and appropriate preventive treatment based on your dog’s age, lifestyle and local parasite risks.

The Bottom Line

Worms in dogs are not one single problem. Roundworms, hookworms, whipworms, tapeworms and heartworms have different life cycles, health risks and methods of diagnosis.

Some infected dogs look completely healthy, while heavy infections can cause serious illness, especially in puppies.

The most reliable approach is a combination of regular veterinary testing, appropriate parasite prevention, prompt removal of dog waste, effective flea control and treatment targeted to the parasite involved.

If you see worms or unusual segments in your dog’s stool, or your dog develops persistent digestive problems, weight loss, pale gums or weakness, contact your veterinarian rather than guessing which deworming product to use.

Petwise reminder: This article is for general education. Parasite species, drug approvals and infection risks vary by region, so diagnosis and treatment should be based on advice from a veterinarian who knows your dog.

References and Further Reading

Companion Animal Parasite Council (CAPC)
General parasite-control guidelines for dogs and cats, including intestinal parasite testing and preventive care.
CAPC General Guidelines

Companion Animal Parasite Council (CAPC)
Veterinary guidance on hookworms, whipworms, tapeworms and heartworm disease.
CAPC Parasite Guidelines

Merck Veterinary Manual
Gastrointestinal parasites of dogs, including roundworms, hookworms, whipworms and tapeworms.
Merck Veterinary Manual — Gastrointestinal Parasites of Dogs

Centers for Disease Control and Prevention (CDC)
Public-health information on toxocariasis, zoonotic hookworm and dog and cat tapeworm infection.
CDC — Toxocariasis

Centers for Disease Control and Prevention (CDC)
CDC — Zoonotic Hookworm

Centers for Disease Control and Prevention (CDC)
CDC — Dog and Cat Tapeworm Infection

U.S. Food and Drug Administration (FDA)
Consumer guidance on heartworm prevention and testing in dogs.
FDA — Heartworm Prevention

Petwise Editorial Team
Petwise Editorial Team

The Petwise Editorial Team researches, writes and updates the care guides on Petwise. We are pet care writers, not veterinarians. Our guides are built from published veterinary and animal welfare sources, such as the Merck Veterinary Manual, VCA Animal Hospitals, the ASPCA and the RSPCA, and many list their main sources at the end. Every guide explains when a problem needs a vet rather than home care, and we correct and update articles when guidance changes. Our Editorial Policy explains how we research, check and correct our work.

Articles: 188