MED-114 · Lesson 2 of 12 · 21 min

Hypersensitivity, autoimmunity and transplantation

▶ Video coming soon A video version of this lesson is on the way.

Ines Kowalczyk-Abara, 31, is stung by a wasp while gardening. Within ten minutes her skin is covered in raised, itchy wheals, her lips are swelling, her voice is hoarse and she feels faint. Her partner calls emergency services. Paramedics find a blood pressure of 78/40 mmHg and wheeze throughout both lungs, and they give intramuscular epinephrine into her thigh. Twenty minutes later she can speak normally. A year earlier she had a large local reaction to a sting and thought nothing of it.

Ines's immune system did exactly what it was built to do (recognize a foreign protein and respond fast), but against a harmless target and with catastrophic force. Hypersensitivity, autoimmunity and transplant rejection are all examples of the immune mechanisms from lesson 1 aimed at the wrong target or at the right target with the wrong intensity. They account for a large share of internal medicine: asthma, drug reactions, rheumatoid arthritis, lupus, type 1 diabetes, thyroid disease, inflammatory bowel disease and the care of every transplant recipient.

Classifying hypersensitivity

The Gell and Coombs classification, introduced in the 1960s, remains the standard teaching framework. It sorts reactions by mechanism. Real diseases often involve more than one type, and modern classifications subdivide type IV further, but the four types still organize clinical thinking well.

Four panels side by side. Type I: IgE on a mast cell cross-linked by allergen releases histamine, onset minutes. Type II: IgG or IgM binds an antigen on a cell surface, causing destruction or altered function. Type III: antigen-antibody complexes deposit in vessel walls and activate complement. Type IV: T cells recognize antigen and recruit macrophages, onset 48 to 72 hours or longer.
Figure 1. The four Gell and Coombs types of hypersensitivity, with typical onset and examples.

Type I: immediate (IgE-mediated) hypersensitivity

On first exposure to an allergen, a person with an atopic tendency makes a Th2 response and IgE antibody, which binds high-affinity receptors on mast cells and basophils. This sensitization causes no symptoms. On re-exposure, the allergen cross-links IgE on mast cells, which degranulate within minutes, releasing preformed histamine and tryptase, then newly synthesized leukotrienes and prostaglandins. These cause vasodilation, capillary leak, smooth muscle contraction in airways and gut, itch and mucus secretion. A late phase several hours later, driven by eosinophils and Th2 cytokines, sustains inflammation in asthma and allergic rhinitis.

Type I reactions range from allergic rhinitis and urticaria to food allergy, allergic asthma and anaphylaxis. Testing includes skin prick tests and allergen-specific IgE in blood; both show sensitization, not necessarily clinical allergy, so they are interpreted against the history. Allergen immunotherapy (repeated controlled exposure under specialist supervision) can induce tolerance and is highly effective for insect venom allergy, which makes referral after a systemic sting reaction like Ines's important.

Anaphylaxis: recognition and first-line treatment

Anaphylaxis is a severe, potentially fatal systemic hypersensitivity reaction of rapid onset. It is diagnosed clinically: acute involvement of skin or mucosa with respiratory compromise or low blood pressure, or two or more body systems affected soon after exposure to a likely allergen, or low blood pressure alone after exposure to a known allergen. Skin signs are absent in a minority, so their absence does not exclude it. Common triggers in adults are foods (peanut, tree nuts, shellfish, fish), insect stings, drugs (beta-lactams, neuromuscular blockers, NSAIDs) and contrast media; some cases are idiopathic.

Intramuscular epinephrine into the anterolateral thigh is the first and most important treatment and should not be delayed. Its alpha-adrenergic effects reverse vasodilation, its beta effects open airways and stabilize mast cells. Standard references give an adult intramuscular dose of 0.5 mg of the 1 mg/mL solution (some use 0.3 mg in smaller adults), repeated every 5 to 15 minutes if needed; these are examples to be checked against current local protocols. The patient should lie flat with legs raised (or sit up if breathing is difficult), receive high-flow oxygen and intravenous fluids, and be monitored. Antihistamines relieve itch and hives but do not treat airway obstruction or shock, and corticosteroids have not been shown to prevent biphasic reactions; neither replaces epinephrine. Serum tryptase drawn within a few hours of onset can support the diagnosis afterward. Patients are observed because symptoms can recur, are prescribed epinephrine auto-injectors with training, and are referred to an allergist.

Type II: antibody against cells or tissue

