Hamlet is a fictional Danish prince, and Shakespeare’s famous play was not based on a real historical person. The story came from an older Norse legend about a prince named Amleth, recorded in Latin by the Danish historian Saxo Grammaticus around the year 1200. Shakespeare transformed that medieval revenge tale into the philosophical tragedy we know today, layering in Renaissance ideas about mortality, doubt, and moral action. So the short answer to whether Hamlet was based on a real prince or an older legend is clear: legend, not history.
I have spent years tracing Shakespeare’s sources, and the Amleth trail is one of the most fascinating in all of English literature. In this guide I will walk you through the original legend, how it traveled from Denmark to England’s stage, and how Shakespeare reshaped it. By the end, you will understand exactly why a Viking-age ghost story became the most quoted play in the English language.
Table of Contents
The Short Answer: Hamlet Is Fictional, Not Historical
Hamlet was not based on a real prince, but on an older legend about a Viking-age Danish prince named Amleth. The character Shakespeare created is purely fictional, drawn from a medieval tale written down by Saxo Grammaticus in his chronicle Gesta Danorum, or Deeds of the Danes. That legend had been circulating orally in Scandinavia long before Saxo put it into Latin around the year 1200.
There is no contemporary Danish record of a prince named Hamlet or Amleth ruling in Jutland. Hamlet appears in no genealogy, no chronicle of Danish kings, and no surviving archaeological context. The “history” in Shakespeare’s play is the history of a legend, not the history of a person.
That distinction matters because the legend itself may have roots in older oral tradition, and possibly in real Viking feuds. We will return to that question later. For now, accept this: when you watch Hamlet, you are watching a 16th-century English playwright’s interpretation of a 12th-century Danish legend, which may itself echo earlier Norse oral sagas.
How Hamlet Was Based on an Older Legend: The Saxo Grammaticus Origin
The oldest written source for the Hamlet story is a Latin chronicle called the Gesta Danorum, written by Saxo Grammaticus, a Danish cleric who served as secretary to the Archbishop of Lund. Saxo worked on the sixteen books of the Gesta Danorum between roughly 1185 and 1220. The work reads like a national history of Denmark, blending genuine kings, mythic heroes, and invented episodes to give the Danes a heroic past.
Embedded in books three and four of the Gesta Danorum is a self-contained tale called the Vita Amlethi, the “Life of Amleth.” Saxo tells it almost as a curious aside, a piece of Danish folklore worth preserving. He does not name his sources, but scholars believe he drew on older Danish oral tradition, possibly Icelandic sagas circulating at the court of Lund.
The character of Saxo himself is important. He was a serious historian with a classical education, attempting to emulate Roman historians like Livy. That he included the Amleth story at all suggests the tale carried cultural weight in 12th-century Denmark. To Saxo, Amleth was a national legend, the kind of cunning hero who embodied Danish cleverness against brute force.
The Gesta Danorum was not widely read in Shakespeare’s England. The path from Saxo’s Latin to the London stage of 1600 ran through France, and that detour reshaped the story in important ways.
The Legend of Amleth: The Original Hamlet Story
The Vita Amlethi is short, vivid, and much more violent than Shakespeare’s Hamlet. Here is the plot as Saxo tells it.
King Horwendil of Jutland wins glory in war and marries Gerutha, daughter of the King of Denmark. Horwendil’s brother Feng (called Fengo in some translations) becomes jealous. Feng murders Horwendil, takes the throne, and marries Gerutha as his queen.
Amleth, the young son of Horwendil and Gerutha, is now heir to a throne stolen by his uncle. Feng, fearing the boy will grow up to avenge his father, tries to have him killed. Twice assassins come for Amleth, and twice he outwits them.
First, when sent away with a companion who is meant to kill him, Amleth finds a plank on the seashore and wedges it into a crack in a tree branch. He tricks his companion into climbing the high branch to retrieve a hawk’s nest, then kicks out the plank. His companion dies, and Amleth returns home claiming he survived alone.
Second, when Feng sends a woman to seduce him in his mother’s bedchamber and eavesdrop, Amleth climbs into the bedchamber and acts the fool, jumping into the straw and gibbering. He escapes detection by feigning complete madness.
Finally, Amleth returns to the court for a feast. He knows Feng has hidden a sword under a pile of straw in the hall. He finds the sword and uses it. In Saxo’s brutal account, Amleth slashes Feng’s body into pieces and burns the great hall down with the retainers inside.
Amleth then sails to England, where he is captured and brought before the King of Britain. There he amuses the Britons with his seeming foolishness until he delivers a powerful speech exposing the truth about kingship and flattery. The Britons make him king, he returns to Jutland, and later dies in battle.
That is the legend Shakespeare inherited: feigned madness, a stolen throne, fratricide, and violent revenge. Notice what is missing: there is no ghost, no play within a play, no Ophelia, and no philosophical hesitation. The original Amleth is cunning, not contemplative. He succeeds; he does not procrastinate.
Amleth vs Hamlet: How Shakespeare’s Version Differs From the Legend
Shakespeare kept the bones of the Amleth story and rebuilt the body around it. The differences reveal his genius for transforming simple revenge into tragic philosophy.
In the legend, Amleth’s father Horwendil becomes Feng’s victim. In Shakespeare, King Hamlet is murdered by his brother Claudius, who then takes the throne and marries Queen Gertrude. The plot is identical, but Shakespeare adds the Ghost, who appears in armor on the battlements and commands his son to remember him.
In the legend, Amleth feigns madness to escape assassins. In Shakespeare, Hamlet’s “antic disposition” becomes the central mystery of the play. Is Hamlet truly mad? Is he pretending? What does his madness reveal about the rottenness of Denmark? Shakespeare turned a survival tactic into a psychological puzzle.
In the legend, Amleth kills Feng decisively in a single violent act. In Shakespeare, Hamlet hesitates. He delays revenge, questions whether the Ghost is truly his father or a devil in disguise, stages a play to test Claudius’s guilt, and only acts in the final catastrophe. Shakespeare replaced cunning with doubt.
The name transformation from Amleth to Hamlet is also revealing. Saxo’s Latin text uses “Amlethus.” François de Belleforest’s French translation in 1570 called him “Amleth.” Some scholars trace the name to the Old Norse word “amlóði” or “Amleth,” meaning fool or madman, a direct comment on the hero’s pretended state. The shift from Amleth to Hamlet may reflect both scribal variation and English phonetic adaptation. The meaning stayed attached: in Shakespeare’s English, Hamlet means the madman prince.
Shakespeare also added characters with no source equivalent. Ophelia, Polonius, Laertes, Horatio, and Rosencrantz and Guildenstern have no counterparts in Saxo. Gertrude is closer to Gerutha, but Shakespeare gave her moral ambiguity the legend never had. Claudius is darker than Feng, more overtly villainous, more politically cunning.
The Ur-Hamlet and Belleforest: How the Legend Reached Shakespeare
Shakespeare almost certainly did not read Saxo in Latin. The path the story took to his desk passed through France and possibly through a lost English play.
In 1570, the French writer François de Belleforest included the Amleth story in his Histoires tragiques, a popular collection of tragic tales. Belleforest expanded Saxo’s version, adding moral reflections and romantic detail. His book was widely read across Europe and translated into English. Shakespeare could have encountered the Hamlet material directly through Belleforest’s French or through an English translation.
Many scholars believe there was also an earlier English play, now lost, known as the Ur-Hamlet. References to a Hamlet play appear in English theatrical records from the 1590s, and Thomas Nashe mentioned a Hamlet performed in London in 1589. The Ur-Hamlet is commonly attributed to Thomas Kyd, the playwright who also wrote The Spanish Tragedy and helped establish the revenge tragedy genre in England. None of Kyd’s Hamlet text survives. Some scholars, including the New Oxford Shakespeare editors, argue Shakespeare wrote his own early version of Hamlet and no Ur-Hamlet existed, but the traditional view holds firm.
Either way, by 1600 the story of Hamlet was already in the English theatrical bloodstream. Shakespeare did not invent it. He inherited it and made it his own.
Was Amleth Himself a Real Person? The Historical Question
Now for the trickier question: was Hamlet based on a real prince, or was even Amleth himself based on one? Here the evidence gets thin but intriguing.
Saxo Grammaticus placed the Amleth story in Jutland in a distant, deliberately vague past. He may have set it before the historical Viking Age, around the 5th or 6th century if read literally, though Saxo’s chronology is unreliable. No archaeological or documentary evidence confirms a prince named Amleth or Horwendil.
Some scholars argue the legend preserves a folk memory of real succession disputes in early medieval Denmark, where fratricidal uncle-nephew conflicts were common. The recurring motif of a brother killing a brother to seize power echoes real political patterns in early Scandinavian kingdoms.
Connections have also been drawn to the Icelandic saga tradition. The saga of Amleth appears to share themes with several Icelandic family sagas, including Hrólf Kraki and Bjarkarímur. Some researchers suggest Saxo may have drawn on oral sources that later writers also tapped, leaving traces across Norse literature.
My own view, after comparing the texts, is that Amleth is best understood as a legendary figure, possibly inspired by real feuds but not a verifiable historical prince. He is to Hamlet what King Arthur is to English literature: a name around which centuries of cultural memory crystallized.
Shakespeare’s Unique Transformation: Why Hamlet Became Timeless
What Shakespeare did with the legend is the real story. He took a violent folktale about a clever avenger and turned it into a meditation on human existence itself.
The ghost, drawn from older English revenge tragedy traditions, gives Hamlet a mission he cannot quite accept. Hamlet’s hesitation is not cowardice. It is moral seriousness. He fears sending an innocent soul to damnation by acting on incomplete evidence. He fears that the Ghost might be a devil. He knows that revenge restores nothing.
Shakespeare added the gravedigger scene, the “to be or not to be” soliloquy, and the Player King’s speech. He turned the play into a mirror in which every generation sees its own crises of meaning. The original Amleth outwits his enemies; Shakespeare’s Hamlet outwits himself. That inward turn is the revolution.
Whether Hamlet was based on a real prince or an older legend, the answer is the same: the play endures because Shakespeare transformed legend into philosophy, and that alchemy is the source of its power.
The Northman and Modern Echoes of the Amleth Legend
The Amleth legend refuses to die. In 2022, the film The Northman brought the Viking revenge tale roaring back to screens, with director Robert Eggers drawing directly on Saxo Grammaticus and the Old Norse saga tradition. The film’s Amleth, played by Alexander Skarsgård, follows the original legend more closely than Shakespeare ever did, and it returns to the older, bloodier story.
That cultural persistence tells us something important. The Hamlet story has lived for at least 800 years because it touches something fundamental about family, betrayal, and justice. Shakespeare’s Hamlet is the most famous version, but it is not the only one. The older Amleth is still there, beneath the philosophical surface, waiting to be rediscovered in 2026 and beyond.
Frequently Asked Questions
Was Hamlet based on a real prince?
No. Hamlet is a fictional character. Shakespeare’s play was inspired by an older Norse legend about a prince named Amleth, recorded in Latin by Saxo Grammaticus around 1200. There is no historical record of a Danish prince named Hamlet.
Was Amleth a real person?
Probably not. Amleth is a legendary figure from Saxo Grammaticus’s Gesta Danorum. He may be inspired by real succession disputes in early medieval Denmark, but no archaeology or chronicle confirms his existence. He is best understood as a literary character shaped by oral tradition.
How much of Hamlet is historically true?
Very little. Hamlet is set in Elsinore (real Kronborg Castle in Denmark) and draws on the older Amleth legend, but the plot, characters, and philosophical depth are Shakespeare’s invention. The murder, the ghost, Ophelia, and the play-within-a-play have no historical basis.
What is the controversy with Hamlet?
The main controversies are literary. Scholars debate whether an earlier Ur-Hamlet play existed, whether Thomas Kyd wrote it, and how much Shakespeare borrowed versus invented. There is also debate over whether Hamlet delays too long or simply thinks too deeply for revenge.
How did Shakespeare find the Hamlet story?
Shakespeare almost certainly encountered the Hamlet story through François de Belleforest’s French Histoires tragiques (1570), which translated and expanded Saxo’s Latin account. He may also have known a lost English play called the Ur-Hamlet, sometimes attributed to Thomas Kyd.
Conclusion
So, was Hamlet based on a real prince or an older legend? The answer is firmly legend, not history. Shakespeare drew on the Norse legend of Amleth as preserved by Saxo Grammaticus, transmitted through Belleforest’s French and possibly a lost Ur-Hamlet play. He transformed a violent folktale into the most philosophically rich tragedy in the English language. Hamlet is fictional, but the older Amleth legend is very real, and its shadow still falls across our culture more than 800 years later.
If this article sparked your curiosity, the next step is to read Saxo’s Vita Amlethi in translation and compare it side by side with Shakespeare’s text. The differences are where Shakespeare’s art lives.