Threadworms live about 5-6 weeks in the gut, and then die. However, before they die the female worms lay tiny eggs around the anus. ... Any eggs that you swallow then hatch and grow into adult worms in the gut. So a 'cycle' of worm infection can go on and on.