Mosquitoes also have drought-resistant eggs, which they prefer to lay on soil that still bears the smell of larvae from previous generations. That smell can last for years, allowing viable eggs to accumulate during dry years, then hatch all at once in a wet year.