Using a deus ex machina to resolve conflict in fiction usually elicits a few groans. Readers and audiences see it as “cheating” – breaking the logic of the story to provide a resolution that is ultimately unsatisfying. While admittedly many deus ex machina moments feel like dirty tricks, not all do. Some are clever and logical enough that they provide acceptable and even great narrative twists. Love them or hate them, deus ex machina in science fiction and fantasy are often unforgettable. Here are ten that have left deep footprints (or wounds, depending on who you ask) in the genres.
Note–these are not the ten “best” or the ten “worst” deus ex machinas (so they are not presented in any significant order); it’s a commentary on ten deus ex machinas that have resulted in significant discussions in the genre of speculative fiction.
Spoiler alert for all titles discussed below!
1. The Eagles in The Hobbit and The Lord of the Rings
You can’t have a list of deus ex machina without mentioning Tolkien’s giant eagles. Many newbie Tolkien readers and veterans fan alike find the appearance of the eagles at the most dire of times to save Frodo, Sam, Gandalf, Bilbo and the dwarves a little too convenient. It may be true that the eagles’ perfectly timed rescues are hard to swallow, but I’d argue that they’re passable because their presence as a deus ex machina doesn’t steal the show nor is it Tolkien’s intention that they should. The eagles are narrative tools, not the laurels on which the books’ ending or major character/thematic resolutions rest. They don’t necessarily ‘end the conflict’ so much as shepherd the characters away from final doom once the conflict has been dealt with by the characters. A harmless and endearing deus ex machina, in my book.
2. Flying back in Time in Superman: The Movie 
Ask my father, who was an avid reader of the Superman comics as a kid, what he thinks about Superman: The Movie and you will get an earful about Superman’s flying around the Earth time travel trick being just too much. Though I’m not an expert on Superman, I’d have to agree that this example falls under the realm of the bad deus ex machina. Maybe it works now in that nostalgic kind of way, but there is something that’s too ridiculous about the whole scene (I think it’s the ‘rewind shots’ of everything we just witnessed that gets me).
3. The Divine Plan in Battlestar Galactica
When the deus ex machina is actually a god, things get a little dicey. Fans of Battlestar Galactica watched four seasons of episodes in which character development seemed the primary method by which the plot moved ahead. When it was revealed these people who seemed to have free will were God’s pawns all along, it cheapened the show for many. Sure, it offered a way for the show to end and send all the characters on their little divinely planned futures, but it completely reversed the direction of the show all within one final dizzying episode. I like to imagine it never happened.
4. Priori Incantatem in The Goblet of Fire
The first time we witness priori incantatem in the world of Harry Potter is when Harry duels Voldemort following Cedric Diggory’s death. Logically, Voldemort, with his superior wand skills, should easily defeat Harry, but the strange magical phenomenon of priori incantatem–that we’ve never heard of before–gives Harry the chance to escape unharmed. In The Goblet of Fire, this device is clearly a deus ex machina, especially as we see Dumbledore has to explain what priori incantatem is after the fact to an equally confused Harry and readership. But much like Tolkien’s eagles, this plot twist doesn’t offend me in any way. Rowling can get away it because the real narrative thrust is in the character development and thematic work at play (and she gets points for setting up the mystery of what it means for Harry and Voldemort to share wand cores much earlier on in the series).
5. The Claw from Toy Story 3
This is an example of a supremely satisfying deus ex machina and also a very consciously written one. Literally befitting of deus ex machina’s translation as ‘god out of the machine’ since the claw is worshipped by the aliens (and the claw-god is a machine), the claw/crane become the divine hand of salvation for the toys about to die in a fiery hell. It satisfies rather than elicits groans from audience members because there is just enough set-up in the previous movies to keep it from appearing random, meaningless, or inconsistent. It also works well because it’s in keeping with the playful tone of the films.
6. Bacteria in The War of the Worlds
When I read War of the Worlds I was pretty impressed by the tripods. I felt the Martians deserved to win after all their success. That would have been an acceptable ending to me: in this particular war of the worlds we lost. Shit went down. We got our assess handed to us. Better luck next time. But then, at the moment in which the narrator is in the depths of despair, he suddenly finds out that the invaders all died from bacteria because…they had no immunity? It comes out of nowhere, and it actually disappointed me. Can’t we give the Martians their due without resorting to a scientific curveball to save the clearly inferior human race? Of course, historically this may have been more satisfying to Wells’s audiences as a real cutting edge narrative twist, but it hasn’t aged well (and Spielberg should have ditched it).
7. Jacob’s Imprinting in Breaking Dawn
How do you solve the problem of a love triangle without killing anyone or going in the direction of a menage a trois? Stephanie Meyer found the answer: have the odd man out fall in love with the infant child of the other two characters. That way he can stick around and be part of the family, albeit in a creepy, cradle-robbing way. Jacob’s instant attachment to Edward and Bella’s baby acts doubly as a deus ex machina in that it ends the feud between the Cullens and the werewolves. It is also the most bizarre and laughable example on this list (and this list includes a man turning back time by flying around the earth at super speeds to make it spin backwards).
8. The Supercomputer in The Matrix Revolutions
Yes, the supercomputer’s name is Deus Ex Machina. And yes, it is a deus ex machina, both in how it is the god of an army of machines and how it narratively solves all Neo’s problems when he asks it to. Nevermind that this machine was never introduced earlier in the movies. Nevermind that it’s painfully clunky as a bit of meta storytelling. It’s a deus ex machina, god damn it, and Wachowskis want you to know that. Whatever…I think I understand the many convoluted twists and turns of Pirates of the Caribbean 3 better than I understand the narrative logic of this movie.
9. Water in Signs
It’s kind of hard to fault M. Night Shyamalan for falling back on a deus ex machina when that’s what people demanded from him based on his reputation. Granted, a “twist” is not the same as a deus ex machina, but the lines are definitely blurred in Signs. The problem with this instance of the trope was that everything boiled down to it in the end. There was set-up here and there about the significance of water, so that in retrospect the whole film seemed to be pointing toward water as the weakness of the aliens. That made anything else remotely significant in the film seem irrelevant or ancillary. Sorry character development and metaphor – you don’t matter. Water is much more interesting.
10. The Nuclear Bomb in The Stand
A nuclear explosion lit by an inexplicable bit of blue electricity someone refers to as the hand of God. Can’t get much more deus ex machina. I’ve seen some people argue against this notion, insofar as the book is about the struggle of good vs. evil and whatnot, but there’s no doubt that it comes ‘out of the blue.’ I’m not sure where I stand on this one, but the Stand bomb has certainly left readers (and television viewers) with plenty to discuss in the years since its release.
What other unforgettable deus ex machina am I missing? Do you agree or disagree with some of my verdicts?


