Hey, Xanax was given to me for anxiety, and I took it for a week straight before bed. When I tried to sleep without it, I had anxiety even worse and I couldn't sleep. It took me about 3-4 nights to get back used to sleeping without the help.
I develpoed a strong need for it in only a week, so I know how you feel. What I do now is leave 1 pill next to my bed, so I know it is there (calms my anxiety) but I don't take it. I noticed that when my mind knows the Xanax is near-by, I am more relaxed and don't suffer from anxiety as bad as before.....just a suggestion