Introduction

Caffeine (1,3,7-trimethylxanthine) is one of the most widely consumed dietary ingredients in the world [1]. The main sources of caffeine are found in products such as brewed coffee, tea, cocoa products, and soft drinks [2]. In addition, caffeine can be artificially synthesised and is often included in a variety of medications, dietary supplements, and commercially available beverages such as energy drinks [3], the consumption of which has increased enormously in recent years, especially in the sports context. Caffeine is one of the most widely used supplements by athletes due to its effectiveness as an ergogenic aid, enhancing performance across a wide range of exercise modalities [4, 5] and in a variety of sport-specific tasks [6, 7].

Most studies examining the effects of caffeine ingestion on exercise performance use a single dose of caffeine administered orally via capsules/tablets [8]. It is suggested that 3 mg/kg (body mass) is the optimal dose for ergogenic benefits in physical performance [9], also showing benefits with low doses (1–2 mg/kg) [10]. Caffeine intake of 3–6 mg/kg has also been shown to be effective in increasing physical [11] and psychophysical performance without carrying significant side effects [12, 13], but as the dose of caffeine is increased, the prevalence and magnitude of side effects increases [14]. High caffeine intake can lead to different adverse health effects [7, 15], such as tachycardia and nervousness [16], and gastrointestinal discomfort [17] which are the most common side effects at high doses. However, the magnitude and duration of these adverse effects could depend on the dose of caffeine ingested and interindividual biological variability [15, 18].

Caffeine is a powerful central nervous system stimulant and is mainly used to increase stamina and activity and delay fatigue [19]. It has been shown that underlying mechanisms are dose-dependent. Low doses of caffeine (≤ 3 mg/kg) act mainly on the central nervous system [20, 21], increasing the activity of the prefrontal cortex and improving executive function [7, 22]. However, higher doses of caffeine (5–9 mg/kg) can cause peripheral effects [20], without affecting brain activation [22]. This was demonstrated in the study by Zhang et al. [23], where the effects of caffeine on cognition and brain activation were greater with low doses (3 mg/kg) of caffeine than with moderate (6 mg/kg) and high doses (9 mg/kg). Cognitive function training could provide significant benefits in some cognitive aspects such as memory, attention, cognitive processing speed, intelligence, fluency, problem-solving, and learning ability [24,25,26]. These cognitive aspects are associated with successful sport and exercise. Thus, cognitive function training could improve an athlete’s sports performance [27], and its combination with caffeine intake could produce further enhancements.

Therefore, because cognitive performance is a cornerstone in sports associated with physical performance, and caffeine produces cognitive improvements, it is necessary to clarify the dose-response of caffeine on cognitive performance through sport-specific cognitive tests. Thus, the main purpose of this study was to determine the acute effects of different doses of caffeine (0, 3, 6 mg/kg) on cognitive aspects related to sport, in physically active and healthy people. We hypothesised that caffeine supplementation would increase cognitive performance assessed through the different tests used, with 3 mg/kg being the optimal dose.

Methods

Participants

Twenty-nine healthy young adults (15 men and 14 women, age: 21.8 ± 1.8 years; height: 170.1 ± 8.9 cm, weight: 63.1 ± 10.8 kg) were recruited. Participants were physically active (i.e., > 150 min/week moderate physical activity or > 75 min/week vigorous physical activity [28]) and were not diagnosed with serious health problems. The exclusion criteria were suffering from colour blindness and/or regularly consuming caffeine (i.e., > 3 cups of coffee/day [29]). In addition, all volunteers underwent screening (AHA/ACSM Health/Fitness Facility Preparticipation Screening Questionnaire [30]) to exclude individuals with any risk of cardiopulmonary disease and/or under any drug prescription. All subjects provided written, witnessed, and informed consent in accordance with a protocol approved by the local Ethics Committee and according to the Declaration of Helsinki.

Experimental design

