The History of Insomnia: How Humanity Has Understood and Treated Sleeplessness Through the Ages

The History of Insomnia: How Humanity Has Understood and Treated Sleeplessness Through the Ages

Humans have been lying awake at night, staring at ceilings or stars, for at least 5,000 years. The oldest medical texts we’ve discovered, Egyptian papyri from 1550 BCE, already contain remedies for sleeplessness.

The history of insomnia isn’t just a timeline of treatments. It’s a mirror reflecting how each era understood consciousness, the body, and what it means to be human when the world goes dark and you can’t follow.

Every civilization has wrestled with the same problem you’re facing right now. The ancient Greeks blamed an imbalance of bodily fluids. Medieval monks saw it as a spiritual test.

Victorian doctors called it nervous exhaustion and prescribed rest cures that lasted months. Modern neuroscientists map it to orexin receptors and disrupted circadian rhythms. The explanations changed, but the exhaustion stayed the same.

Key Takeaways

  • Insomnia has been documented for over 5,000 years, with every major civilization developing its own framework for understanding and treating sleeplessness, from supernatural explanations to modern neuroscience.
  • Every era underestimated the risks of its preferred pharmaceutical solution, from opium and laudanum to barbiturates and benzodiazepines, creating cycles of dependency that took decades to recognize.
  • The most effective treatment in history emerged without a pill: Cognitive Behavioral Therapy for Insomnia (CBT-I), developed in the 1970s-80s, addresses the root mechanisms of chronic sleeplessness through behavioral change.
  • The transition from segmented to consolidated sleep happened recently, during the Industrial Revolution, fundamentally changing human sleep patterns in ways we’re still adapting to in 2026.
  • Modern sleep science is only 97 years old, beginning with the EEG in 1929, meaning our understanding of the science behind sleep and insomnia is remarkably recent compared to the age of the problem itself.

Ancient World: Supernatural, Spiritual, and Humoral Explanations

The Ebers Papyrus, written around 1550 BCE, lists opium-based preparations for “driving away excessive crying” and promoting sleep. Ancient Egyptians understood that poppy extracts could quiet a restless mind, even if they attributed the mechanism to divine intervention. Priests at the Temple of Serapis in Alexandria offered “incubation sleep,” where sufferers would sleep in the temple hoping for healing dreams sent by the gods.

Hippocrates, writing around 400 BCE, rejected supernatural explanations entirely. He argued that sleeplessness came from an imbalance of the four humors: blood, phlegm, yellow bile, and black bile.

Too much yellow bile created heat and agitation that prevented sleep. His treatment focused on diet, exercise, and herbal remedies to restore balance. Aristotle wrote “On Sleep and Wakefulness,” the first systematic philosophical treatment of sleep, arguing it was a natural process of cooling and rest for the heart.

The Romans inherited Greek medicine and expanded it. Galen, the most influential physician of the Roman Empire, prescribed opium and mandragora (mandrake root) for severe insomnia. He also recommended warm baths, massage, and avoiding heavy meals before bed, advice that sounds remarkably similar to modern sleep hygiene strategies. Seneca’s letters describe his own struggles with sleeplessness, writing about the torture of lying awake while the city slept around him.

Ancient Chinese medicine took a different path. The Huangdi Neijing (Yellow Emperor’s Classic of Internal Medicine), compiled around 300 BCE, attributed insomnia to imbalances in qi and disruptions in the relationship between the heart and kidneys. The formula Suan Zao Ren Tang, still used today, combined jujube seeds, licorice, and other herbs to “nourish the heart and calm the spirit.”

The mechanism they described, calming an overactive mind while supporting the body’s natural rhythms, aligns surprisingly well with what we now understand about the autonomic nervous system.

showing ancient civilizations' approach to sleep medicine: split composition featuring Egyptian temple

Medieval Period (500–1500 CE)

Medieval Europe wrapped sleep in Christian theology. Sleeplessness became a spiritual struggle, a time when demons whispered temptations or God tested faith. Monks practiced “vigils,” intentional wakefulness for prayer, but chronic insomnia was seen as either divine punishment or demonic interference.

