How Do You Get Hives on Your Skin?

Hives form when immune cells in your skin release a chemical called histamine into surrounding tissue. This causes tiny blood vessels to leak fluid, producing the raised, itchy welts that can appear anywhere on your body. About 20% of people experience hives at some point in their lives, and the triggers range from allergic reactions and infections to physical contact with cold air or even water.

What Happens Inside Your Skin

Your skin contains immune cells called mast cells, which act like sentinels waiting for threats. When something triggers them, they burst open in a process called degranulation, dumping histamine and other inflammatory chemicals into the tissue around them. Histamine makes nearby blood vessels widen and become leaky, allowing fluid to pool just beneath the skin’s surface. That pooling fluid is what creates the raised, red, itchy welts you see. The whole process happens fast. Hives typically appear within minutes of a trigger and resolve on their own within minutes to a few hours.

One of the most well-understood activation pathways is through antibodies called IgE. When your immune system has been sensitized to something (a food, insect venom, a medication), IgE antibodies sit on the surface of mast cells like loaded mousetraps. The next time that substance enters your body, it snaps the trap, and histamine floods out. But IgE-mediated allergic reactions are only one way mast cells get activated. Certain drugs, physical stimuli, infections, and stress can all trigger the same response through different pathways.

Allergic Triggers: Foods and Medications

Classic allergic hives happen when your immune system overreacts to a specific substance. The most common food triggers are milk, eggs, peanuts, tree nuts, soy, wheat, fish, shellfish, and sesame seeds. These reactions tend to produce hives within minutes of eating the food, sometimes alongside other symptoms like stomach cramps or throat tightness.

Medications are another frequent cause. Some drugs directly activate mast cells without involving the immune system at all. Opioid painkillers, certain muscle relaxants, and contrast dyes used in medical imaging are well-known examples. Aspirin and ibuprofen can also trigger hives in some people. These reactions aren’t true allergies in the traditional sense, but the end result looks and feels the same because histamine is still being released.

Physical Triggers

Some people develop hives purely from environmental or physical stimuli. These are called physical urticarias, and they share a common feature: something in the environment directly provokes the mast cells in your skin without any allergic mechanism involved.

  • Skin pressure or friction. Dermatographism, which literally means “writing on the skin,” causes hives to appear wherever the skin is scratched or rubbed. It’s one of the most common physical triggers. A separate form, delayed pressure urticaria, produces deeper swelling 4 to 6 hours after sustained pressure, like from a tight waistband or sitting on a hard chair.
  • Cold exposure. Cold urticaria causes itching, redness, and swelling within minutes of contact with cold air, water, or surfaces. It can be localized to the area that got cold, or in more severe cases, it can produce widespread hives across the entire body.
  • Heat and exercise. Cholinergic urticaria produces distinctive tiny welts, about 1 millimeter across, surrounded by large red flares. It’s triggered by anything that raises your core body temperature: exercise, hot showers, sweating, or even anxiety.
  • Sunlight. Solar urticaria is rare but causes hives within 1 to 3 minutes of sun exposure on affected skin.
  • Water. Aquagenic urticaria produces small welts after contact with water at any temperature. It’s one of the rarest forms.

Infections and Illness

Infections are one of the most common causes of hives, especially in children. Respiratory viruses (the common cold), strep throat, urinary tract infections, mono, and hepatitis can all trigger outbreaks. In these cases, the hives aren’t caused by an allergen. Instead, the infection ramps up immune activity broadly, and mast cells get caught in the crossfire. The hives usually resolve once the infection clears, though they can persist for days or weeks while the body fights it off.

Stress and Emotional Factors

Stress doesn’t just make existing hives worse. It can trigger them outright. Your skin has its own local stress-response system that mirrors the one in your brain. When you’re under psychological stress, your nervous system releases hormones and signaling molecules that reach mast cells in the skin, potentially triggering them to release histamine. Your skin contains nerve endings, immune cells, and hormone receptors that all communicate with each other, creating a feedback loop between your brain and your skin. Chronic stress can throw this system off balance, making mast cells more reactive over time.

Acute vs. Chronic Hives

The six-week mark is the dividing line. Hives lasting less than six weeks are classified as acute. These are usually triggered by something identifiable: a food, medication, infection, or physical stimulus. Most cases of acute hives resolve on their own and don’t come back once the trigger is removed.

Hives that persist continuously or come and go for six weeks or longer are classified as chronic. Chronic hives are a different challenge because the trigger is often impossible to pin down. About 1 in 5 people with chronic hives also have an autoimmune condition such as thyroid disease, lupus, celiac disease, rheumatoid arthritis, or diabetes. Other conditions linked to chronic hives include bacterial infections like H. pylori, sinus infections, liver disease, and vasculitis. In many cases, though, no underlying cause is ever found.

How Hives Are Diagnosed

For a single episode of acute hives, doctors often don’t run extensive tests. If the trigger is obvious (you ate shrimp and broke out 10 minutes later), the diagnosis is straightforward. When hives keep returning without a clear cause, the workup gets more thorough. Initial screening typically includes basic blood tests to check for signs of infection, inflammation, or thyroid problems.

If a physical trigger is suspected, challenge testing can confirm it. This involves controlled exposure to cold, pressure, heat, or light to see if hives appear. When a specific food allergy is suspected, skin prick testing can help identify the culprit, though food allergy is a relatively rare cause of chronic hives. If individual welts last longer than 24 hours or leave behind bruising, a skin biopsy may be needed to check for a condition called urticarial vasculitis, which involves inflamed blood vessels rather than simple histamine release.

Treatment and Relief

Antihistamines are the first-line treatment because they block the exact chemical responsible for the welts. Among over-the-counter options, cetirizine (Zyrtec) at 10 mg daily has shown the strongest evidence for completely suppressing hives. Interestingly, not all antihistamines perform equally. A pooled analysis found that loratadine (Claritin) at 10 mg performed no better than placebo for complete symptom suppression, and fexofenadine (Allegra) at 180 mg showed similar results. Levocetirizine (Xyzal) at its standard 5 mg dose works in the intermediate term but may need to be doubled for faster relief.

For people whose hives don’t respond to standard doses, doctors may increase the antihistamine dose up to two or four times the usual amount before moving to other treatments. This is a well-established approach in allergy guidelines, not off-label guesswork.

When Hives Signal Something Serious

Most hives are uncomfortable but harmless. The exception is when hives appear alongside deeper swelling called angioedema, particularly in the lips, tongue, mouth, or throat. If swelling in these areas blocks the airway, it becomes life-threatening. Any hive outbreak that comes with difficulty breathing, a swollen tongue, or a feeling that your throat is closing warrants immediate emergency care. This is especially true if you know you’ve been exposed to a food or medication you’re allergic to, as hives can be the first visible sign of a full anaphylactic reaction before more dangerous symptoms follow.