Screenwriting Blog | Final Draft®

Plot Device Cheat Sheet: How to Use Deus ex Machina

Written by Karl Williams | May 25, 2023

Every writer knows the meaning of the word "unmotivated." Some days, it's just an uphill slog to find the energy to even approach the keyboard, much less get actual words on a page.

But there’s another sense of the word "unmotivated" that’s more specific to plot lines. When a story or character suddenly manifests an important element that wasn’t previously set up — when some aspect of the plot that could not have been foreseen by the audience suddenly shows up out of thin air to save the day — this unmotivated, unestablished point is called a Deus ex Machina, a Latin phrase that means “god from the machine."

Origins

In classical narratives, the pantheon of Greco-Roman gods would frequently play a role in the proceedings, intervening (often climactically) in the lives of the protagonists to twist the story in a direction that better suited them. 

  • In Euripides' Medea (important side note: not in Tyler Perry's equally important Madea), the sun god Helios sends a chariot to rescue the title character in the end, allowing her to get away with basically being a serial killer (the gods in ancient stories are pretty suss). 
  • In Homer's epic poem The Iliad, handsome lad Paris is taking a richly deserved and thorough shellacking at the hands of Menelaus when the goddess Aphrodite whisks Paris off the battlefield and back to his bedroom because, as far as I can tell, he's wicked HAWT.

When staging these stories for the theater, the actors playing the gods would appear for their final-act, plot-twist meddling thanks to a some mechanical device like a trap door or dangling from a crane (fun!). Hence, "god from the machine."

Sometimes the audience would be in on the fact that the gods are monitoring events and sometimes not, but to the characters in the story, the gods' sudden favoritism was a magical surprise. Creating the sense that a "deus ex machina" moment comes out of left field.

Read More: Final Draft Digs Into Plot Devices: What is Chekhov's Gun?

The Deus Today: Not So Much

Fiction and cinema are replete with examples of the deus ex machina at work, so much so that it’s become a common trope. The most cliched version of the trope as it applies to films and TV: the characters in a Western, under siege by antagonistic forces, are suddenly rescued by the cavalry — the existence of which was never previously mentioned, depicted or even hinted at. Blowing a bugle, waving flags, mounted soldiers literally and figuratively show up out of nowhere, unmotivated by previous events. Their appearance couldn’t have been foreseen by the audience. 

In general, this sort of usage has led to the deus ex machina being seen as a negative, a big-time writer's no-no. It's now regarded as a lazy plot device that writers use to get themselves out of jams when they haven't properly bothered to set it up earlier OR they can't figure out how to solve a story problem so they just throw some magical zhuzzing at it.

Audiences tend to react to a deus ex machina with annoyance: they've invested in this story and want that pleasurable sense of having solved this narrative puzzle in the end — an out-of-nowhere solution feels like a betrayal. They've been forced to work at playing a game they never had any chance of winning.

What a writer is usually going for when they drop a deux ex machina moment into a script is a twist that's a delightful surprise. The difference between that sort of satisfying "Aha! Moment" that makes total sense in retrospect, and the back-stab that is a deux ex machina, can be summed up in one word: Breadcrumbing.

Season Your Script with Breadcrumbs

When a writer sets up a revelation or twist in their story with hints or clues that occur before the big reveal, it's like the fairy tale notion from Hansel & Gretel of "leaving a trail of breadcrumbs," and has become known as "breadcrumbing."

Breadcrumbs make a galaxy of difference to the audience when they realize "I didn't see that coming — BUT I COULD HAVE!" Because whatever this startling plot twist was, it was actually set up in previous scenes and sequences. It makes sense, it may have been a shock, but it's logically sound according to what has been shown previously (and hopefully, sticks to whatever the rules are of the narrative world the writer has created).

Some of the biggest twists in movie history are actually well hinted at earlier in the narrative. A bonus when this is the case: viewers often want to go back and rewatch these stories now that they know, to track how the narrative set it all up. Doubling your ticket sales. BOO-YAH! (Yeah, I know nobody says that anymore.)

Read More: What is a Spec Script and Why You Should Have One

Breadcrumbs: So Delicious

SPOILER ALERT. Oh yeah, I'm about to go a-spoiling. If you somehow plan to see these and still haven't, turn back. You've been warned.

Audiences were left gasping in the aisles by "Oh, no they didn't!" revelations like these:

  • In the blockbuster smash The Sixth Sense, Philadelphia psychologist Dr. Malcolm Crowe survives an attack by a disturbed patient, but afterwards his marriage with his wife Anna seems to cool and begins falling apart. Meanwhile, the doctor counsels a boy, Cole Sear, who claims to have the ability to "see dead people." Of course, Cole's mother and Dr. Crowe think Cole is mentally disturbed, but in the mind-blowing twist ending, it's revealed that Cole can see dead people — and Dr. Crowe is one of them. He didn't survive the attack by his patient, and his inability to communicate with Anna is due to the fact that he's … a ghost. Upon repeat viewings, it's clear that the film has an abundance of clues to the truth, obscured just enough that most viewers didn't puzzle it out — but also solid enough that in retrospect, the twist makes perfect sense.

  • It wasn't a blockbuster smash at the time, but Fight Club has become a cult classic with its story of a nebbishy corporate drone, Jack, whose life is changed for the better (although also quite possibly also for the worse) when he befriends ultra-confident soap salesman Tyler Durden, who forms a secret, underground "fight club" in which men gather to beat each other to a pulp and regain their manhood, somehow? But the group soon becomes an anti-corporate terrorist cell plotting to destroy the financial system. A series of breadcrumbs (some re-seen in flashbacks in Act III, and including some creative editing) have hinted all along what is revealed in the end: Jack is Tyler Durden, who only exists in Jack's head. I am Jack's sense of complete shock! But … upon rewatching, it almost seems like that there are too MANY breadcrumbs hinting at the truth.

Come to think of it, Se7en, another Brad Pitt hit, deployed similar breadcrumbing and a big twist. Pro-tip: if you're writing something for Mr. Pitt, he appears to enjoy breadcrumbs. 

Just remember when you're contemplating that sharp turn or shocking moment of truth in your script: audiences love them, if you've earned them. It's a fine line between the collective, eye-rolling groan of a deus ex machina, and the deeply satisfying HECK YEAH! of a sturdily pre-constructed plot twist. And that line is made of breadcrumbs.

Enjoy the process!