The concept of “first sleep” and “second sleep” emerged during this period. People would sleep for three to four hours, wake for an hour or two of prayer, conversation, or intimacy, then return to sleep until dawn. This segmented pattern was considered normal, not a disorder.

The Islamic Golden Age produced the most sophisticated medical understanding of the medieval world. Ibn Sina (Avicenna), writing his Canon of Medicine around 1025 CE, created the first systematic classification of sleep disorders. He distinguished between difficulty falling asleep, difficulty staying asleep, and non-restorative sleep.

He described what we now call paradoxical insomnia, where patients believe they haven’t slept despite evidence to the contrary. His treatments combined herbal remedies, dietary changes, and behavioral modifications like establishing regular sleep times.

Medieval European remedies relied heavily on herbs. Valerian root, hops, lavender, and chamomile all appear in herbals from this period. These weren’t superstitions. Valerian contains compounds that enhance GABA activity in the brain, the same mechanism modern sleep medications target.

Hops contain methylbutenol, which has mild sedative properties. The monks and herbalists didn’t know the neurochemistry, but they’d identified plants that genuinely affected sleep architecture through centuries of trial and observation.

Renaissance and Early Modern Period (1500–1800)

Andreas Vesalius revolutionized anatomy in 1543 with detailed dissections showing the brain’s structure. René Descartes proposed that the pineal gland regulated sleep, a guess that turned out to be partially correct, since the pineal produces melatonin. Thomas Willis, in 1664, was the first to clearly locate sleep and wakefulness in the brain itself, not the heart or humors. The mechanical philosophy of the era treated the body as a machine that could malfunction, and sleep as a process that could be understood and fixed.

The 18th century saw the rise of “nervous diseases.” Physicians diagnosed patients with “nervous exhaustion,” “neurasthenia,” and “vapors,” vague categories that included chronic insomnia. Treatments ranged from the reasonable (regular exercise, fresh air) to the bizarre (mesmerism, where practitioners claimed to manipulate “animal magnetism” to induce sleep). Hydrotherapy became popular, with patients taking cold baths or wraps to shock the nervous system into balance.

This era also marked the beginning of the first modern pharmaceutical sleep crisis. Laudanum, a tincture of opium in alcohol, became widely available in the 1600s and remained legal and popular until the early 1900s. It worked brilliantly for inducing sleep.

It also created widespread addiction, tolerance, and withdrawal insomnia that was worse than the original problem. Samuel Taylor Coleridge, Thomas De Quincey, and countless others became dependent on it. The pattern would repeat with every subsequent class of sleep medication: initial enthusiasm, widespread use, gradual recognition of serious risks.

19th Century: Insomnia as a Modern Medical Problem

The Industrial Revolution changed human sleep forever. Gas lighting, then electric lighting, extended the day. Factory shifts disrupted natural rhythms. The segmented sleep pattern that had been normal for millennia disappeared within a generation.

Urban noise, shift work, and the pressure to maximize productive hours created what physicians recognized as an epidemic of sleeplessness. How sleep changes throughout life became a medical concern rather than just a natural process.

Bromide salts, introduced in the 1850s, became the first widely prescribed pharmaceutical hypnotics. They worked by depressing the central nervous system. They also accumulated in the body, causing “bromism,” a toxic state of confusion, hallucinations, and psychosis.

Chloral hydrate, synthesized in 1832 and used as a hypnotic starting in the 1860s, was safer but still caused dependence. It’s what was slipped into drinks to create a “Mickey Finn” that knocked people unconscious.

Sigmund Freud shifted attention to psychological causes. He argued that insomnia often stemmed from repressed conflicts and anxieties that surfaced when conscious defenses relaxed at night. His talking cure aimed to bring these conflicts into awareness where they could be resolved.

Meanwhile, Silas Weir Mitchell developed the “rest cure” for neurasthenic women, prescribing weeks or months of complete bed rest, isolation, and overfeeding. It was supposed to restore nervous energy. It often made insomnia worse by destroying any remaining sleep schedule and creating profound boredom and anxiety.

