What book is Charlie and the Chocolate Factory based on?

Charlie and the Chocolate Factory, 2005

Charlie and the Chocolate Factory

Based on the children's book by Roald Dahl

Book cover for Charlie and the Chocolate Factory by Roald Dahl
Book cover via Open Library
Movie poster for Charlie and the Chocolate Factory (2005)
Poster source TMDB

About the film

Tim Burton directed this 2005 musical fantasy, with a screenplay by John August. Johnny Depp plays Willy Wonka and Freddie Highmore plays Charlie Bucket, alongside David Kelly and Christopher Lee. The film was released by Warner Bros. and runs 115 minutes.

About the book

Roald Dahl's children's novel first appeared in 1964. The story follows Charlie Bucket inside the chocolate factory of the eccentric chocolatier Willy Wonka, and it also features young characters such as Augustus Gloop, Veruca Salt, Violet Beauregarde and Mike Teavee.

First publication in catalog
1964

Trailer and stills

Trailer
Scene still 1 from Charlie and the Chocolate Factory (2005)
Scene still 2 from Charlie and the Chocolate Factory (2005)
Scene still 3 from Charlie and the Chocolate Factory (2005)

Reading guide

Read the 1964 novel, not the sequel or the 1971 tie-in

The 2005 film credits Dahl's 1964 book of the same name as its source. That means the right companion read is Charlie and the Chocolate Factory itself, not a same-name movie edition. Dahl later wrote a continuation about a glass elevator, but the film's credited source is the first Charlie story, so start there.

Two films, one book — check which one you want

Dahl's novel reached the screen more than once. Reviewers described Burton's version as a second big-screen rendition of the author's morality tale, so if you are pairing a film with the book, confirm which release you mean before drawing comparisons.

What changed in the adaptation?

A spoiler-free comparison.

The film invents a childhood for Willy Wonka

In the book
Dahl's novel keeps Willy Wonka largely unexplained; the factory, its machinery and its rhyming workers carry the mystery rather than a personal history.
In the film
Burton's film adds flashbacks showing the young Willy's falling out with his dentist father, played by Christopher Lee.

Charlie comes from a poor household in both

In the book
The novel opens on Charlie Bucket as a brave, honest and very hungry boy whose family can barely afford the chocolate he longs for.
In the film
The movie keeps that thread, presenting Charlie as a boy with a warm but physically threadbare home life in a city much like London.