Who Wrote Hamlet, When, and How Long Is the Play?
Shakespeare's longest play, three early texts and a son named Hamnet

When the Globe opened on the south bank of the Thames, Shakespeare was in his mid-thirties, the most successful playwright in London. Within a couple of years he gave his company the role that every great actor since has wanted to play.
Even the basic facts about that role, when it was written and how long it runs, turn out to be less simple than they look.
Hamlet: the key facts
| Fact | Answer |
|---|---|
| Author | William Shakespeare (1564 to 1616) |
| Written | About 1599 to 1601 |
| First Quarto | 1603, a short and garbled text |
| Second Quarto | 1604 to 1605, the longest early text |
| First Folio | 1623, after Shakespeare's death |
| Length | About 4,000 lines; around 30,000 words |
| Running time uncut | About 4 hours |
| Typical production | About 3 hours with an interval |
| Setting | Elsinore castle, Denmark |
Hamlet was written by William Shakespeare, most likely between 1599 and 1601, for his company's new Globe Theatre in London. It is his longest play, around 4,000 lines and 30,000 words in a full modern edition.
Uncut, it runs about four hours on stage, so most productions trim it to around three.
When was Hamlet written and first performed?
Scholars date the play to the years around 1600, after Shakespeare's company moved into the Globe in 1599 and before it was entered for printing in 1602. The title role was almost certainly written for Richard Burbage, the company's star tragic actor. Shakespeare himself is traditionally said to have played the Ghost, though that story cannot be proved.
↑ Back to the topWhy are there three different Hamlets?
Three early printed texts survive. The First Quarto of 1603 is about half the usual length, with jumbled lines and some different names, and may have been pieced together from actors' memories or a shortened touring version. The Second Quarto of 1604 to 1605 is the longest and probably close to Shakespeare's own draft. The First Folio of 1623 lacks about 230 lines found in the Second Quarto but adds some of its own, and may reflect the play as it was acted.
Most modern editions combine the Second Quarto and the Folio, which is why the play feels longer on the page than any version Shakespeare's audiences saw.
↑ Back to the topHow long is Hamlet?
A complete combined text has about 4,000 lines and roughly 30,000 words, making it the longest of Shakespeare's plays. Hamlet himself speaks well over a third of them, more lines than any other role Shakespeare wrote. Kenneth Branagh's 1996 film, which uses every word, runs a little over four hours. Reading it takes most people five or six hours, longer with notes.
↑ Back to the topWhere did Shakespeare get the story?
The tale of a Danish prince who fakes madness to avenge his father is old. It appears in a twelfth-century Latin history of Denmark by Saxo Grammaticus, about a prince called Amleth, and in a French retelling by François de Belleforest. An earlier English play on the subject, now lost and known as the Ur-Hamlet, was being acted in London in the 1590s. Shakespeare turned this blood-and-thunder revenge story into a play about thought, grief and doubt.
↑ Back to the topWas Hamlet named after Shakespeare's son?
Shakespeare had a son called Hamnet, who died in 1596 at the age of eleven, a few years before Hamlet was written. In the records of the time the names Hamnet and Hamlet were used almost interchangeably. Many readers feel the play's long grief for a dead father echoes the playwright's own loss, though there is no direct evidence, and Maggie O'Farrell's novel Hamnet imagines that link.
↑ Back to the topMore about Hamlet
Books Like Hamlet
The PearlJohn Steinbeck
The Scarlet LetterNathaniel Hawthorne
Romeo and JulietWilliam Shakespeare
A Midsummer Night's DreamWilliam Shakespeare
Wuthering HeightsEmily Brontë
All Quiet on the Western FrontErich Maria Remarque
Much Ado About NothingWilliam Shakespeare
Animal FarmGeorge OrwellWritten by Tori Books for readers and students.