Stress. Events like a job loss or the death of a loved one often cause some sleepless nights. Your doctor might call it acute insomnia as long as it goes away on its own within a few nights. Long-term worry, as well as anxiety disorder, panic attacks, and PTSD, can lead to chronic insomnia, which is more serious.