MedChunk
Medically reviewed

Why Do Allergies Cause Hives? Triggers and Treatment

Hives happen when histamine and other chemicals are released in the skin. Learn how allergies trigger welts, common causes, treatment, and warning signs.

By Caleb Bennett Reviewed by Dr. Irene Medical review dateNov 19, 2026 14 min read

Allergies can cause hives when the immune system reacts to a substance and releases histamine and other chemicals in the skin. These chemicals make tiny blood vessels leak fluid, creating itchy, raised welts. However, not all hives are caused by allergies. Infections, medications, heat, cold, pressure, and other factors can also trigger them.

Why do allergic reactions cause hives?

Hives, medically called urticaria, develop when certain cells in the skin release histamine and other inflammatory chemicals. During an allergic reaction, the immune system mistakenly treats a usually harmless substance, such as a food protein or insect venom, as a threat.

This immune response activates cells that release histamine. Histamine affects small blood vessels near the skin surface, making them widen and allowing fluid to move into nearby tissues. The fluid causes raised, swollen patches, while histamine also contributes to itching.

According to the British Society for Allergy and Clinical Immunology (BSACI), hives occur when the immune system releases histamine, which causes inflammation. This reaction can happen after exposure to a specific allergen, but it can also occur for reasons unrelated to an allergy.

The resulting skin reaction may appear within minutes or shortly after exposure to an allergen. The timing depends on the trigger and the type of reaction.

What allergic triggers can cause hives?

Several substances can trigger an allergic reaction that produces hives. The most relevant triggers include certain foods, medications, insect stings, and substances that come into contact with the skin.

  • Foods: Peanuts, tree nuts, milk, eggs, fish, shellfish, soy, and other foods can cause allergic reactions in susceptible individuals.
  • Medications: Some antibiotics, including penicillin, and pain relievers such as aspirin and ibuprofen can cause hives in certain people.
  • Insect stings: Bee and wasp stings can trigger allergic reactions that include widespread hives.
  • Latex: Some people develop allergic skin reactions after contact with natural rubber latex.
  • Environmental allergens: Pollen and animal-related allergens may sometimes be associated with hives, occasionally alongside respiratory allergy symptoms.
  • Other contact allergens: Certain plants and chemicals can cause allergic skin reactions.

The Mayo Clinic identifies foods, medications, airborne allergens, insect bites, and infections among the possible causes of hives and related swelling. The presence of a particular trigger does not mean everyone exposed to it will develop a reaction.

Can food allergies cause hives?

Yes. Food allergies are an important cause of sudden hives, particularly when symptoms develop soon after eating a particular food.

Foods such as peanuts, tree nuts, shellfish, fish, eggs, and milk are recognized food allergens. When someone with a food allergy eats the triggering food, their immune system may react to specific proteins in it. Histamine and other chemicals are released, potentially producing itchy welts on the skin.

Food-related hives may occur alongside other allergic symptoms, such as swelling of the lips, vomiting, coughing, or breathing difficulties. A reaction involving multiple body systems may indicate anaphylaxis, which requires emergency treatment.

A suspected food trigger should be assessed carefully. Removing several foods from the diet without a clear reason or professional guidance can cause unnecessary dietary restrictions, particularly in children.

Can medication allergies cause hives?

Some medications can trigger hives through an allergic immune response. Antibiotics, particularly penicillin-related medicines, are recognized examples. Aspirin and other nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen, can also cause hives in some people through allergic or other drug-related mechanisms.

Hives that appear after starting a medication deserve medical review. The timing of the reaction, the medication involved, previous exposures, and any accompanying symptoms help healthcare professionals determine whether a drug allergy is likely.

Do not deliberately take a suspected medication again to see whether the rash returns. Contact the prescribing healthcare professional for advice about whether the medicine should be stopped or replaced.

Are all hives caused by allergies?

No. Many episodes of hives occur without a specific allergic trigger. The skin can release histamine in response to infections, physical conditions, and other immune-system changes.

According to Cleveland Clinic, healthcare professionals often cannot identify a specific cause of hives. Some episodes occur seemingly at random rather than as a result of an identifiable allergy.

Common non-allergic triggers include:

  • Viral or other infections: Respiratory infections and other illnesses can be associated with hives. Infections are particularly relevant in children.
  • Heat and sweating: Exercise, hot weather, hot showers, and activities that increase body temperature may trigger certain types of hives.
  • Cold exposure: Cold air, cold water, and sudden temperature changes can cause hives in people with cold-induced urticaria.
  • Pressure and friction: Scratching, rubbing, tight clothing, and pressure from straps can cause localized welts.
  • Physical activity: Exercise can trigger hives in some individuals, sometimes in association with an increase in body temperature.
  • Emotional stress: Stress may contribute to or worsen hives in some people.
  • Immune-system conditions: Some cases are associated with autoimmune processes rather than a conventional allergy.

These reactions can look similar to allergic hives because the skin may release many of the same inflammatory chemicals. Their underlying causes, however, are different.

