‹ Hamlet: topics

Hamlet · William Shakespeare

Why Did Shakespeare Write Hamlet?

We do not know Shakespeare’s exact reasons for writing Hamlet: no surviving statement explains them. Written around 1600–1601, the play reworks an older revenge story to explore grief, justice, uncertainty and political corruption. Shakespeare’s son Hamnet had died in 1596, but any connection between that loss and the play remains unproven.

Why did Shakespeare write Hamlet?

The most reliable answer separates what we know about the play’s creation from what we infer about its purposes. Shakespeare left no surviving explanation of why he chose this story. We can identify its literary background and analyse the questions his version raises, but neither gives us direct access to his private intentions.

Shakespeare was a working dramatist writing for a commercial theatre company. Hamlet offers compelling theatrical material: a ghost, a murder mystery, apparent madness, a performance designed to expose a criminal, and a fatal duel. Its intellectual questions develop through those dramatic situations rather than replacing them.

A useful answer, therefore, is that Shakespeare adapted a revenge story into a tragedy about the difficulty and cost of revenge. The Ghost demands action in Act 1, Scene 5, but Hamlet must decide whether that command is trustworthy and morally binding. What looks like a clear duty becomes a problem involving evidence, conscience and consequences.

In an essay, write that the play explores these problems, rather than claiming to know exactly what Shakespeare wanted every audience member to believe.

The older revenge story behind Hamlet

Shakespeare did not invent the basic story of a prince seeking revenge on an uncle who has killed his father. An earlier version appears in Saxo Grammaticus’s account of the legendary Amleth. François de Belleforest later retold the story in French. These belong to the source tradition behind Hamlet, although Shakespeare’s precise route through that material is uncertain.

There is also evidence of an earlier Hamlet play, now lost, often called the Ur-Hamlet. Its authorship and exact relationship to Shakespeare’s surviving play remain uncertain. It should not be confidently attributed to a particular writer.

Shakespeare’s play belongs to the tradition of revenge tragedy, with its ghosts, concealed crimes, plotting and violent punishment. Yet it makes the avenger’s task unusually difficult. In Act 2, Scene 2, Hamlet worries that the spirit may be a devil exploiting his distress. He therefore arranges a theatrical test of Claudius’s guilt.

This matters because an inherited plot is not the same thing as an inherited meaning. Shakespeare turns a familiar revenge situation into an investigation of how someone can know enough to act justly.

Revenge, uncertainty and the purpose of theatre

One strong interpretation is that Hamlet tests the assumption that revenge restores justice. Claudius has murdered his brother, but Hamlet’s pursuit of him does not simply repair the damage. Hamlet kills Polonius in Act 3, Scene 4, helping to set in motion Ophelia’s breakdown and Laertes’s revenge. By the final scene, the royal family has been destroyed and Fortinbras takes control.

Uncertainty makes that destructive process more troubling. Hamlet needs evidence, yet evidence does not resolve every moral question. Claudius’s reaction to the performance in Act 3, Scene 2 strengthens Hamlet’s belief in his guilt; it does not tell Hamlet how or when killing him would be right.

The play also considers what theatre itself can do. Hamlet declares, ‘The play’s the thing’ (Act 2, Scene 2), making performance an instrument for investigating a hidden crime. His instructions to the actors describe theatre as holding ‘the mirror up to nature’ (Act 3, Scene 2).

These moments support an argument that Hamlet examines drama’s ability to expose human behaviour. They are not, however, a straightforward personal statement from Shakespeare explaining why he wrote it.

Hamnet, grief and the limits of biography

Shakespeare’s son Hamnet died in 1596, aged eleven. Because Hamlet is deeply concerned with bereavement, readers often connect that loss with the tragedy. The connection is possible, but there is no surviving evidence proving that Shakespeare wrote the play because of Hamnet’s death. The Hamlet story also existed long before Shakespeare’s bereavement.

The direction of loss differs, too: Shakespeare lost a son, whereas Hamlet begins the play mourning his father. That does not rule out an emotional connection, but it warns against treating the character as a disguised portrait of the author.

The text gives firmer ground for analysing grief. In Act 1, Scene 2, Hamlet insists that his outward mourning cannot fully express his feelings: ‘I have that within which passeth show’. His isolation contrasts with a court already celebrating a new marriage and reign.

Later, the graveyard scene makes death both personal and universal. Remembering Yorick in Act 5, Scene 1, Hamlet confronts the physical remains of someone he knew and loved. These scenes establish grief as central to the play, without establishing a single biographical cause for its creation.

Questions

Did Shakespeare write Hamlet because his son died?

Possibly, but we cannot establish that as fact. Hamnet died in 1596, several years before the play is usually dated. Its treatment of grief may have drawn on Shakespeare’s experience, but no surviving statement confirms this, and the revenge story already existed.

When did Shakespeare write Hamlet?

Hamlet is usually dated to around 1600–1601, although its exact composition date is uncertain. Its first printed edition appeared in 1603. It is useful to distinguish the approximate date Shakespeare wrote the play from the date it first appeared in print.

What is Shakespeare’s main message in Hamlet?

The play resists a single message. A strong interpretation is that revenge cannot neatly restore justice: it spreads violence and damages people beyond the original wrongdoer. Shakespeare also explores the difficulty of knowing the truth, the demands of grief and the corruption of political power.

Was Hamlet based on a true story?

Hamlet draws on a legendary story about the Danish prince Amleth, recorded by Saxo Grammaticus and later retold by Belleforest. That literary background should not be treated as a verified historical account. Shakespeare reshapes the inherited material into his own tragedy.