Hi, Lainey and Sandy, Depression and anxiety go together very frequently, but not always.
Insomnia is a companion of both.
On the other hand, if you wake up way too early and can't go back to sleep, it's often a sign of anxiety. I have also taken Xanax for anxiety and for insomnia and have found it to be effective for both, that is, more effective than Ativan or Valium, for example. If I take 0.25 mg, it doesn't put me to sleep, but it takes much longer for my anxiety to subside. I have also found relaxation techniques to be vey effective. Progressive relaxation is a good start, because it focuses your concentration on the way that tension and relaxation feel in different regions of the body.