Earthworms cannot survive in water for an extended period of time. They are terrestrial animals and require air to breathe, which they obtain through their skin. If they are submerged in water for too long, they can drown. However, they can survive in moist environments and can sometimes be found in muddy soil or near bodies of water.