"i was given doxepin 50mg after a very bad experience using xanax for insomnia.  it works fine for my depression, i have a good energy level during the day, but it doesn&#039;t do a thing for my insomnia. i feel that if i can solve my insomnia it would go a long way to helping my depression."