Their diet consists mainly of fruit, vegetation, and carrion. They are known to be cannibalistic, and consume smaller crabs, small reptiles and amphibians, molluscs, fish, and insects if they can catch them. While juvenile and adult crabs spend most of their time on dry land, the females must return to the ocean to release their eggs. The eggs hatch into microscopic larvae, and later on develop into young crabs. If the young do not make landfall by the time they are fully developed, they will drown. This land crab cannot remain submerged for long periods.