In type II reactions, IgG or IgM binds antigens on cell surfaces or in tissue matrix. The bound antibody can trigger destruction through complement and phagocytes, or it can alter cell function without killing the cell.

  • Destruction: ABO-incompatible transfusion (preformed IgM against A or B antigens causes rapid intravascular hemolysis), hemolytic disease of the fetus and newborn, autoimmune hemolytic anemia, immune thrombocytopenia, and some drug-induced cytopenias. - Tissue damage: anti-glomerular basement membrane disease (Goodpasture syndrome), in which antibodies to type IV collagen attack kidney and lung. - Altered function: Graves disease, in which antibodies stimulate the TSH receptor, and myasthenia gravis, in which antibodies block acetylcholine receptors.

Acute rheumatic fever is a classic link between infection and type II injury: antibodies to group A streptococcal M protein cross-react with heart, joint and brain antigens (molecular mimicry). This is why the streptococcal pharyngitis in lesson 1 is treated even though it often resolves without antibiotics.

Type III: immune complex disease

When antigen and antibody combine in roughly equal amounts, small soluble immune complexes form, deposit in vessel walls, glomeruli and joints, and activate complement, attracting neutrophils. Complement levels fall as they are consumed. Examples include serum sickness (fever, rash, arthralgia and lymph node enlargement about one to two weeks after exposure to a foreign protein or some drugs), post-streptococcal glomerulonephritis, the vasculitis of hepatitis B-associated polyarteritis nodosa and hepatitis C-associated cryoglobulinemia, and systemic lupus erythematosus. A localized form, the Arthus reaction, causes a painful swelling at an injection site in a person with high antibody levels, as occasionally follows tetanus boosters given too frequently.

Type IV: delayed, T-cell-mediated hypersensitivity

Type IV reactions are driven by T cells rather than antibody and take 48 to 72 hours or longer to appear. Examples include allergic contact dermatitis to nickel or poison ivy, the tuberculin skin test, and the granulomas of tuberculosis and sarcoidosis. Many drug reactions are type IV: a benign maculopapular rash appearing 5 to 10 days into a course of an antibiotic, and the rare but severe cutaneous adverse reactions, namely Stevens-Johnson syndrome and toxic epidermal necrolysis (blistering and mucosal involvement with skin detachment) and drug reaction with eosinophilia and systemic symptoms (DRESS, with fever, rash, eosinophilia and organ involvement two to eight weeks after starting a drug such as allopurinol, an anticonvulsant or some antibiotics). Severe reactions require stopping the drug immediately, specialist care, and a permanent allergy record; the drug and its close relatives must never be given again.

Drug allergy labels

About one in ten patients in Canada and the United States carries a penicillin allergy label, yet when properly evaluated more than nine in ten can take penicillins safely. Labels often date from childhood rashes during viral illness or from predictable side effects such as nausea. The label matters: it pushes prescribers toward broader-spectrum or less effective drugs, increases Clostridioides difficile and resistant infections, and worsens surgical outcomes. Taking a detailed history (what happened, when, how long after starting the drug, how it was treated), using validated risk tools such as PEN-FAST, and offering direct oral challenge to low-risk patients or skin testing to others are now standard practice. Cross-reactivity between penicillins and cephalosporins is low and depends mainly on similar side chains rather than the shared beta-lactam ring. Lesson 8 returns to delabelling as a stewardship strategy.

Autoimmunity

Autoimmune disease occurs when tolerance to self fails. Contributing factors include genes (HLA associations such as HLA-DR3 and DR4 with type 1 diabetes, HLA-B27 with ankylosing spondylitis, and many non-HLA genes), sex (most autoimmune diseases are more common in women), environmental triggers such as infections, smoking (rheumatoid arthritis) and drugs, and molecular mimicry. Autoimmune diseases are often divided into organ-specific (Hashimoto thyroiditis, Graves disease, type 1 diabetes, pernicious anemia, celiac disease, myasthenia gravis) and systemic (lupus, rheumatoid arthritis, Sjogren disease, systemic sclerosis, vasculitis).

