Atarax is used for treating anxiety, for sedation before and after general anesthesia, and to treat itching due to certain allergic conditions, including hives and contact dermatitis (eg, poison ivy). Atarax is an antihistamine.