MLT-250 · Lesson 10 of 12 · 23 min

Immunodeficiency

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

The pediatric clinic at Mapleford General Hospital ordered a set of tests on a 14-month-old boy, Teodor Lindgren-Abara, that Noor Haddad had not seen together before: quantitative immunoglobulins, lymphocyte subsets by flow cytometry, antibody responses to tetanus and pneumococcal vaccines, and isohemagglutinin titres. The requisition noted three episodes of pneumonia, two ear infections that had needed hospital treatment and a recent bloodstream infection with Streptococcus pneumoniae. Delphine Arsenault read the history twice. "A boy, infections starting after six months of age, all with encapsulated bacteria," she said. "That's a pattern. The lab's job is to find which part of the immune system is missing."

Immunodeficiency is a failure of one or more parts of the immune system that leaves a person susceptible to infections that are more frequent, more severe, longer lasting, caused by unusual organisms or poorly responsive to treatment. Some immunodeficiencies also cause autoimmunity, inflammation and malignancy, because the same defects disturb immune regulation. Primary immunodeficiencies, now usually called inborn errors of immunity, are caused by genetic variants; more than 500 have been described and are classified by the International Union of Immunological Societies (IUIS). Secondary immunodeficiencies are acquired and far more common. This lesson describes the main categories, the laboratory tests used to investigate them, flow cytometry for lymphocyte subsets, newborn screening for severe combined immunodeficiency and the laboratory monitoring of secondary immunodeficiencies, including HIV.

Recognizing immunodeficiency

The type of infection points to the part of the immune system that is failing, which helps the laboratory choose the first tests.

Infection patterns and the likely defect
DefectTypical infectionsTypical age of onset
Antibody (B cell)Recurrent sinopulmonary infections with encapsulated bacteria (S. pneumoniae, H. influenzae); enteroviral infections; GiardiaAfter about 6 months in infants, when maternal IgG wanes; or in adulthood (CVID)
Combined (T and B cell)Severe viral, fungal and opportunistic infections (Pneumocystis jirovecii, Candida, cytomegalovirus); failure to thrive; chronic diarrhoea; disease from live vaccinesFirst months of life
PhagocyteDeep abscesses, skin and lymph node infections with Staphylococcus aureus, Serratia, Burkholderia, Aspergillus; poor wound healing; delayed umbilical cord separation in someInfancy or childhood
ComplementRecurrent Neisseria infections (terminal components); pyogenic infections (C3); lupus-like disease (early classical components)Any age
Innate and interferon pathway defectsSevere infections with a single kind of organism, such as mycobacteria or herpes simplex encephalitisChildhood

Many organizations publish lists of warning signs, such as several ear or sinus infections in a year, two or more pneumonias in a year, the need for intravenous antibiotics to clear infections, failure to gain weight, recurrent deep abscesses and a family history of immunodeficiency. A positive family history is especially important because many inborn errors are inherited in an X-linked or autosomal recessive pattern.

Antibody deficiencies

Antibody deficiencies make up about half of all diagnosed inborn errors of immunity.

X-linked agammaglobulinemia (XLA), also called Bruton agammaglobulinemia, is caused by variants in the gene for Bruton tyrosine kinase (BTK), which B-cell precursors need to mature. Affected boys have almost no circulating B cells (CD19-positive cells below about 2 percent of lymphocytes), very low concentrations of all immunoglobulin classes and small or absent tonsils and lymph nodes. Infections begin after maternal IgG wanes.

Common variable immunodeficiency (CVID) is the most common clinically significant primary antibody deficiency. It is usually diagnosed in adolescents or adults with recurrent infections, low IgG with low IgA and/or IgM, and poor responses to vaccines, after secondary causes have been excluded. B cells are usually present, but switched memory B cells are often reduced. Many patients also develop autoimmune cytopenias, granulomatous disease, enteropathy or lymphoma.

