Xanax is generally prescribed for short-term use and is not intended for long-term use in most cases.