Introduction

Limited-capacity models of cognition posit that a sensory signal must be selected for optimal perception because multiple sensory sources from the environment overload cognitive processing capacities [1,2,3,4,5]. In line with these models, executive functions allow the selection of stimuli depending on their priority in order to uphold the execution of a task or to promote most adapted goal-directed behaviors [6,7,8,9,10,11,12]. For example, a nociceptive stimulus may be selected to prioritize protective behaviors at the expense of task performance [1, 8, 13,14,15,16,17,18]. Conversely, pain perception can be inhibited by cognitive processes if task execution is prioritized, in accordance with contextual demands [6, 12, 17, 19,20,21,22]. The balance between these bottom–up and top–down processes is critical for optimal behavioral performance, behavioral adaptation and survival [1,2,3, 7, 10, 23].

Bottom–up processes give salient stimuli a stronger neuronal representation. For example, nociceptive stimuli are intrinsically salient and capture attention [13, 15, 18]. However, attentional capture may be influenced by top–down processes [22, 24, 25]. Top–down selection is determined by cognitive goals represented in the working memory (WM) [1, 23, 26,27,28,29]. Cognitive goals determine which stimuli are task relevant (attentional set) [1, 30] and the amount of attentional resources allocated to achieve the task (attentional load) [31,32,33,34]. This process is supported, in part, by activation of the dorsolateral prefrontal cortex (DLPFC), which is involved in WM and in the allocation of attentional resources [1, 4, 6, 11, 26, 27, 31, 33, 35,36,37,38]. According to the model of Baddeley and Hitch, WM comprises a central executive component and slave components that include rehearsal and storing functions [39]. The central executive component of WM determines the attentional set, while the attentional load is determined and limited by WM capacity. During pain perception, effective attentional control not only depends on the disengagement of attention from pain but also on the allocation of cognitive resources to maintain attention on the processing of task-relevant information unrelated to pain [1, 6, 12, 29, 30, 40]. Consistent with this notion, WM allows the selection of task-relevant information and allows attention to be directed towards task execution [1, 6, 12, 34, 38, 41,42,43,44,45]. This results in a top–down regulation of attention in line with current goals, while nociceptive activity and subsequent pain perception are inhibited.

Top–down inhibition of nociceptive activity and pain may be altered in patients with chronic pain [46,47,48,49] and in the normal aging process [50,51,52,53] due to decreased WM. However, to date, no therapeutic intervention has been proposed to alleviate this reduction of WM performance. Transcranial direct current stimulation (tDCS) is a promising method in this regard since anodal tDCS of the left DLPFC has been shown to improve WM performance [54,55,56,57,58,59,60,61,62,63]. However, whether this improvement in WM may enhance top–down regulation of nociceptive activity and pain has not yet been studied. Thus, the aim of the study reported here was to investigate whether pain inhibition by WM engagement can be enhanced by tDCS in healthy volunteers. We hypothesized that anodal tDCS of the left DLPFC would improve WM performance, which in turn would improve top–down pain inhibition during a cognitive task. We also examined whether pain inhibition by WM and its enhancement depend on descending inhibitory pathways, using the nociceptive flexion reflex (NFR) as an index of spinal nociceptive transmission.

Methods

Ethics approval

All experimental procedures in this study conformed to the standards set by the latest revision of the Declaration of Helsinki and were approved by the Research Ethics Board of Université du Québec à Trois-Rivières. All participants gave written informed consent, acknowledging their right to withdraw from the experiment without prejudice, and received a compensation of $50 for their travel expenses, time and commitment.

Participants

Forty healthy volunteers (23 women, 17 men; age range 19–38 years, mean ± standard deviation 25.77 ± 4.61 years) were recruited by advertisement on the campus of Université du Québec à Trois-Rivières. Participants were included if they were between 18 and 40 years old with normal or corrected-to-normal vision. They were excluded if they had taken any medication within 2 weeks before the experiment and if they had a history of chronic pain, suffered from acute or chronic neurological illness or had a psychiatric disorder. Two participants could not complete the experimental procedures. In one participant, the NFR could not be evoked at a stimulus intensity that was tolerable for the participant in the context of this study. The other participant could not perform the n-back task. Therefore, data from these two participants were not collected, leaving a sample of 40 participants with the characteristics reported above.

Experimental design