Selective IgA deficiency, defined as serum IgA below about 0.07 g/L [7 mg/dL] with normal IgG and IgM in someone older than four years, is the most common primary immunodeficiency, occurring in roughly 1 in 300 to 1 in 700 people of European ancestry. Most affected people are healthy, but some have recurrent respiratory and gastrointestinal infections, allergies or autoimmune diseases, including celiac disease (Lesson 8). A small number have anti-IgA antibodies that can cause anaphylaxis after transfusion of blood components containing IgA, which transfusion services manage with washed or IgA-deficient components.

Transient hypogammaglobulinemia of infancy is an exaggerated and prolonged version of the normal dip in IgG between the loss of maternal antibody and the start of the infant's own production. Vaccine responses are usually preserved, and levels normalize by early childhood.

Combined immunodeficiencies

Severe combined immunodeficiency (SCID) is a group of disorders in which T-cell development fails, with or without failure of B cells and NK cells. Infants appear well at birth, protected by maternal antibody, but develop severe infections, chronic diarrhoea and failure to thrive within months, and they can develop fatal infection from live vaccines such as rotavirus and BCG. Without hematopoietic stem cell transplantation or gene therapy, most die in the first year or two of life. Outcomes are much better when transplantation is done before infections begin, which is the rationale for newborn screening.

Examples of SCID by lymphocyte phenotype
TypeCauseT cellsB cellsNK cells
X-linked SCIDIL2RG (common gamma chain of several cytokine receptors)AbsentPresent (non-functional)Absent
JAK3 deficiencyJAK3 kinase that signals from the common gamma chainAbsentPresentAbsent
Adenosine deaminase (ADA) deficiencyToxic purine metabolites kill lymphocytesAbsentAbsentAbsent
RAG1 or RAG2 deficiencyFailure of V(D)J recombination (Lesson 1)AbsentAbsentPresent

Other combined immunodeficiencies are less severe. 22q11.2 deletion syndrome (DiGeorge syndrome) causes variable thymic hypoplasia with low T cells, together with heart defects, hypocalcemia from absent parathyroid glands and characteriztic facial features; most patients have mild T-cell deficiency, and only a few have complete athymia. Wiskott-Aldrich syndrome, an X-linked disorder, combines immunodeficiency with eczema and thrombocytopenia with characteriztically small platelets, a clue visible on the complete blood count and blood film.

Newborn screening for SCID

SCID newborn screening measures T-cell receptor excision circles (TRECs) in the dried blood spot collected for newborn screening. TRECs are small circles of DNA cut out of the T-cell receptor gene during V(D)J recombination in the thymus. They do not replicate when the cell divides, so their number reflects recent thymic output of new T cells. Infants with SCID have very low or absent TRECs, measured by quantitative PCR. Low TRECs are also found in premature infants and in other conditions with low T cells, such as 22q11.2 deletion syndrome, so a positive screen is followed by flow cytometry for T-cell subsets, including naive T cells, and referral to an immunologist.

In Canada, newborn screening is a provincial and territorial responsibility. Ontario began screening for SCID in 2013, and most other provinces have since added it; British Columbia and Yukon began in October 2022. Laboratory staff should know which conditions their own provincial program includes.

Phagocyte defects

Chronic granulomatous disease (CGD) results from defects in NADPH oxidase, the enzyme complex that generates the respiratory burst (Lesson 1). Phagocytes ingest microbes but cannot kill catalase-positive organisms such as Staphylococcus aureus, Serratia marcescens, Burkholderia cepacia complex, Nocardia and Aspergillus. About two-thirds of cases are X-linked. The dihydrorhodamine (DHR) flow cytometry test is the screening and diagnostic method of choice: neutrophils are stimulated in vitro, and those with a working respiratory burst oxidize non-fluorescent DHR to fluorescent rhodamine. Neutrophils from patients with CGD do not fluoresce, and female carriers of X-linked CGD show two populations, one normal and one non-fluorescent. The older nitroblue tetrazolium (NBT) slide test, in which normal neutrophils reduce a yellow dye to dark blue formazan, works on the same principle.

