It Was Just an Accident: screenplay analysis
A mechanic hears the squeak of a prosthetic leg and believes the customer is the man who tortured him in prison; he kidnaps him, then cannot be sure, and goes looking for other victims to confirm it.
Written by Jafar Panahi · Directed by Jafar Panahi · 2025 · Drama, dark comedy, thriller
What the script is doing
It Was Just an Accident turns a revenge thriller into a moral road movie. Vahid recognises his torturer only by sound, since prisoners were blindfolded, so the script's engine is doubt. He has a man in his van and a grave half dug, and he needs certainty before he can act. Each new passenger he gathers, a photographer, a bride, a groom and an angry former inmate, adds a different memory of the same man and a different answer to what should be done with him.
Panahi keeps the film comic for long stretches, which sharpens rather than softens it. A wedding party in a van with a captive in the back is absurd, and the absurdity shows how ordinary lives keep running alongside unhealed state violence. The plot's turn, when the captive's pregnant wife needs a hospital, forces the victims to care for their abuser's family before they decide his fate.
Structure
Recognition
A man hits a dog and brings his car to a garage. Vahid hears his prosthetic leg, follows him, kidnaps him and drives toward the desert to bury him.
Doubt
The man denies everything. Vahid seeks confirmation from former prisoners: Shiva, who is photographing Goli and Ali's wedding, and later Hamid, who is sure and wants him dead.
Detour
A call to the captive's phone reveals his pregnant wife has collapsed. The group takes her to hospital, where she gives birth, and the coalition splinters.
Confession
Vahid and Shiva tie the man to a tree, describe what was done to them and force an apology. They let him go. Later, at Vahid's home, the squeak of a prosthetic leg is heard nearby.
Characters
- Vahid wants justice for what was done to him; he needs certainty before he can act, and the story asks whether certainty, or only a confession, can ever be enough.
- Shiva wants acknowledgement more than revenge. She is the one who insists on an apology, and her demand shapes the ending.
- Hamid wants immediate violence. He represents the path the film considers and refuses.
Key scenes
The squeak in the garage
identification by sound alone establishes both the premise and the doubt that will drive every scene after.
The wedding shoot
a bride in her dress drawn into an interrogation, showing how tonal collision can carry political meaning.
The hospital birth
the victims save the captive's family, a reversal that complicates the revenge plot without stopping it.
The tree at night
a long confrontation where testimony, not violence, is the climax.
What writers can learn
- Base recognition on a single sense, and you build doubt into the premise.
- Gather a group of victims who remember the same person differently; disagreement becomes plot.
- Interrupt a revenge mission with an obligation to the target's family to force a moral choice.
- Close on an ambiguous sound that reopens the threat the characters thought they had settled.
Read the screenplay
The full It Was Just an Accident screenplay was published with the rights holder's permission in Deadline's script series: read it there.
Questions
Its rights holder published it in Deadline's script series: read the It Was Just an Accident screenplay.
It Was Just an Accident (2025) was written by Jafar Panahi and directed by Jafar Panahi.
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













