Hydroxyzine works primarily by blocking histamine receptors in the body, which reduces allergic reactions, calms anxiety, and causes sedation. It belongs to a class of medications called first-generation antihistamines, but unlike newer antihistamines such as cetirizine, it crosses into the brain readily, which is why it affects mood and alertness in addition to treating itching and hives.
The Histamine-Blocking Mechanism
Your body produces histamine as part of its immune and nervous system signaling. When you have an allergic reaction, histamine floods into tissues and causes itching, swelling, and redness. In the brain, histamine plays a role in wakefulness and arousal. Hydroxyzine works by occupying the same receptor sites that histamine normally binds to, preventing histamine from triggering its usual effects.
This single mechanism explains why hydroxyzine treats such different-seeming conditions. Blocking histamine in the skin and mucous membranes relieves itching from hives, eczema, and contact allergies. Blocking histamine in the brain produces sedation and a calming effect that reduces anxiety. In clinical studies, a single dose suppressed itching at skin test sites for up to 36 hours, which gives a sense of how long the antihistamine effect persists.
Hydroxyzine also has mild anticholinergic activity, meaning it partially blocks another chemical messenger called acetylcholine. This adds to the sedating and drying effects of the drug and is responsible for side effects like dry mouth and blurred vision.
How It Reduces Anxiety
Hydroxyzine is one of the few antihistamines prescribed specifically for anxiety. Its calming effect comes from dampening histamine activity in the brain, which lowers arousal and produces a feeling of relaxation without the same addiction risk that comes with benzodiazepines like lorazepam or alprazolam.
A Cochrane review comparing hydroxyzine to benzodiazepines and buspirone for generalized anxiety disorder found it equivalent in efficacy, acceptability, and tolerability. That finding is significant because it means hydroxyzine controls anxiety symptoms about as well as these other medications while carrying no risk of physical dependence. This is a major reason prescribers reach for it, particularly for patients with a history of substance use or those who need short-term relief without starting a controlled substance.
The anxiety relief isn’t as targeted as what you’d get from an SSRI or other long-term anxiety medication. Hydroxyzine works quickly and wears off relatively quickly, making it better suited for situational anxiety or as a bridge while other medications take effect.
Onset, Peak, and Duration
After swallowing a dose, most people begin feeling the effects within 15 to 30 minutes. The drug reaches its highest concentration in the blood at around 2 hours. In one pharmacokinetic study, a single oral dose of roughly 39 mg produced peak blood levels at about 2.1 hours.
The elimination half-life, the time it takes for half the drug to leave your system, is notably long. In elderly adults, the average half-life measured 29.3 hours, meaning the drug lingers well past its peak effects. In younger adults, the half-life is shorter, typically around 14 to 20 hours, but this still means a single dose can produce noticeable drowsiness the following morning. If you take hydroxyzine at bedtime for anxiety or itching, some residual sedation in the early morning hours is common.
What Happens After You Take It
Once absorbed, hydroxyzine is processed by the liver and converted into several metabolites. The most notable one is cetirizine, which you may recognize as the active ingredient in the over-the-counter allergy medication Zyrtec. This conversion happens rapidly. Cetirizine doesn’t cross into the brain as easily as hydroxyzine does, so the antihistamine effects on itching and allergies continue even after the sedating effects start to fade.
This metabolic pathway is part of why hydroxyzine’s anti-itch effects last so long compared to its sedative effects. You may stop feeling drowsy several hours before the itching relief wears off, because cetirizine is still circulating and doing its work in the body’s tissues.
Common Side Effects
The most frequently reported side effect is drowsiness, which is also its intended effect when prescribed for anxiety or as a sedative. Beyond sedation, common side effects include dry mouth and throat, dizziness, blurred vision, constipation, headache, and occasional rapid heartbeat. These are largely anticholinergic effects, meaning they stem from the drug’s interference with acetylcholine signaling.
Most of these side effects are dose-dependent. At lower doses used for itching (25 mg three or four times daily for adults), they tend to be mild. At the higher doses used for anxiety (50 to 100 mg four times daily), drowsiness and dry mouth become much more pronounced. Many people develop some tolerance to the sedation over the first few days of regular use, though it rarely disappears completely.
Older adults are more sensitive to both the sedating and anticholinergic effects. The longer half-life in elderly patients means the drug accumulates more, increasing the risk of confusion, dizziness, and falls. This is one reason hydroxyzine is generally used cautiously and at lower doses in people over 65.
What Hydroxyzine Is Prescribed For
Hydroxyzine has three FDA-approved uses. The first is anxiety and tension, where it serves as a non-addictive alternative to benzodiazepines. The second is itching from allergic conditions, including chronic hives, eczema, and contact dermatitis, as well as any itching driven by histamine release. The third is sedation before or after surgery, where it helps patients relax without the respiratory depression that stronger sedatives can cause.
In practice, it’s also widely used off-label for insomnia, particularly in patients who shouldn’t take sleep medications with abuse potential. Its combination of sedation and anti-itch properties also makes it a go-to choice for people whose itching keeps them awake at night.
How It Compares to Other Antihistamines
Newer antihistamines like cetirizine, loratadine, and fexofenadine were specifically designed to stay out of the brain, which is why they relieve allergies without causing drowsiness. Hydroxyzine, as a first-generation antihistamine, crosses the blood-brain barrier easily. This is a disadvantage if you just want allergy relief during the day, but it’s the entire reason hydroxyzine works for anxiety and insomnia.
Compared to diphenhydramine (Benadryl), another first-generation antihistamine that crosses into the brain, hydroxyzine has a longer duration of action and has been more formally studied for anxiety. Both cause sedation and dry mouth, but hydroxyzine is the one with established clinical data supporting its use as an anxiolytic. Diphenhydramine is generally reserved for short-term allergy relief and occasional sleeplessness rather than anxiety management.

