The duration of a crab’s life varies by species. A blue crab can live for one to eight years, but a hermit crab can survive for thirty to seventy. The lifespan of the Dungeness crab is up to 10 years, while the lifespan of the horseshoe crab is at least 20 years.
Red king crabs can live for at least 30 years. Life spans of crabs vary according to habitat. If properly cared for, crabs raised as pets can live longer than crabs in the wild. Twenty percent of all marine crustaceans that are farmed or harvested in the world are crabs, indicating that crabs are a popular food source.