Enterobiasis (called pinworm infection or oxyuriasis) causes itching around the anus which can lead to difficulty sleeping and restlessness. Symptoms are caused by the female pinworm laying her eggs. Symptoms of pinworm infection usually are mild and some infected people have no symptoms.