how long do you have to stay up for an all nighter?
It takes about 15 to 30 minutes for you to feel the effect of the caffeine, and the benefit will last for three to four hours, Rosekind says. “If you plan strategically to use the caffeine every few hours, you can keep yourself at a pretty good level of performance,” he says.