The longest time someone has been awake is 264 hours.
The longest someone went on without any sleep was 264, which is 11 days!
This remarkable record was set in 1964, when Randy Gardner stayed awake for 264 hours. He was 17 years old at the time of his record. He stayed awake without using stimulants of any kind.
After completing his record, Gardner slept 14 hours and 40 minutes, awoke naturally around 10:00 p.m., stayed awake 24 hours, then slept a normal eight hours.
There are quite a few claims of beating this record, but none are documented enough to make it official. The Guiness Book of Records has decided not to include this record anymore because of the health risks.