Yes, hedgehogs can swim, but they are not natural swimmers. They can float in water for a short period of time but may struggle to stay afloat for an extended period due to their dense quills and body structure. It's important to always supervise hedgehogs around water to ensure their safety.