Charlie and the Chocolate Factory is a 1964 children's novel by British author Roald Dahl. The story features the adventures of young Charlie Bucket inside the chocolate factory of eccentric chocolatier Willy Wonka.

The story was originally inspired by Roald Dahl's experience of chocolate companies during his schooldays at Repton School in Derbyshire. Cadbury would often send test packages to the schoolchildren in exchange for their opinions on the new products. At that time (around the 1920s), Cadbury and Rowntree's were England's two largest chocolate makers and they each often tried to steal trade secrets by sending spies, posing as employees, into the other's factory—inspiring Dahl's idea for the recipe-thieving spies (such as Wonka's rival Slugworth) depicted in the book. Because of this, both companies became highly protective of their chocolate-making processes. It was a combination of this secrecy and the elaborate, often gigantic, machines in the factory that inspired Dahl to write the story.

Charlie and the Chocolate Factory

Charlie and the Chocolate Factory is frequently ranked among the most popular works in children's literature. In 2012, Charlie Bucket brandishing a Golden Ticket appeared in a Royal Mail first class stamp in the UK. The novel was first published in the US by Alfred A. Knopf, Inc. in 1964 and in the UK by George Allen & Unwin 11 months later. The book's sequel, Charlie and the Great Glass Elevator, was written by Dahl in 1971 and published in 1972. Dahl had also planned to write a third book in the series but never finished it. The book has also been adapted into two major motion pictures: Willy Wonka & the Chocolate Factory in 1971 and Charlie and the Chocolate Factory in 2005. A spiritual prequel film exploring Willy Wonka's origins will be released in 2023.

Charlie and the Chocolate Factory

Plot

Eleven-year-old Charlie Bucket lives in poverty with his parents and grandparents in a town which is home to a world-famous chocolate factory. One day, Charlie's bedridden Grandpa Joe tells him about Willy Wonka, the factory's eccentric owner, and all of his fantastical candies. Rival chocolatiers sent in spies to steal his recipes, forcing Wonka to close the factory and disappear. He reopened years later, but the gates remain locked and nobody knows who is providing the factory with its workforce.

Charlie and the Chocolate Factory

The next day, the newspaper announces that Wonka has hidden five Golden Tickets in Wonka Bars; the finders of these tickets will be invited to come and tour the factory. The first four tickets are found by gluttonous Augustus Gloop, spoiled Veruca Salt, gum-chewing Violet Beauregarde, and television addict Mike Teavee. One day, Charlie buys a Wonka Bar with some money he found in the snow; the bar contains the fifth and final ticket. Upon hearing the news, Grandpa Joe regains his mobility and volunteers to accompany Charlie to the factory.

On the day of the tour, Wonka welcomes the five children and their parents inside the factory, a wonderland of confectionery creations that defy logic. They also meet the Oompa-Loompas, a race of impish humanoids who help him operate the factory. During the tour, the other four children give in to their impulses and are ejected from the tour in darkly comical ways: Augustus falls into the Chocolate River and is sucked up a pipe, Violet turns into a giant blueberry after chewing an experimental stick of three-course dinner gum, Veruca and her parents fall down a garbage chute after the former tries to capture one of the nut-testing squirrels, and Mike is shrunk down to the size of a chocolate bar after misusing the Television Chocolate device despite Wonka's warnings. The Oompa-Loompas sing about the children's misbehaviour each time disaster strikes.

With only Charlie remaining, Wonka congratulates him for "winning" the factory. Wonka explains that the whole tour was designed to help him find a worthy heir to his business, and Charlie was the only child whose inherent genuineness passed the test. They ride the Great Glass Elevator and watch the other four children leave the factory before flying to Charlie's house, where Wonka invites the entire Bucket clan to come and live with him in the factory.

Characters

Publication

Race, editing, and censorship

Dahl's widow said that Charlie was originally written as "a little black boy." Dahl's biographer said the change to a white character was driven by Dahl's agent, who thought a black Charlie would not appeal to readers.