25Because pain often signals the occurrence of potential tissue damage, nociceptive 26 stimuli have the capacity to capture attention and interfere with ongoing cognitive activities. 27Working memory is known to guide the orientation of attention by maintaining goal 28 priorities active during the achievement of a task. This study investigated whether the 29 cortical processing of nociceptive stimuli and their ability to capture attention are under the 30 control of working memory. Event-related brain potentials (ERPs) were recorded while 31 participants performed primary tasks on visual targets that required or did not require 32 rehearsal in working memory (1-back vs. 0-back conditions). The visual targets were shortly 33 preceded by task-irrelevant tactile stimuli. Occasionally, in order to distract the participants, 34 the tactile stimuli were replaced by novel nociceptive stimuli. In the 0-back conditions, task 35 performance was disrupted by the occurrence of the nociceptive distracters, as reflected by 36 the increased reaction times in trials with novel nociceptive distracters as compared to trials 37 with standard tactile distracters. In the 1-back conditions, such a difference disappeared 38 suggesting that attentional capture and task disruption induced by nociceptive distracters 39 was suppressed by working memory, regardless of task demands. Most importantly, in the 40 conditions involving working memory, the magnitude of nociceptive ERPs, including ERP 41 components at early latency, were significantly reduced. This indicates that working memory 42 is able to modulate the cortical processing of nociceptive input already at its earliest stages, 43 and could explain why working memory reduces consequently ability of nociceptive stimuli 44 to capture attention and disrupt performance of the primary task. It is concluded that 45 protecting cognitive processing against pain interference is best guaranteed by controlling 46 the disengagement of attention away from nociceptive stimuli by keeping out of working 47 memory pain-related information. 48 3