Hamlet is a long play – at just over 30,000 words, the longest Shakespeare wrote – so condensing the plot of this play into a shortish plot summary is going to prove tricky. Still, we’ll do our best. Here, then, is a very brief summary of the plot of Hamlet, perhaps Shakespeare’s greatest tragedy.
The play begins on the battlements at Elsinore Castle in Denmark one night. The ghost of the former king, Hamlet, is seen, but refuses to speak to any of the soldiers on guard duty. At the royal court, Prince Hamlet (the dead king’s son) shows disgust at his uncle, Claudius, who is king, having taken the throne after Hamlet’s father, Claudius’ brother, died. Hamlet also resents his mother, Gertrude – who, not long after Hamlet Senior’s death, remarried … to Claudius. Claudius gives the young man Laertes, the son of the influential courtier Polonius, leave to return to France to study there. At the same time, Claudius and Gertrude entreat Hamlet not to return to his studies in Germany, at the University of Wittenberg. Hamlet agrees to remain at court.
Laertes leaves Denmark for France, bidding his sister Ophelia farewell. He tells her not to take Hamlet’s expressions of affection too seriously, because – even if Hamlet is keen on her – he is not free to marry whom he wishes, being a prince. Polonius turns up and gives his son some advice before Laertes leaves; Polonius then reiterates Laertes’ advice to Ophelia about Hamlet, commanding his daughter to stay away from Hamlet.
Hamlet’s friend Horatio tells Hamlet about the Ghost, and Hamlet visits the battlements with his friend. The Ghost reappears – and this time, he speaks to Hamlet in private, telling him that he is the prince’s dead father and that he was murdered (with poison in the ear, while he lay asleep in his orchard) by none other than Claudius, his own brother. He tells his son to avenge his murder by killing Claudius, the man who murdered the king and seized his throne for himself. However, he tells Hamlet not to kill Gertrude but to ‘leave her to heaven’ (i.e. God’s judgment). Hamlet swears Horatio and the guards to secrecy about the Ghost.
Hamlet has vowed to avenge his father’s murder, but he has doubts over the truth of what he’s seen. Was the ghost really his father? Might it not have been some demon, sent to trick him into committing murder? Claudius may disgust Hamlet already, but murdering his uncle just because he married Hamlet’s mum seems a little extreme. But if Claudius did murder Hamlet’s father, then Hamlet will gladly avenge him. But how can Hamlet ascertain whether the Ghost really was his father, and that the murder story is true? To buy himself some time, Hamlet tells Horatio that he has decided to ‘put an antic disposition on’: i.e., to pretend to be mad, so Claudius won’t question his scheming behaviour because he’ll simply believe the prince is just being eccentric in general.
Polonius sends Reynaldo off to spy on his son, Laertes, in France. His daughter Ophelia approaches him, distressed, to report Hamlet’s strange behaviour in her presence. Polonius is certain that Hamlet’s odd behaviour springs from his love for Ophelia, so he rushes off to tell the King and Queen, Claudius and Gertrude, about it.
Claudius and Gertrude welcome Hamlet’s childhood friends, Rosencrantz and Guildenstern, to court and charge them with talking to Hamlet to try to find out what’s the matter with him. Polonius arrives and tells the King and Queen that Hamlet is mad with love for Ophelia, and produces a love letter Hamlet wrote to her as proof. As Hamlet approaches, Polonius hatches a plan: he will talk to Hamlet while the King and Queen listen in secret from behind an arras (tapestry). Sure enough, Hamlet talks in riddles to Polonius, who then leaves, convinced he is right about the cause of Hamlet’s madness. Hamlet talks to Rosencrantz and Guildenstern, who tell him that the actors are on their way to court. Hamlet is suspicious that his friends were sent for by Claudius and Gertrude to spy on him (as indeed they were); he confides to his old friends that he is not necessarily really mad; he implies he’s putting it on and still has his wits about him. The actors arrive, and Polonius returns, prompting Hamlet to start answering him with cryptic responses again, to keep up the act of being mad.
To determine Claudius’ guilt, Hamlet turns detective and devises a plan to try to get Claudius to reveal his crime, inadvertently. Hamlet persuades the actors to perform a play, The Murder of Gonzago, including some specially inserted lines he has written – in which a brother murders the king and marries the king’s widow. Hamlet’s thinking is that, when Claudius witnesses his own crime enacted before him on the stage, he will be so shocked and overcome with guilt that his reaction will reveal that he’s the king’s murderer.
Claudius and Gertrude ask Rosencrantz and Guildenstern what they made of Hamlet’s behaviour, and then the King and Queen, along with Polonius, hide so they can observe Hamlet talking with Ophelia. At one point, in an aside, Claudius talks of his ‘conscience’, providing the audience with the clearest sign that he is indeed guilty of murdering Old Hamlet. This is significant because one of the main reasons Hamlet is being cautious about exacting revenge is that he’s having doubts about whether the Ghost was really his father or not (and therefore whether it spoke truth to him). But we, the audience, know that Claudius almost certainly is guilty.
After he has meditated aloud about the afterlife, suicide, and the ways in which thinking deeply about things can make one less prompt to act (the famous ‘To be or not to be’ soliloquy), Hamlet speaks with Ophelia. He tells her he never loved her, and orders her to go to a nunnery because women do nothing but breed men who are sinners. Ophelia is convinced Hamlet is mad for love, but Claudius believes something else is driving Hamlet’s behaviour, and resolves to send Hamlet to England, ostensibly on a diplomatic mission to get the tribute (payment) England owes Denmark.
Sure enough, Claudius responds to the performance of The Murder of Gonzago (or, as Hamlet calls this play-within-a-play, The Mousetrap) by exclaiming and then walking out, and in doing so he convinces Hamlet that he is indeed guilty and the Ghost is right. Now Hamlet can proceed with his plan to murder him. However, after the play, he catches Claudius at prayer, and doesn’t want to murder him as he prays because, if Claudius killed while speaking to God, he will be sent straight to heaven, regardless of his sins.
So instead, Hamlet visits Gertrude, his mother, in her chamber, and denounces her for marrying Claudius so soon after Old Hamlet’s death. The Ghost appears (visible only to Hamlet: Gertrude believes her son to be mad and that the Ghost is ‘the very coinage of [his] brain’), and spurs Hamlet on. Hearing a sound behind the arras or tapestry, Hamlet lashes out with his sword, stabbing the figure behind, believing it to be Claudius. Unbeknownst to Hamlet, it is Polonius, having concealed himself there to spy on the prince. Polonius dies.
Claudius asks Hamlet where Polonius is, and Hamlet jokes about where he’s hid the body. Claudius dispatches Hamlet to England – ostensibly on a diplomatic mission, but in reality the King has arranged to have Hamlet murdered when he arrives in England. However, Hamlet realises this, escapes, has Rosencrantz and Guildenstern killed, and returns to Denmark. Laertes returns from France, thinking Claudius was responsible for Polonius’ death. Claudius puts him right, and arranges for Laertes to fight Hamlet using a poisoned sword, with a chalice full of poisoned wine prepared for Hamlet should the sword fail.
As they are plotting, Gertrude comes in with the news that Polonius’ death has precipitated Ophelia’s slide into madness and, now, her suicide: Ophelia has drowned herself.
Laertes and Hamlet fight in Ophelia’s open grave, and then Hamlet challenges Laertes to a duel at court. Unbeknown to Hamlet, and as agreed with Claudius earlier on, Laertes will fight with a poisoned sword.
However, during the confusion of the duel, Hamlet and Laertes end up switching swords so both men are mortally wounded by the poisoned blade. Gertrude, in making a toast to her son and being unaware that the chalice of wine is poisoned, drinks the deadly wine. Laertes, as he lies dying, confesses to Hamlet that Claudius hatched the plan involving the poisoned sword and wine, and Hamlet stabs Claudius with the poisoned sword, forcing him to drink the wine for good measure too – thus finally avenging his father’s murder. Hamlet dies, giving Fortinbras, the Prince of Norway, his dying vote as the new ruler of Denmark. Fortinbras arrives to take control of Denmark now the Danish royal family has been wiped out, and Horatio prepares to tell him the whole sorry tale.
That’s a (fairly brief) summary of the plot of Shakespeare’s play. You can read our analysis of Hamlet here.