Centipedes can survive in water for some time, but they are not adapted for living in aquatic environments. They have spiracles, which are respiratory openings on their exoskeleton, and they breathe through their spiracles. If a centipede falls into water, it may be able to survive by holding its breath and floating until it reaches shore or a perch. However, prolonged exposure to water can be fatal to centipedes as they can become waterlogged and drown.