A double espresso after revision might be the best way of preparing for an exam, new research suggests.
Scientists have found the first clear evidence of caffeine's memory-boosting effect, and shown that it lasts for at least 24 hours.
Volunteers took part in a double-blind trial in which they were either given a 200mg caffeine pill or a placebo five minutes after studying a series of images.
Tests a day later proved that the memory of those who took caffeine had been enhanced at a deep level. The amount of caffeine used was roughly equivalent to a double shot of strong espresso coffee.
US lead researcher Dr Michael Yassa, assistant professor of psychological and brain sciences at Johns Hopkins University, Baltimore, said: "We've always known that caffeine has cognitive-enhancing effects, but its particular effects on strengthening memories and making them resistant to forgetting has never been examined in detail in humans.