Leukocyte adhesion deficiency type 1 is caused by absent or defective CD18, part of the integrins that let neutrophils stick to endothelium and leave the blood. Clues are very high neutrophil counts, even between infections, delayed separation of the umbilical cord and infections without pus. Flow cytometry for CD18 and CD11 confirms the diagnosis.

Laboratory investigation

Investigation proceeds in tiers, starting with inexpensive, widely available tests.

Laboratory investigation of suspected immunodeficiency
TierTestWhat it shows
FirstComplete blood count and differential with blood filmLymphopenia, neutropenia, thrombocytopenia with small platelets, Howell-Jolly bodies (asplenia)
FirstQuantitative IgG, IgA and IgM, with age-specific reference intervalsAntibody deficiencies; IgE if hyper-IgE syndrome is suspected
FirstHIV testingExcludes the most important secondary cause
SecondSpecific antibody responses to protein vaccines (tetanus, diphtheria) and polysaccharide vaccines (pneumococcal serotypes)Functional antibody production
SecondIsohemagglutinins (anti-A, anti-B titres)Natural IgM response to polysaccharide antigens (not useful in group AB or young infants)
SecondLymphocyte subsets by flow cytometry (CD3, CD4, CD8, CD19, CD16/56)T, B and NK cell numbers
SecondCH50 and AH50Complement pathway function (Lesson 3)
SecondDHR flow cytometryPhagocyte respiratory burst
SpecializedNaive and memory T and B cell subsets; lymphocyte proliferation to mitogens and antigens; TRECsDetailed function and thymic output
SpecializedGenetic testing (gene panels, exome or genome sequencing)Defines the specific inborn error

Immunoglobulins in children

Immunoglobulin concentrations change dramatically with age. A newborn's IgG is mostly maternal and close to the mother's level; it falls to a low point at about three to six months as maternal antibody is catabolized and the infant's own production starts, and reaches adult levels in later childhood. IgM and especially IgA rise more slowly. Interpreting a child's immunoglobulins therefore requires age-specific reference intervals; a value normal for an adult may be high for a three-month-old, and an infant's "normal" IgG may be largely maternal.

Vaccine responses

Measuring antibody before and four to six weeks after a vaccine dose tests the immune system's ability to respond. Protein antigens, such as tetanus toxoid, test T-cell-dependent responses. Polysaccharide antigens, such as the unconjugated pneumococcal polysaccharide vaccine, test T-independent responses, which are naturally weak before about two years of age. Pneumococcal serotype-specific IgG is measured by multiplex bead assay, and the proportion of serotypes reaching a protective level is assessed against published criteria.

Flow cytometry for lymphocyte subsets

Flow cytometry analyzes thousands of individual cells per second as they pass in single file through a laser beam. Each cell scatters light: forward scatter is related to cell size and side scatter to internal complexity or granularity. Cells are stained with monoclonal antibodies labelled with different fluorochromes, and detectors measure each colour, so that every cell is characterized by several markers at once. Analysis draws regions, called gates, around populations on dot plots. Lymphocytes are typically gated by their bright CD45 expression and low side scatter, then T cells (CD3+), helper (CD3+CD4+) and cytotoxic (CD3+CD8+) T cells, B cells (CD19+) and NK cells (CD3−, CD16+ and/or CD56+) are counted.

Three dot plots side by side. Plot 1 shows CD45 on the horizontal axis and side scatter on the vertical axis, with three clusters: granulocytes high in side scatter, monocytes intermediate and lymphocytes with bright CD45 and low side scatter, which are circled as the lymphocyte gate. Plot 2 shows gated lymphocytes with CD3 on the horizontal axis and CD19 on the vertical axis: a large CD3-positive T-cell cluster at lower right, a CD19-positive B-cell cluster at upper left and a double-negative cluster at lower left labelled NK cells, CD16 or CD56 positive. Plot 3 shows CD3-positive cells with CD4 on the horizontal axis and CD8 on the vertical axis: a CD4-positive helper cluster at lower right and a CD8-positive cytotoxic cluster at upper left. A note below explains that absolute counts come from the gated percentage times the absolute lymphocyte count, or from counting beads.
Figure 1. A simplified gating strategy for lymphocyte subsets by flow cytometry (illustrative data).

