Famous dreams: the ones that changed something
A song, a monster, a molecule, a Nobel Prize: some of the best known ideas are said to have arrived in sleep. Some of those stories come straight from the dreamer. Others were told decades later by somebody else. Here are nine, with how sure we can be of each.

Nine dreams at a glance
| Dreamer | What came of it | Who tells the story | How well documented |
|---|---|---|---|
| Paul McCartney | The melody of "Yesterday" | McCartney himself | Strong. His own account, in his authorised biography |
| Robert Louis Stevenson | Three scenes of Strange Case of Dr Jekyll and Mr Hyde | Stevenson himself, in an essay | Strong. He says exactly which parts were dreamed |
| Mary Shelley | The central image of Frankenstein | Shelley herself, in her 1831 introduction | Strong, with a catch. By her own words she was not asleep |
| Otto Loewi | The experiment that showed nerves signal with chemicals | Loewi himself, in later years | Fair. His own account, told long after; the experiment is certain |
| August Kekulé | The ring structure of benzene | Kekulé himself, in a speech 25 years on | Disputed. Most historians accept it; some doubt it |
| Giuseppe Tartini | The "Devil's Trill" violin sonata | The astronomer Lalande, who heard it from Tartini | Fair. One second-hand account; the dating does not fit well |
| Dmitri Mendeleev | The periodic table | A friend he is said to have told | Weak. Second hand, and his own papers point another way |
| Abraham Lincoln | A dream of his own death, days before it | Ward Hill Lamon, in a book published in 1895 | Weak. One source, 30 years late, with inconsistencies |
| Srinivasa Ramanujan | Mathematical formulas given by a goddess | Tradition | Legend. No first-hand account that we could find |
Told in the dreamer's own words
Paul McCartney, "Yesterday". McCartney has said he woke with a lovely tune in his head. He was living in the attic of his girlfriend's family home in Wimpole Street, London, with a piano in the room. Because he had dreamed it, he could not believe he had written it, and he played it to friends and bandmates to check he had not picked it up somewhere. The song reached number one in the United States in September 1965. Source
Robert Louis Stevenson, Jekyll and Hyde. In his essay "A Chapter on Dreams", Stevenson says he had long wanted to write about a person's double nature and had spent two days "racking my brains for a plot". On the second night he dreamed the scene at the window, and another in which Hyde, pursued, takes the powder and changes in front of his pursuers. Then he is careful: "All the rest was made awake, and consciously." The meaning, the setting and the characters, he says, were his own. Source
Mary Shelley, Frankenstein. In the introduction she wrote for the 1831 edition, Shelley describes a late night spent listening to Lord Byron and Percy Shelley talk about whether a corpse could be brought back to life. She went to bed and, in her words, "I did not sleep, nor could I be said to think." With her eyes shut she saw "the pale student of unhallowed arts kneeling beside the thing he had put together". Source It is usually called a dream. By her own description it was something between waking and sleep.
Otto Loewi, the frog hearts. Loewi always said that the idea for his most famous experiment came to him in a dream, twice. The first night he scribbled notes he could not read in the morning, so he had to dream it again. The experiment itself is beyond doubt: fluid from one slowed frog heart slowed a second heart, which led him to propose in 1921 that nerves act through a chemical. He shared the 1936 Nobel Prize in Physiology or Medicine with Henry Dale. The dream rests on his word alone. Source
Told late, and argued over
August Kekulé, the benzene ring. Kekulé's paper proposing that benzene's carbon atoms form a closed ring was published in 1865. Twenty-five years later, at a celebration of that paper, he told his fellow chemists that the idea had come from a daydream of a snake biting its own tail. Most historians see no reason to doubt a story he told himself, in front of his peers. Others are sceptical and wonder whether he was shoring up his claim to have got there first. Source
Giuseppe Tartini, the "Devil's Trill". The story is that the devil appeared in a dream and played the violin so beautifully that Tartini woke and tried to write the music down, and that the sonata is the pale result. Source It reaches us through the French astronomer Joseph Jérôme de Lalande, who met Tartini in Padua in 1765 and recorded it. The dream is placed in Tartini's youth, but the style of the sonata suggests it was written around 1740. Source
Dmitri Mendeleev, the periodic table. Mendeleev is said to have told a friend that after three days without sleep he dozed off and saw the table in a dream. History Today's verdict is that this "may not be true". He had been working on the problem since at least 1860, and on 1 March 1869 he sketched the idea by hand on the back of a letter. Source
Second-hand stories
Abraham Lincoln's dream of his death. In the story, Lincoln dreams of walking through the White House, finding a covered body under guard, and being told that the President has been killed by an assassin. The only source is Ward Hill Lamon, his friend and former law partner, in a book of recollections compiled by Lamon's daughter and published in 1895, two years after Lamon died. The historians Don and Virginia Fehrenbacher point to problems: the account gives conflicting dates, it has Lincoln at the White House when he was at the front, and nobody, including Mary Lincoln, mentioned such a dream after the assassination. Source
Srinivasa Ramanujan and the goddess. It is often said that the goddess Namagiri, revered by Ramanujan's family, gave him his formulas in dreams. The mathematician Krishnaswami Alladi, writing about Ramanujan's life, introduces it with the words "Legend has it". G. H. Hardy, the mathematician who worked with him, treated it as a myth, and admitted he never once asked Ramanujan where his ideas came from. Source It may be true. Nobody wrote it down at the time.
What the well-documented ones share
The stories told in the dreamer's own words are the modest ones. The dreamer was already deep in the problem, the dream gave a piece (a tune without words, three scenes without a plot), and the work was finished awake. The versions where a whole discovery arrives at once are mostly told by somebody else.
And somebody wrote it down. Loewi's first note was unreadable, and by his account the idea was nearly lost. For more, the Harvard psychologist Deirdre Barrett is the author of a book called The Committee of Sleep. Source To give your own dreams the same chance, start with how to keep a dream journal.
The famous dreams nobody has written down yet
Every story above survived by luck: an essay, a speech, a friend with a good memory. People in the public eye dream like everyone else, and most of those dreams are gone by breakfast.
The World's Dreams on DreamKeg is built so that this does not have to depend on luck. Anyone, well known or not, can write a dream down with its date, keep it private or share it, and have it sit beside everyone else's.
If the next tune, scene or molecule arrives in somebody's sleep tonight, it would be good if this time it was written down the same morning, in the dreamer's own words. Read what people dreamed last night, or start your own journal.
Add your dream to the World's Dreams
Type a dream into DreamKeg and see which public dreams share its symbols. No account needed to try.
Questions people ask
Did Paul McCartney really dream "Yesterday"?
By his own account, yes: he has said he woke with the melody in his head and at first could not believe he had written it. The words came later.
Was Frankenstein inspired by a dream?
Mary Shelley's 1831 introduction describes a vivid vision that came to her in bed after a night of talk about bringing the dead to life. She says she was not asleep, so it is better called a waking dream.
Did Kekulé really dream the structure of benzene?
He said so himself, in a speech 25 years after his 1865 paper, describing a daydream of a snake biting its tail. Most historians accept the account. Some doubt it.
Did Lincoln dream of his own assassination?
The story comes from a single source, Ward Hill Lamon, in a book published in 1895, thirty years after Lincoln's death. Historians have found inconsistencies in it and no mention of the dream at the time.
Did Einstein get the theory of relativity from a dream?
The story is poorly sourced, so we have left it off this page. The dreams listed here are the ones with a traceable account behind them.
Keep reading
Sources
- Biography.com, on Paul McCartney and "Yesterday" (quoting his authorised biography, Many Years From Now)
- Robert Louis Stevenson, A Chapter on Dreams, in Across the Plains (Internet Archive)
- Mary Shelley, Introduction to Frankenstein, 1831 edition (Wikisource)
- Linda Hall Library, Scientist of the Day: Otto Loewi
- Linda Hall Library, Scientist of the Day: August Kekulé
- RNZ Concert, Giuseppe Tartini (quoting Tartini's account as recorded by Lalande)
- Discover Tartini (Conservatorio Giuseppe Tartini, Trieste), The Devil's Trill
- History Today, Discovery of the Periodic Table (2021)
- TeachingHistory.org (George Mason University), Premonition of Death
- Krishnaswami Alladi, Touched by the Goddess, Inference (2016)
- Harvard Gazette, interview with Deirdre Barrett (May 2020)