Screenplay analysis

Charlie and the Chocolate Factory: screenplay analysis

A poor boy who lives with his parents and four grandparents wins one of five golden tickets to tour Willy Wonka's secret chocolate factory, where the other children are punished one by one for their vices.

Written by Roald Dahl & John August · Directed by Tim Burton · 2005 · Family fantasy

What the script is doing

John August's adaptation of Roald Dahl keeps the novel's structure, which is essentially a moral elimination game: five children enter, and each is removed by a temptation matched to their flaw. Augustus is greedy, Veruca spoiled, Violet competitive and Mike obsessed with television. Each removal is followed by an Oompa-Loompa song that states the moral, so the script's rhythm is a series of sketches with a refrain.

The script's main addition is Wonka's own backstory. Flashbacks show him as a boy whose dentist father forbade sweets, and the final act gives Wonka a need: to reconcile with his father and understand family. That turns the ending into a mutual exchange. Charlie refuses the factory if it means leaving his family, and Wonka learns from him to go home.

Structure

  • Setup

    Charlie's family lives in poverty beside the factory. Wonka announces five golden tickets, and the other four winners are introduced through news reports.

  • The ticket

    Charlie finds money in the snow, buys a bar and wins the last ticket. Grandpa Joe gets out of bed to go with him.

  • The tour

    In each room, a child gives in to temptation and is removed: the chocolate river, the gum, the nut room, the television room.

  • The heir

    Charlie wins, refuses to leave his family, then helps Wonka reconcile with his father. The family moves into the factory.

Characters

  • Charlie Bucket wants to see the factory; his goodness is already formed, so he serves as the moral standard.
  • Willy Wonka wants an heir; he needs family, and his reunion with his father is the change.
  • The four children each embody a vice, a satirical device that makes the story a moral fable.

Key scenes

  • The ticket announcements

    each winner is introduced in a news report, revealing personality in seconds.

  • The chocolate room

    the first wonder and the first elimination, showing the pattern the story will follow.

  • The nut room

    Veruca demands a squirrel and is judged a bad nut, a punishment that matches the flaw.

  • The dentist's house

    Wonka visits his father, who has kept every press clipping, a reconciliation scene that pays off the flashbacks.

What writers can learn

  • Structure a fable as an elimination where each loss matches a vice.
  • Use songs or refrains to state the moral so scenes stay light.
  • Give the mentor figure his own need, and let the hero meet it.
  • Let the hero refuse the prize when it costs his values.

Read the screenplay

We haven't found a copy of the Charlie and the Chocolate Factory screenplay published by its rights holder, so this page links to none. We don't host screenplays that are under copyright.

Questions

We haven't found an official copy online. Studios sometimes publish scripts during awards season, and published screenplay books are another legal route.

Charlie and the Chocolate Factory (2005) was written by Roald Dahl & John August and directed by Tim Burton.

Read the structure and key scenes with the film or the published script beside you, then try the lessons on your own pages. Our screenplay format guides cover the page itself.

Write your own screenplay, formatted as you type.

Start free. Credits never expire, and you pay only for what you generate