Well, it all depends on the kind of moth. If it is a gypsy moth than about 17 days.
Moths are found in every continent except antarctica. They come in many varieties, shapes and sizes.
depending on the animal; example:butterfly, the larva would come first.
my anwer is they stay in there coocoons for a spring
they leve a hole so they can get back out