This experiment is based on a double-blind sham-controlled design to determine the effect of a single anodal tDCS session applied over the left DLPFC on WM and pain inhibition by WM. A modified n-back task was used and consisted of color discrimination of blue and yellow squares by pressing the corresponding button [29]. In order to obtain two different levels of WM load, the n-back task was either 0-back, discriminating the color of the presented stimulus, or 2-back, discriminating the color of the stimulus presented two trials earlier. WM load is greater in the 2-back task because stimuli have to be remembered for two trials while subsequent stimuli are presented. This leads to stimulus property storage, rehearsal and updating, in addition to stimulus selection and discrimination, the latter being also required in the 0-back task. The painful stimuli were delivered alone or concurrently to the n-back task to test the interaction between WM and pain.

Transcutaneous electrical stimulation on the foot

Transcutaneous electrical stimulation (trains of 10 × 1-ms pulses at 333 Hz) was delivered with two isolated DS7A constant current stimulators (Digitimer Ltd., Welwyn Garden City, Hertfordshire, UK) triggered by a Grass S88 train generator (Grass Medical Instruments, Quincy, MA, USA) that was controlled by a stimulus presentation program (E-Prime2; Psychology Software Tools, Sharpsburg, PA, USA). The degreased skin was stimulated by two adjacent pairs of custom-made surface electrodes (1 cm2; inter-electrode distance 2 cm) placed over the retromalleolar path of the right sural nerve for the painful stimulus and on the dorsum of the foot for the tactile stimulus. For the painful stimulus, the NFR threshold was determined using the staircase method [64,65,66,67], including four series of stimuli of increasing and decreasing intensity. Each series began with a stimulus intensity of 1 mA, with subsequent stepwise increments of 1 mA, reaching a suprathreshold level between 15 and 25 mA (clearly above the threshold but adjusted individually to avoid severe pain). Stimulus intensity was then decreased in steps of 1 mA. After four of those series were completed, NFR amplitude was plotted against the stimulus intensity (recruitment curve), and threshold was defined as the intensity producing a clear response that exceeded background EMG in at least 50% of trials. Background EMG was defined as the maximum artefact-free EMG activity observed in the same post-stimulus interval of 90–180 ms across all sub-threshold stimuli. For the tactile stimulus, the detection threshold was determined as the first stimulus intensity that produced a tactile sensation under the electrodes. The painful and tactile stimuli were always delivered with the same pair of electrodes. In both sessions, stimulus intensity was adjusted individually to 120% of the NFR threshold for painful stimulation and to 150% of the detection threshold for tactile (non-painful) stimulation.

NFR measure and analysis

Electromyography of the short head of the right biceps femoris was recorded with a pair of surface electrodes (EL-508; Biopac Systems, Inc., Goleta, CA, USA). It was amplified 2000 times, band-pass filtered (10–500 Hz), sampled at 1000 Hz (Biopac Systems, Inc.) and stored on a personal computer for off-line analyses. The raw EMG recordings were full-wave rectified, and the resulting signal was used to quantify the amplitude of NFR to each shock by extracting the integral value between 90 and 180 ms after stimulus onset. This amplitude was standardized using a within-subject Z-transformation. For group analyses, the mean response to ten painful stimuli was calculated for each condition.

Pain and pain-related anxiety ratings

Participants verbally rated pain intensity and pain-related anxiety using numerical rating scales (NRS) with two anchors on the left and right extremities (0 = no pain/anxiety; 100 = extreme pain/anxiety). These scales were displayed horizontally on a computer screen after each condition.

Transcranial direct current stimulation

A direct current of 2 mA was generated by a battery-driven stimulator (NeuroConn GmbH, Ilmenau, Germany) and delivered continuously using a pair of rubber electrodes (surface area 35 cm2) covered by conductive sponges moistened with saline. To enhance the activity of the left DLPFC, the anodal electrode was placed on the scalp over the F3 site in accordance with the International 10–20 system of electrode placement. The cathode was placed over the right deltoid muscle to ensure that tDCS effects were due only to anodal stimulation [55]. During the first 30 s of stimulation, the current was ramped up to 2 mA and then delivered for 22 min. The first 3 min allowed participants to get used to the tDCS before beginning the task. At the end of stimulation, the current was ramped down to 0 mA over 30 s. For the sham stimulation, electrodes were placed in the same positions, but the current was only applied for 46 s. Predefined codes assigned to either sham or anodal stimulation were used to start the stimulator. These codes allowed for a double-blind study design. The order of tDCS and sham sessions was counterbalanced across participants, with a 1-week inter-session interval. Participants were unaware that the tDCS stimulation was different between sessions, and they were not informed that we were testing the effects of two different types of tDCS stimulation. The participants were informed that they may feel itching or burning but that this was variable between individuals. Participants reported slight itching with the tDCS stimulation in both sessions, especially at the beginning of the protocol, but although they may have felt more itching with anodal tDCS, they did not know if this was to produce greater effects on pain or task performance.