Why do some people develop chronic hives?

Hives are generally classified according to how long the episodes continue. Acute hives last less than six weeks, while chronic hives involve recurring or persistent symptoms for more than six weeks.

Chronic hives are not usually caused by a conventional food or environmental allergy. They may develop because of ongoing changes in immune-system activity, and the exact cause is often unknown.

Two commonly described patterns are:

  • Chronic spontaneous urticaria: Hives appear repeatedly without a consistent, identifiable external trigger.
  • Chronic inducible urticaria: Hives develop in response to a particular physical stimulus, such as cold, heat, pressure, or scratching.

People with chronic hives may experience repeated episodes even when they avoid suspected allergens. This is one reason why extensive food avoidance or repeated allergy testing does not always help.

When hives continue for more than six weeks, a healthcare professional may assess possible underlying factors and recommend treatment based on the pattern of symptoms.

What do allergic hives look and feel like?

Hives usually appear as raised, itchy welts or patches that can vary in size and shape. They may affect one part of the body or spread across several areas.

Common features include:

  • Raised bumps or swollen patches on the skin.
  • Itching that may range from mild to intense.
  • Welts that change shape or size over time.
  • Clusters of raised patches that may join together.
  • Red, pink, purple, or skin-coloured areas, depending on skin tone.
  • Swelling around the eyes, lips, or other soft tissues in some cases.

Individual welts often disappear within 24 hours, although new ones may develop elsewhere. An overall episode can last several days or recur over a longer period.

What is the difference between hives and angioedema?

Hives affect the more superficial layers of the skin and produce raised, itchy welts. Angioedema is swelling in deeper layers of the skin and tissues underneath it.

Angioedema commonly affects the lips, eyelids, cheeks, tongue, or throat. It may occur alongside hives or sometimes without an obvious skin rash.

Swelling involving the tongue or throat can interfere with breathing and requires immediate medical attention. Not every episode of angioedema has the same cause, so the pattern and associated symptoms are important.

How are allergy-related hives diagnosed?

Healthcare professionals usually begin by reviewing the person's medical history, examining the skin, and asking about possible triggers. The timing of the reaction is particularly useful when determining whether an allergy may be involved.

Questions may include:

  • What foods or medications were consumed or taken before the hives appeared?
  • Did the rash develop shortly after eating, taking a medicine, or receiving an insect sting?
  • Have similar reactions occurred after previous exposure to the same substance?
  • Were there other symptoms, such as facial swelling, vomiting, wheezing, or dizziness?
  • Have the episodes continued for several weeks or appeared without an identifiable trigger?

Depending on the medical history, a healthcare professional may recommend specific allergy testing, such as skin-prick testing or blood tests for allergen-specific antibodies. These tests are most useful when the history suggests a particular allergic trigger.

Not everyone with hives needs allergy testing. When symptoms are chronic or have no clear connection to an allergen, the assessment may focus on identifying other possible causes and understanding the pattern of episodes.

How are hives caused by allergies treated?

Treatment depends on the cause, the extent of the reaction, and whether other symptoms are present. The main goals are to relieve itching, reduce swelling, prevent further reactions when the trigger is known, and recognize serious allergic reactions promptly.

1. Avoid the identified trigger

When a specific allergen is confirmed, avoiding further exposure is an important part of preventing repeat reactions.

For example, someone with a confirmed food allergy may need to avoid the responsible food and check ingredient information carefully. A person with a medication allergy may need an alternative medicine recommended by their healthcare professional.

Avoidance should be based on a reasonably established trigger rather than assumptions. Unnecessary restrictions may not improve hives when the actual cause is an infection, physical stimulus, or spontaneous immune activity.

2. Take antihistamines when appropriate

Antihistamines are commonly used to treat hives because they block the effects of histamine. This helps reduce itching and swelling and may prevent additional welts from developing.

Healthcare professionals often recommend newer, less-sedating antihistamines for routine treatment. Examples include cetirizine, loratadine, and fexofenadine. The most suitable option depends on the person's age, health conditions, other medications, and individual response.

Some antihistamines can cause drowsiness. Older antihistamines may have more noticeable sedating effects and can affect alertness, so their use should be discussed with a healthcare professional or pharmacist.

The American Academy of Dermatology (AAD) explains that antihistamines help control itching and swelling and may also reduce the number, size, or duration of hives. People with persistent symptoms may need a clinician-guided treatment plan rather than occasional medication use.

3. Use additional treatment for persistent hives

When hives continue despite appropriate antihistamine treatment, a dermatologist or allergy specialist may recommend additional medicines.

Depending on the type of chronic hives and the person's medical history, treatment may include:

  • Adjusted antihistamine treatment: A clinician may modify the dose or medication schedule when standard treatment does not provide enough relief. Higher doses should only be used under medical guidance.
  • Biologic medicines: Injectable treatments that target parts of the immune response, such as omalizumab, may be considered for certain people with chronic spontaneous urticaria.
  • Other specialist treatments: Additional medicines that affect immune-system activity may be considered when other treatments are unsuccessful.
  • Short courses of corticosteroids: A healthcare professional may prescribe oral steroids for selected severe outbreaks. They are generally not suitable for long-term routine treatment because of potential side effects.

