While an infected person sleeps, female pinworms leave the intestine through the anus and deposit their eggs on the surrounding skin.
Pinworms are about the length of a staple. A pinworm (“threadworm”) is a small, thin, white roundworm (nematode) called Enterobius vermicularis that sometimes lives in the colon and rectum of humans.