Table 1. Common autoimmune serology at clinician level.
TestMain associationHow to interpret
Antinuclear antibody (ANA)Lupus and other connective tissue diseasesVery sensitive for lupus but not specific; low titers are common in healthy people
Anti-double-stranded DNALupusSpecific; levels may track lupus nephritis activity
Anti-SmithLupusHighly specific, low sensitivity
Rheumatoid factor and anti-CCPRheumatoid arthritisAnti-CCP is more specific; both predict more erosive disease
Anti-TPO and TSH receptor antibodiesHashimoto thyroiditis; Graves diseaseSupport the cause of hypo- or hyperthyroidism
Anti-tissue transglutaminase IgACeliac diseaseCheck total IgA, since IgA deficiency gives false negatives
ANCA (PR3 or MPO)Small-vessel vasculitisOrder when the clinical picture suggests vasculitis
Complement C3 and C4Immune complex diseaseLow levels suggest consumption, as in active lupus

Autoantibody tests have the same limitations as any diagnostic test (lesson 3). An ANA ordered for vague fatigue in a person with no other features of connective tissue disease will often be positive at low titer and lead to unnecessary worry and further testing. Order serology when the pretest probability is meaningful, and interpret the result alongside the history, examination and other findings.

Treating immune-mediated disease and its infection risks

Treatment ranges from corticosteroids, which broadly suppress inflammation and immunity, to conventional disease-modifying drugs such as methotrexate, to targeted biologics: TNF inhibitors, interleukin-6 receptor blockers, the anti-CD20 antibody rituximab, which depletes B cells, and oral Janus kinase (JAK) inhibitors. Every one of these increases infection risk in a pattern that follows from lesson 1. TNF inhibitors reactivate latent tuberculosis and some endemic fungi; rituximab lowers antibody production and can reactivate hepatitis B; high-dose corticosteroids predispose to Pneumocystis pneumonia, which is why prophylaxis is used with prolonged high doses. Before starting these drugs, clinicians screen for latent tuberculosis and hepatitis B, review vaccination status, give inactivated vaccines (ideally before treatment, because responses are weaker afterward), and generally avoid live vaccines during significant immunosuppression.

Transplantation immunology

Transplanting an organ between two people who are not identical twins exposes the recipient's immune system to foreign HLA molecules, which T cells recognize directly with unusual frequency. To reduce rejection, donors and recipients are matched for ABO blood group and, as far as possible, HLA type. Recipients are screened for preformed antibodies against HLA (from previous transplants, pregnancies or transfusions), and a crossmatch tests the recipient's serum against donor cells before transplantation.

Table 2. Types of solid organ transplant rejection.
Type of rejectionTimingMechanismNotes
HyperacuteMinutes to hoursPreformed antibodies to ABO or HLA activate complement in graft vesselsPrevented by ABO matching and crossmatch; now very rare
Acute cellularWeeks to monthsRecipient T cells attack graft cellsUsually responds to increased immunosuppression
Acute antibody-mediatedDays to monthsDonor-specific antibodies damage graft endotheliumDetected by donor-specific antibody testing and biopsy
ChronicMonths to yearsOngoing immune and non-immune vascular injury and fibrosisMajor cause of late graft loss

Maintenance immunosuppression typically combines a calcineurin inhibitor (tacrolimus or cyclosporine, which block interleukin-2 production by T cells), an antiproliferative agent (mycophenolate) and corticosteroids, sometimes with an mTOR inhibitor. Calcineurin inhibitors have a narrow therapeutic range, cause nephrotoxicity and tremor, and interact with many drugs metabolized by CYP3A4: macrolides and azole antifungals raise their levels, while rifampin lowers them, sometimes enough to cause rejection. This is one of the most important drug interaction concepts in infectious disease practice, and lesson 7 revisits it.

Infection after solid organ transplantation follows a broadly predictable timeline. In the first month, infections are mostly those of any surgical patient (wound, line, urinary, pneumonia, Clostridioides difficile) or come from the donor. From about one to six months, when immunosuppression is most intense, opportunistic infections appear: cytomegalovirus, Pneumocystis jirovecii, reactivated tuberculosis and endemic fungi, which is why many recipients receive prophylaxis against cytomegalovirus and Pneumocystis during this window. After six months, most stable patients develop the same community infections as anyone else, though more severely.

In hematopoietic stem cell transplantation, the problem can run the other way: donor T cells in the graft recognize the recipient's tissues as foreign, causing graft-versus-host disease that affects skin, liver and gut. The same donor T cells also attack residual leukemia cells (the graft-versus-leukemia effect), which is part of why the procedure cures some cancers. MED-214 Hematology and Oncology develops this further.

Worked problem

Is this ANA meaningful?

