The story began when Chbosky was in school, evolving from another book on which he was working. In that book he wrote the sentence, "I guess that's just one of the perks of being a wallflower", which led him to realize "that somewhere in that ... was the kid I was really trying to find." Chbosky began writing the novel in the summer of 1996 while he was in college, and within ten weeks he completed the story. He rewrote it into two more drafts, concluding the published version in the summer of 1998.