One dose of Xanax can last anywhere from 31 hours to 134.5 hours (5.6 days) in the body, depending on factors related to the individual who took it. However, the calming, relaxing, and sedative effects of Xanax usually wear off within about eight to twelve hours.