Generic Atarax is used for treating anxiety, for sedation before and after general anesthesia, and for treating itching due to certain allergic conditions, including hives and contact dermatitis (e. g. , poison ivy). It also may be used for other conditions.