Pain can automatically interfere with ongoing cognitive processes such as attention and memory. The extent of pain's negative effects on cognitive functioning seems to depend on a balance between top-down and bottom-up factors. In this large, preregistered, pooled reanalysis of 8 studies, we investigated the robustness of the detrimental effect of acute pain on recognition memory and whether top-down mechanisms such as pain-related expectations or cognitions (pain-related fear, pain catastrophizing) modulate this effect. Two hundred forty-seven healthy participants underwent similar experimental paradigms, including a visual categorization task with images randomly paired with (or without) concomitant painful stimulation and a subsequent unannounced recognition task. Recognition memory (ie, d', recollection, and familiarity) and categorization performance (ie, reaction time, accuracy) served as proxies for the effect of pain on cognitive performance. Acute painful stimulation significantly impaired recognition performance (d', familiarity). However, recognition performance was not significantly modulated by participants' expectations regarding the effect of pain on task performance or pain-related cognitions in this sample of healthy participants. Our results corroborate the negative effects of pain on (visual) memory encoding reported in previous studies and reports of "memory problems" from patients with chronic pain. To characterize the role of bottom-up and top-down factors for the detrimental effects of pain, large-scale studies with more nuanced study designs are necessary. Future studies in patient cohorts must unravel the interaction of maladaptive pain-related cognitions and the often-reported impaired cognitive performance in chronic pain patients.