Typically, only infections that cause symptoms need to be treated. In some cases, ascariasis will resolve on its own.
Anti-parasite medications are the first line of treatment against ascariasis. The most common are:
These medications, taken for one to three days, kill the adult worms. Side effects include mild abdominal pain or diarrhea.
In cases of heavy infestation, surgery may be necessary to remove worms and repair damage they've caused. Intestinal obstruction or perforation, bile duct obstruction, and appendicitis are complications that may require surgery.