Access to food is of major importance to the fitness and survival of every individual, particularly in group-living animals, in which individual characteristics and food distribution can affect food intake. Additionally, several species of primates are known to share food under certain conditions. Such unresisted transfer of food from one individual to another appears to be adaptive, for instance as a tool to maintain and reinforce social bonds. In this study, we aimed to test how food retrieval and food sharing varies depending on the social relationship between individuals, and on the characteristics of the food. In six different test conditions, we provided a captive group of Guinea baboons (Papio papio, N = 23) with multiple food items, differing in quality, quantity, density, monopolizability, and effort required to obtain it. We further used behavioral observations to assess individual relationships and possible variations in grooming exchanges linked to food sharing events. Out of 424 events in which food items were retrieved by the subjects, we detected no instances of active food sharing and only 17 of passive food sharing. The way food was retrieved was affected by individual and food characteristics (i.e., quantity, quality, and monopolizability of food): Males and central individuals (i.e., those connected to many partners, and/or having partners with many connections in the social network) were more likely to retrieve food during test conditions. In particular, events of passive food sharing mostly happened when the quality of food was low, and between individuals belonging to the same community (i.e., having close relationships). No other food characteristics affected the probability to share food, and the occurrence of food sharing had no immediate effect on grooming exchanges. Overall, our findings suggest that food sharing is relatively rare in Guinea baboons unless the food has a low quality and individuals form close social bonds.