n-Back task

A modified n-back task was used [6, 29] in which the participant had to discriminate between blue and yellow squares with two levels of WM load (0-back and 2-back). WM performance was examined with two measures, including response time (RT) and response accuracy (RA; percentage of correct responses). The mean RT was calculated for each condition by including RT from each trial with a correct response. Trials with incorrect responses, trials defined as anticipated responses (RT < 150 ms), or trials with missed responses were excluded from the mean RT calculation.

For conditions with electrical stimulation during the n-back task (0-back or 2-back), a series of task-relevant stimuli (blue or yellow squares presented for 500 ms) were preceded briefly by a task-irrelevant tactile stimulus (see Fig. 1). Occasionally, the tactile stimulus was replaced by a painful stimulus, as described in a previous study [6], in order to keep the novelty of painful stimuli. The inter-stimulus interval (ISI) between the onset of the electrical stimulus and the onset of the task-relevant stimulus was 220 ms for tactile trials and 300 ms for painful trials in order to account for the conduction velocity of tactile and nociceptive fibers [6]. The inter-trial interval (ITI) between the onsets of two consecutive task-relevant stimuli was 3000 ms.

Fig. 1
figure 1

Modified n-back task. Participants performed a modified n-back task in which they had to discriminate the color of each visual stimulus constituted of two squares which were either both blue or both yellow. In the 0-back condition, participants discriminated the color of the current stimulus directly after its presentation; in the 2-back condition, they responded to the stimulus presented two trials before. The visual stimulus was preceded by a tactile stimulus in 83% of trials or by a painful stimulus in the remaining trials (17%). Bottom left panel Sequential timings of stimuli in each trial. A fixation cross was present at the center of the screen during the entire trial. Electrical stimuli were followed by a visual stimulus of 500 ms duration. The interval between the somatosensory and visual stimuli (ISI) was 220 ms for the tactile trials and 300 ms for the painful trials. Performance in the modified n-back task was measured in the time window running from 150 to 1500 ms after onset of the visual stimulus. The next trial started at a latency set so that the inter-trial interval (ITI) measured between the onsets of two consecutive visual stimuli was 3000 ms

Experimental procedure

Participants completed two 180-min sessions on separate days with a 1-week interval. All participants received anodal brain stimulation and sham stimulation in a counterbalanced session order. The same protocol was carried out for both sessions. After individual adjustment of stimulus intensities, the tDCS electrodes were placed as described above, and participants were allowed to familiarize themselves with the n-back task. Familiarization included 20 trials for each condition (0-back and 2-back) during which participants received visual feedback (correct or incorrect response). After this practice, the experimental protocol began with the pre-tDCS baseline conditions (0-back, 2-back, pain, 0-back with pain, 2-back with pain) followed by the same five conditions during tDCS (see Fig. 2). Each condition included 60 trials. For the 0-back and 2-back conditions, the 60 trials were presented without any electrical stimulation. For the pain condition, the 60 trials included 50 tactile stimuli and 10 painful stimuli without the n-back task. For the 0-back and 2-back with pain conditions, 50 trials of the n-back task were preceded by tactile stimulus while ten trials were preceded by the painful stimulus. The order of the five conditions was counterbalanced between subjects, but the same order was kept for the pre-tDCS baseline and tDCS conditions. In addition, the order was kept the same within participant for both sessions (anodal and sham).

Fig. 2
figure 2

Experimental design. The experimental protocol comprised five counterbalanced conditions, including the 0-back, 2-back, pain, 0-back with pain and 2-back with pain conditions. This experimental protocol was performed twice during each session, once to establish a pre-transcranial direct current stimulation (tDCS) baseline and once during tDCS. The same order was used for the sham and anodal tDCS sessions for a given participant. Each condition contained 60 trials within 3.5 min. Participants had to verbally rate their average pain and their pain-related anxiety using a numerical rating scale (NRS; range 0–100) after each condition comprising painful stimuli

