Animals from invertebrates to humans benefit from information conspecifics make available, including information produced inadvertently. While inadvertent social information may frequently be exploited in nature, experiments have rarely been conducted in the wild to examine how such information helps animals in their natural ecology. Here I report a series of field experiments on free-living terrestrial hermit crabs (Coenobita compressus), showing how these asocial invertebrates learn the locations of their most essential resources, food and shelter, using inadvertent cues from conspecific competitors. Crabs have limited abilities to locate resources individually, but as they coalesce on a resource, their aggregation can be noticed by passing foragers, tipping them off about the discovery. Foragers were strongly attracted to experimentally simulated aggregations in which crabs were tethered to the same spot and in which the resources normally found beneath aggregations were excluded. Simulated aggregations of crabs whose shells were removed were likewise attractive, more than even these sought-after-shelters themselves. Experiments that simulated the chemical and visual cues of aggregations independently revealed that foragers oriented to aggregations primarily by sight, cueing in on the jostling competitive activity of the aggregation. Although crabs have not been selected to recruit others to newly discovered resources, their natural ecology has provided a setting where competitors regularly help one another by means of inadvertent social information.