Hamlet by William Shakespeare: Summary and Themes
Hamlet (written around 1599-1601) is Shakespeare's longest play and probably his most discussed. It follows a young prince who is ordered by his father's ghost to avenge a murder, yet cannot bring himself to act. Instead, he questions life, death, loyalty and truth. This guide gives a summary, a character overview, the main themes and advice for study. For background on the author, see our introduction to Shakespeare.
Plot Summary
Act 1: The Ghost
Prince Hamlet of Denmark is mourning his father, the king, who has died suddenly. His mother, Gertrude, has quickly married the dead king's brother, Claudius, who is now king. Soldiers on the castle walls see a ghost resembling the old king. The ghost tells Hamlet that Claudius murdered him by pouring poison into his ear, and demands revenge. Hamlet promises to act and decides to pretend to be mad so that he can investigate.
Act 2: Feigned Madness
Hamlet's strange behaviour worries the court. Polonius, the king's adviser, believes Hamlet is mad with love for his daughter Ophelia. Claudius sends Hamlet's old friends Rosencrantz and Guildenstern to spy on him. A company of travelling actors arrives, and Hamlet plans to use them to test the ghost's story.
Act 3: The Play Within the Play
Hamlet delivers the famous "To be, or not to be" soliloquy, considering whether life is worth living. He rejects Ophelia harshly. He then arranges for the actors to perform The Murder of Gonzago, which resembles the ghost's account. Claudius leaves in distress, which Hamlet takes as proof of guilt. Soon after, Hamlet finds Claudius alone at prayer but does not kill him, fearing that he would go to heaven. Later, in his mother's room, Hamlet stabs Polonius, who is hiding behind a curtain, mistaking him for the king.
Act 4: Consequences
Claudius sends Hamlet to England, secretly planning his execution. Ophelia, driven mad by her father's death, drowns. Her brother Laertes returns from France demanding revenge. Hamlet escapes and returns to Denmark. Claudius and Laertes plan a fencing match with a poisoned sword and a poisoned cup.
Act 5: The Final Duel
In the graveyard, Hamlet reflects on death while holding the skull of Yorick, the former court jester. During the duel, Gertrude drinks from the poisoned cup, and both Hamlet and Laertes are wounded by the poisoned blade. Before dying, Laertes reveals Claudius's plot, and Hamlet kills Claudius. Hamlet dies in the arms of his friend Horatio, and the Norwegian prince Fortinbras arrives to take control of Denmark.
Main Characters
| Character | Role |
|---|---|
| Hamlet | Prince of Denmark, thoughtful, witty, tormented |
| Claudius | Hamlet's uncle; murderer and king |
| Gertrude | Hamlet's mother and queen |
| Ophelia | Polonius's daughter; Hamlet's love interest |
| Polonius | Lord Chamberlain; talkative, scheming |
| Laertes | Ophelia's brother; seeks revenge for his father |
| Horatio | Hamlet's loyal friend |
| The Ghost | Spirit of the dead king |
Major Themes
- Revenge and justice: Hamlet, Laertes and Fortinbras all seek revenge for a father's death, but each handles it differently. The play asks whether revenge is a moral duty.
- Action versus inaction: Hamlet's delay is the central puzzle. Critics have explained it as moral doubt, melancholy, practical difficulty or fear.
- Madness: Is Hamlet's madness an act, or does it become real? Ophelia's madness is genuine and tragic.
- Death and mortality: The graveyard scene shows that kings and beggars end the same way.
- Corruption and decay: Images of disease and rot suggest that Denmark is corrupted by Claudius's crime.
- Appearance and reality: Characters spy, disguise and perform. Even Hamlet's "antic disposition" is a mask.
Important Motifs and Symbols
- The ear and poison: hearing and rumour spread corruption.
- Theatre and acting: the play within the play highlights how truth can be revealed through performance.
- Yorick's skull: a symbol of mortality.
- The garden: a picture of a fallen world.
Famous Soliloquies
A soliloquy is a speech in which a character speaks his thoughts aloud, alone on stage. Hamlet's main soliloquies include "O, that this too too solid flesh would melt" (Act 1), "O, what a rogue and peasant slave am I" (Act 2) and "To be, or not to be" (Act 3). Each shows a mind at work, so you can analyse his changing mood and the use of rhetorical questions, metaphor and antithesis. See literary devices for the terms.
Tips for Writing About Hamlet
- Choose a clear argument, such as "Hamlet's delay reveals the conflict between moral conscience and the demand for revenge."
- Support points with brief quotations and comment on word choice and imagery.
- Compare Hamlet with Laertes and Fortinbras to show different responses to loss.
- Discuss different interpretations: religious, psychological, political.
- Follow the structure in our literary analysis essay guide.
Compare with the ambitious hero in Macbeth and the jealous hero in Othello.