I took Xanax for insomnia. One year back, I had an insomnia problem. I tried so many medications but none of them provide the effects. At last, I went to the hospital and done checkup for my issue. The doctor prescribed Xanax 1mg and told me to take one pill per day. By following his guidelines, I have used Xanax before bedtime. You believe or not, that I had a deep sleep throughout the night without any disturbances. This is the best and most effective pill for insomnia problem.