
He or she may also want a sample of stool for testing.

Typically, only infections that cause symptoms need to be treated. MRI uses radio waves and a strong magnetic field. CT scans combine X-ray images taken from many angles. Both types of tests create detailed images of the internal structures, which can help your doctor detect worms that are blocking ducts in the liver or pancreas. This technology uses sound waves to create images of internal organs. An ultrasound may show worms in the pancreas or liver. In some cases, a chest X-ray can reveal the larvae in the lungs. If you're infested with worms, the mass of worms may be visible in an X-ray of the abdomen. Ascariasis can elevate your eosinophils, but so can other types of health problems. Your blood can be tested for the presence of an increased number of a certain type of white blood cell, called eosinophils. For example, Revolution (selamectin) helps protect against fleas, heartworm, hookworms, roundworms, and ear mites. Although most of these medications are marketed as flea meds, most of them actually protect against other conditions. And if you're infected with only male worms, you won't have eggs. One of the easiest things you can do is to regularly give your cat flea, tick, and worm prevention medicine. But eggs won't appear in stool until at least 40 days after you're infected.

To diagnose ascariasis, your doctor will examine your stool for the tiny (microscopic) eggs and larvae. These eggs travel through your digestive system and eventually can be found in your stool. Mature female ascariasis worms in your intestine begin laying eggs.
