To understand the foraging and pH sensing behavior of juvenile crab, and how this interacts with their nutritional status, we exposed recently settled second instar juveniles to either ambient pH or reduced pH for 42-d, crossed with either a 'maintenance'- or low-quantity 'challenge' diet treatment. After the experimental exposure period, we introduced crab into foraging and sensing pH behavior experiments. In the foraging experiment, we placed crab in a behavior arena with unidirectional flow, where we measured the food discovery time and time allocation of activities in 300-s trials for all individual crab.This dataset is included in the OA-ICC data compilation maintained in the framework of the IAEA Ocean Acidification International Coordination Centre (see https://oa-icc.ipsl.fr). Original data were provided by the author of the related paper (see Related to) to the OA-ICC data curator. In order to allow full comparability with other ocean acidification data sets, the R package seacarb (Gattuso et al, 2024) was used to compute a complete and consistent set of carbonate system variables, as described by Nisumaa et al. (2010). In this dataset the original values were archived in addition with the recalculated parameters (see related PI). The date of carbonate chemistry calculation by seacarb is 2024-05-06.