By: Laura Studarus
Was Shakespeare's Hamlet Based on a Real Person?
Shakespeare's tragic prince has roots in a Scandinavian legend, but the playwright's own grief might have also shaped the play.
Image from 'Elsinore,' the story of actor Ian Charleson who faced incredible odds while preparing to perform as Hamlet, starring Andrew Scott.
Takeaways
Shakespeare's Hamlet was based on a medieval Scandinavian legend.
A lost play called Ur-Hamlet was likely another source of inspiration for Shakespeare.
Shakespeare's son Hamnet died in 1596, possibly influencing the themes of grief in Hamlet.
In William Shakespeare’s play "Hamlet," a Danish prince encounters the ghost of his father, who reveals that he was murdered by the prince's uncle. Unsure whether to trust the ghost, Hamlet struggles to confirm his uncle's guilt before seeking revenge. His hesitation and feigned madness set off events that culminate in the downfall of the Danish royal family.
The drama has remained a fixture in pop culture for centuries, inspiring adaptations like The Lion King, elements of The Empire Strikes Back and many parodies. The role of Hamlet has also been explored by generations of acclaimed actors, including Andrew Scott, Laurence Olivier, David Tennant, Ethan Hawke and Kenneth Branagh. Reflecting on the character's enduring appeal, Branagh said, “I think that his heroism, if you like, springs from his human frailty.”
To write the character of Hamlet, Shakespeare likely drew inspiration from ancient legends, historical settings and even his own life.
William Shakespeare
Take a look at the life of one of the most celebrated authors of all time, legendary wordsmith William Shakespeare, in this video.
Hamlet’s Literary Roots
The story of "Hamlet" did not originate with Shakespeare. Most of Shakespeare’s plays involve some level of adaptation, says Jonathan P. Lamb, a professor of English at the University of Kansas. “Out of the 38 plays that we have, most have a narrative source,” he says. “There are only three plays where he invented the plot and the main characters—'Love’s Labour’s Lost,' 'A Midsummer Night's Dream' and 'The Tempest.'"
Scholars generally agree that Shakespeare also borrowed liberally from earlier plays. "Hamlet" is believed to have been inspired by a lost Elizabethan play known as "Ur-Hamlet," frequently attributed to playwright Thomas Kyd. While most of the plot details are lost, the play likely laid the groundwork for crucial elements that Shakespeare incorporated into his version, including the ghost’s call for vengeance.
The story of "Hamlet" is also connected to a medieval Scandinavian legend recorded by the Danish historian Saxo Grammaticus in Gesta Danorum (Deeds of the Danes). The chronicle, composed around the 12th century, tells the legend of Amleth, a Scandinavian prince whose father is murdered by his treacherous uncle, Feng. Feng then marries Amleth's widowed mother to seize the throne. To survive, Amleth feigns madness before enacting his revenge.
In 1570, French writer François de Belleforest adapted Amleth's story in his collection Histoires Tragiques. Shakespeare was a student of contemporary literature, so it is possible he encountered the adaptation, explains Lamb.
“Shakespeare’s engagement with pop culture of his day was continuous and profound,” says Lamb. “What's great about Shakespeare is that he manages not to just be so referential that he's stuck in the past. He manages to write things that are more broadly agile.”
Although there's no historical evidence that Amleth was a real murderous Danish prince, the castle associated with "Hamlet" is real. Kronborg Castle in Helsingør, Denmark, is traditionally associated with the setting of "Hamlet" and is now a UNESCO World Heritage Site.
A page from the 'Gesta Danorum,' a medieval manuscript written on parchment.
A page from the 'Gesta Danorum,' a medieval manuscript written on parchment.
The 'Real' Hamlet
While Hamlet's literary origins are well documented, some scholars speculate that Shakespeare’s personal life may also have inspired the play, particularly the death of his son.
Shakespeare's son Hamnet died at the age of 11 in 1596. Although the circumstances of Hamnet's death remain unknown, Shakespeare was likely working in London at the time, roughly 100 miles from his family's home in Stratford-upon-Avon. No written expression of grief for his son survives, leading many scholars to speculate that Shakespeare channeled his loss into "Hamlet," written a few years later.
In his biography of Shakespeare, Will in the World, scholar Stephen Greenblatt explores this possible connection. Name spellings were not standardized in England until the 19th century, he explains, and Hamnet and Hamlet were interchangeable in Stratford records in the late 16th and early 17th centuries.
The theory is also featured in Maggie O'Farrell's 2020 historical novel Hamnet and its 2025 film adaptation, directed by Chloé Zhao. Both imagine how the loss of Shakespeare's son might have influenced his writing.
“'Hamlet,' the play, is about grief,” says Lamb. “The same emotional notes—just rearranged—appear in 'Hamlet' as in Shakespeare's actual life."
Still, Greenblatt cautions against drawing definitive conclusions. "After generations of feverish research, no one has been able to offer more than guesses, careful or wild," he writes.
A scene from "Hamlet" by William Shakespeare, directed by Franco Zeffirelli, 1964.
A scene from "Hamlet" by William Shakespeare, directed by Franco Zeffirelli, 1964.
The Power of Uncertainty
Trying to track down Shakespeare’s personal intentions is a bit like hunting for a ghost. Historical paperwork exists—there are plenty of real estate deeds, tax records, court depositions and even his final will as proof of a life fully lived. However, virtually no personal letters, diaries or journals exist to provide emotional context.
Moreover, Elizabethan theater companies were churn-and-burn operations. The goal was to fill seats, not create sacred literary monuments. While Shakespeare may have drawn influences from real-life people or personal trauma, he was also a professional adapter, recycling old tropes and theatrical blueprints meant to appeal to the broadest audience possible.
“Even in cases where we have evidence that Shakespeare had specific historical people in mind,” says Lamb, “simply identifying that historical reference point is only the beginning of what's interesting."
Pinning down a specific inspiration might satisfy historical curiosity, but it ultimately misses the true scope of what Shakespeare achieved. "His main accomplishment as a writer was linguistics," adds Lamb, "He gives really powerful, extraordinary language to the things we still have to contend with. That’s his true legacy.”
About the author
Laura Studarus is a freelance travel writer published in Lonely Planet, BBC, and The Daily Beast. Sometimes she can go several hours without a cup of tea. Follow her on Instagram.
Fact Check
We strive for accuracy and fairness. But if you see something that doesn't look right, click here to contact us! HISTORY reviews and updates its content regularly to ensure it is complete and accurate.
Citation Information
- Article Title
- Was Shakespeare's Hamlet Based on a Real Person?
- Author
- Laura Studarus
- Website Name
- History
- Date Accessed
- November 18, 2026
- Publisher
- A&E Television Networks
- Last Updated
- November 18, 2026
- Original Published Date
- November 18, 2026