All crabs have ten legs. Hermit crabs have four pairs of walking legs, and two pincer legs, totalling ten in all. Hermit crabs, however, are not true crabs, and are more closely related to insects than to crabs.