Long-wristed hermit crabs are scavenger feeders with a broad diet consisting of detritus, organic material found in ocean surface foam, microcrustaceans and algae. Feeding is performed by scooping sand or other substrate with the chelipeds, ripping and tearing food, and then passing it to the mouth for consumption.
The major predators of P. longicarpus include birds, fish, snails, octopuses and other crabs, including the green crab. Hermit crab shells are crucial for protection and minimizing predation, and therefore proper shell selection is vital. P. longicarpus will avoid selecting shells with extensive damage because they are more vulnerable to predation. The most common type of damage to hermit crab shells is the presence of small holes. These holes are caused by the drilling of nacticid gastropods in order to prey on the original gastropod hosts of the shell.