William Shakespeare had no son named Hamlet. The iconic character Hamlet is entirely fictional, the protagonist of Shakespeare's tragedy Hamlet. The playwright's only son was Hamnet Shakespeare, who died in 1596 at the age of 11. The similarity in names has often led to speculation about autobiographical elements in the play, but historically, Hamnet and Hamlet are distinct—one a real boy lost too soon, the other a literary creation grappling with existential grief.