Recent studies have suggested that the anticipation of pain may modulate spatial attention. However, it is possible that this modulation reflects a general effect of anticipating somatosensory stimulation, without being pain-specific. In the present study, we therefore compared the effect of the anticipation of somatosensory stimulation on spatial attention between two groups, using conditioned signals in a spatial cueing paradigm. In the pain group, signals predicted painful electrocutaneous stimulation, whereas in the control group, signals predicted non-painful vibrotactile stimulation. Tests between both groups showed that attentional engagement was equally facilitated by the anticipation of somatosensory stimulation in both groups. Interestingly, disengagement of attention was more retarded by the anticipation of pain than by the anticipation of non-painful vibrotactile stimulation in participants high in catastrophic thinking about pain. Theoretical and clinical implications of these findings are discussed.