A popular medication used to treat narcolepsy has recently been investigated for it's "recreational" effects.  Modafinil, a prescription drug sold as Alertec, Modavigil, and Provigil, has been found to have a profound effect on cognitive abilities.

From Science Alert:

The team evaluated all the research literature on modafinil’s cognitive enhancement effects, looking at 24 papers that studied the medication’s impact on tasks such us planning, decision making, memory, learning, and creativity. Their findings, published in European Neuropsychopharmacology, showed that modafinil does indeed confer cognitive benefits, although these differ depending on the task at hand.

According to the study, modafinil doesn’t improve our working memory or flexibility of thought, but it does benefit our capacity to make decisions and plan - “‘higher’ brain functions that rely on contribution from multiple simple cognitive processes,” said co-author Ruairidh McLennan Battleday in a press release.

...

The finding that modafinil amounts to the first real example of a ‘smart drug’ that can improve people’s higher brain functions is bound to create controversy. While the mind-altering medication isn’t prescribed for any such general use – which is unlikely to change in the near future – the very fact that a scientifically verified brainpower enhancer exists poses some interesting questions.

EliteFTS™ offers non-prescription ways to boost your brain power!

Build your brain book banner