Statistical analysis

Data analysis was conducted using Statistica v13 (Dell Inc.., Tulsa, OK, USA). All results are expressed as the mean ± standard error of the mean, and the statistical threshold was set to p ≤ 0.05 (two-tailed). A priori hypotheses were tested with planned contrasts, and the type I error rate was controlled for using the Bonferroni correction for multiple comparisons, based on the number of comparisons for each independent analysis. All reported p values are therefore corrected for multiple comparisons for all variables, including RT, RA, pain, pain-related anxiety and NFR amplitude. Effect sizes are reported based on partial eta-squared values (\( \eta_{\text{p}}^{2} \)).

Results

Manipulation checks

Pre-tDCS baseline values are presented in Table 1. To confirm that experimental effects crucial to test our hypotheses were observed prior to the tDCS intervention, we performed Bonferroni-corrected planned contrasts to show that WM performance was unaffected by painful stimuli and that pain was inhibited by the engagement of WM. Accordingly, in the anodal tDCS session, pain did not significantly affect RT or RA for either the 0-back or the 2-back tasks (RT: p > 0.6, \( \eta_{\text{p}}^{2} \) < 0.01; RA: p > 0.2, \( \eta_{\text{p}}^{2} \) < 0.01). Likewise, in the sham tDCS session, pain did not significantly alter RT or RA for either the 0-back or 2-back tasks (p > 0.7, \( \eta_{\text{p}}^{2} \) ≤ 0.04; p > 0.2, \( \eta_{\text{p}}^{2} \) = 0.11 and < 0.01, respectively).

Table 1 Manipulation checks

As expected based on prior studies [68], pain perception was decreased by WM for both the 0-back and 2-back tasks in the anodal tDCS session (p = 0.04 and p = 0.003, \( \eta_{\text{p}}^{2} \) = 0.16 and 0.26, respectively) and the sham tDCS session (both p < 0.001, \( \eta_{\text{p}}^{2} \) = 0.31 and 0.58, respectively). In contrast, pain-related anxiety was not significantly altered by WM for either the 0-back or 2-back tasks in either the anodal or sham tDCS sessions (all p > 0.2, \( \eta_{\text{p}}^{2} \) ≤ 0.09). Regarding spinal nociceptive activity, NFR amplitude was not significantly altered by WM (all p > 0.12, \( \eta_{\text{p}}^{2} \) ≤ 0.11) except for the 0-back task of the sham condition in which it was decreased (p = 0.001, \( \eta_{\text{p}}^{2} \) = 0.29).

Taken together, these results confirm that WM performance was not altered by the task-irrelevant painful stimuli. In addition, engagement of WM produced the expected decrease in pain perception, indicative of top–down regulation of pain by cognitive processes.

Effects of anodal tDCS

Working memory

Anodal tDCS significantly reduced RT in the 2-back task with or without pain compared with the respective pre-tDCS baseline values (both p < 0.01, \( \eta_{\text{p}}^{2} \) = 0.25 and 0.32, respectively; see Fig. 3a), while no difference was observed for the 0-back task with or without pain compared with their respective pre-tDCS baseline values (both p > 0.5, \( \eta_{\text{p}}^{2} \) = 0.06 and < 0.01, respectively; see Fig. 3a). In addition, no significant effect was produced by sham tDCS for either task, with or without pain (all p > 0.4, all \( \eta_{\text{p}}^{2} \) < 0.09; see Fig. 3b). Consistent with the reduction of RT, RA tended to improve with anodal tDCS in the 2-back with pain task compared with its pre-tDCS baseline value (p = 0.057, \( \eta_{\text{p}}^{2} \) = 0.20), but no effect was observed for the other tasks (all p > 0.4, all \( \eta_{\text{p}}^{2} \) ≤ 0.06). In contrast, the sham tDCS did not produce any significant change in RA for any task compared with the respective pre-tDCS baseline values (all p > 0.3, all \( \eta_{\text{p}}^{2} \) ≤ 0.06; see Fig. 3c, d). The between-session comparisons for RT and RA revealed no significant difference between anodal and sham tDCS (all p’> 0.4, \( \eta_{\text{p}}^{2} \) < 0.07).

Fig. 3
figure 3

