Vistaril (hydroxyzine) and Xanax (alprazolam) are two medications used to treat anxiety. Vistaril is an antihistamine with sedative properties while Xanax is a benzodiazepine. Although they work in different ways, both drugs have similar side effects such as drowsiness.