Could it be sciatica does it go down your leg and your thigh, Xanax is an Anxiety drug you know,ask him if it will help the leg pain before you take it,Are you on any other meds can trigger it, sciatica Flares and goes away, sometimes returning ,they used to say it was caused by a virus, Asjk your Doc if it could be.