The 19th century established insomnia as a legitimate medical problem worthy of serious attention. It also established the pattern of reaching for pharmaceutical solutions before fully understanding the causes of insomnia or the long-term consequences of treatment.

Ancient Cures For Insomnia

20th Century: The Birth of Sleep Science

Hans Berger invented the electroencephalogram (EEG) in 1929, making it possible to measure brain activity during sleep for the first time. Sleep wasn’t just absence of wakefulness. It had structure, stages, and electrical signatures.

In 1953, Eugene Aserinsky and Nathaniel Kleitman discovered REM (rapid eye movement) sleep at the University of Chicago, recognizing it as a distinct state with unique brain activity and dreaming.

In 1957, William Dement and Kleitman described the 90-minute sleep cycle that alternates between REM and non-REM stages throughout the night.

These discoveries transformed sleep from a black box into something measurable and understandable. In 1970, Stanford opened the first sleep disorders clinic, where patients could be monitored overnight while doctors recorded their brain waves, eye movements, muscle tension, and breathing.

In 1982, Alexander Borbély published his two-process model, explaining how sleep pressure (Process S) builds during wakefulness while circadian rhythm (Process C) determines timing. This model remains the foundation of how we understand sleep regulation in 2026.

The pharmaceutical story of the 20th century followed a predictable arc. Barbiturates, introduced in the early 1900s, became the dominant sleep medication by the 1950s. They were effective. They were also highly addictive, caused severe withdrawal, and had a narrow margin between therapeutic and lethal doses.

Thousands died from accidental overdoses or suicide. Benzodiazepines, introduced in the 1960s with drugs like Valium and later Halcion for sleep, were marketed as safer alternatives. They were safer than barbiturates, but they still caused dependence, tolerance, rebound insomnia, and cognitive impairment.

The Z-drugs (zolpidem/Ambien, zaleplon/Sonata, eszopiclone/Lunesta) arrived in the 1990s, again marketed as safer and less addictive. They targeted specific GABA receptor subtypes, supposedly reducing side effects. They still caused dependence, complex sleep behaviors like sleep-driving, and rebound insomnia.

The pattern held: each new class of medication was initially embraced, then gradually recognized as having serious limitations and risks. Understanding the risks of sleep medication became as important as understanding their benefits.

The real breakthrough came from psychology, not pharmacology. In 1972, Richard Bootzin developed stimulus control therapy, teaching insomniacs to associate the bed with sleep rather than wakefulness and frustration. In 1987

Arthur Spielman introduced sleep restriction therapy, temporarily limiting time in bed to match actual sleep time, then gradually expanding it. These behavioral techniques addressed the mechanisms that perpetuate chronic insomnia: conditioned arousal, irregular sleep schedules, and excessive time in bed trying to force sleep.

Cognitive Behavioral Therapy for Insomnia (CBT-I) combined these behavioral techniques with cognitive therapy to address the anxious thoughts and beliefs that fuel sleeplessness. In 2005, a National Institutes of Health State-of-the-Science Conference concluded that CBT-I should be the first-line treatment for chronic insomnia.

Decades of sleep research had produced the most effective treatment in history, and it didn’t require a single pill. It required understanding your sleep baseline, identifying your sleep disruptor, and matching the habit to your pattern.

21st Century: The Neuroscience and Digital Era

The 21st century brought molecular precision to sleep medicine. In 1998, researchers discovered orexin (also called hypocretin), a neurotransmitter that promotes wakefulness. People with narcolepsy lack orexin-producing neurons.

This led to a new class of sleep medications: orexin receptor antagonists like suvorexant (Belsomra) and lemborexant (Dayvigo), approved in 2014 and 2019. Instead of sedating the entire brain, these drugs block the specific signal that keeps you awake. They represent a more targeted approach, though long-term data is still accumulating and the dependency question remains open.