Effect of tDCS on working memory (WM). a Reaction times (RT) during anodal tDCS. Anodal tDCS significantly reduced RT in the 2-back task with or without pain, compared with pre-tDCS baseline values, while no difference was observed for the 0-back task with or without pain compared with pre-tDCS baseline values (both p > 0.5). b RT during sham tDCS. No significant effect was produced by sham tDCS for either task, with or without pain (all p > 0.4). c Response accuracy (RA) during anodal tDCS. Consistent with the reduction of RT, RA tended to improve with anodal tDCS in the 2-back with pain task compared with the pre-tDCS baseline value (p = 0.057), but no effect was observed for the other tasks (all p > 0.4). d RA during sham tDCS. Sham tDCS did not produce any significant change in RA for any task compared with their respective pre-tDCS baseline values (all p > 0.3). Error bars Standard error of the mean (SEM). Double asterisks indicate significant difference at p ≤ 0.01

Pain ratings

Anodal tDCS marginally improved pain inhibition by WM in the 2-back with pain task compared with its pre-tDCS baseline value (p = 0.052, \( \eta_{\text{p}}^{2} \) = 0.16; see Fig. 4a). In contrast, pain and pain inhibition by WM in the 0-back task were not significantly different from their respective pre-tDCS baseline values (both p > 0.2, \( \eta_{\text{p}}^{2} \) = 0.05 and 0.11, respectively; see Fig. 4a). Also, sham tDCS produced no significant change in pain intensity for any of the three tasks (all p > 0.2, \( \eta_{\text{p}}^{2} \) = 0.13, 0.10 and 0.01, respectively; see Fig. 4b). The between-session comparisons revealed no significant difference between anodal and sham tDCS (all p > 0.3, \( \eta_{\text{p}}^{2} \) ≤ 0.03).

Fig. 4
figure 4

Effect of tDCS on pain ratings (NRS: 0–100). a Pain ratings during anodal tDCS. Anodal tDCS marginally improved pain inhibition by WM in the 2-back with pain task compared with its pre-tDCS baseline value. In contrast, pain and pain inhibition by WM in the 0-back task were not significantly different from their respective pre-tDCS baseline values (both p > 0.2). b Pain ratings during sham tDCS. Sham tDCS produced no significant change in pain intensity for any of the three tasks (all p > 0.2). Error bars SEM. Single asterisk indicates significant difference at p = 0.052

Pain-related anxiety ratings

Pain-related anxiety and the inhibition of pain-related anxiety by WM were not significantly altered by anodal tDCS compared with their respective pre-tDCS baseline values (all p > 0.1, \( \eta_{\text{p}}^{2} \) = 0.01, 0.12 and 0.13, respectively; see Fig. 5a). Similar results were observed for the sham tDCS session (all p > 0.3, \( \eta_{\text{p}}^{2} \) = 0.08, 0.08 and 0.02, respectively; see Fig. 5b).

Fig. 5
figure 5

Effect of tDCS on pain-related anxiety. a Pain-related anxiety during anodal tDCS. Pain-related anxiety and the inhibition of pain-related anxiety by WM were not significantly modulated by anodal tDCS compared with their respective pre-tDCS baseline values (all p > 0.1). b Pain-related anxiety during sham tDCS. Pain-related anxiety and the inhibition of pain-related anxiety by WM were not significantly modulated by sham tDCS compared with their respective pre-tDCS baseline values (all p > 0.3). Error bars SEM

NFR amplitude

NFR amplitude was significantly decreased during anodal tDCS compared with the pre-tDCS baseline value (p = 0.04, \( \eta_{\text{p}}^{2} \) = 0.17; see Fig. 6). NFR inhibition by WM in the 0-back with pain and the 2-back with pain tasks were not significantly changed during anodal tDCS, although it tended to decrease compared with the respective pre-tDCS baseline values (p = 0.067 and p = 0.057, \( \eta_{\text{p}}^{2} \) = 0.15 and 0.16, respectively; see Fig. 6). In addition, NFR amplitude was significantly decreased during sham tDCS compared with the pre-tDCS baseline value (p < 0.001; \( \eta_{\text{p}}^{2} \) = 0.38; see Fig. 6) while inhibition of NFR by WM was significantly greater than its pre-tDCS baseline value in the 0-back with pain task (p = 0.036, \( \eta_{\text{p}}^{2} \) = 0.18) but not the 2-back with pain task (p = 0.13, \( \eta_{\text{p}}^{2} \) = 0.13; see Fig. 6).

