Yes, there is a strong link between anxiety and insomnia. Anxiety can cause difficulty falling asleep, staying asleep, or experiencing restful sleep. Worries and racing thoughts caused by anxiety can keep people mentally alert and make it harder to relax and unwind at bedtime. Physiological symptoms of anxiety, such as increased heart rate and muscle tension, can further contribute to sleep disturbances.