Data from two studies in which we tested the relationship between pupil dilation and hindsight bias. Participants answered factual questions and were later presented with the correct answer, during which we recorded their pupil size, and then answered the factual question again. Our research question was whether pupil dilation could predict the extent to which people displayed a hindsight bias.