Fig. 6
figure 6

Effect of tDCS on nociceptive flexion reflex (NFR) amplitude. a NFR modulation during anodal tDCS. NFR amplitude was significantly decreased during anodal tDCS compared with the pre-tDCS baseline value. NFR inhibition by WM in the 0-back with pain and the 2-back with pain tasks was not significantly changed by anodal tDCS, although it tended to decrease compared with their respective pre-tDCS baseline values (p = 0.067 and p = 0.057, respectively). b NFR modulation during sham tDCS. NFR amplitude was significantly decreased during sham tDCS compared with the pre-tDCS baseline value while inhibition of NFR by WM was significantly greater than the pre-tDCS baseline value in the 0-back with pain task (p = 0.036) but in not the 2-back with pain task (p = 0.13). Error bars SEM. Single and triple asterisks indicate significant difference at p < 0.05 and p < 0.001, respectively

Discussion

The novel finding of this study is that pain inhibition by WM was enhanced by anodal tDCS of the left DLPFC, especially when WM engagement was stronger (2-back task). In contrast, pain perception was unchanged by anodal tDCS when painful stimuli were administered alone without the concurrent cognitive task. In addition, anodal tDCS improved WM but not NFR inhibition by WM, suggesting that anodal tDCS enhances pain inhibition by improving WM but not by increasing descending inhibition of spinal nociceptive activity.

Enhancement of WM and pain inhibition by tDCS

To have effective attentional control during pain perception, both the disengagement of attention from pain stimuli and the direction of attention to task-related information are essential [1, 12, 30, 69]. In order to test the specific inhibitory effect of WM engagement on pain perception, we used a modified n-back task with different WM loads (0-back and 2-back) [6, 29]. We compared conditions in which the n-back task was performed with or without painful distractors. To make painful distractors more salient and novel, they were applied rarely and randomly among frequent non-painful stimuli [6, 29]. Moreover, to determine the specific effect of anodal tDCS compared with sham tDCS and to control non-specific between-session effects, we performed the experimental protocol twice during each session, once as pre-tDCS baseline and once during tDCS. This allowed a within-session assessment of anodal tDCS and sham tDCS effects.

During the n-back task, mean RT was decreased during anodal tDCS over the left DLPFC. This effect was particularly observed in the high WM load condition (2-back task), while no effect was observed in the low WM load condition (0-back task). These results are consistent with improvement of WM by anodal tDCS of the left DLPFC [54,55,56,57,58, 61, 70] and with involvement of the DLPFC in the central executive system of WM [1, 11, 31, 33, 35, 36, 42, 55, 71]. They also extend these findings by showing that this WM improvement may contribute to the enhancement of pain inhibition. Indeed, pain inhibition by WM was enhanced by anodal tDCS in the high WM load condition. In contrast, pain perception was not affected by anodal tDCS when there was no engagement of WM (no n-back task), suggesting that in the present conditions, anodal tDCS of the left DLFPC may produce indirect effects on pain inhibition, through cognitive processes, without affecting pain perception directly. Our study also provides novel findings showing that increased pain inhibition by WM during tDCS is not associated with significant inhibition of the NFR, suggesting that tDCS effects on pain inhibition by WM are mediated by supraspinal processes independent of descending pain inhibition processes.

tDCS neuromodulation may affect various brain networks depending on the positioning of the stimulating electrodes and on the state of the stimulated network [72, 73]. As a result, the outcome of the stimulation protocol depends on task characteristics, including WM load, as well as the state of the neural network [72, 74]. Coherent with this notion, some tDCS studies indicate that the effects of anodal tDCS are affected by task difficulty [75, 76]. The availability of cognitive resources for optimal task performance is critical, and the effects of tDCS may depend on increasing the availability of cognitive resources, especially when WM is highly loaded or saturated. In conditions with low WM load, cognitive resources are available as they are not monopolized by the task, so tDCS may not bring any gain in performance. This may explain some of the discrepancies observed between studies examining the effect of tDCS. The lack of tDCS effect may be due to the use of cognitive tasks that are not sufficiently demanding [74]. Based on our findings, we propose that anodal tDCS of the DLPFC may be more effective during more demanding tasks, in accordance with the state-dependant or load-dependent effects reported earlier [74, 77]. This also leads to the inference that anodal tDCS of the DLPFC may be especially useful in clinical conditions in which WM and other cognitive functions are reduced.

