Xanax may possibly also occasionally be prescribed off-label for snooze troubles. The medication performs quickly, so it will let you drop asleep When you've got problems doing so. Nevertheless, Medical professionals prescribe Xanax only in sure conditions simply because your slumber problems may possibly come back any time you halt using the drug.