Generic 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. HYDROXYZINE (an active ingredient) is an antihistamine. This medicine is used to treat allergy symptoms, not allergy. It is also used to treat tension. This medicine can be used with other medicines to induce sleep before surgery.