Poor sleep is more than feeling tired the next morning. Repeatedly getting too little sleep, waking frequently, or sleeping at the wrong time can affect how the brain processes pain, regulates emotions, concentrates, and responds to stress. The relationship between sleep, pain, and depression is also bidirectional: poor sleep can contribute to pain and mood problems, while pain and depression can make sleep worse. Research has found that sleep disturbance partially explains the relationship between depression and chronic pain, although it is not the only factor involved.
For most adults, regularly getting at least 7 hours of sleep per night is recommended. Healthy sleep also involves adequate quality, appropriate timing, regularity, and freedom from untreated sleep disorders.
Can poor sleep cause pain and depression?
Yes, poor sleep can increase pain sensitivity and is associated with depression and other mood problems. Experimental research suggests that sleep deprivation can lower pain thresholds, while observational and clinical research links inadequate or disrupted sleep with depression.
However, poor sleep does not automatically mean that someone will develop depression or chronic pain. Medical conditions, medications, stress, mental health conditions, lifestyle factors, and sleep disorders can all contribute.
5 signs of poor sleep that may contribute to pain and depression
1. You wake up tired even after spending enough time in bed
One of the clearest poor sleep symptoms is waking up feeling unrefreshed.
You may technically spend seven or eight hours in bed but still experience poor-quality sleep because you repeatedly wake up, have disrupted sleep stages, or have a condition such as sleep apnea.
Common clues include:
- Feeling exhausted shortly after waking
- Needing several alarms to get up
- Relying heavily on caffeine to function
- Feeling sleepy during meetings, reading, or watching television
- Struggling to stay awake during the afternoon
- Sleeping longer on days off but still feeling tired
Sleep deficiency can interfere with attention, memory, decision-making, emotional regulation, and reaction time. Persistent daytime sleepiness is particularly important because it can affect safety. Sleep deprivation can cause involuntary microsleeps, and fatigue substantially impairs driving ability.
2. Headaches or other pain become more frequent
Can poor sleep cause headaches? It can contribute to them.
Sleep disturbances and headache disorders frequently occur together. Research has found associations between poor sleep and increased headache frequency or intensity, particularly with migraine and tension-type headaches.
Poor sleep may also make existing pain feel more intense.
A systematic review and meta-analysis of experimental sleep-deprivation studies found that total sleep deprivation reduced pain thresholds and tolerance in healthy participants, while partial sleep deprivation increased spontaneous pain intensity.
This can create a frustrating cycle:
Poor sleep → increased pain sensitivity → more discomfort at night → worse sleep → greater pain sensitivity
The relationship also works in the opposite direction. Pain can make it harder to fall asleep or stay asleep, creating a self-reinforcing cycle.
3. You become unusually irritable, anxious, or emotionally sensitive
Not every effect of poor sleep feels physical.
Sleep deficiency affects areas of the brain involved in attention, decision-making, emotional regulation, and coping with stress. People who are sleep deficient may become more frustrated, irritable, anxious, or emotionally reactive.
You might notice that:
- Minor problems feel overwhelming.
- You become impatient more easily.
- You have difficulty regulating your emotions.
- Stress feels harder to manage.
- You withdraw from people.
- You have less motivation for activities you normally enjoy.
These changes don’t necessarily mean you have depression. A few nights of poor sleep can temporarily affect mood.
But persistent sleep problems and depression can influence each other, so ongoing changes in mood deserve attention.
4. Your concentration and memory start to decline
Another important sign is a noticeable change in how well your brain functions during the day.
Poor sleep can make it harder to:
- Concentrate
- Remember information
- Solve problems
- Make decisions
- React quickly
- Complete routine tasks
- Control impulses and emotions
NHLBI notes that even losing just one or two hours of sleep per night over several nights can significantly impair daytime functioning.
This is one reason sleep deprivation can become a safety issue rather than simply an inconvenience.
If you are extremely sleepy, do not drive or operate machinery simply because you believe you can push through the fatigue.
5. Low mood, loss of interest, or depressive symptoms begin to appear
Poor sleep and depression have a complex, two-way relationship.
Sleep deficiency has been linked to depression, while depression itself commonly causes changes in sleep—including insomnia, frequent waking, early-morning waking, or sleeping excessively.
Warning signs that deserve more attention include:
- Persistent sadness or emptiness
- Loss of interest or pleasure
- Feelings of hopelessness
- Low energy
- Significant irritability
- Difficulty concentrating
- Changes in appetite
- Sleeping much more or much less than usual
- Feelings of worthlessness or excessive guilt
Depression can also involve unexplained physical symptoms such as headaches, body aches, or digestive problems.
If these symptoms are persistent or interfere with everyday life, it is important to speak with a healthcare professional rather than assuming that improving sleep alone will solve the problem.
What is poor sleep?
Poor sleep generally refers to sleep that is insufficient, disrupted, mistimed, irregular, or not restorative.
It is broader than simply sleeping too few hours.
For example, a person may experience poor sleep because they:
- Sleep only five or six hours regularly.
- Wake repeatedly throughout the night.
- Have difficulty falling asleep.
- Work rotating or overnight shifts.
- Have untreated sleep apnea.
- Have restless legs syndrome.
- Experience chronic pain.
- Drink alcohol close to bedtime.
- Have an inconsistent sleep schedule.
- Have an environment that repeatedly interrupts sleep.
NHLBI distinguishes sleep deprivation from the broader concept of sleep deficiency, which can include insufficient sleep, sleeping at the wrong time, poor-quality sleep, or a sleep disorder that interferes with restorative sleep.
What is lack of sleep called?
Common terms include sleep deprivation, sleep deficiency, and insufficient sleep.
They are not perfectly interchangeable:
- Sleep deprivation: not getting enough sleep.
- Sleep deficiency: a broader problem involving inadequate duration, poor quality, inappropriate timing, or a sleep disorder.
- Insomnia: persistent difficulty falling asleep, staying asleep, or getting adequate restorative sleep despite having an opportunity to sleep.
In U.S. ICD-10-CM coding, Z72.820 is the code for sleep deprivation, described as a lack of adequate sleep. Z72.821 is used for inadequate sleep hygiene. Insomnia has separate diagnostic codes and should not automatically be coded as sleep deprivation.
Common poor sleep causes
The causes of poor sleep can be behavioral, environmental, psychological, medical, or related to an underlying sleep disorder.
Lifestyle and behavioral causes
Common contributors include:
- Irregular bedtimes and wake times
- Working late or long hours
- Excessive screen use at night
- Caffeine late in the day
- Alcohol near bedtime
- Nicotine
- Large meals close to bedtime
- Too little physical activity
- Frequently changing sleep schedules
- Using the bedroom for work or stimulating activities
Medical causes
Poor sleep can also result from:
- Chronic pain
- Depression or anxiety
- Asthma or other breathing problems
- Gastroesophageal reflux
- Hormonal changes
- Certain medications
- Restless legs syndrome
- Sleep apnea
- Circadian rhythm disorders
Loud snoring, repeated gasping during sleep, morning headaches, or severe daytime sleepiness can be clues to sleep apnea and should be discussed with a healthcare professional.
What is poor sleep hygiene?
Poor sleep hygiene means habits or environmental conditions that interfere with healthy sleep.
Examples include:
- Going to bed at dramatically different times each night
- Using bright screens immediately before bed
- Drinking caffeine late in the afternoon or evening
- Drinking alcohol to try to fall asleep
- Keeping the bedroom noisy, bright, or uncomfortable
- Working or scrolling in bed for long periods
- Regularly sacrificing sleep for work or entertainment
Good sleep habits can help, but there is an important distinction: sleep hygiene by itself is not considered a complete treatment for chronic insomnia. The American Academy of Sleep Medicine recommends multicomponent cognitive behavioral therapy for insomnia (CBT-I) as a first-line behavioral treatment for chronic insomnia.
Poor sleep posture: can it contribute to pain?
Poor sleep posture can contribute to musculoskeletal discomfort, particularly when the neck, shoulders, back, or hips remain in an uncomfortable position for hours.
However, posture is only one possible contributor to pain.
If you regularly wake with neck or back pain, consider:
- Whether your pillow supports your neck comfortably
- Whether your mattress provides appropriate support
- Whether you spend much of the night in a position that causes discomfort
- Whether pain is present during the day as well
- Whether another medical condition could be causing the pain
Persistent or severe pain should not automatically be attributed to sleeping position.
Poor sleep effects on the brain
One of the most noticeable lack of sleep side effects on the brain is impaired daytime functioning.
Sleep deficiency can affect:
- Attention
- Learning
- Memory
- Reaction time
- Decision-making
- Emotional regulation
- Problem-solving
- Risk assessment
Sleep also supports processes involved in learning and memory. When sleep is repeatedly restricted, the effects can accumulate as sleep debt.
Chronic sleep deficiency is also associated with depression and other health problems.
Importantly, a bad night’s sleep does not mean that your brain has been permanently damaged. The greater concern is persistent sleep deficiency and its effects on health, functioning, and safety.
Side effects of lack of sleep
The side effects of lack of sleep can occur quickly and may become more significant when sleep loss continues.
| Area affected | Possible effects |
| Brain and thinking | Poor concentration, memory problems, slower reaction time |
| Mood | Irritability, anxiety, low mood, emotional sensitivity |
| Pain | Increased pain sensitivity, headaches, worsening of some pain conditions |
| Safety | Microsleeps, impaired driving, increased accident risk |
| Physical health | Higher risk of several chronic health conditions with ongoing deficiency |
| Daily functioning | Lower productivity, more mistakes, difficulty completing tasks |
Regularly sleeping less than the recommended amount has been associated with depression, cardiovascular disease, metabolic problems, impaired performance, and increased accident risk.
How to recover from lack of sleep fast
There is no reliable way to completely erase sleep debt in a few hours.
If you have had one or two poor nights, the most useful approach is to return to a consistent sleep schedule and give yourself enough opportunity to sleep.
The next day
- Avoid driving if you are too sleepy to drive safely.
- Do not depend on excessive caffeine to compensate for severe sleepiness.
- Get some daylight exposure and normal daytime activity.
- If you nap, keep it relatively short and avoid letting it interfere with nighttime sleep.
- Return to your normal bedtime rather than staying awake intentionally to “reset” your schedule.
Over the following nights
Aim for adequate sleep consistently rather than trying to compensate with extreme changes.
Most adults need at least seven hours of sleep regularly, although individual needs vary.
Extra sleep after sleep loss can be helpful, but naps do not replace all the benefits of nighttime sleep, and repeatedly shifting your schedule can disrupt your body clock.
Sleep deprivation treatment
Treatment depends on why someone is not sleeping well.
If the problem is chronic insomnia
Cognitive behavioral therapy for insomnia (CBT-I) is a well-supported treatment. It addresses behaviors and thoughts that maintain insomnia and can include stimulus control, relaxation techniques, sleep scheduling, and cognitive strategies.
If sleep apnea is involved
Treatment may include positive airway pressure such as CPAP, other breathing devices, behavioral approaches, or—in selected cases—surgery.
If depression or anxiety is contributing
Treating the underlying mental health condition may be necessary alongside treatment for the sleep problem.
If medications or substances are contributing
A healthcare professional can review prescription medicines, over-the-counter products, caffeine, alcohol, nicotine, and other substances that may interfere with sleep.
The goal is not simply to make you sleep longer. The goal is to identify and treat the reason your sleep is inadequate.
How to improve poor sleep quality
Good sleep quality involves more than counting hours.
Helpful habits include:
- Keep a consistent bedtime and wake time.
- Give yourself enough time for sleep.
- Keep the bedroom cool, dark, quiet, and comfortable.
- Turn off electronic devices before bed.
- Avoid caffeine later in the day.
- Avoid large meals and alcohol close to bedtime.
- Exercise regularly, preferably not immediately before bed if it makes you more alert.
- Use the hour before bed for quiet, relaxing activities.
- Get regular exposure to natural light during the day.
These measures are recommended as components of healthy sleep habits.
If you have chronic insomnia, however, do not assume that better sleep hygiene alone will fix the problem. Evidence-based insomnia treatment such as CBT-I may be more appropriate.
Can lack of sleep kill you?
Severe sleep deprivation can become dangerous, but the risk is not as simple as saying that one night without sleep will directly cause death.
The clearest immediate danger is impaired functioning and accidents. Severe sleepiness can cause microsleeps and substantially impair driving and other safety-sensitive activities.
Over the long term, chronic sleep deficiency is associated with a greater risk of serious health conditions, including cardiovascular disease, high blood pressure, diabetes, obesity, stroke, depression, and other problems.
Therefore, persistent sleep deprivation should not be dismissed as simply being tired.
When should you see a doctor about poor sleep?
Consider speaking with a healthcare professional if:
- Sleep problems persist despite changing your habits.
- You regularly feel sleepy during the day.
- You wake up unrefreshed despite spending enough time in bed.
- You snore loudly or wake up gasping.
- You frequently wake with headaches.
- Pain repeatedly prevents you from sleeping.
- Your sleep problems are affecting work, school, relationships, or driving.
- You have persistent anxiety, sadness, or loss of interest.
- You regularly sleep for an adequate amount of time but still feel exhausted.
A clinician may review your sleep schedule, medications, medical conditions, mental health, and symptoms. Depending on the situation, a sleep diary or sleep study may be appropriate.
Poor sleep, pain, and depression: breaking the cycle
Poor sleep does not always start with sleep itself.
For one person, chronic pain may make sleeping difficult. For another, stress or depression may interfere with sleep. Someone else may have sleep apnea that repeatedly disrupts sleep without realizing it.
The result can look like this:
Poor sleep → greater pain sensitivity → worse mood → more difficulty sleeping → greater pain and fatigue
Breaking that cycle usually requires identifying the underlying cause rather than simply trying to force more hours of sleep.
If insomnia is the primary problem, evidence-based behavioral treatment such as CBT-I can be particularly useful. If pain, depression, sleep apnea, medication effects, or another condition is contributing, that problem may also need treatment.
Frequently asked questions
Can poor sleep cause headaches?
Yes. Poor sleep and sleep disruption are associated with headaches, including tension-type headaches and migraine. The relationship is bidirectional: poor sleep can contribute to headaches, while headaches can also interfere with sleep.
What are the most common poor sleep symptoms?
Common symptoms include daytime sleepiness, waking unrefreshed, fatigue, difficulty concentrating, memory problems, irritability, headaches, and reduced emotional control.
Can poor sleep cause depression?
Poor sleep is associated with depression and may contribute to depressive symptoms, but depression and sleep problems also influence each other. Persistent depression requires appropriate mental health evaluation rather than assuming sleep loss is the only cause. How many hours of sleep do adults need?
Most adults should regularly get at least 7 hours of sleep per night. Individual sleep requirements vary, and sleep quality, timing, and regularity also matter.
Can one bad night of sleep cause serious harm?
One bad night can cause significant next-day sleepiness, impaired attention, slower reactions, mood changes, and increased accident risk. The more concerning health effects are associated with repeated or chronic sleep deficiency. Is sleeping more on weekends enough to recover?
Extra sleep on days off may help you feel better after inadequate sleep, but it does not completely replace the benefits of consistent nighttime sleep. Large shifts between weekday and weekend schedules can also disrupt your body clock.
What is the ICD-10 code for poor sleep?
There is not one universal ICD-10-CM code for every form of “poor sleep.” In U.S. ICD-10-CM, Z72.820 describes sleep deprivation, while Z72.821 describes inadequate sleep hygiene. Insomnia and specific sleep disorders have separate codes.
Can poor sleep posture cause pain?
An uncomfortable sleeping position can contribute to neck, shoulder, back, or other musculoskeletal discomfort. However, persistent pain should not automatically be blamed on posture because many other causes are possible.
Conclusion
Poor sleep can affect far more than energy levels. Repeated sleep loss or poor-quality sleep can increase pain sensitivity, contribute to headaches, impair memory and concentration, disrupt emotional regulation, and is associated with depression and other health problems.
The most important steps are to make adequate sleep a regular priority, maintain a consistent sleep-wake schedule, address behaviors that interfere with sleep, and seek medical evaluation when poor sleep persists.
If poor sleep occurs alongside persistent depression, severe pain, loud snoring or gasping, extreme daytime sleepiness, or thoughts of suicide, professional help is especially important. In the United States, anyone experiencing thoughts of suicide or an urge to self-harm can call or text 988 for immediate crisis support.