Absolute counts are essential, because a percentage can be normal while the absolute number is low (Lesson 1). They are obtained either by dual-platform methods, multiplying the flow cytometry percentage by the absolute lymphocyte count from a hematology analyser, or by single-platform methods that add a known number of fluorescent counting beads to the tube and calculate counts directly, which avoids errors from combining two instruments. Specimens are collected in EDTA, kept at room temperature (not refrigerated) and analysed within the stability period validated by the laboratory, usually 24 to 48 hours.

Secondary immunodeficiency

Common causes of secondary immunodeficiency
CauseMain effect
HIV infectionProgressive loss of CD4 T cells
Immunosuppressive and cytotoxic drugs (corticosteroids, chemotherapy, transplant drugs)T-cell and phagocyte suppression, neutropenia
Biological therapies (rituximab and other B-cell depleting antibodies; TNF inhibitors)B-cell depletion and hypogammaglobulinemia; reactivation of tuberculosis and hepatitis B
Hematological malignancy (chronic lymphocytic leukemia, myeloma)Hypogammaglobulinemia, functional antibody deficiency
Protein loss (nephrotic syndrome, protein-losing enteropathy, severe burns)Loss of immunoglobulins
Malnutrition, especially protein-energy malnutritionCombined impairment; the most common cause worldwide
AspleniaLoss of filtering of encapsulated bacteria
Extremes of age, diabetes, chronic kidney diseaseMultiple modest defects

HIV and CD4 counts

Untreated HIV infection destroys CD4 T cells. The illustrative adult CD4 count is about 0.5 to 1.5 × 10⁹/L [500 to 1,500 cells/µL]. Opportunistic infections become likely as counts fall, and a CD4 count below 0.2 × 10⁹/L [200 cells/µL], or a CD4 percentage below 14 percent, defines AIDS in adults regardless of symptoms, along with specific AIDS-defining illnesses. The CD4 count guides prophylaxis against opportunistic infections, such as Pneumocystis pneumonia, and is part of the baseline assessment. Effective antiretroviral therapy suppresses the viral load to undetectable levels and allows CD4 counts to recover; once viral suppression is sustained, viral load becomes the main monitoring test and CD4 counts are measured less often. People with HIV who maintain an undetectable viral load do not transmit the virus sexually, a principle known as undetectable equals untransmittable.

Worked problem

Interpreting CD4 percentage and absolute count

A patient with HIV has a white cell count of 2.8 × 10⁹/L, lymphocytes 20 percent, and CD4 cells 18 percent of lymphocytes. Calculate the absolute CD4 count and comment.

Show solution
  1. Absolute lymphocytes = 2.8 × 0.20 = 0.56 × 10⁹/L.
  2. Absolute CD4 = 0.56 × 0.18 = 0.10 × 10⁹/L, or about 100 cells/µL.
  3. The CD4 percentage of 18 percent is above 14 percent, but the absolute count is well below 0.2 × 10⁹/L because the total lymphocyte count is low.

Answer: The absolute CD4 count is about 0.10 × 10⁹/L (100 cells/µL), which meets the CD4 criterion for AIDS and indicates a need for opportunistic infection prophylaxis. The case shows why both percentage and absolute count are reported.

Monitoring immunoglobulin replacement

Patients with significant antibody deficiency, primary or secondary, receive immunoglobulin replacement, pooled IgG from thousands of plasma donors given intravenously or subcutaneously. The laboratory monitors trough IgG levels, measured before the next dose, to guide dosing. Because the product contains antibodies to many infections, patients receiving it have positive serology for agents such as hepatitis B (anti-HBc and anti-HBs), cytomegalovirus and varicella that does not reflect their own immune status, so serology is unreliable for diagnosis in these patients and molecular tests are used instead (Lesson 6).

Teodor's results arrived over two days. IgG was 0.6 g/L, IgA and IgM were undetectable, CD19-positive B cells were 0.3 percent of lymphocytes, T cells and NK cells were normal, and he had no detectable antibody to tetanus despite three doses of vaccine. Genetic testing later confirmed a BTK variant: X-linked agammaglobulinemia. He started immunoglobulin replacement, and his mother's brother, who had had "bad lungs" all his life, was referred for testing.

