Insomnia can be caused by psychiatric conditions such as depression. Psychological struggles can make it hard to sleep, insomnia itself can bring on changes in mood, and shifts in hormones and physiology can lead to both psychiatric issues and insomnia at the same time.

Sleep problems may represent a symptom of depression, and the risk of severe insomnia is much higher in patients with major depressive disorders. Studies show that insomnia can also trigger or worsen depression.

It's important to know that symptoms of depression (such as low energy, loss of interest or motivation, feelings of sadness or hopelessness) and insomnia can be linked, and one can make the other worse. The good news is that both are treatable regardless of which came first.