The thing I took away from War of the Worlds is that it’s not humanity who defeated the Martians in the end. Meaning that if they ever try again (and why wouldn’t they?) we’re pretty much screwed. It’s a very hollow victory.
Of course, this is rendered null and void if you’re reading the League of Extraordinary Gentlemen version.
Oh, the devastating beauty of that LOEG moment! A fantastic way to twist the original story into something horrific.
Great list with one major flaw. Any list that is numbered should be in REVERSE order. This BUILDS suspense and drama. #petpeeve
From the introduction to the article:
“Note–these are not the ten “best” or the ten “worst” deus ex machinas (so they are not presented in any significant order) ”
#readingcomprehensionfail
Then it’s a bullet list. Stop using numbers when bullets will do. Why use numbers when they are meaningless. On a side note: making a list and not putting it any order is weak sauce.
I guess it’s time for a comment. My rationale is: I wouldn’t put it in order because I think this is a topic that’s somewhat unique. Some of the deus ex machinas are ‘unforgettable’ for being well done and some are ‘unforgettable’ on the bad side of the trope. I suppose I could have made two list posts with good ones and bad ones but I didn’t think it would be a huge deal to put them together in no particular order. But apparently some people care a great deal, so instead of prolonging an unnecessary Internet debate I will apologize to the Internet gods for not using bullets or not ordering them in a meaningful way. I was wrong. So very very wrong.
You are forgiven. I still love the list.
Pingback: SF Tidbits for 4/25/12 - SF Signal – A Speculative Fiction Blog
Perhaps one of the most egregious Deus ex Machina is the ending to Peter Hamilton’s
‘The Night’s Dawn Trilogy’ in the Naked God, pretty much ruined the whole theme of the book for me
“Imperial Battleship – stop the flow of time!”
Thanks for all the ideas/responses everyone! I hadn’t heard of your example before David–it is from “Starcrash?” I’ve never seen that. Interesting look for Christopher Plummer…
Pingback: Around the Common Room: April 27, 2012
Have to disagree on the Lord of the Rings one.
If eagles could fly to the top of Mount Doom, doesn’t it make the majority of the trilogy pointless? Just send an army of eagles to drop the ring in, fit the whole trilogy into 3 hours or less.
I think it would have made more sense for them to be rescued by the victorious army.
The ending of the Matrix is not deus ex Machina at all…
The reason the super computer negotiates with Neo is because he is speaking on behalf of the people to end the war and because he can hook up to the matrix, get the smith virus into himself (as he does as soon as he fights him and the rest of the smiths) which can then be deleted by the super computer thus saving the day.
That the computer is called Deus Ex Machina is completely ironic. Neo is the version of God (Jesus, the One) in the matrix and the computer needs him to save the day. Neo is the “ghost in the machine”…
well if Deus ex Machina isn’t one, then the way Neo defeats Smith is. Smith corrupts Neo. Smith/Neo explodes… Ok then.
Thanks foг some οther eхсellent post.
The place else could anyboԁy get that type of info іn ѕuch a perfeсt
approach of wгiting? I have а presentatіon subsequent week, anԁ I’m at the search for such info.
Great List.
Toy Story 3 gets extra credit for the inside joke about the translation of Deus Ex Machina being used literally.
I was just wondering if Superman should be given a similar credit, since during the movie Lois calls him a god.
Maybe it was also intentional.
The absolute worst Deus Ex Machina ever is the character who shows up at the very end of Stephen King’s Dark Tower series who, (***SPOILER ALERT***) when he draws anything on a notepad and then erases it, the object he drew is also erased from reality. He then uses this ability to literally erase the villain.