TL;DR Certain studies show that caffeine can help ADHD treatment in various ways, including raising levels of dopamine (the hormone linked to pleasure, attention and movement), reducing blood flow in the brain (which calms overactivity in certain regions), and increases concentration. Caffeine can even complement certain ADHD medications. However, it's not applicable to everyone and certain precautions have to be observed when drinking caffeine in the context of ADHD.
Feeling antsy and hyperactive, being impulsive, and having short attention span are all telltale signs of Attention Deficit Hyperactivity Disorder or ADHD.
ADHD is usually thought of as a disorder in children, but people can have it even as an adult.
You might think the last thing you should take to treat it is caffeine, which is known to boost energy. But it may be just what the doctor could prescribe.
According to Healthline:
“Attention deficit hyperactivity disorder (ADHD) is a mental health disorder that can cause above-normal levels of hyperactive and impulsive behaviors. People with ADHD may also have trouble focusing their attention on a single task or sitting still for long periods of time.” 
The American Psychiatric Association adds that ADHD affects about 5 percent of children, with about half of them carrying it over into adulthood.  These numbers may even be higher in smaller communities based on estimates from Centers for Disease Control and Prevention. 
Because ADHD can affect your relationships and impact your day-to-day, it’s important to know the signs (and get help immediately): 
It may be hard to imagine how caffeine, a stimulant, can be used as a potential treatment for ADHD.
But apparently it is. And certain studies put two and two together:
Caffeine helps ADHD by increasing dopamine levels
A study cited in the journal European Neuropsychopharmacology says caffeine may normalize dopamine levels and thereby improve ADHD patients' attention. 
When you have ADHD, doctors often prescribe stimulants to help you feel calm and alert, as well as improve memory and concentration. Caffeine can help deliver these things because it increases the level of dopamine, a hormone in your body linked to pleasure, attention, and movement.
Caffeine reduces blood flow to the brain
As a vasoconstrictor that makes blood vessels narrower, caffeine reduces blood flow to the brain. This is what’s common between caffeine and amphetamine medications that treat ADHD.
According to Healthline, “reduced blood flow may help treat ADHD by reducing the activity of brain regions that are overactive, allowing them to better function and cooperate with the rest of the brain.” 
In some cases, drinking coffee is used to treat children with ADHD, like this mom who gives 7-year-old son coffee daily.
Caffeine aids in concentration
Some studies have found that caffeine can boost concentration for people with ADHD. 
To be able to concentrate on work, a person needs to have ample levels of dopamine in the brain. People with ADHD, however, are observed to have unusually lower levels of dopamine.
Caffeine as a stimulant can make a world of difference among people with ADHD as it can get their dopamine levels just right.
However, this is more applicable to adults than children and teens.
Using caffeine with ADHD medications
Mixing caffeine with amphetamine medications such as Adderall (amphetamine and dextroamphetamine) can result in synergy, a powerful combination of two drugs leading to amplified effects.
Because of synergy, caffeine makes amphetamines more effective. However, the potential side effects can also be felt strongly.
While caffeine has been considered effective as an ADHD treatment by the studies mentioned above, it’s not totally safe for everyone. The usage may depend upon a person's age, health status, and how severe their symptoms are. 
Here are the potential downsides of using caffeine to treat ADHD: 
Some people may find caffeine to be effective in helping treat ADHD, while others may find no change at all (or even worse in unfortunate cases). Because of varying results, it's best to know your body's reaction to stimulants and consult a medical professional before mixing caffeine with prescription medicine.
As we said in this Viter Energy blog  about the work-life balance, it's a good idea to simulate your commute to work. You don't have to drive in to work, so instead take a walk around the block just before your workday starts and just after it ends. Send yourself a psychological signal.
And if you can avoid it, do not work after your walk around the block. Don't check work email. Don't answer calls from co-workers unless you really need to talk to them (or they are friends you socialize with).
Clinical psychologist Kelcey Stratton of Michigan Health Blog  has some sound advice on finding the right time to work:
If you’re a morning person, try to schedule important work and meetings during the first half of the day. Others may peak with energy in the afternoon. Depending on the type of job you have, try to maximize on these levels as you can.
The first bit of advice is to get up from the computer, turn off your phone, and go get some exercise, do something recreational, prepare a meal, or something other than work, on the same schedule as you did when you worked at the brick-and-mortar office.
If you used to get off at 5 p.m., quit working at home at 5. You might need to check email or prepare a report later that night, but be sure to get away from all electronic communications and computing devices for a while.
Another big tip is to take your coffee breaks and lunch breaks on the same schedule, or at least be sure to take them at some point. Do not skip your favorite part of the day!