 Females will then lay anywhere between 116 and 678 eggs in a food source, such as flour, to which the eggs often become attached.When the eggs hatch, larvae spin silken tubes around themselves.They spend about 40 days maturing within these tubes.