Urticaria, commonly called hives, is caused by the sudden release of histamine and other inflammatory chemicals from specialized immune cells in your skin called mast cells. This release makes small blood vessels leak fluid into surrounding tissue, producing the raised, itchy welts that can appear anywhere on the body. The triggers behind that mast cell activation vary widely, from allergic reactions and infections to physical stimuli, medications, and autoimmune processes.
How Hives Form in the Skin
Mast cells sit throughout your skin and contain 50 to 200 tiny storage packets filled with histamine and other inflammatory compounds. When something triggers these cells, the packets burst open within seconds in a process called degranulation. The released histamine causes nearby blood vessels to widen and become leaky, allowing fluid to pool just beneath the skin surface. That fluid creates the characteristic raised welts, while the histamine itself stimulates nerve endings, producing the intense itch most people experience.
In a classic allergic reaction, the trigger works through a specific antibody called IgE. Your immune system produces IgE the first time it encounters an allergen, and those antibodies then sit on the surface of mast cells, waiting. The next time that allergen shows up, it locks onto the IgE antibodies and links them together. That cross-linking is the signal for the mast cell to dump its contents. But not all hives involve IgE. Mast cells can also be activated by infections, direct chemical effects from medications, temperature changes, and even signals from the nervous system.
Acute vs. Chronic: The Six-Week Divide
Hives that last fewer than six weeks are classified as acute urticaria. This is by far the more common form, and individual welts typically appear quickly and fade within 24 hours, even as new ones may pop up elsewhere. When episodes recur for six weeks or longer, the diagnosis shifts to chronic spontaneous urticaria, a condition that behaves differently and often has different underlying causes.
For most people with acute hives, no specific cause is ever identified. The episode runs its course and doesn’t return. When a cause is found, it usually falls into one of a few categories: foods, infections, insect stings, or medications.
Food and Insect Sting Triggers
Food-triggered hives are a classic IgE-mediated reaction. The most frequent culprits are shellfish, fish, peanuts, tree nuts, soy, eggs, and milk. These reactions tend to happen within minutes to a couple of hours after eating, and they can range from a small patch of welts to a full-body outbreak. In some cases, hives are the first sign of a more serious allergic reaction that also involves throat swelling or difficulty breathing.
Insect stings, particularly from bees and wasps, trigger the same IgE pathway. Your immune system recognizes proteins in the venom, cross-links IgE on mast cells, and triggers a rapid histamine release. The hives can extend well beyond the sting site, sometimes covering large areas of skin.
Infections That Trigger Hives
Infections are one of the most underappreciated causes of hives, especially in children. A wide range of viruses can set off an outbreak, including influenza, adenovirus, enterovirus, norovirus, parvovirus B19, Epstein-Barr virus, and hepatitis A and B. On the bacterial side, streptococcus, staphylococcus, and mycoplasma pneumoniae have all been linked to acute hive episodes.
The mechanism here is different from a food allergy. Rather than a direct IgE reaction to the pathogen, the immune system’s broader inflammatory response to the infection appears to activate mast cells indirectly. This is why hives sometimes appear a few days into a viral illness, often confusing people who assume they’re reacting to a medication they started taking for the infection rather than the infection itself.
Medications That Cause Hives
Several common medication classes can trigger hives or the deeper swelling known as angioedema, and they don’t all work through the same mechanism.
- NSAIDs (ibuprofen, aspirin, naproxen) are among the most common drug triggers. They block an enzyme involved in managing inflammation, which redirects the body’s chemistry toward producing leukotrienes, compounds that cause blood vessels to dilate and leak. This isn’t a true allergy, which is why it can happen the very first time you take the drug.
- Blood pressure medications called ACE inhibitors work by a completely different route. They slow the breakdown of a natural substance called bradykinin, which causes blood vessels to become more permeable. The resulting buildup of bradykinin can produce swelling, particularly around the face and throat. This reaction can occur weeks, months, or even years after starting the medication.
- Antibiotics, particularly penicillins and sulfonamides, can cause true IgE-mediated allergic hives. These reactions usually appear within an hour of taking the drug and are more likely with repeated exposure.
Physical Triggers
Some people develop hives in direct response to a physical stimulus rather than an allergen or infection. These are collectively called inducible urticarias, and the list of triggers is surprisingly long: cold temperatures, heat, sunlight, pressure on the skin, vibration, and even contact with water. Each type produces hives specifically in the area exposed to the stimulus.
Cold-induced urticaria, for example, causes welts on skin exposed to cold air or cold water. The reaction typically appears as the skin rewarms. Pressure urticaria produces deep, painful swelling hours after sustained pressure, like from a tight waistband or carrying heavy bags. Solar urticaria causes hives within minutes of sun exposure. In all of these, mast cells in the affected area degranulate in response to the physical stimulus, though exactly how a temperature change or pressure wave triggers that degranulation isn’t fully understood.
Autoimmune Connections in Chronic Hives
When hives persist beyond six weeks with no obvious external trigger, the immune system itself is often the problem. In many cases of chronic spontaneous urticaria, the body produces antibodies that directly activate mast cells without any outside allergen. This is essentially an autoimmune process where the immune system mistakenly attacks the body’s own cells.
There’s also a well-documented link between chronic hives and autoimmune thyroid disease. About 25% to 30% of people with chronic urticaria have antibodies against their own thyroid tissue, compared to just 3% to 6% of the general population. This doesn’t mean thyroid disease causes hives directly. Rather, the two conditions share an underlying tendency toward autoimmunity. The connection is strongest in young women, and in some cases, treating the thyroid condition can improve the hives.
The Role of Stress
Psychological stress doesn’t cause hives on its own, but it can clearly make them worse. The skin and the nervous system are closely connected, and stress activates a hormonal cascade (the same fight-or-flight pathway that raises your heart rate) that reaches mast cells in the skin. People with chronic urticaria show higher levels of stress hormone receptors on their skin cells compared to people without the condition, which may explain why a stressful week can turn a manageable case of hives into a severe one.
This stress connection creates a frustrating cycle. Chronic hives are themselves a source of significant stress, disrupting sleep and daily life, which in turn can worsen the hives. The inflammatory compounds released by mast cells also include signals that recruit additional immune cells to the area, amplifying and prolonging the reaction beyond the original trigger.
Why the Cause Often Goes Unidentified
One of the most frustrating realities of urticaria is that in a large proportion of cases, no specific trigger is ever found. This is especially true for chronic spontaneous urticaria, where the condition persists for months or years without a clear explanation. The mast cells are clearly being activated, but the signal telling them to degranulate can’t be pinpointed to a single food, drug, infection, or environmental factor. In these situations, the condition is managed by controlling the histamine response rather than eliminating a trigger, and most cases of chronic urticaria do eventually resolve on their own, though that process can take years.

