When you can’t sleep, the medical term for the problem is insomnia. It’s not simply one bad night. Insomnia is defined as trouble falling asleep, staying asleep, or waking too early, even when you have the chance to sleep. The word “exactly” matters here, because insomnia isn’t a single condition. It’s a pattern with specific timing and duration that doctors use to decide what kind of insomnia you have and how to treat it.
Most people have an occasional rough night and it passes. Insomnia becomes a clinical concern when the difficulty happens at least three nights a week and lasts longer than a few weeks, or when it clearly affects how you function during the day. The timing — how long it’s been going on and when in the night it hits — is often the most useful clue a doctor has.
When You Can’t Sleep What Is It Called and How Is It Classified?
Insomnia is the umbrella term, and clinicians sort it into categories based on how long it lasts. Short-term insomnia, sometimes called acute insomnia, generally lasts from a few days up to about three months. Chronic insomnia is defined as sleep difficulty occurring at least three nights per week and lasting three months or longer. These cutoffs come from widely used diagnostic references, including the International Classification of Sleep Disorders and the DSM-5.
Doctors also classify insomnia by when the problem shows up during the night:
- Sleep-onset insomnia — trouble falling asleep at the start of the night.
- Sleep-maintenance insomnia — waking up during the night and struggling to get back to sleep.
- Early-morning awakening — waking far earlier than intended and being unable to return to sleep.
These patterns are not just labels. They point toward different underlying causes. Sleep-onset trouble often relates to anxiety, an irregular schedule, or stimulant use late in the day. Maintenance problems and early waking are more often linked to conditions like depression, chronic pain, or sleep apnea.
Insomnia is also described as either a standalone problem or a symptom of something else. When it exists on its own without another clear cause, it’s called primary insomnia. When it comes alongside another condition — depression, anxiety, chronic pain, or a breathing disorder — it’s called comorbid insomnia. In practice, comorbid insomnia is far more common.
How Long Does Insomnia Have to Last to Count?
Duration is the dividing line between a passing problem and a diagnosable one. A single night of poor sleep is not insomnia. Neither is a stressful week before a big event. The clinical threshold is generally three months of frequent difficulty for chronic insomnia.
The three-month mark isn’t arbitrary. Research shows that insomnia lasting beyond a few months tends to become self-sustaining. The brain starts to associate the bed with frustration and alertness rather than rest. This is why short-term insomnia sometimes resolves on its own, while chronic insomnia usually needs active treatment to break the cycle.
It’s worth separating duration from severity. Someone can have chronic insomnia that’s mild — a few restless nights a week with little daytime impact — or short-term insomnia that’s severe. Duration tells you the type. Severity tells you how much it’s affecting your life. Both matter for treatment decisions.
What Causes the Different Types of Insomnia?
The causes of insomnia fall into a few broad groups, and most people have more than one at play.
Short-term triggers include stress, grief, jet lag, shift work, a new medication, or an illness. These are usually situational. Once the trigger passes, sleep often returns to normal.
Ongoing medical conditions are a major driver of chronic insomnia. Chronic pain, acid reflux, asthma, thyroid problems, and menopause symptoms can all disrupt sleep. Sleep apnea is especially important to rule out, because it causes fragmented sleep that looks like insomnia but needs entirely different treatment.
Mental health conditions are tightly linked to insomnia. Depression and anxiety are among the most common. The relationship runs both ways — poor sleep can worsen mood, and mood problems can worsen sleep.
Behaviors and habits play a large role too. Caffeine in the afternoon, alcohol in the evening, irregular bedtimes, and long daytime naps can all push sleep out of reach. So can spending hours awake in bed, which trains the brain to treat the bed as a place for frustration.
One insight that surprises many people: lying in bed awake and trying harder to sleep usually backfires. The effort itself creates arousal. This is why behavioral treatments for insomnia focus on changing what you do in bed, not just on relaxing more.
What Are the Symptoms Beyond Not Sleeping?
Insomnia is diagnosed partly by what happens during the day. The nighttime problem is only half the picture.
Common daytime symptoms include:
- Fatigue and low energy
- Trouble concentrating or remembering things
- Irritability or mood swings
- Reduced performance at work or school
- Worrying about sleep itself
That last one deserves attention. When people start dreading bedtime and calculating how many hours they might get, the anxiety about sleep becomes part of the problem. Clinicians sometimes call this “conditioned arousal,” and it’s a key target of treatment.
For a diagnosis of chronic insomnia, the daytime symptoms need to be present along with the nighttime ones. Sleep difficulty alone, without daytime impact, may not meet the threshold.
How Is Insomnia Treated?
The first-line treatment for chronic insomnia is not a pill. It’s a structured behavioral program called cognitive behavioral therapy for insomnia, or CBT-I. Major clinical guidelines, including those from the American College of Physicians, recommend CBT-I as the initial treatment for chronic insomnia in adults.
CBT-I typically includes several components:
- Changing sleep habits and schedule (sleep restriction and stimulus control)
- Challenging unhelpful beliefs about sleep
- Relaxation techniques
- Education about how sleep actually works
Medications do have a role, particularly for short-term insomnia or as an add-on. But most sleep medications are intended for short-term use, and some carry risks of dependence, daytime grogginess, or falls, especially in older adults. The evidence favors behavioral treatment for long-term results.
Underlying conditions need their own treatment. If sleep apnea is present, treating it can improve sleep dramatically. If depression or anxiety is driving the insomnia, addressing that condition is essential. This is why a proper evaluation matters more than reaching for the first sleep aid on the shelf.
When Should You See a Doctor?
It’s reasonable to see a clinician if sleep problems last more than a few weeks, happen most nights, or start affecting your mood, work, or safety. Driving while severely sleep-deprived is genuinely dangerous, and that alone is a reason to seek help.
Certain signs point to a specific cause that needs medical attention:
- Loud snoring, gasping, or pauses in breathing during sleep
- Falling asleep unintentionally during the day
- Sleep problems that began with a new medication
- Persistent low mood or loss of interest in activities
You don’t need to wait until things are severe. Insomnia is common, treatable, and not something you have to simply endure. A doctor or a sleep specialist can help sort out whether you’re dealing with primary insomnia or something else that’s wearing a similar mask.
Frequently Asked Questions
What is it called when you can’t sleep?
The medical term is insomnia. It covers trouble falling asleep, staying asleep, or waking too early, even when you have the chance to rest.
How many nights of poor sleep count as insomnia?
Chronic insomnia is generally defined as sleep difficulty at least three nights per week lasting three months or longer. Occasional bad nights do not meet that threshold.
What is the difference between short-term and chronic insomnia?
Short-term insomnia lasts from a few days up to about three months and often follows a stressor or life change. Chronic insomnia lasts three months or more and tends to become self-sustaining without treatment.
Is insomnia a sign of something else?
Often, yes. Insomnia frequently occurs alongside depression, anxiety, chronic pain, or sleep apnea, which is why a proper evaluation matters. Treating the underlying condition often improves sleep.

