I suffer from insomnia, but never stay up for 40 hours... 23 hours is my longest.