Interactions between pain and WM

A nociceptive stimulus may be selected to prioritize a protective behavior in response to pain perception at the expense of task performance [1, 8, 13,14,15,16,17,18]. Conversely, pain perception can be inhibited by cognitive processes if task execution is prioritized, in accordance with contextual demands [6, 12, 17, 19,20,21,22]. In the present experiment, the protocol was designed to favor the execution of a cognitive task and the inhibition of pain. The comparison of WM performance (RT) during the pre-tDCS baseline showed no difference between conditions with or without pain. These results established that in our protocol, WM performance was not affected by salient painful distractors for either task difficulty (0-back or 2-back). WM engagement by rehearsing the features of visual targets was sufficient to avoid a bottom–up shift of attention to the salient painful distractors [1, 6, 12, 27, 29, 44]. In addition, accuracy in WM was consistent across all conditions. These findings have also been observed in previous pain studies [12, 29, 68]. Indeed, nociceptive signals compete with other sensory signals for entering the attentional network and being processed further by this network [1,2,3, 5]. This neural response to specific stimuli can be biased by stimulus saliency (bottom–up filter) [13, 15, 18] or by the relevance of stimuli for the task (top–down bias) [12, 22, 24, 25]. The central executive component of WM that maintains task-relevant target features (attentional set) [1, 30] and the maximal attentional load of WM capacity [31,32,33,34] can be one source of bias [1, 29, 39]. Our results indicate that the present experimental paradigm is adapted to favor top–down inhibition of salient nociceptive signals. Moreover, the 0-back and 2-back conditions produced the expected decrease in the pain ratings during the pre-tDCS baseline. These results are consistent with RT being unaltered by pain and are also in line with results from previous studies [17, 40, 68, 78]. In summary, salient painful stimuli have the potential to disrupt WM, but this disruption is determined by the balance between bottom–up and top–down processes according to experimental conditions, including the WM task [40, 79], the type and intensity of painful distractors as well as their novelty [6, 12, 40]. In the present study, task performance was maintained, and pain was inhibited in conditions involving both WM engagement and painful distractors, thereby allowing us to examine the effect of anodal tDCS of the DLPFC on pain inhibition by WM.

We also investigated the modulation of spinal nociceptive activity by WM with the NFR. NFR amplitude was reduced during low WM load (0-back) but not during high WM load (2-back) compared with the pain alone condition. The reduction of NFR amplitude suggests that descending pain inhibitory pathways were activated. However, the lack of inhibition in the high WM load condition was somewhat unexpected. Increased WM load and decreased pain perception should be associated with decreased NFR amplitude [80,81,82], although dissociation between spinal activity and pain perception has been reported in previous studies [83,84,85,86,87]. In the context of the present study, we postulate that the more demanding task produces a disinhibition of spinal nociceptive activity to maintain protective reflexes while WM shields cognition from nociceptive signals in the brain, with the aim to allow optimal task performance.

Limitations and future directions

Participants were asked to rate pain after each painful condition. This pain rating task has the potential to make the painful stimuli relevant for participant’s goals [7], which could reduce the inhibitory effects of WM by altering the balance between bottom–up and top–down processes. Also, although experimental conditions and sessions were counterbalanced between participants, the same participants performed all conditions in both sessions, which has the potential to increase the effect of sham tDCS and decrease the relative effect of anodal tDCS compared with sham tDCS. However, this within-subject design is a fair compromise to avoid inter-subject variability, which may be larger than the within-subject counfounding. Nevertheless, this design remains to be assessed in future studies. It could also be argued that within-subjects designs limit blinding of participants because they may feel a different sensation between the sham and anodal sessions. However, participants were not aware that two different types of stimulation were used, and they could feel electrical current in both sessions. Although the sensation may have been different, they received no instructions that may have induced a bias. Lastly, it should be emphasized that in spite of significant differences between sessions, we show significant effects for anodal stimulation and no significant effect for sham stimulation, which indicates that anodal tDCS produces significant effects that cannot be explained by non-specific effects only, including placebo.

Conclusion

The results of our study are consistent with top–down suppression of pain by WM and with its improvement by anodal tDCS of left DLPFC, especially with more important WM engagement. In addition, anodal tDCS improved WM but not NFR inhibition by WM, implying that increased pain inhibition by WM improvement is independent of descending inhibition of spinal nociception.