There is a clear link between not getting enough sleep and depression. Many people who are depressed have insomnia, which means they can't fall asleep or stay asleep at night. Those problems with sleep aren't just caused by depression, but other things can also cause them.