Spoiler note: this post discusses the ending of Slumdog Millionaire and key turns in Citizen Kane.
The framing device in Slumdog Millionaire is a double frame: a quiz show and a police interrogation. Jamal Malik, a young man from a Mumbai slum, is one question away from the top prize on India's version of Who Wants to Be a Millionaire? when he is arrested for cheating. To prove his innocence, he explains to a police inspector how he knew each answer, and every explanation is a chapter of his life. The questions become the structure of the film, and his answers become his biography.
Released in 2008, directed by Danny Boyle with Loveleen Tandan credited as co-director, and written by Simon Beaufoy from Vikas Swarup's 2005 novel Q & A, the film won eight Academy Awards, including Best Picture and Best Adapted Screenplay. This post breaks down how its frame opens, moves between past and present and closes, and what screenwriters can learn from it.
What is a framing device?
A framing device is an outer story that contains an inner story. Someone tells, remembers, confesses or investigates, and what they recount becomes most of the film. The frame gives the inner story a reason to be told, a listener to tell it to and a present-tense question that the past must answer. For a full introduction with more examples, see our guide to the framing device and the story within the story. Slumdog Millionaire stacks two frames, which makes its frame unusually active.
Slumdog Millionaire at a glance
- Protagonist: Jamal Malik (Dev Patel as an adult), an 18-year-old tea server at a Mumbai call centre.
- Frame one: the quiz show, hosted by Prem Kumar (Anil Kapoor).
- Frame two: a night-long police interrogation led by an inspector (Irrfan Khan).
- Inner story: Jamal's childhood and youth with his older brother Salim and Latika, the girl he loves.
The frame: a quiz show and an interrogation
The two frames do different jobs. The quiz show supplies the questions and the stakes. The interrogation supplies the listener and the doubt: the inspector does not believe a "slumdog" could know these answers.
After the penultimate question, the episode ends for the night and Jamal is arrested. In the police station, the inspector plays back a recording of the show and makes Jamal account for each answer. So we watch three time layers at once: the interrogation in the present, the show on tape from a few hours earlier, and Jamal's past.
The inner story: a life told through answers
Among the questions we see and the memories behind them:
- The star of the 1973 film Zanjeer: as a small boy, Jamal gets Amitabh Bachchan's autograph after jumping into a cesspit to escape the outhouse where Salim has locked him.
- What the god Rama holds in his right hand: during the riot in which his mother is killed, Jamal sees a child dressed as Rama holding a bow and arrow.
- The poet behind a devotional song: the song is one the children were made to sing in the begging operation run by the gangster Maman.
- Whose face is on the American hundred-dollar bill: years later Jamal finds Arvind, a boy Maman blinded, singing in the street; Arvind feels the note Jamal gives him and names the face on it as Benjamin Franklin.
- Who invented the revolver: the answer, Samuel Colt, ties to the night Salim shoots Maman to rescue Latika.
- Where Cambridge Circus is: Jamal picked it up while serving tea at the call centre.
The pattern is the film's argument. Each piece of trivia, which the show treats as a test of education, turns out to be a scar or a souvenir. Jamal knows these things because something happened to him.
How the frame opens: the question before the story
The film begins with its central question on screen. Jamal is one question away from winning 20 million rupees, and the card asks how he did it, giving four multiple-choice options: A, he cheated; B, he's lucky; C, he's a genius; D, it is written.
The card hands us the frame's question before the story begins, so we watch everything that follows as evidence. Within minutes the film cuts between the bright studio and a dim police cell where Jamal is being tortured: the studio celebrates knowledge, the cell assumes he cannot have any.
Moving between frame and story: questions as triggers
Every transition runs on the same engine: a question appears on the show, the film cuts to the past, and once the memory has delivered the answer, we return to the present. The past never arrives at random; it arrives because the present asked for it. For the craft of writing those jumps, see how to write a flashback in a screenplay.
The device also shows what Jamal does not know. On a question about India's national emblem he needs the audience lifeline, and during the interrogation he cannot say whose face is on a thousand-rupee note. These gaps support his claim that he knows only what life taught him.
What the frame adds: structure and suspense
A life story told in order can feel episodic. The quiz show solves that: the questions climb in value, so the film climbs in tension, and the episodes of Jamal's life become steps on a ladder.
The frame also runs suspense on two clocks. In the past, we want to know what happened to Latika. In the present, we want to know whether the inspector will believe Jamal and whether he will make it back for the final question.
There is a useful lesson here about the difference between plot and story. The story is Jamal's life in chronological order. The plot is the order in which the film reveals it, and the quiz show decides that order.
The frame and the theme: fate, luck and lived experience
The four options on the opening card are the film's themes stated as a quiz. Cheating is the inspector's theory; destiny is the romantic answer the film builds toward.
The frame tests each one. Jamal's life disproves cheating, and the gaps in his knowledge rule out genius. Whether the questions matching his experiences is luck or fate is left to the final card. And Jamal is not on the show for the money: he knows Latika watches it. A game about wealth is really a love story's way of sending a signal.
How the frame closes: the final answer
After hearing the whole story, the inspector calls it "bizarrely plausible" and lets Jamal return to the show. Now the frame and the inner story merge: the past has caught up with the present, and no memory can explain the next answer.
The final question asks for the name of the third musketeer in Alexandre Dumas's The Three Musketeers. It is the one answer Jamal never learned: as boys, he and Salim called themselves Athos and Porthos but could not remember the third name, and Jamal once suggested Latika could be the third musketeer. He uses his phone-a-friend lifeline to call Salim's number, the only one he knows, and Latika answers. She is safe, but she does not know the answer either. Meanwhile, Salim, who has helped her escape, dies in a shootout with the gangster Javed's men. Jamal guesses Aramis and wins. He and Latika meet on a railway platform, and the film returns to its opening card with the answer: D, it is written.
The closing pays off both frames and the inner story in one sequence: the last answer is a guess the film calls destiny.
Can we trust the teller? How the frame makes the improbable believable
On paper, the premise is a run of coincidences: the questions arrive in the order of Jamal's life, and each one lands on a memory. A story built on that many lucky breaks risks feeling like deus ex machina, where the solution falls from the sky.
The frame defends against this. It puts a skeptic inside the film: the inspector voices the audience's doubt, and Jamal must answer it scene by scene. The answers are rooted in painful, specific events, so they feel paid for, and his gaps show the film is not handing him everything. When the inspector accepts the story, the audience has been persuaded with him.
How the screenplay writes the frame
Beaufoy's structure gives each layer a clear function, which keeps three timelines readable.
- The police station is where doubt lives, in tense scenes aimed at the next answer.
- The studio is where stakes live. The host, the audience and the rising prize turn each question into a mini-climax.
- The past is where emotion lives. These sequences carry the relationships with Salim and Latika, the real story underneath the game.
On the page, every transition must be unmistakable: clear scene headings, a consistent trigger for each jump and a strong final image in each memory. Note too that Jamal never narrates his past in a long monologue; the questions prompt scenes that play out as drama.
From novel to film: how the frame was adapted
Swarup's novel Q & A uses the same basic idea with different machinery. Its hero is Ram Mohammad Thomas, a waiter who wins a billion rupees on a show called Who Will Win a Billion? and is arrested for cheating. He tells his story to a lawyer, Smita Shah, rather than a police inspector, and each of the book's twelve chapters is named after a prize amount. The chapters follow the order of the questions, while the episodes of Ram's life jump around in time.
Beaufoy wove the book's separate storylines into one narrative about two brothers and a love story, and arranged the questions to follow Jamal's life roughly in order, so the climb up the prize ladder becomes the climb from childhood to adulthood. For more on why adaptations reshape their source like this, see why a great novel doesn't always make a great screenplay.
Two ways to frame a life: Slumdog Millionaire and Citizen Kane
Orson Welles's Citizen Kane (1941), written with Herman J. Mankiewicz, also frames a life inside an inquiry. A reporter, Jerry Thompson, investigates the dying word "Rosebud" by interviewing people who knew Charles Foster Kane, and their accounts become the film. We break that frame down in our post on Citizen Kane's framing device.
The comparison is instructive:
- Who tells the story: in Kane, many witnesses, each with a partial view; in Slumdog Millionaire, the subject himself.
- What the inquiry seeks: in Kane, the meaning of one word; in Slumdog Millionaire, proof of innocence.
- How it ends: Kane's reporter never solves the mystery, though the audience glimpses the answer; Slumdog Millionaire's inspector is convinced, and the inner story ends in triumph.
Kane uses its frame to show that a life cannot be fully known; Slumdog Millionaire uses its frame to argue that a life, properly told, explains everything.
What screenwriters can learn
- Give the frame its own conflict. The interrogation is not a waiting room between flashbacks; it is a contest with stakes of its own.
- Make each return to the past necessary. If you can't say why a flashback appears at that moment, the audience can't either.
- Let the frame shape the structure. Rising prize values give a life story built-in escalation.
- Put the doubter on screen. A skeptical listener voices the audience's disbelief.
- Merge the layers at the end. The strongest frames close when past and present meet, so the final scene resolves both.
If you are building a script around a frame and want to see whether its structure holds, you can run your screenplay through Poetika for a structured read of structure, character and pacing.
Try it yourself: build a story around a set of questions
- Put a character in a present situation where they must answer questions: an exam, a trial, a border crossing.
- Write five questions that escalate in stakes, each with the life event that explains the answer.
- Decide who is listening, why they doubt the character and what would change their mind.
- End with a question the character cannot answer from memory, and decide what that says about your theme.
Next in the series
Continue our series on framing devices with Amadeus and its confession frame and Sunset Boulevard, a story told by a dead man.
FAQ
What is the framing device in Slumdog Millionaire?
The film uses a double frame. Jamal Malik is arrested for cheating one question away from winning a quiz show, and a police inspector makes him explain each answer. Every explanation becomes a flashback to a chapter of his life, so the questions on the show structure the whole story while the interrogation supplies a listener who doubts him.
Why does Slumdog Millionaire use flashbacks?
The flashbacks are evidence. Each one shows the experience that taught Jamal a particular answer, which proves to the inspector, and to the audience, that he did not cheat. Because every flashback is triggered by a quiz question, the past never feels random: the present asks, and the past answers.
How is the Slumdog Millionaire film different from the novel Q & A?
In Vikas Swarup's novel, the hero is Ram Mohammad Thomas, he tells his story to a lawyer, and the episodes of his life appear out of chronological order. Simon Beaufoy's film creates a new hero, Jamal, and his brother Salim, replaces the lawyer with a police inspector, and arranges the questions so they roughly follow Jamal's life in order.
What does "It is written" mean in Slumdog Millionaire?
It is the fourth option on the film's opening card, which asks how Jamal reached the final question. The film returns to the card at the end and reveals that option as the answer, presenting Jamal's win and his reunion with Latika as destiny. Some viewers read it as fate; others as the film's romantic framing of luck.