When foraging in their natural environment, many animals readily complement their personal knowledge with additional social information. To balance the costs and benefits of copying others, animals have to discern situations in which it is more advantageous to use social rather than personal information. Here, we used foraging bumblebees (Bombus terrestris) in a controlled laboratory setting and showed that the difficulty of a foraging task affects how the bees weight the 2 types of information. We used artificial flowers to devise easy and difficult discriminatory tasks, and tested the influence of floral and social cues on decision making. When facing an easy discrimination task, foraging bees were likely to rely on personal information and were only marginally affected by social information. By contrast, they prioritized social over personal information when flower discrimination was difficult and therefore the probability of making errors was higher. In summary, bees are able to use social and personal information to optimize foraging decisions in a flexible way.