In 2013, Maiken Nedergaard discovered the glymphatic system, a waste-clearance system in the brain that operates primarily during sleep. During deep sleep, cerebrospinal fluid flushes through the brain, removing metabolic waste including beta-amyloid, the protein that accumulates in Alzheimer’s disease.

This discovery linked poor sleep directly to dementia risk and explained why chronic insomnia isn’t just about feeling tired. It’s about long-term brain health and the long-term health risks of chronic insomnia.

Digital technology democratized access to CBT-I. Apps like Sleepio and Somryst deliver the core components of CBT-I through smartphones, making evidence-based treatment available to people who can’t access specialized sleep clinics.

Wearable devices track sleep stages, heart rate variability, and movement, giving users detailed data about their sleep architecture. The challenge became distinguishing useful self-awareness from obsessive tracking that creates new anxiety. The technology is a tool for building your sleep inventory, not a replacement for understanding the mechanisms underneath.

The COVID-19 pandemic created the largest documented spike in insomnia in human history. Researchers coined the term “coronasomnia” to describe the wave of sleep problems triggered by stress, disrupted routines, economic uncertainty, and social isolation.

Insomnia statistics across different populations showed increases of 30-40% in many countries. The pandemic demonstrated how quickly environmental and psychological stressors can trigger widespread sleep disruption, and how important it is to have accessible, effective treatments that don’t rely solely on medication.

What History Teaches Us About Insomnia

Every era has been confident it finally understood sleep. The ancient Greeks had their humors. The Victorians had their nerve tonics. The 20th century had its pills. Each generation underestimated the complexity of sleep and overestimated the safety of its preferred solutions. The history of pharmaceutical sleep aids is a repeating cycle: initial enthusiasm, widespread adoption, gradual recognition of dependence and side effects, search for the next safer alternative.

The pattern teaches you to be skeptical of simple solutions and to ask the dependency question about any treatment. Opium worked. Barbiturates worked. Benzodiazepines worked. They all worked until they didn’t, until tolerance built and withdrawal created worse insomnia than the original problem. Even modern medications, marketed as safer and more targeted, follow the same trajectory of initial promise followed by accumulating concerns.

The behavioral revolution that produced CBT-I represents a fundamentally different approach. Instead of trying to force sleep with chemicals, it addresses the mechanisms that perpetuate chronic insomnia: conditioned arousal, irregular schedules, maladaptive beliefs, and behaviors that seem helpful but actually worsen the problem.

It requires more effort than taking a pill. It also produces lasting changes without the risk of dependence or withdrawal. The evidence is overwhelming: CBT-I is more effective than medication for chronic insomnia, and the benefits persist long after treatment ends.

History also reveals that cultural perspectives on sleep shape how we experience and treat sleeplessness. The medieval practice of segmented sleep wasn’t a disorder. It was normal until the Industrial Revolution eliminated it within a generation.

Our current expectation of eight continuous hours is historically recent and culturally specific. Understanding this helps you separate genuine sleep problems from arbitrary standards that don’t match your biology.

The most important lesson from 5,000 years of insomnia treatment is this: self-awareness before sleep aids. Every effective treatment, from ancient Chinese medicine to modern CBT-I, starts with understanding your specific pattern. Are you unable to fall asleep, unable to stay asleep, or waking too early?

Is the problem recent or chronic? Is it triggered by stress, pain, medication, or no identifiable cause? The right remedy for the wrong sleeper doesn’t work. You need to match the habit to your pattern and build the foundation before reaching for quick fixes.

Frequently Asked Questions

When was insomnia first recognized as a medical condition?

Insomnia appears in the oldest medical texts we have, including Egyptian papyri from 1550 BCE and the Huangdi Neijing from ancient China around 300 BCE. However, it wasn’t systematically classified as a distinct medical condition until Ibn Sina’s Canon of Medicine in 1025 CE, which distinguished between different types of sleep problems. Modern medical recognition of insomnia as a specific disorder requiring specialized treatment emerged in the late 19th century during the Industrial Revolution.

What was the first medication used to treat insomnia?

