An anxiolytic is a specific type of medication used for treating anxiety. One common type of anxiolytic includes benzodiazepines, such as Xanax. They are not usually chosen as the first step in anxiety treatment since benzodiazepines can become addictive.