Nikola Tesla — OCD, Vivid Imagery, and the Mad Genius Myth
Maybe you count things without meaning to. Stairs, ceiling tiles, the syllables in a sentence. Maybe you need to do something three times before it feels finished, or you can see a design so clearly in your head that writing it down feels like a step backwards.
If so, you have probably met Nikola Tesla on the internet. He is everyone's favourite example of the "mad genius": the inventor who counted his steps, wiped his cutlery with stacks of napkins, recoiled from pearls and fell in love with a pigeon. The message underneath is flattering and slightly worrying at once. Brilliance and strangeness, it suggests, come as a package.
Tesla's real story is more useful than that. Much of what we know comes from his own words, and those words describe several distinct things happening in one mind. Pulled apart, they say less about madness and more about how attention, imagery and anxiety can interact.
What Tesla actually said about his own mind
The richest source is My Inventions, a six-part autobiography Tesla published in the magazine Electrical Experimenter in 1919, when he was in his early sixties. It is unusually candid. In the first instalment he describes a childhood problem he calls "a peculiar affliction due to the appearance of images, often accompanied by strong flashes of light."
These images, he says, would interfere with his view of real objects and with his thinking. He is careful to add that they "certainly were not hallucinations such as are produced in diseased and anguished minds," and that "none of the students of psychology or physiology whom I have consulted could ever explain satisfactorily these phenomena."
Two details matter. First, he says the images "were pictures of things and scenes which I had really seen, never of those I imagined." Second, he ties them to distress. If he had witnessed "a funeral or some such nerve-racking spectacle," he wrote, then "in the stillness of night, a vivid picture of the scene would thrust itself before my eyes and persist despite all my efforts to banish it." The intrusive pictures, in other words, were mostly memories that would not stay in the background, and they caused him, in his words, "great discomfort and anxiety."
Did Nikola Tesla have OCD
The same instalment contains the passage most often quoted as evidence of obsessive-compulsive disorder:
"I counted the steps in my walks and calculated the cubical contents of soup plates, coffee cups and pieces of food — otherwise my meal was unenjoyable. All repeated acts or operations I performed had to be divisible by three and if I mist [missed] I felt impelled to do it all over again, even if it took hours."
He also lists strong aversions. "I had a violent aversion against the earrings of women," he wrote, and "the sight of a pearl would almost give me a fit," though he was "fascinated with the glitter of crystals or objects with sharp edges and plane surfaces." He said he would "get a fever by looking at a peach," and would not touch other people's hair "except, perhaps, at the point of a revolver."
Biographers add a fear of germs. Margaret Cheney's 1981 biography Tesla: Man Out of Time describes eighteen clean napkins stacked at his place at dinner. Accounts link his horror of contamination to a bout of cholera he survived as a teenager and to seeing microbes in drinking water under a microscope.
Read through a modern lens, this does resemble OCD. The counting, the need to repeat an action until it feels complete and the elaborate cleaning are all recognised features. In 2024 a team led by S. Jesus Magueta presented a review in European Psychiatry concluding that Tesla showed symptoms pointing to "a probable presence of obsessive-compulsive disorder," including "counting and cleanliness rituals, exacerbated by chronic insomnia."
Why a posthumous OCD diagnosis is still uncertain
That conclusion deserves its caveats, and the authors gave them. They describe their method as "a brief non-structured narrative literature review" built on news articles, autobiographies and biographies. They also note that the link between creative genius and mental illness is "not formally evidenced through the scientific literature." It is a conference abstract, not a clinical case study.
The details themselves have drifted over time. Cheney gives eighteen napkins. A 1931 Time profile of Tesla, "Superman of the Waldorf," described two dozen. Popular articles now add that he insisted on hotel rooms divisible by three and refused to shake hands with women wearing pearls, often with no traceable source. The PBS-reported story that he sent a secretary home for wearing pearls is better documented, but even that comes from recollection.
There is also the question of severity. In the US National Comorbidity Survey Replication, Ruscio and colleagues found in 2010 that more than a quarter of adults reported obsessions or compulsions at some point in their lives, yet only 2.3 percent met full criteria for OCD. Counting and repeating are common. A diagnosis depends on distress, time lost and interference with life, which are exactly the things that are hardest to judge a century later.
Tesla did describe real distress. He said the need to repeat could take hours. That is a meaningful signal. But "Tesla had OCD" is a reasonable hypothesis, not a fact, and the most colourful anecdotes are the least reliable part of the case.
Tesla's vivid mental imagery — hyperphantasia or hype
The second half of the legend is Tesla's imagination. He claimed he could design, assemble and run machines entirely in his head. In My Inventions he wrote that when he got an idea, "I start at once building it up in my imagination. I change the construction, make improvements and operate the device in my mind." He said he "needed no models, drawings or experiments."
His most famous account is of a walk in a Budapest park in early 1882. Reciting Goethe's Faust with a friend, he says the solution to the alternating-current motor arrived "like a flash of lightning." He drew the diagrams in the sand with a stick. "The images I saw were wonderfully sharp and clear," he wrote, "and had the solidity of metal and stone."
Today some websites list Tesla as a case of hyperphantasia, the term the neurologist Adam Zeman and colleagues at the University of Exeter use for imagery so vivid it rivals perception. Zeman's 2024 review in Trends in Cognitive Sciences estimates that around 3 percent of people sit at this extreme. We explore the full spectrum in Aphantasia and Hyperphantasia — Why Some Minds See Nothing.
Tesla may well have belonged in that 3 percent. His descriptions fit. But no one measured him, and the label adds a scientific gloss to a self-report written decades after the events it describes.
What historians say about Tesla's mental engineering
The historian W. Bernard Carlson, author of the 2013 biography Tesla: Inventor of the Electrical Age, is the most careful guide here. Reviewing the book for the Science History Institute, Benjamin Gross notes that Carlson does not take Tesla's park story "at face value." In 1882 Tesla had no experience building electrical machines. Turning a vivid image into a working motor took years, established physics and a great deal of practical work.
Carlson frames Tesla's method around two ideas. The "ideal" was the underlying principle of a machine, which Tesla grasped quickly and intuitively. "Illusions" were the persuasive demonstrations and stories he used to win over investors and the public, from spark-filled lectures to grand promises of wireless power. Gross sums up Carlson's argument that Tesla's "love of illusions, however, blinded him to practical concerns later in his career."
That is a more interesting picture than either "genius who never needed a prototype" or "fraud." Tesla seems to have had real strength in seeing a system whole. He also had a habit of narrating that strength in its most dramatic form, which is how myths get started.
Is genius linked to madness
The "mad genius" framing assumes that Tesla's brilliance and his difficulties were one thing. Large studies suggest the relationship is much messier.
In 2013 Simon Kyaga and colleagues at the Karolinska Institute followed more than a million people in Swedish population registers. People in creative professions as a group were not more likely to have psychiatric conditions, with one exception: bipolar disorder was overrepresented. Writers stood out more, with higher rates of several conditions and of suicide.
The psychologist Dean Keith Simonton calls this the "mad-genius paradox." In a 2014 paper in Perspectives on Psychological Science, he argued that the answer to whether creativity and psychopathology go together can be "both." Creative people in general may be no less healthy than anyone else, while a small group at the very top of creative achievement may show more vulnerability. For more on that research, see Creativity and Neurodivergence — What Research Shows.
Tesla's compulsions did not make his inventions. His inventions did not cause his compulsions. Both existed in the same nervous system, and the more revealing question is how.
Tesla through a dimensional lens
A diagnosis asks whether someone crosses a threshold. A dimensional view asks which systems were unusually strong, which were under strain and how they affected each other. Three of CognitionType's dimensions do most of the work for Tesla.
Visual processing. This is Tesla's standout dimension and the one he wrote about most. He describes involuntary images in childhood and, later, deliberate imagery precise enough to plan machines. Those are not the same skill. The first was intrusive and unwanted. The second was controlled and productive. Tesla himself says he learned to banish the early images by deliberately conjuring other scenes, which in effect trained the voluntary system to override the involuntary one. People with strong visual processing often recognise both sides: a mind that can build in pictures and a mind that sometimes cannot switch the pictures off.
Emotional regulation. Tesla's rituals look like attempts to manage anxiety. Researchers such as Laura Summerfeldt and Meredith Coles have described "incompleteness" and "not just right experiences" in OCD: a nagging sense that an action is unfinished until it is repeated or arranged correctly. Tesla's need to redo anything not divisible by three fits that pattern closely. Notably, a 2007 study by Anne Speckens and colleagues found that 81 percent of a sample of patients with OCD reported intrusive mental images, most of them linked to earlier distressing memories. Tesla's own account, of nerve-racking scenes replaying at night, sits strikingly close to that finding. Here his visual strength and his emotional vulnerability may have been feeding each other.
Sensory-motor integration. During his 1881 illness in Budapest, Tesla described extraordinary sensitivity. "I could hear the ticking of a watch with three rooms between me and the time-piece," he wrote. "A fly alighting on a table in the room would cause a dull thud in my ear." Flickering sunlight "would cause blows of such force on my brain that they would stun me." His aversions to pearls, peaches and other people's hair also have a sensory flavour. Whatever caused the Budapest episode, it shows a nervous system that, under stress, filtered very little. We look at that experience more broadly in Sensory Processing — Why Some Brains Filter Differently.
Seen this way, Tesla's profile has a clear peak in visual processing, alongside real strain in emotional regulation and sensory filtering, with insomnia and isolation making both worse in later life. That is more precise than "mad genius." It also suggests his strengths and struggles were connected through shared machinery, not through any romance of suffering.
The verdict on the Tesla legend
Here is our assessment of the most common claims, with the strength of the evidence stated plainly.
- Tesla had OCD: Plausible but not established. His own description of counting and compulsive repetition is strong evidence of obsessive-compulsive traits. A formal diagnosis cannot be made from a 1919 memoir and later biographies.
- Tesla had extraordinarily vivid mental imagery: Well supported by his own consistent descriptions, though never measured. Calling it hyperphantasia is a reasonable modern gloss, not a finding.
- Tesla designed machines entirely in his head with no testing: Overstated. Historians including Carlson show that his designs still needed physics, experiment and revision, and that he told his own story dramatically.
- His genius came from his madness: Not supported. Population studies such as Kyaga's find no simple link between creativity and mental illness, and Tesla's own account suggests his rituals cost him time and peace rather than adding to his output.
- The specific anecdotes, like the napkin counts and room numbers: Mixed. Some come from Tesla himself. Others have changed with each retelling.
What you can do if Tesla sounds familiar
If parts of Tesla's account feel uncomfortably close to home, that recognition is worth taking seriously, without needing his name attached.
- Separate imagery from intrusion. Being able to picture things vividly is a strength. Being unable to stop unwanted images, especially ones tied to painful memories, is a different experience and one that responds well to support.
- Notice what the ritual costs. Counting or repeating that is quick and harmless is very common. If it eats hours, causes distress or feels impossible to resist, that is the point to talk to a professional, as OCD is highly treatable with approaches such as exposure and response prevention.
- Watch sleep and stress. Tesla's worst periods came with exhaustion and isolation. For many people, sensory sensitivity and compulsive urges both rise when sleep falls.
- Map your profile before reaching for a label. CognitionType can be a useful tool for understanding your own cognitive profile across dimensions such as visual processing, emotional regulation and sensory-motor integration. It gives you a clearer picture to bring to a clinician. It does not replace one.
Tesla does not need to be mad to be remarkable, and you do not need to be a genius for your own pattern of strengths and strains to make sense. The most honest version of his story is also the most useful: one mind, several systems, some running unusually well and some under real pressure.
CognitionType is an informational assessment, not a clinical diagnosis. If you suspect you may have OCD, an anxiety disorder, sensory processing differences or another cognitive difference, we encourage you to seek a formal evaluation from a qualified professional.