I've been taking Ambien for sleep daily for almost a year. Recently, I have been taking large doses on some nights - 40 mg a couple of times, but usually 20-30. Long story short, I am almost out of Ambien and have over two weeks before I can refill my prescription, and I am pretty sure I am dependent on it. Now I haven't taken any benzos in a while, but I have some Xanax saved up - my question is, will taking, say, 0.5 mg of Xanax a night instead of the Ambien prevent me from going into Ambien withdrawal? As in, will the Xanax be able to "replace" the Ambien for those 2+ weeks until I can get my Ambien again and taper off of it slowly and properly? I know they work in a similar way but I am not sure if Xanax can prevent Ambien withdrawals.