Viral infections are the single most common infection-related trigger for hives, accounting for roughly 40% of acute urticaria cases in both adults and children. But viruses aren’t the only culprits. Bacterial infections, parasitic infections, and even fungal infections can all trigger hives, sometimes lasting weeks or months after the original infection seems to have cleared.
Why Infections Trigger Hives
Hives (urticaria) happen when mast cells in the skin release histamine and other inflammatory chemicals, causing the raised, itchy welts that can appear anywhere on the body. Normally this system activates in response to allergens, but infections can trip the same alarm. When your immune system ramps up to fight a virus or bacterium, the inflammatory cascade sometimes spills over into the skin. Immune complexes (clusters of antibodies bound to pieces of the invading organism) can deposit near mast cells and trigger them to release histamine even though the skin itself isn’t infected.
This is why hives from an infection often appear days into the illness, or even after you start feeling better. Your immune response, not the pathogen itself, is what’s producing the welts.
Viral Infections: The Most Common Cause
Upper respiratory infections are the leading infectious trigger for hives, particularly in children. The common cold (rhinovirus), stomach bugs (rotavirus), and flu-like illnesses frequently cause widespread hives that appear alongside or just after typical cold and flu symptoms like fever, sore throat, or congestion.
Beyond everyday viruses, several specific infections are well-documented triggers:
- Epstein-Barr virus (mono): The virus behind mononucleosis is a recognized cause of hives, sometimes appearing alongside the classic fatigue and swollen lymph nodes.
- Hepatitis A, B, and C: All three hepatitis viruses can produce hives, sometimes as one of the earliest symptoms before jaundice or liver-related signs appear.
- Herpes simplex: Both oral and genital herpes reactivations have been linked to urticaria episodes.
- HIV: Hives can occur during acute HIV infection, often as part of a broader rash during the initial seroconversion illness.
- COVID-19: Hives are a recognized skin manifestation of SARS-CoV-2 infection. They typically last less than one week, and in about 16% of cases, the hives actually appear before other COVID symptoms like cough or fever.
In children, the connection between viruses and hives is especially strong. A child who breaks out in hives during a cold or mild fever is experiencing one of the most common presentations pediatricians see. The hives typically resolve on their own within a few days to a couple of weeks as the viral illness runs its course.
Bacterial Infections Linked to Hives
Bacterial infections cause hives less frequently than viruses, but the association is real. Urinary tract infections, strep throat, sinus infections, and dental abscesses have all been reported as triggers. In these cases, hives often resolve once the underlying bacterial infection is treated with antibiotics.
The H. Pylori Debate
Helicobacter pylori, the stomach bacterium that causes ulcers, has been one of the more controversial proposed links to chronic hives. Some studies have reported that treating and clearing H. pylori led to resolution of long-standing hives. However, large population-level studies have found that H. pylori infection rates aren’t actually higher in people with chronic hives compared to the general population, and eradicating the bacterium doesn’t reliably improve hives. The connection, if it exists, likely applies only to a small subset of patients.
Parasitic Infections
Parasites are a less common but important cause of hives, particularly chronic hives that persist for six weeks or longer without an obvious explanation. Giardia lamblia, a waterborne parasite that causes diarrhea and abdominal cramping, has been documented as a trigger for chronic urticaria and angioedema (deeper tissue swelling). In one reported case, a woman developed chronic hives and swelling after visiting family in Massachusetts. She had been experiencing frequent diarrhea and abdominal pain, which she initially attributed to seafood sensitivity. Once Giardia was identified and treated, her hives resolved.
Trichomonas vaginalis, a sexually transmitted parasite, has also been linked to chronic hives. In one case, a woman with persistent hives underwent extensive testing for autoimmune conditions, thyroid disease, and common allergens, all of which came back normal. It took three months before Trichomonas was identified as the underlying cause. Treatment with an antiparasitic medication resolved her hives completely.
Intestinal worms (helminths) like roundworm and hookworm are another parasitic trigger, more commonly seen in tropical and subtropical regions. These parasites tend to provoke a strong response from the branch of the immune system that also drives allergic reactions, which is why skin symptoms like hives are a hallmark.
Acute vs. Chronic: When Timing Matters
Acute urticaria (hives lasting less than six weeks) is far more likely to be infection-related than chronic urticaria. Most viral hives fall into this category. They appear during the illness, last a few days to two weeks, and go away without specific treatment beyond standard antihistamines for itch relief.
Chronic urticaria (hives lasting six weeks or longer) has a more complicated relationship with infection. When infections do cause chronic hives, it’s more often a hidden or untreated infection like a parasite, a smoldering dental abscess, or a chronic sinus infection. In many cases of chronic hives, no infection is found at all, and the cause is autoimmune, meaning the body’s own antibodies are mistakenly activating mast cells.
The distinction matters because it shapes what kind of workup makes sense. If you’ve had hives for a few days during a cold, the answer is almost certainly the virus, and no testing is needed. If hives persist well beyond six weeks, testing for hidden infections, thyroid autoimmunity, and other underlying conditions becomes more relevant.
How Infection-Related Hives Are Managed
For most viral hives, the treatment is straightforward: over-the-counter antihistamines to control itching while the infection clears. The hives typically resolve on their own once the immune system finishes fighting off the virus. Cool compresses and avoiding hot showers or tight clothing can also help reduce flare-ups.
When hives are caused by a treatable infection (bacterial, parasitic, or fungal), clearing the underlying infection usually resolves the hives. This is one of the reasons persistent or chronic hives sometimes warrant testing for infections that might not be obvious, especially parasitic infections in someone with travel history or gastrointestinal symptoms, or bacterial infections that may be lingering without dramatic symptoms.
Hives that continue after an infection has clearly resolved, sometimes called post-infectious urticaria, can take an additional two to four weeks to fully settle down. The immune system doesn’t always return to baseline immediately, and residual inflammation can keep mast cells on a hair trigger for a period after the pathogen is gone.