These treatments are not necessary for everyone with hives. Their use depends on the diagnosis, previous treatment response, and potential risks.

What can help relieve hives at home?

Simple skin-care measures can reduce discomfort while the episode settles. They do not replace medical treatment when hives are caused by a serious allergic reaction.

  • Apply a cool compress: A clean, cool, damp cloth placed over itchy areas may help soothe the skin.
  • Avoid hot showers and baths: Excessive heat can worsen itching in some people.
  • Wear loose clothing: Soft, lightweight clothing helps reduce rubbing and pressure on affected skin.
  • Avoid scratching: Scratching can irritate the skin and may trigger additional welts in people sensitive to friction.
  • Keep a symptom diary: Record when hives occur, possible food or medication exposures, infections, exercise, and other circumstances that may be relevant.
  • Take photographs: Pictures can help a healthcare professional assess a rash that has disappeared before the appointment.

MedlinePlus, a service of the US National Library of Medicine, recommends avoiding hot baths or showers and tight clothing when managing hives. These measures can reduce additional irritation while the skin recovers.

When are hives a medical emergency?

Hives limited to the skin are often not dangerous. However, when they occur as part of anaphylaxis, a severe allergic reaction, they may be accompanied by symptoms affecting breathing, circulation, or other body systems.

Seek emergency medical attention immediately if hives occur with any of the following:

  • Sudden swelling of the tongue, lips, mouth, or throat.
  • Difficulty breathing, wheezing, or a feeling of throat tightness.
  • Difficulty swallowing or a sensation of choking.
  • Sudden dizziness, fainting, or collapse.
  • Confusion or unusual drowsiness associated with a possible allergic reaction.
  • Rapidly developing symptoms involving more than one body system, such as skin symptoms together with vomiting or breathing difficulties.

Anaphylaxis can become life-threatening quickly. If someone has a prescribed epinephrine auto-injector and is experiencing a suspected anaphylactic reaction, they should use it according to their emergency instructions and seek emergency medical care immediately. Antihistamines are not a substitute for epinephrine in anaphylaxis.

Even when emergency symptoms are absent, medical assessment is appropriate when hives repeatedly return, cause significant discomfort, spread, or do not improve. Persistent symptoms may require a different treatment approach or further investigation.

How can you reduce the chance of getting hives again?

Preventing recurrence is easier when a specific trigger has been identified. Practical measures depend on the type of hives involved.

For allergy-related hives, prevention may involve avoiding the confirmed allergen, checking food ingredients, informing healthcare professionals about medication allergies, and following an allergy action plan when one has been prescribed.

For physical or chronic spontaneous hives, avoiding unnecessary heat, cold, friction, or other recognized triggers may help reduce episodes. However, people with chronic spontaneous urticaria may continue to experience symptoms even without an obvious trigger.

It is also useful to keep a record of recurring episodes. Patterns in timing, exposures, and associated symptoms can help healthcare professionals decide whether further testing or a change in treatment is appropriate.

Frequently Asked Questions

Common questions about the relationship between allergies, histamine, and hives.

Can you get hives without having an allergy?

Yes. Hives can develop because of viral infections, heat, cold, exercise, pressure on the skin, or changes in immune-system activity. Chronic spontaneous hives often have no identifiable allergic trigger.

How quickly do allergic hives appear after exposure?

Allergic hives often appear within minutes or shortly after exposure to a trigger, although the timing can vary. Hives that develop after eating a suspected allergen or taking a medication should be assessed in the context of other symptoms and the exposure history.

Do antihistamines make allergy-related hives go away?

Antihistamines can reduce itching, swelling, and the development of new hives. They are commonly used as an initial treatment. Some people, especially those with chronic hives, need additional treatment prescribed by a healthcare professional.

Are chronic hives usually a sign of a food allergy?

No. Chronic hives lasting more than six weeks are not usually caused by a conventional food allergy. They may be associated with changes in immune-system activity, physical triggers, or no identifiable cause. A healthcare professional can assess whether allergy testing is appropriate.

Can hives turn into anaphylaxis?

Hives themselves do not necessarily develop into anaphylaxis. However, they can occur as one feature of anaphylaxis, which is a serious allergic reaction. Hives accompanied by breathing difficulty, throat or tongue swelling, faintness, or collapse require immediate emergency medical attention.

Citations

  1. British Society for Allergy and Clinical Immunology (BSACI) – Urticaria Patient Information Leaflet
  2. Mayo Clinic – Hives and Angioedema: Symptoms and Causes
  3. Cleveland Clinic – Hives: Causes, Symptoms and Treatment
  4. NHS – Hives
  5. American Academy of Dermatology – Hives: Diagnosis and Treatment
  6. MedlinePlus – Hives
Share this article