Human minds often wander away from their immediate sensory environment. It remains unknown whether such mind wandering is unsystematic or whether it lawfully relates to an individual's tendency to attend to salient stimuli such as pain and their associated brain structure/function. Studies of pain-cognition interactions typically examine explicit manipulation of attention rather than spontaneous mind wandering. Here we sought to better represent natural fluctuations in pain in daily life, so we assessed behavioral and neural aspects of spontaneous disengagement of attention from pain. We found that an individual's tendency to attend to pain related to the disruptive effect of pain on his or her cognitive task performance. Next, we linked behavioral findings to neural networks with strikingly convergent evidence from functional magnetic resonance imaging during pain coupled with thought probes of mind wandering, dynamic resting state activity fluctuations, and diffusion MRI. We found that (i) pain-induced default mode network (DMN) deactivations were attenuated during mind wandering away from pain; (ii) functional connectivity fluctuations between the DMN and periaqueductal gray (PAG) dynamically tracked spontaneous attention away from pain; and (iii) across individuals, stronger PAG-DMN structural connectivity and more dynamic resting state PAG-DMN functional connectivity were associated with the tendency to mind wander away from pain. These data demonstrate that individual tendencies to mind wander away from pain, in the absence of explicit manipulation, are subserved by functional and structural connectivity within and between default mode and antinociceptive descending modulation networks.pain modulation | salience network | stimulus-independent thought | ventral attention network | experience sampling H umans spend nearly half their time on thoughts unrelated to their present sensory environment (1), a phenomenon referred to as "mind wandering." These thoughts can persist even when engaged in salient and challenging everyday activities (1, 2), such as driving a car through traffic. In such situations, mind wandering can be deleterious. However, in some situations, mind wandering may be beneficial, such as when an individual needs to cope with pain.Cognitive manipulations, such as alterations of attention/distraction (3-5), placebo effects (6-9), changing expectations, and other strategies (10), have shown some efficacy in altering perceptions and neural responses elicited by painful stimuli. It is generally assumed that these effects involve enhanced endogenous analgesic activity within the descending pain modulatory system [e.g., prefrontal cortex, perigenual cingulate cortex, periaqueductal gray (PAG), and rostroventral medulla] and decreased activity in regions that support the salience of pain [e.g., insula and midcingulate cortex (MCC)] (10).A crucial assumption in previous studies of explicit pain manipulation is that there is a static, invariant neurocognitive state during incoming nociceptive activit...