Timmy always falls asleep at 9:00pm, so he wishes for a world where sleep is not necessary but the conflict is that he wished that "everybody didn't have to sleep" which implies that sleep is optional but no longer required, much to the chagrin of the human race and the Sandman.
Being annoyed by his inability to stay up all night and thus missing up late in Dimmsdale, Timmy wishes for the world without sleep. As Timmy wishes for the wish, a magical stream of dust that keeps everyone in Dimmsdale awake. Timmy and his faries saw a streetcleaner that can transform into a robot by night. Timmy wishes to see all of the world for 24 hours without sleep. AJ and Chester sees the night lights with Timmy as they walk around. They see two men using slot cards transform into bats and Timmy's Dad having a party in Dimmsdale. AJ explains to Timmy that every patch of grass should be covered with mountian dew drops every morning. Since AJ explains about the grass and dew drops, the Mountian Dew Patrol appears, covering the grass with their MLG paintbrushes.
Meanwhile, the Matress King gets a call about not sleeping just as he was about to eat his hoagie. He gets another call about not sleeping on the matress anymore. This made the Matress King shrink so small that he can't reach his sandwich. The show goes on for two weeks and everyone is tired, except Timmy. He introduces Chuck to the street cleaning robot. The robot tells a joke about airplane food, but nobody responded. Wanda asks Timmy that if everyone can go to sleep now. Just as Timmy was about to answer the question, he sees Cosmo looking ugly that made him scream. Wanda uses her wand to cover Cosmo's face from people. Timmy says that a world without sleeep can change everything and is great as Cosmo floats past him. Two weeks later, Chet Ubetcha says that the world without sleep is not great, saying after a 30 sleepless days people are confused, tameless, and cranky. Timmy and Wanda sees that Cosmo is looking uglier which made them scream. Wanda covers Cosmo's face again with a metal face covering. Cosmo tells Timmy that the Sandman can help him. Timmy asks the Sandman for help but he says he can't help him because without sleep means he gets smaller. Timmy calls his godparents to try out the Super Sleeper 9000 and they are back to normal. Now that Cosmo and Wanda are back to normal, Timmy wishes that everyone can sleep again. The Sandman grew back to normal. As punishment for his reckless actions, the Sandman makes Timmy can't sleep for 7 days and becomes ugly, so Cosmo covers him.