All participants completed three trials in a double-blinded crossover randomised control trial. Then, their cognitive skills were evaluated under (a) placebo (PLAC; 0 mg/kg); (b) 3 mg/kg; or (c) 6 mg/kg of body mass of caffeine. To achieve the blinded placebo situation, a researcher not associated with the study performed the blinding and prepared identical capsules containing placebo (cellulose) or the corresponding dose of caffeine (99% caffeine, Bulkpowders, United Kingdom). This researcher assigned an alphanumeric code to each trial to blind participants and investigators. The code was revealed after analysis of the variables. Treatment order was randomly allocated according to balanced permutations generated by a web-based computer programme (http://www.randomization.com) [31]. Trials were separated by at least 48-h, allowing full recovery and caffeine clearance [32, 33]. Participants were familiarised with the different cognitive tests through a study visit one week before trials. All study visits were performed in the same thermoneutral environment (20.4 ± 0.5ºC and 31.2 ± 1.3% humidity). Participants were instructed to refrain from the consumption of any substance containing caffeine/alcohol (12 h prior) [34] and to replicate their habitual physical activity levels and dietary practices before every trial [35]. Side effects and the perceived sensation index were recorded in the following 24-h after each experimental trial [36].

Experimental protocol

The first session served to familiarise participants with the instruments and tests that composed the cognitive test battery. In addition, participants were weighed (Seca 700, Germany) for subsequent individualisation of caffeine doses. In the next three experimental trials, their body weight was re-checked when the participants arrived at the laboratory. Then, they ingested their blind capsule with caffeine or placebo in front of the research team. This was done 60 min before the cognitive tests started since the caffeine plasma concentration peaked at 1 h after ingestion [37]. Sixty minutes after ingestion, participants performed the battery of cognitive tests whose validity was evaluated in our recent pilot study [38] and where it is explained in greater detail. This battery (Fig. 1) was performed in the same order each day for each subject and consisted of measuring the following cognitive skills:

Fig. 1
figure 1

Battery of cognitive tests used during all experiment trials

Reaction time

The Dynavision™ D2 Visuomotor Device was used to assess reaction time (RT; s) through the “Reaction Time Test” [39,40,41,42]. During the assessment, participants were located with the central screen at eye level and in a position that allowed them to comfortably press all the buttons on the device. Visual, motor, and physical reaction time (VRT, MRT, and PRT, respectively) were measured as the fastest RT (s) of three attempts with the dominant hand. VRT is the elapsed time from the appearance of the red light until the start button is released. MRT is the elapsed time from the release of the start button until the red light is pressed. PRT is the elapsed time from the appearance of the red light until the red light is pressed, i.e., VRT + MRT.

Anticipation

Visual acuity related to hand-eye coordination and anticipation was assessed using the Bassin Anticipation Timer [43]. Participants aimed to pulse the timer as close as possible to the goal light (light number 33). Three repetitions of each condition/speed (5, 10, and 15 miles per hour (mph) which is equivalent to 8, 16 and 24 km per hour) were performed with a random signal delay. The best anticipation time (s) of each condition was used for the analysis.

Sustained attention

The ability of maintaining attention and inhibiting an appropriate response were measured by the “Go/No-Go Test” [44] and “Eriksen Flanker Test” [45]. Both tests were performed through a web-based computer programme (http://cognitivefun.net/) used by previous studies to measure cognitive function [45, 46]. Participants during the “Go/No-Go Test” aimed to react with their dominant hand as quickly as possible when the “Go” stimulus appeared, holding their response when the “No-Go” stimulus was presented. The Fastest, the Slowest, and the Average response time (s), and successful attempts (Percentage; %) were used for the following statistical analysis. During the “Eriksen Flanker Test”, participants also aimed to react with their dominant hand to the direction of the target arrow that appeared in the centre of the screen. This target arrow appeared surrounded by other arrows, oriented congruently (same direction) or incongruently (opposite direction). The congruent (CRT) and incongruent (IRT) reaction time (s) were measured.

Memory

Participants performed a similar test to that developed by Nielson et al. [47] to study the modulation of memory storage processes. Three 20-item word lists were created by selecting concrete and imageable nouns (ratings 6.49; scale = 1 (low) to 7 (high)) from the normative list of Paivio et al. [48]. Each word on the list was presented for 5 s. This was followed by a memory consolidation interval of 100 s, after which there was a 120 s period in which the participants wrote as many words as they could remember (First Time). After 15 min, the participants performed a recall task (Second Time) in which they had to rewrite all the words they could remember at the time. The number of correct words recalled was analysed regardless of their order of presentation and was considered correct if there were small typographical errors or singular-plural substitutions.

Statistical analysis

All statistical procedures were run on SPSS version 28 (IBM Corp., Armonk, N.Y., USA). The Shapiro–Wilk test revealed that data were normally distributed. A repeated-measures ANOVA was used to identify differences between experimental trials followed by the Bonferroni post hoc test when a significant interaction was detected. Effect size was obtained using Cohen’s d for pairwise comparison, with effects considered large if ≥ 0.8, moderate ≥ 0.5, and small if < 0.5 [49]. Cochran’s Q test was used to analyse differences on the self-reported side effects between experimental trials. Sample size calculation was based on Zhang et al. [23] who compared three doses of caffeine (3, 6, 9 mg/kg) on RT in healthy individuals. The following formula was used to calculate the sample size: \(\:n=\:\frac{{2\cdot\:({Z}_{\alpha\:/2}+\:{Z}_{1-\beta\:})}^{2}\cdot\:{\sigma\:}^{2}}{{d}^{2}}\). Where \(\:n\) is the minimum number of subjects, \(\:{Z}_{\alpha\:/2}\) is the standard deviation for a type 1 error (for a significance level of 5%, \(\:{Z}_{\alpha\:/2}=1.96\)), \(\:{Z}_{1-\beta\:}\) is the standard deviation for the power of the study (for a statistical power of 80%, \(\:{Z}_{1-\beta\:}\) = 1.28), 𝜎 is the pooled standard deviation and d is the mean difference. It has been calculated that the minimum number of participants needed to reach a power of 0.8 and a bilateral α-level of 0.05 was 16 participants. Data in text and tables are reported as mean ± SD, and as mean ± SEM in Fig. 2. 95% confidence intervals (CIs) were also calculated. The significance level for all statistical tests was P<0.05.

Results

Reaction time

The RT assessed by the Dynavision™ D2 Visuomotor Device are depicted in Fig. 2. Although VRT was not affected by caffeine intake (P = 0.384), a caffeine effect was found on MRT and PRT (P = 0.004, and P = 0.041, respectively). Moreover, PRT and MRT only improved after the intake of 6 mg/kg of caffeine (PRT: mean difference (MD) -0.04 s, 95% confidence interval (CI) -0.08 to -0.01 s, P = 0.036, d = 0.5; MRT: MD -0.04 s, 95% CI -0.07 to -0.01 s, P = 0.008, d = 0.6) compared to the placebo condition. Despite the effect sizes observed, PRT and MRT did not improve following 3 mg/kg of caffeine (PRT: MD -0.03 s, 95% CI -0.08 to 0.02 s, P = 0.314, d = 0.3; MRT: MD -0.02 s, 95% CI -0.06 to 0.01 s, P = 0.135, d = 0.4) compared to the placebo condition.

Anticipation

Visual acuity assessed using the Bassin Anticipation Timer and related to hand-eye coordination and anticipation was not affected after the intake of caffeine (Table 1) during 5 mph (P = 0.756), 10 mph (P = 0.532) or 15 mph (P = 0.466) conditions/speeds.

Sustained attention

Sustained attention measured through the “Go/No-Go Test” and “Eriksen Flanker Test” is also depicted in Table 1. In the “Go/No-Go Test”, significant effects were not observed following caffeine intake on Fastest (P = 0.283), Slowest (P = 0.116); and Average (P = 0.519) response time. Moreover, the successful attempts (Percentage: P = 0.831) were not affected by caffeine doses. Nevertheless, 6 mg/kg presented a small effect on improving the Fastest (MD -0.01 s, 95% CI -0.03 to 0.01 s; P = 0.412, d = 0.3) and the Slowest (MD -0.033 s, 95% CI -0.093 to 0.025 s; P = 0.471, d = 0.3) response times compared to 3 mg/kg. In the “Eriksen Flanker Test”, CRT was affected by caffeine ingestion (P = 0.035), but 3 or 6 mg/kg doses of caffeine did not significantly lower CRT (3 mg/kg: MD -0.02 s, 95% CI -0.03 to 0.01 s, P = 0.064, d = 0.5; 6 mg/kg: MD − 0.05 s, 95% CI -0.03 to 0.02 s, P = > 0.999, d = 0.1) compared to the placebo condition (0 mg/kg). A significant caffeine effect was not observed on the IRT (P = 0.435).

Memory

The results of both attempts at the memory test in each trial are described in Table 1. Despite the differences observed between trials, the number of correct words recalled was not improved following ingestion of 3 or 6 mg/kg of caffeine during both attempts (First Time, P = 0.730; Second Time, P = 0.228). During the First Time neither dose of caffeine showed any effect (3 mg/kg: MD 0.03 words, 95% CI -1.6 to 1.7 words, P = > 0.999, d = -0.1; 6 mg/kg: MD 0.38 words, 95% CI -1.3 to 2.1 words, P = > 0.999, d = -0.1). Nevertheless, the dose of 6 mg/kg presented a small effect on improving memory during the Second Time compared to the placebo (MD 1.28 words, 95% CI -0.6 to 3.2 words; P = 0.297, d = 0.3) and 3 mg/kg of caffeine (MD 0.72 words, 95% CI -0.6 to 2.1 s; P = 0.536, d = 0.3).

Fig. 2
figure 2

Dose–response effects of caffeine ingestion on reaction time in its variables: (a) Visual Reaction Time, (b) Motor Reaction Time and (c) Physical Reaction Time. *Significant difference (P ≤ 0.05). PLAC: Placebo

Table 1 Cognitive response under placebo, 3 mg/kg, or 6 mg/kg of body mass of caffeine

Side effects and self-reported perception

The side effects reported by the participants are shown in Table 2. The dose of 6 mg/kg of caffeine increased the appearance of the side effects of increased activeness (P = 0.046) and nervousness (P = 0.001) following intake, meanwhile, the dose of 3 mg/kg did not increase these side effects (P = 0.166 and P = 0.058, respectively). No other side effects were reported during trials (all P > 0.05). In addition, the self-reported perception was not altered by the intake of 3 or 6 mg/kg of caffeine (all P > 0.05; Table 3).

Table 2 Side effects reported during the different trials
Table 3 Self-reported perception during trials

Discussion

Caffeine is the most widely used ergogenic supplement by athletes during training and competition [5]. Although its physiological effects have been described, its effects on cognitive function are still unclear. Our study found that only 6 mg/kg of caffeine improved RT (i.e., lower motor and physical reaction times) measured by the Dynavision™ D2 Visuomotor Device in healthy young individuals. Nevertheless, we found no significant differences in other cognitive skills (anticipation, attention, and/or memory). The improvements in RT are explained by an increase in whole-body muscular activity, which may be related to improved sports performance. On the other hand, we found that 6 mg/kg of caffeine augmented the occurrence of side effects, namely increased activeness, and nervousness. Thus, despite increasing side effects, moderate doses of caffeine intake do not worsen cognitive function, and even beneficial results are obtained that could improve sports performance.

RT is one of the most important qualities for a sports practitioner [50]. It is suggested that caffeine intake could have an ergogenic effect reducing RT [4]. Balko et al. [51], comparing different doses of caffeine, found that the consumption of 3 mg/kg of caffeine positively affects RT. Moreover, RT could improve sport-specific tasks as observed in studies with athletes [52,53,54]. Souissi et al. [53] found that 5 mg/kg dose of caffeine improves RT during a task of responding to a visual stimulus by pressing a key in elite judo athletes. The study by Santos et al. [54] also found an improvement in RT during a sport-specific task in taekwondists. In our study, we showed that 6 mg/kg of caffeine reduced RT during a cognitive test, but 3 mg/kg did not improve it. This positive effect of caffeine on RT may be related to increased arousal, as caffeine activates pathways that have traditionally been associated with motor responses in the brain [54]. We also believe that this improvement in RT may be more related to the physical than the cognitive performance since our RT test involved rapid muscle activity to score well. Thus, caffeine supplementation improves RT during sport-related tasks, enhancing performance.

Anticipation time is defined as the estimation of arrival of a stimulus and the required time for a response to intercept it [55]. Anticipation contributes to success in numerous tasks in daily life and sport [56], such as hitting a moving object, with lack of accuracy in anticipation being the main reason for technical or tactical errors during competition [57]. The Bassin Anticipation Timer is the most accurate, reliable and validated way to measure anticipation [58]. Duncan et al. [59] and Tallis et al. [60] found that caffeine improved (i.e., vs. the placebo condition) anticipation in older regular coffee consumers at 5mph and 8mph speeds, respectively. Nevertheless, it should be noted that the effects of caffeine on anticipatory processing are quite specific [61], and the assessment of anticipation will have greater construct validity, when the interceptive task is sport-specific [62]. Clarke and Duncan [57] examined a sport population (badminton players) and found that caffeine improved anticipation at 3 and 5 mph speeds, improving badminton performance. We did not find any improvement of caffeine on anticipation (i.e., 5, 10, and 15 mph) in physically active healthy individuals. Since faster target movement speeds were associated with worse dynamic visual acuity (i.e., anticipation) in both caffeine and placebo conditions [63], the higher speeds used can explain our lack of significant findings.

There is controversy on the effects of caffeine on attention. Some studies suggested that caffeine improves sustained attention [64], and performance on simple and complex attention tasks [65] which could be attributed to its antagonistic effect on the adenosine receptor [64]. However, other studies did not support a significant caffeine effect on attention [66, 67]. Pasman et al. [68] showed small improvements after caffeine intake (85 mg) in the Go/No-Go test results in healthy adults. On the contrary, neither CRT nor IRT during the Eriksen Flanker test were affected by caffeine supplementation (3 mg/kg) in healthy middle-aged [69] and older adults [70]. High doses of caffeine ingestion are sometimes associated with detrimental effects on performance, due to distraction [71] or their side effects. In our study, even though participants manifested some side effects, attention was not negatively affected and could even be improved with moderate doses of caffeine (6 mg/kg). Therefore, further studies are needed to clarify the effects of caffeine on attention.

As a nootropic drug, caffeine may be related to the enhancement of cognitive resources in memory processes [72], but there is no reliable evidence that an experimentally administered dose of caffeine can have an effect on short-term memory performance, at least in healthy individuals [72]. In our research, although we found a tendency towards better results in the memory test the higher the caffeine dose, we could not clearly conclude the effects of caffeine on memory, as the results obtained were not statistically significant. In agreement, several studies did not find significant changes in short-term memory after caffeine supplementation compared to a placebo using a similar test to ours [73, 74]. Therefore, caffeine may not have a reliable, unidirectional effect on performance in immediate recall tasks (i.e., short-term memory), but it could have some positive effects on measures of long-term memory [72].

The side effects of high ingested doses of caffeine are well known, being the most frequent tachycardia and palpitations, nervousness, increased urine production, gastrointestinal problems, headache, insomnia, and muscle soreness [9]. In our study we evaluated these side effects and added the following effects proposed by Salinero et al. [36] in his study: abdominal discomfort, irritability, and increased activeness and anxiety. Our results indicated that caffeine intake at the highest dose (6 mg/kg) increased activeness and nervousness, which would agree with the findings of Pallares et al. [75] and Salinero et al. [36]. This side effects are not mainly associated with detrimental effect on sport performance [76] although it seems that increased activeness and nervousness following high doses of caffeine ingestion would interfere with performance in sports that heavily rely on the skill component (e.g., tennis players, biathlon shooting) [77]. Regarding reported self-perception, our trend showing better perception of sustained attention and memory with the higher caffeine dose was not significant, maybe because it can differ greatly between individuals [18]. Therefore, caffeine, although it may cause some side effects, does not have a detrimental effect on sports performance, and may even improve it.

Our study is not free of limitations. The cognitive variables studied could be influenced by the measurement systems and procedures. Moreover, we only used low (3 mg/kg) and moderate (6 mg/kg) caffeine doses compared to other studies. A higher dose of caffeine (i.e., 9 mg/kg) may be able to produce more significant results versus the placebo condition. Another aspect to consider is individual differences in genetics and caffeine sensitivity. Although a high daily coffee intake (i.e., > 3 cups of coffee/day) was an exclusion criterion, it is possible that greater effects can be presented in participants with less familiarity with caffeine. Therefore, higher doses of caffeine intake (i.e., 9 mg/kg) could led to even greater effects in habitual coffee consumers. On the other hand, they were all physically active young adults with a presumed good cognitive function which may have led to smaller effects and therefore insignificant improvements in the cognitive variables measured than if we had studied another type of population (i.e., older adults, non-athletes, people with health problems, etc.). Regarding genetics, we did not take them into account and it would have been nice to assess them since there is a hypothesis that genes may differentially affect adenosine metabolism [69], which has a major impact on the central nervous system [59].

Practical application

RT is a determining aspect in sports performance or even in achieving victory. Our study suggests that ingestion of a moderate dose of caffeine (6 mg/kg body mass) is a potent ergogenic aid for improving RT in healthy physically active individuals. Therefore, caffeine doses of 6 mg/kg body weight could be considered by coaches and athletes who want to lower RT and improve in their sports discipline. In addition, although a dose of 6 mg/kg may increase the occurrence of side effects, such as nervousness or activeness, performance would not be affected following ingestion. Therefore, the dose of 6 mg/kg may be sufficient to improve RT and not produce harmful side effects.

Conclusions

In summary, the acute intake of 6 mg/kg of caffeine was effective in improving RT in the test used on the Dynavision™ D2 visuomotor device. In addition, the 6 mg/kg dose of caffeine augmented the occurrence of side effects, mainly increased activeness and nervousness. Although no significant differences were found in the other cognitive skills studied (anticipation, attention, and/or memory) between the doses of caffeine studied and the placebo condition, we propose to continue investigating with a higher dose of caffeine and with a different protocol for measuring cognitive abilities, since there were trends of improvement in cognitive performance when the dose of caffeine was higher, but without showing significant results. Thus, athletes and coaches could consider a caffeine dose of 6 mg/kg as a good ergogenic aid to decrease RT and thereby improve in their sport without detrimental side effects.