Opium-based preparations were the first documented sleep medications, used by ancient Egyptians around 1550 BCE and continuing through laudanum in the 1600s-1900s. The first synthetic pharmaceutical hypnotics were bromide salts in the 1850s and chloral hydrate in the 1860s. Each of these early medications worked by depressing the central nervous system, but all caused significant problems with dependence, tolerance, and toxicity.

Is CBT-I really more effective than sleep medication?

Yes, according to decades of sleep research and a 2005 NIH consensus statement. CBT-I produces comparable or better short-term results than medication for chronic insomnia, and the benefits persist long after treatment ends, while medication effects typically disappear once you stop taking it. CBT-I addresses the behavioral and cognitive patterns that perpetuate insomnia rather than just temporarily inducing sleep. It requires more effort and time than taking a pill, but it creates sustainable recovery without the risk of dependence.

Why did humans used to sleep in two shifts?

Before artificial lighting, humans naturally followed a segmented sleep pattern called “first sleep” and “second sleep,” sleeping for three to four hours, waking for one to two hours, then sleeping again until dawn. This pattern disappeared during the Industrial Revolution when gas and electric lighting extended the day and factory schedules demanded consolidated sleep. The change happened within a single generation, fundamentally altering human sleep patterns in ways we’re still adapting to.

What’s the most important discovery in sleep science history?

The invention of the EEG in 1929 made modern sleep science possible by allowing researchers to measure brain activity during sleep. The discovery of REM sleep in 1953 revealed that sleep has distinct stages with different functions. Borbély’s two-process model in 1982 explained how sleep pressure and circadian rhythm interact. The development of CBT-I in the 1970s-80s produced the most effective treatment for chronic insomnia. Each discovery built on the previous ones, transforming sleep from a mysterious black box into something we can measure, understand, and effectively treat.

Are modern sleep medications safer than older ones?

Modern medications like orexin receptor antagonists are more targeted than older sedatives, blocking specific wakefulness signals rather than depressing the entire central nervous system. They appear to have fewer side effects and less abuse potential than barbiturates or benzodiazepines. However, history teaches caution: every new class of sleep medication has initially been marketed as safer than its predecessors, only for problems to emerge with long-term use. The dependency question remains relevant for any pharmaceutical approach, and behavioral treatments like CBT-I remain the gold standard for chronic insomnia.

history of insomnia

Your Path Forward From Ancient Wisdom to Modern Practice

You’re standing at the end of a 5,000-year timeline of trial, error, and gradual understanding. Every remedy your ancestors tried, from opium to meditation to sleep restriction, taught us something about how sleep works and what disrupts it.

The history of insomnia isn’t just academic background. It’s a practical guide showing you which approaches have stood the test of time and which ones created more problems than they solved.

Start with your sleep inventory. Track when you can’t fall asleep, when you wake during the night, when you wake too early, and what circumstances surround each pattern.

This self-awareness is the foundation that every effective treatment system, from ancient Chinese medicine to modern CBT-I, has recognized as essential. You can’t match the habit to your pattern until you know what your pattern actually is.

Build the foundation before reaching for quick fixes. The behavioral techniques that form the core of CBT-I, stimulus control and sleep restriction, work by addressing the mechanisms that perpetuate chronic insomnia.

They’re not comfortable at first. They require discipline and patience. They also produce deep rest and sustainable recovery without the dependency risks that have plagued every pharmaceutical approach in history. Building a better sleep routine starts with understanding these evidence-based techniques.

If you do use medication, understand it’s a tool for acute situations, not a long-term solution. History has proven this lesson repeatedly across every class of sleep drugs ever developed. Use it to break a crisis cycle, then transition to behavioral approaches that create lasting change. Ask the dependency question before you start, and have an exit plan before you need one.

The most powerful insight from the history of insomnia is this: the most effective treatment ever developed doesn’t come in a bottle. It comes from understanding your specific sleep disruptor, addressing the root mechanisms that perpetuate your pattern, and building habits that work with your biology rather than fighting against it.

That’s not ancient wisdom or modern science. It’s both, refined across millennia of human experience with sleeplessness.