Hamlet — Summary & Analysis
by William Shakespeare
Plot Overview
William Shakespeare's Hamlet — full title The Tragedy of Hamlet, Prince of Denmark — is widely considered the greatest play in the English language. Written between 1599 and 1602, it opens on the battlements of Elsinore Castle in Denmark, where guards and the scholar Horatio witness the ghost of the recently deceased King Hamlet. The ghost reveals a shocking secret to Prince Hamlet: his own brother, Claudius, poured poison into his ear while he slept, murdered him to steal the throne, and then married Hamlet's mother, Queen Gertrude. The ghost commands Hamlet to avenge his murder.
What follows is Shakespeare's most searching exploration of a mind at war with itself. Hamlet is intelligent, philosophical, and acutely sensitive — qualities that make swift revenge impossible. He feigns madness to buy himself time and test the ghost's claim. When a troupe of traveling players arrives at Elsinore, Hamlet stages a play-within-a-play — The Murder of Gonzago — that mirrors his father's murder. Claudius's guilty reaction confirms everything. Yet still Hamlet hesitates, philosophizes, and delays.
The cost of that delay is catastrophic. Hamlet accidentally kills Polonius, the court adviser, thinking him to be Claudius. This destroys Ophelia, Polonius's daughter and Hamlet's love, who descends into madness and drowns. It enrages her brother Laertes, who returns from France burning for vengeance. Claudius exploits Laertes's grief, engineering a rigged duel in which Laertes's sword is poisoned. The final scene is a bloodbath: Gertrude unknowingly drinks poisoned wine, Laertes wounds Hamlet, Hamlet kills Laertes and Claudius, and then dies himself — leaving only Horatio alive to tell the tale.
Key Themes
Revenge and inaction sit at the heart of the play. Hamlet belongs to the Elizabethan tradition of the revenge tragedy, but Shakespeare upends the genre by giving us a revenger who cannot act. Every time Hamlet resolves to kill Claudius, a scruple stops him — the king is praying, or Hamlet doubts the ghost's honesty, or he is simply paralyzed by the complexity of moral calculation. His delay asks a profound question: is justice even possible in a corrupt world?
Appearance versus reality runs through every scene. Claudius performs the role of the gracious king while hiding the soul of a murderer. Hamlet puts on an antic disposition — a performance of madness — while his actual state of mind remains genuinely uncertain. Even the ghost may be a devil in disguise. Shakespeare builds a world where almost nothing can be trusted at face value.
Corruption and mortality are the play's twin obsessions. The ghost introduces the rot: Denmark's court is poisoned from the crown down. The imagery of disease, decay, and death permeates the language. The famous gravedigger scene — in which Hamlet holds the skull of Yorick, his childhood jester — forces a reckoning with mortality. The play's most quoted soliloquy, the "To be or not to be" speech, strips human experience down to a single question: is existence worth the suffering it demands?
Madness — real and performed — haunts the play. Hamlet's feigned madness is calculated theater; Ophelia's madness is devastatingly genuine, the direct result of losing her father and her lover in one stroke. Shakespeare uses their contrasting breakdowns to interrogate what sanity means in a society rotten with deception.
Major Characters
Prince Hamlet, the hero and central consciousness, is one of literature's most complex figures — brilliant, self-doubting, sardonic, tender, and capable of both great cruelty and great compassion. Claudius is a cold pragmatist who murders for power and is shrewd enough to nearly get away with it. Gertrude is more ambiguous: whether she knew of her first husband's murder remains one of the play's unresolved tensions. Ophelia, constrained by the men around her and given no agency in her own fate, is one of Shakespeare's most affecting tragic figures. Horatio is Hamlet's one true friend — loyal, rational, and the play's moral anchor. Laertes is Hamlet's foil: a man of action who moves to revenge without hesitation, with equally fatal results. And Polonius, the verbose court adviser, illustrates how willing enablers sustain corrupt systems.
Why Hamlet Still Matters
More than four centuries after it was written, Hamlet remains the benchmark against which all tragedy is measured — not because its plot is unique, but because no other work matches its depth of psychological portraiture. Hamlet's questions are our questions: How do we act when we cannot be certain we are right? What do we owe the dead? What does it mean to be alive? The play has shaped writers from Johann Wolfgang von Goethe to James Joyce, and its language — "To thine own self be true," "The lady doth protest too much," "Something is rotten in the state of Denmark" — has embedded itself permanently in the English language. You can read the full text of Hamlet free online here, alongside Shakespeare's complete works including Macbeth, Othello, and King Lear.
Frequently Asked Questions About Hamlet
What is Hamlet about?
Hamlet is a tragedy by William Shakespeare set in the royal court of Denmark. Prince Hamlet learns from his father's ghost that his uncle Claudius murdered the old king, seized the throne, and married Hamlet's mother, Queen Gertrude. Ordered to take revenge, Hamlet struggles to act — torn between his desire for justice, his philosophical doubts about the ghost's honesty, and his horror at the moral consequences of killing. The play tracks his delay, the collateral destruction it causes, and the bloody reckoning that finally arrives in Act V.
What are the main themes in Hamlet?
The central themes of Hamlet are revenge and inaction, appearance versus reality, corruption and mortality, and madness. Hamlet belongs to the revenge-tragedy genre but subverts it: the revenger is a philosopher who cannot stop questioning long enough to act. The court of Denmark is saturated with deception — Claudius plays the gracious king while hiding his crimes; Hamlet plays mad while concealing his sanity. The famous gravedigger scene and the "To be or not to be" soliloquy push the theme of mortality to its philosophical extreme. Gender and power also run through the play: both Ophelia and Gertrude are ultimately destroyed by the men who surround them.
Why does Hamlet delay his revenge?
Hamlet's delay is the central dramatic puzzle of the play, and Shakespeare offers multiple, overlapping explanations. First, Hamlet genuinely doubts whether the ghost is his father's spirit or a devil sent to manipulate him into damning himself — he stages the play-within-a-play to confirm Claudius's guilt before acting. Second, when he finds Claudius at prayer, he refuses to kill him, reasoning that a man killed mid-prayer would go to heaven rather than hell. Third, and most profoundly, Hamlet is a man whose instinct is to think rather than act. He is so attuned to moral complexity that every course of action appears compromised. This paralysis — the gap between knowledge and action — is what makes Hamlet feel psychologically modern even four centuries on.
Is Hamlet's madness real or feigned?
Hamlet himself announces his intention to "put an antic disposition on" — that is, to perform madness as a deliberate strategy. His behavior around Claudius and Polonius is erratic and riddled with dark wordplay, but he speaks lucidly and purposefully to Horatio, his trusted confidant. However, the genuine trauma Hamlet experiences — grief for his father, revulsion at his mother's remarriage, the burden of a revenge he cannot bring himself to commit — means the line between performance and psychological breakdown grows blurry as the play progresses. Most critics conclude that Hamlet's madness begins as strategy and edges toward something real, while Ophelia's madness, by contrast, is unambiguously genuine and all the more devastating for it.
What is the significance of the "To be or not to be" soliloquy?
The "To be or not to be" soliloquy, delivered by Hamlet at the opening of Act III, Scene I, is perhaps the most famous passage in all of English literature. On the surface, Hamlet is weighing whether to endure life's suffering or end it — but the speech quickly broadens into a meditation on why human beings tolerate misery at all: the uncertainty of what comes after death, the "undiscovered country" from whose "bourn no traveler returns," makes us "rather bear those ills we have than fly to others that we know not of." The soliloquy is central to the play's theme of inaction: it is doubt — about death, about conscience, about consequences — that makes "cowards of us all." You can read the speech in full context in the complete text of Hamlet on American Literature.
Who are the main characters in Hamlet?
Prince Hamlet is the hero — brilliant, melancholy, and incapable of easy action. Claudius, his uncle and the play's villain, murdered Hamlet's father to take the throne and marry Queen Gertrude. Ophelia, Hamlet's love interest, is a tragic figure whose fate is determined entirely by the men around her; she descends into genuine madness after her father's death and drowns. Horatio is Hamlet's loyal friend and the play's moral anchor, the one major character who survives. Polonius, the chief court adviser, is verbose and interfering — his eavesdropping gets him killed. Laertes, Ophelia's brother, is Hamlet's foil: a man of decisive action who rushes to revenge with equally fatal consequences. The ghost of King Hamlet sets the entire plot in motion.
What happens at the end of Hamlet?
The final scene of Hamlet is one of the most devastating in dramatic literature. Claudius arranges a duel between Hamlet and Laertes, secretly poisoning Laertes's sword tip and a cup of wine as backup. During the duel, Gertrude drinks from the poisoned cup and dies. Laertes wounds Hamlet with the poisoned sword; in the scuffle the weapons are exchanged and Hamlet wounds Laertes with it too. Laertes, dying, reveals Claudius's treachery. Hamlet finally kills Claudius — stabbing him and forcing him to drink the poison — then dies himself from the sword wound. Laertes dies as well. Only Horatio survives, tasked by the dying Hamlet with telling his story. Prince Fortinbras of Norway arrives to claim Denmark, and orders a soldier's funeral for Hamlet.
What other plays by Shakespeare can I read online?
American Literature has the full texts of many of Shakespeare's major plays available to read free online. These include the tragedies Macbeth, Othello, and King Lear; the romantic tragedy Romeo and Juliet; and comedies including A Midsummer Night's Dream, The Merchant of Venice, and The Tempest. The site also hosts Shakespeare's complete sonnets and narrative poems. Explore the full collection on the Shakespeare author page.
Return to the William Shakespeare library.