Hermit crabs choose their shells based on several factors such as the size of the shell, the shape of the shell, and the weight of the shell. They prefer shells that fit snugly, allowing them to fully retract into the shell for protection. Hermit crabs will often try on multiple shells before selecting one that suits them best.