The protagonist. Thirty years old, university-educated at Wittenberg. Returned to Elsinore for his father's funeral and stayed for his mother's wedding to his uncle two months later. The most extensively interior character ever written for the stage; his four soliloquies are the engine of the play. Dies in the final scene from a poisoned blade, having killed Claudius and forgiven Laertes.
Hamlet — who's who
Elsinore — the household of a usurped throne.
Hamlet has a relatively small cast: about twenty named figures, plus the players, the soldiers, the gravediggers. The play turns on the court of Elsinore — the royal family, the chief minister and his children, the school friends. Almost everyone in the named cast is dead by the final scene.
The royal family
Hamlet's uncle, the murderer of Hamlet's father, and the husband of Hamlet's mother. The play does not present him as a flat villain — the prayer scene in Scene 10 shows real moral consciousness — but he keeps Hamlet alive only as long as Hamlet's delay protects him. When the delay finally ends, so does he. Stabbed and force-fed his own poison by Hamlet in the final scene.
The widow of the dead king and the wife of his murderer. The play gives her remarkably little soliloquy or self-explanation; she is largely seen from outside. Hamlet treats her with anger and tenderness in equal measure. In the final scene she drinks the poisoned cup meant for her son — with the famous line "I will, my lord; I pray you pardon me" — and dies before him.
The dead king. Appears on the wall of Elsinore in Act 1 and to Hamlet in private in Scene 5, where he names Claudius as his murderer and demands revenge. Returns once more in Scene 11 in Gertrude's bedroom — only Hamlet sees him there. The play does not settle whether he is what he claims to be (a soul in purgatory) or, as Hamlet briefly worries, the devil in his father's shape.
The court
The court's most quotable windbag. Father of Laertes and Ophelia. A loyal courtier in the worst sense — he uses his children as instruments of state, lectures everyone, and dies for it in Scene 11 when Hamlet, hearing him cry out from behind a curtain, runs him through. His death is the hinge of the rest of the tragedy.
The woman Hamlet had been courting before the play opens. Obedient to her father, used by him as bait in Scene 8, brutally rejected by Hamlet there ("get thee to a nunnery"). After her father's death by Hamlet's hand, she goes mad and drowns. Her madness is staged with extraordinary care; her death is reported by Gertrude in one of the most-quoted passages of the play.
Polonius's son, Ophelia's brother. Returns to Denmark from Paris in Scene 16 to find his father dead and his sister mad, and is the play's foil to Hamlet — he wants exactly the revenge that Hamlet keeps refusing to take. Co-opted by Claudius into a plot to kill Hamlet with a poisoned blade. Forgives and is forgiven by Hamlet as both lie dying in the final scene.
Hamlet's school friend at Wittenberg, the play's moral compass. Steady where Hamlet is volatile, skeptical where Hamlet is mystical. The only courtier Hamlet trusts completely. Survives the final massacre because Hamlet stops him from drinking the remaining poison; charged with telling Hamlet's story to the world.
Two school friends Hamlet barely remembers; Claudius summons them to spy on him. Hamlet sees through them within minutes ("send me a beggarly message that's about it"). Their loyalty wavers between him and the king and ends in ambiguity. Hamlet, on the ship to England, switches Claudius's letter ordering his death for one ordering theirs; they are executed in England without ever appearing on stage again.
The play's offstage parallel to Hamlet. His father was killed in single combat by Hamlet's father; he has been raising an army to take back lost ground. Marches through Denmark in Act 4; his army is the spur for Hamlet's "how all occasions do inform against me" soliloquy. Arrives at Elsinore in the final scene to find every claimant to the Danish throne dead, and accepts the crown.
The minor figures
A troupe of actors who arrive at Elsinore in Scene 7. Hamlet adapts an existing play for them — adds about a dozen lines — to use as a test of Claudius's guilt. The "play within the play" in Scene 9 is the result. Hamlet's instructions to them ("speak the speech, I pray you, as I pronounced it to you, trippingly on the tongue") are also Shakespeare's only surviving statement on how acting should be done.
Two comic figures digging Ophelia's grave at the start of Scene 19. Their banter — about who is the strongest builder, about how long a body takes to rot — is Shakespeare's last comic stretch in the play. The first gravedigger hands Hamlet the skull of Yorick, the king's old jester, who carried Hamlet on his back when Hamlet was a child.
Never appears alive, only as a skull in Scene 19. The court jester of Hamlet's childhood, dead twenty-three years. The skull is one of the most famous props in literature; "alas, poor Yorick — I knew him, Horatio" is misquoted (the line does not include "well") more than any other in Shakespeare.