Since when he was writing The Perks of Being a Wallflower Chbosky aspired to adapt it into a film, which he called "a lifelong dream of mine." After the publication of the novel Chbosky said he received film offers, refusing them because he "owed the fans a movie that was worthy of their love for the book." In 2010 Mr. Mudd began developing a film version, and the author was signed to write and direct the film by producers John Malkovich, Lianne Halfon and Russell Smith. The film, shot in the Pittsburgh area from May 9 to June 29, 2011, starred Logan Lerman as Charlie, Emma Watson as Sam, Ezra Miller as Patrick, and Nina Dobrev as Charlie's sister, Candace.
It premiered on September 8, 2012 at the Toronto Film Festival, and was released theatrically in the United States by Summit Entertainment on September 21. According to Metacritic it has received "generally favorable reviews", with an average of 67 out of 100 based on 36 reviews. Rotten Tomatoes reported an 85-percent approval rate, based on 151 reviews. The film was a commercial success, grossing over $33 million worldwide from a $13 million production budget.