Anagnorisis (//; Ancient Greek: ἀναγνώρισις) is a moment in a play or other work when a character makes a critical discovery. Anagnorisis originally meant recognition in its Greek context, not only of a person but also of what that person stood for. Anagnorisis was the hero's sudden awareness of a real situation, the realisation of things as they stood, and finally, the hero's insight into a relationship with an often antagonistic character in Aristotelian tragedy.
In his Poetics, as part of his discussion of peripeteia, Aristotle defined anagnorisis as "a change from ignorance to knowledge, producing love or hate between the persons destined by the poet for good or bad fortune" (1452a).
In the Aristotelian definition of tragedy, it was the discovery of one's own identity or true character (e.g. Cordelia, Edgar, Edmund, etc. in Shakespeare's King Lear) or of someone else's identity or true nature (e.g. Lear's children, Gloucester's children) by the tragic hero.
Aristotle was the first writer to discuss the uses of anagnorisis, with peripeteia caused by it. He considered it the mark of a superior tragedy, as when Oedipus killed his father and married his mother in ignorance, and later learned the truth, or when Iphigeneia in Tauris realizes in time that the strangers she is to sacrifice are her brother and his friend, and refrains from sacrificing them. Aristotle considered these complex plots superior to simple plots without anagnorisis or peripeteia, such as when Medea resolves to kill her children, knowing they are her children, and does so.
Another prominent example of anagnorisis in tragedy is in Aeschylus's "The Choephoroi" ("Libation Bearers") when Electra recognizes her brother, Orestes, after he has returned to Argos from his exile, at the grave of their father, Agamemnon, who had been murdered at the hands of Clytemnestra, their mother. Electra convinces herself that Orestes is her brother with three pieces of evidence: a lock of Orestes's hair on the grave, his footprints next to the grave, and a piece of weaving which she embroidered herself. The footprints and the hair are identical to her own. Electra's awareness is of her brother's presence, who is the one person who can help her by avenging the death of their father.
The section of Aristotle's Poetics dealing with comedy did not survive, but many critics also discuss recognition in comedies. A standard plot of the New Comedy was the final revelation, by birth tokens, that the heroine was of respectable birth and so suitable for the hero to marry. This was often brought about by the machinations of the tricky slave. This plot appears in Shakespeare's The Winter's Tale, where a recognition scene in the final act reveals that Perdita is a king's daughter rather than a shepherdess, and so suitable for her prince lover.
The earliest use of anagnorisis in a murder mystery was in "The Three Apples", a classical Arabian Nights tale, where the device is employed to great effect in its twist ending. The protagonist of the story, Ja'far ibn Yahya, is ordered by Harun al-Rashid to find the culprit behind a murder mystery within three days or else be executed. It is only after the deadline has passed, and as he prepares to be executed, that he discovers that the culprit was his own slave all along.
Anagnorisis, however, is not limited to classical or Elizabethan sources. Author and lecturer Ivan Pintor Iranzo points out that contemporary auteur M. Night Shyamalan uses similar revelations in The Sixth Sense, in which child psychologist Malcolm Crowe successfully treats a child who is having visions of dead people, only to realize at the close of the film that Crowe himself is dead, as well as in Unbreakable, in which the character of David realizes that he survived a train crash that killed the other passengers, due to a supernatural power. Another well known example of anagnorisis from popular culture is the revelation that Darth Vader is the father of Luke Skywalker in The Empire Strikes Back. An extensive account of the history and application of anagnorisis is provided by Terence Cave in his book Recognitions. 
A humorous definition is included in 'The Banner: mock-heroic verse epic, Part 1: Sid' by Robin Gordon:
In any moment of such crisis / one thinks, of course, of those devices / which Aristotle said were needed / in any poem. We have heeded / Aristotle, and our plot, / (beginning, middle, end), has got / complications too, and error / fit to rouse cathartic terror, / protagonists, antagonists, / peripiteia, turns and twists. / The poet's comments form the choruses, / but now it's time for anagnorisis. / When Oedipus sees the bird he's bedded / is his own father's lawful wedded / wife, in fact she is his mother, / or Iphigenia finds her brother, / Discovery or Recognition / brings the plot to its fruition.
- Northrop Frye, "Myth, Fiction, And Displacement" p 25 Fables of Identity: Studies in Poetic Mythology, ISBN 0-15-629730-2
- Aeschylus, and Robert Lowell. The Oresteia of Aeschylus. New York: Farrar, Straus, Giroux, 1978.
- Northrop Frye, "Recognition in The Winter's Tale" p 108-9 Fables of Identity: Studies in Poetic Mythology, ISBN 0-15-629730-2
- Pinault, David (1992), Story-Telling Techniques in the Arabian Nights, Brill Publishers, pp. 95–6, ISBN 90-04-09530-6
- Marzolph, Ulrich (2006), The Arabian Nights Reader, Wayne State University Press, pp. 241–2, ISBN 0-8143-3259-5
- Ivan Pintor Iranzo. The naked and the dead. The Representation of the dead and the construction of the other in contemporary cinema: The case of M. Night Shyamalan, No. 4, 2005
- Recognitions: A Study in Poetics. Oxford: Clarendon Press, 1988.