Common mistakes

  • MistakeInterpreting a child's immunoglobulins against adult reference intervals.

    InsteadUse age-specific intervals; infant IgG falls to a physiological low point at 3 to 6 months.

  • MistakeRelying on lymphocyte subset percentages alone.

    InsteadReport and interpret absolute counts, preferably single-platform.

  • MistakeRefrigerating EDTA blood for lymphocyte subsets.

    InsteadKeep at room temperature and analyse within validated stability.

  • MistakeUsing serology to diagnose infection in a patient receiving immunoglobulin replacement.

    InsteadPassive antibody makes serology unreliable; use molecular tests.

  • MistakeAssuming a low TREC result always means SCID.

    InsteadPrematurity and other T-cell lymphopenias also lower TRECs; confirm with flow cytometry.

  • MistakeTesting polysaccharide vaccine responses in an infant under two.

    InsteadT-independent responses are naturally weak at this age; use protein antigen responses.

Summary and key terms

  • Infection patterns point to the defective arm: antibody, combined, phagocyte, complement or innate.
  • XLA (BTK) has absent B cells; CVID has low immunoglobulins and poor vaccine responses; selective IgA deficiency is the most common primary defect.
  • SCID is detected by TREC newborn screening and confirmed by flow cytometry; early transplantation saves lives.
  • CGD is diagnosed by DHR flow cytometry; leukocyte adhesion deficiency by CD18 expression.
  • Investigation starts with CBC, immunoglobulins with age-specific intervals and HIV testing, then vaccine responses, lymphocyte subsets and complement.
  • Flow cytometry uses scatter, fluorochrome-labelled antibodies and gating; absolute counts are essential.
  • Secondary causes include HIV, drugs, malignancy, protein loss and malnutrition; a CD4 count below 0.2 × 10⁹/L defines AIDS.
Inborn error of immunity
A genetic defect of the immune system, also called primary immunodeficiency.
X-linked agammaglobulinemia
A BTK deficiency with absent B cells and very low immunoglobulins.
Common variable immunodeficiency
Hypogammaglobulinemia with poor vaccine responses, usually diagnosed after childhood.
Severe combined immunodeficiency
A group of disorders with failure of T-cell development, often with B or NK cell defects.
T-cell receptor excision circle
A DNA circle produced during T-cell receptor rearrangement, used to screen newborns for SCID.
Chronic granulomatous disease
A defect of NADPH oxidase in phagocytes, diagnosed by the DHR test.
Flow cytometry
Measurement of light scatter and fluorescence of individual cells in a fluid stream.
Gating
Selecting a cell population on a flow cytometry plot for analysis.
Trough IgG
The IgG level measured just before the next immunoglobulin replacement dose.

Practice problems

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

  1. A 30-year-old has recurrent pneumonia, IgG 2.5 g/L, low IgA and IgM, normal B-cell numbers and no response to pneumococcal polysaccharide vaccine. What is the likely diagnosis?

    Show answer

    Common variable immunodeficiency, after excluding secondary causes.

  2. A DHR test shows two neutrophil populations, one fluorescent and one not, in a healthy woman whose son has CGD. Interpret.

    Show answer

    She is a carrier of X-linked CGD, with lyonization producing normal and abnormal neutrophils.

  3. Why are TRECs a good marker of thymic output?

    Show answer

    They are produced during T-cell receptor rearrangement in the thymus and are not copied when cells divide, so they reflect recently formed T cells.

  4. WBC 5.0 × 10⁹/L, lymphocytes 30 percent, CD4 25 percent of lymphocytes. Calculate the CD4 count.

    Show answer

    5.0 × 0.30 × 0.25 = 0.375 × 10⁹/L, about 375 cells/µL.

  5. Which blood count finding suggests Wiskott-Aldrich syndrome?

    Show answer

    Thrombocytopenia with small platelets.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz