It depends. There are studies that show that caffeine may help increase focus, attention, and vigilance. There are some ADHD medications that have the same effect. A study of soldiers with ADHD found some benefits of caffeine pills in reducing symptoms, including inattention.