Hermit crabs are able to be raised in captivity. However, they are social creatures. The best way to raise hermit crabs is to do it in pairs or groups. They can survive for up to 20 years if you provide them with healthy conditions. Sadly, most hermit crabs only make it to one years old. If done right, they make an adorable and reliable pet.