Hidden Figures: screenplay analysis
Three Black women mathematicians at NASA's Langley centre in the segregated South fight for recognition while the agency races to put John Glenn into orbit.
Written by Theodore Melfi, Margot Lee Shetterly & Allison Schroeder · Directed by Theodore Melfi · 2016 · Biographical drama
What the script is doing
Adapted from Margot Lee Shetterly's book, the screenplay braids three careers into one story by giving each woman a distinct obstacle. Katherine Goble must prove herself in an all-white, all-male engineering group; Dorothy Vaughan does a supervisor's work without the title and sees an IBM computer threatening her team; Mary Jackson needs a court's permission to take classes required to become an engineer. The space race provides the clock, and segregation provides the walls.
The script is unashamedly crowd-pleasing, and its craft is in the payoffs. Each storyline is built from small humiliations, a separate coffee pot, a long walk to a coloured bathroom, a locked library section, that the audience is waiting to see overturned. By pinning those moments to concrete objects and places, the screenplay makes systemic racism visible scene by scene, and makes each victory physical rather than abstract.
Structure
Setup
In 1961 at Langley, Katherine is assigned to the Space Task Group under Al Harrison; Dorothy runs the West Area Computers without promotion; Mary is encouraged to apply for the engineering programme.
Obstacles
Katherine is shut out of briefings and must run half a mile to the coloured bathroom; Mary is blocked by a requirement for classes at a segregated school; Dorothy sees the new IBM as a threat to her team's jobs.
Breakthroughs
Harrison discovers why Katherine keeps vanishing and tears down the bathroom sign; Mary wins her case in court; Dorothy teaches herself and her staff to program the IBM.
Launch
As Glenn's flight approaches, the computer's figures are in doubt and Glenn asks for Katherine to check them; she confirms the numbers and the mission succeeds.
Characters
- Katherine wants to do the maths that matters; she needs to demand a seat in the room, and her outburst about the bathroom is her turning point.
- Dorothy wants the title she has earned; she secures her team's future by mastering the machine meant to replace them.
- Mary wants to be an engineer; her courtroom plea to a judge's sense of history is the film's most direct argument.
Key scenes
The bathroom run
repeated across the film, it builds pressure until Katherine finally explains it, showing how a running visual can escalate into a confrontation.
The coffee pot
a small label on a separate pot marks exclusion in the office, showing how one prop can carry a whole system of humiliation without a line of dialogue.
The courtroom
Mary persuades a judge by appealing to his own pride in being first, a lesson in writing persuasion to a specific listener.
Check the numbers
Glenn trusts a person over a machine, letting the climax turn on Katherine's work rather than on spectacle.
What writers can learn
- Give each lead in a three-strand story a different kind of obstacle so their arcs do not blur.
- Turn systemic injustice into specific objects and places the audience can watch change.
- Write persuasion aimed at one listener's values, not a general speech to the audience.
- Use a public deadline, like a launch, to synchronise separate storylines into one climax.
Read the screenplay
We haven't found a copy of the Hidden Figures 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.
Hidden Figures (2016) was written by Theodore Melfi, Margot Lee Shetterly & Allison Schroeder and directed by Theodore Melfi.
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













