Despite their name, adult coconut crabs mainly feed on fruits, seeds and the pith of fallen trees. They have great sense of smell to find and investigate anything left unattended. After finding it interesting, they may carry it away - this is the reason of their other name "Robber crab."
Coconut crabs live in burrows but for feeding or as escape route they sometimes climb trees.
However they live on dry land, females return to the sea to release their eggs into the water. The hatched larvae spends the first 3-4 weeks planktonic drifting around. After settling to the sea floor, they search for a shell to enter and return to land. After a long time, at the age of 5, they reach the sexual maturity. If lucky and "clever" they can live to up to 60 years.