Aurelio Brandt-Nakamura, 38, has had six months of fatigue after a stressful job change. He has no rash, joint swelling, mouth ulcers, hair loss, serositis or kidney abnormalities, and his blood count and urinalysis are normal. An online symptom checker advised an ANA test, which a walk-in clinic ordered: positive at a titer of 1:80. How should this be interpreted?

Show solution
  1. Estimate the pretest probability of lupus: very low, because he has none of the characteristic clinical or laboratory features.
  2. Recall test characteristics: ANA is very sensitive for lupus but positive at low titer in a substantial minority of healthy people, more often in women and older adults.
  3. Combine them: with a very low pretest probability and a low titer, a positive result raises the probability of lupus very little; most positive results in this setting are false positives for lupus.
  4. Decide next steps: do not order a cascade of specific antibodies; address common causes of fatigue (sleep, mood, thyroid function, anemia, medications) and reassess if new features appear.

Answer: The low-titer ANA is most likely a false positive for lupus and does not by itself justify further autoantibody testing; the fatigue should be evaluated for more common causes.

Common mistakes

  • MistakeAntihistamines are the first treatment for anaphylaxis.

    InsteadIntramuscular epinephrine is first-line and should not be delayed; antihistamines treat skin symptoms only.

  • MistakeA patient with a penicillin allergy label must never receive a cephalosporin.

    InsteadCross-reactivity is low and side-chain dependent; most labeled patients tolerate penicillins themselves after proper evaluation.

  • MistakeA positive ANA confirms lupus.

    InsteadANA is sensitive but not specific; interpret it in light of clinical features and pretest probability.

  • MistakeContact dermatitis appears within minutes of exposure.

    InsteadIt is a type IV T-cell reaction that develops 48 to 72 hours after exposure.

  • MistakeStarting a macrolide in a transplant recipient on tacrolimus is a minor matter.

    InsteadMacrolides inhibit CYP3A4 and can raise tacrolimus to toxic levels; check interactions and monitor levels.

Summary and key terms

  • Gell and Coombs classify hypersensitivity as type I (IgE, minutes), II (antibody to cell or tissue), III (immune complexes) and IV (T cells, delayed).
  • Anaphylaxis is a clinical diagnosis; intramuscular epinephrine is first-line, followed by positioning, oxygen, fluids, observation, auto-injector and referral.
  • Most penicillin allergy labels are inaccurate; risk assessment and delabelling improve care.
  • Autoimmunity results from failed tolerance with genetic and environmental contributions; serology must be interpreted with pretest probability.
  • Immunosuppressive drugs predispose to predictable infections; screen for tuberculosis and hepatitis B and update vaccines first.
  • Transplant rejection may be hyperacute, acute cellular, antibody-mediated or chronic; calcineurin inhibitors interact with many antimicrobials.
  • Post-transplant infections follow a timeline: surgical, then opportunistic (one to six months), then community.
Anaphylaxis
A severe, rapid-onset systemic hypersensitivity reaction that can be fatal.
Sensitization
Initial exposure that primes IgE production without causing symptoms.
Tryptase
A mast cell enzyme whose blood level rises transiently after anaphylaxis.
Molecular mimicry
Cross-reaction of immune responses between microbial and self antigens.
Serum sickness
A type III reaction with fever, rash and joint pain one to two weeks after exposure.
DRESS
Drug reaction with eosinophilia and systemic symptoms, a severe delayed drug reaction.
Crossmatch
Test of recipient serum against donor cells for preformed antibodies before transplantation.
Calcineurin inhibitor
An immunosuppressant (tacrolimus, cyclosporine) that blocks T-cell interleukin-2 production.
Graft-versus-host disease
Attack by donor T cells on recipient tissues after stem cell transplantation.
Delabelling
Removing an inaccurate drug allergy label after evaluation.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Name the hypersensitivity type for: myasthenia gravis, serum sickness, nickel dermatitis, peanut anaphylaxis.

    Show answer

    Type II, type III, type IV and type I respectively.

  2. Why are C3 and C4 low in active lupus nephritis?

    Show answer

    Immune complexes activate and consume complement.

  3. A kidney recipient starts rifampin for tuberculosis. What happens to tacrolimus?

    Show answer

    Rifampin induces CYP3A4, lowering tacrolimus levels and risking rejection; levels must be monitored and doses adjusted by the team.

  4. What screening is needed before starting rituximab?

    Show answer

    Hepatitis B serology (risk of reactivation), plus review of vaccinations and other infection risks.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz