Xanax (alprazolam) is not indicated for the treatment of vertigo. It is a medication primarily used for the management of anxiety disorders and panic attacks. There are other medications that can be used to treat vertigo, depending on the underlying cause of the condition. It is important to talk to a healthcare provider for proper evaluation and management of vertigo.