Deus ex machina

Deus ex machina, Latin for "god from the machine", is a sudden and unexpected person, event or power that resolves an apparently impossible problem in a way that feels contrived.

17 October 2026 · 3 min read

Deus ex machina, Latin for "god from the machine", is a sudden and unexpected person, event or power that resolves an apparently impossible problem in a way that feels contrived.

Where the term comes from

Britannica explains that the phrase began in ancient Greek and Roman drama, where it meant the timely appearance of a god who untangles the plot. The name comes from the staging: the god appeared in the sky by means of a crane, in Greek a mēchanē. Britannica dates the device to the fifth century BC and notes that a god appears in Sophocles' Philoctetes and in most of the plays of Euripides to settle a crisis. Merriam-Webster records the broader modern sense of a person or thing that appears suddenly to supply a contrived solution. Today the cavalry, the lost twin and the convenient storm all count.

An example

Imogen Prill has spent a whole novel trapped in a lighthouse by a smuggler named Dace. In the final chapter, as he raises the axe, a stranger we have never met walks in, announces that she is a magistrate, and arrests him. The tension collapses. Compare a version in which Imogen, in chapter three, learns the tide bell rings the harbor watch, and rings it herself on page 300. The rescue arrives either way, but in the second version it comes from something the reader has already been given.

Common mistakes

  • Solving the climax with a new character, power or rule that the book never mentioned.
  • Rescuing the protagonist so that they make no choice. Readers want the hero's decision to matter.
  • Overcorrecting by deleting every coincidence. Coincidence that creates trouble is easier to forgive than coincidence that removes it.
  • Hiding the gap with a character who explains, in a hurry, how the solution was always possible.

How to check your manuscript

Find the moment your protagonist is at their lowest, then trace what resolves it. Ask three questions. Was the tool, ally or fact established earlier? Did the protagonist's own choice or skill turn it into a solution? Could a reader, rereading, point to the clue? If the answer to the first is no, plant it earlier, which is the practice of foreshadowing. If the answer to the second is no, move the key action to the hero. The revision guide suggests reading with one question per pass, and this is a good question to pick.

In Musael, continuity checks can show where a fact is first taught to the reader, so you can see whether your rescue was set up or whether it appears out of nowhere.

← Glossary