Dirty clothes can cause hives, but usually through contact irritation or an already-established allergy rather than through dirtiness alone; the more common culprits are detergent residue, fabric softeners, dyes, fragrances, and the skin's own reaction to sweat and friction, and whether a particular person breaks out depends on their skin barrier, their sensitivities, and how long the clothing stays against the skin. The word "hives" is doing a lot of work in this question, so it is worth separating two things people often mean by it: urticaria, the raised, itchy, blanching welts of a true histamine-driven reaction, and contact dermatitis, which is redness, scaling, and itch from direct irritation or allergy. Dirty clothes are a plausible trigger for both, but by different mechanisms.
What "dirty clothes" actually contains
A worn shirt or pair of leggings is not just fabric plus "dirt." It carries sweat and sebum, shed skin cells, and the residue of whatever was applied to the body—deodorant, lotion, sunscreen, perfume. It also carries whatever the garment picked up from the environment, and, crucially, residues from laundering or dry cleaning. Those residues matter more than visible grime for most hive-like reactions, because the skin is in prolonged, occluded contact with them.
Sweat itself is mostly water and salts and is not a classic hive trigger in most people. But sweat trapped under clothing raises skin temperature and hydration, softens the outer skin layer, and increases friction. In people with cholinergic urticaria—hives triggered by heat, exercise, or sweating—wearing dirty, damp, or occlusive clothing during activity can bring on welts. That is not the clothing being "dirty" in a hygienic sense; it is the clothing creating the heat-and-moisture conditions the person's skin reacts to.
Contact urticaria: the direct link
There are two forms of contact urticaria worth distinguishing. Non-immunologic contact urticaria is a direct reaction to a substance without an IgE antibody step—many people get brief stinging or welts from certain chemicals, and this can run in the family. Immunologic contact urticaria is a true IgE-mediated allergy to something touching the skin, such as natural rubber latex or certain proteins.
Dirty clothing can carry proteins that matter here. Latex proteins can transfer from gloves or elastic waistbands; certain foods can transfer from hands to fabric; and pet or animal proteins can be present on clothing. If someone has an established allergy to one of these, clothing contaminated with it can produce contact hives where it presses or rubs. This is the clearest sense in which "dirty clothes" cause hives: the clothes are a delivery vehicle for an allergen the person already reacts to.
Detergent, softener, and fragrance: the underestimated route
Much of what people call a "dirty clothes rash" is actually a reaction to cleaning products left in the fabric. Detergents, especially those with enzymes or high surfactant levels, can irritate skin, and fragrance mixes, fabric softeners, and dryer sheets are common causes of allergic contact dermatitis. The rash of contact dermatitis is not true urticaria—it tends to be delayed, eczematous, and localized to contact areas—but in the early or acute phase it can look raised and itchy enough that people call it hives.
The distinction matters for what to do. If the problem is irritant or allergic contact dermatitis from detergent residue, rewashing with a fragrance-free, dye-free detergent and skipping softener often helps. If it is true urticaria, the welts typically appear within minutes to an hour of contact and fade within hours, and antihistamines are the usual first-line treatment. These are different problems with overlapping appearances.
Why "dirty" is ambiguous, and why that changes the answer
The question's ambiguity is real. "Dirty clothes" can mean:
Microbially soiled—worn repeatedly, sweaty, not washed. Chemically residue-laden—washed but with detergent, softener, or fragrance left in. Contaminated with an allergen—carrying latex, animal dander, or a food protein. Simply unlaundered but not visibly soiled.
Each produces a different likelihood of hives. Microbial soiliness is more associated with odor, irritation, and fungal or bacterial skin problems than with classic urticaria. Chemical residues are a well-recognized cause of contact dermatitis and a plausible but less classic cause of hive-like reactions. Allergen contamination is the most direct route to true contact urticaria. So the honest answer is conditional: dirty clothes can cause hives, but the mechanism depends on what "dirty" means and on the person's sensitivities.
What is established versus what is uncertain
Established: contact urticaria exists and can be triggered by substances on clothing; fragrance and preservatives in laundry products are recognized contact allergens; heat and sweat can trigger cholinergic urticaria; and occlusive, damp clothing worsens many skin conditions. Less certain: how often ordinary microbial soiliness alone produces true urticaria in otherwise healthy people. There is no reliable figure to quote, and I will not invent one. The general principle is that true hives usually require an allergen or a physical trigger, not mere dirt.
Practical distinctions that help
A few working rules separate the possibilities:
Timing. True contact urticaria appears within minutes and fades within hours. Contact dermatitis often appears hours to days later and persists. Distribution. Hives from clothing tend to appear where fabric presses or rubs—waistbands, cuffs, straps. Detergent dermatitis often appears where clothing is tightest and most occluded, and can be more diffuse. Blanching. True hives blanch under pressure; dermatitis usually does not. Reproducibility. If changing to a fragrance-free detergent and rewashing resolves it, the laundry products were likely involved. If a specific garment (say, a latex-containing elastic) reliably triggers it, suspect that material.
When it is not the clothes at all
It is worth naming the counterexample: many people attribute hives to dirty clothes when the real trigger is something else—a new medication, a viral illness, a food, stress, or a physical trigger like cold or pressure. Urticaria is often idiopathic, and blaming laundry can delay recognizing a systemic cause. A hive outbreak that is widespread, recurrent, or accompanied by swelling of the lips or throat, breathing difficulty, or faintness is not a laundry problem and needs urgent medical evaluation.
Bottom line
Dirty clothes can cause hives, most convincingly when they carry an allergen the wearer already reacts to or when they trap heat and sweat in someone with cholinergic urticaria. Detergent, softener, and fragrance residues are common causes of itchy, hive-like rashes that are often contact dermatitis rather than true urticaria. The practical response is to rewash with fragrance-free, dye-free products, avoid softeners, and identify whether a specific material or product is the trigger. If hives are widespread, recurrent, or come with swelling or breathing problems, seek medical care promptly.