Pinworm infection AKA Threadworm is caused by a small, thin, white roundworm called Enterobius vermicularis. Although pinworom infection can affect all people, it most commonly occurs among children, institutionalized persons, and household members of persons with pinworm infection. Pinworm infection is treatable with over-the-counter or prescription medication, but reinfection, which occurs easily, should be prevented.