Skip to content
PubMed This is a summary of 17 peer-reviewed journal articles Updated
Immunology

Navigating the Path to a Diagnosis: Tests and Genetic Screening

At a Glance

Diagnosing a primary immunodeficiency involves a step-by-step process starting with functional blood tests, like immunoglobulin levels and flow cytometry, followed by specialized genetic testing to pinpoint the exact immune system defect. Avoid live vaccines until cleared by an immunologist.

Finding the answer to a suspected immune disorder is a step-by-step process of ruling out common causes and looking deep into your biological “blueprint.” The diagnostic journey often moves from broad screening tests to highly specialized genetic analysis [1][2].

A Critical Safety Warning: Live Vaccines

DO NOT receive any live-attenuated vaccines (such as MMR, rotavirus, varicella/chickenpox, or the nasal flu spray) if an inborn error of immunity—especially a T-cell or combined immunodeficiency like SCID—is suspected or confirmed, without explicit clearance from an immunologist. In patients with these defects, live vaccines can cause fatal, vaccine-strain infections [3][4].

Newborn Screening: The “Early Alarm”

Most babies in developed countries now undergo a heel-prick blood test shortly after birth. For immune health, scientists look for two specific DNA markers:

  • TREC (T-cell Receptor Excision Circles): These are tiny “scraps” of DNA produced when the body successfully manufactures a new T-cell. If TRECs are low, it acts as an alarm that the baby’s “T-cell factory” is not working—a hallmark of Severe Combined Immunodeficiency (SCID) [5][6].
  • KREC (Kappa-deleting Recombination Excision Circles): Similar to TRECs, these are markers for B-cell production. They help identify conditions like X-linked agammaglobulinemia (XLA) where the body cannot make antibodies [6][7].

If these screens are abnormal, it does not mean a diagnosis is final; it means the baby needs urgent, specialized follow-up testing [8].

Standard Blood Tests: The “Functional Check”

For older children and adults, doctors use a set of “functional” tests to see how the immune system is behaving in real-time:

  • Quantitative Immunoglobulins: This measures the levels of different antibodies (IgG, IgA, and IgM) in your blood.
  • Flow Cytometry: This is a sophisticated technology that counts and sorts individual immune cells. It can tell your doctor if you have enough T-cells, B-cells, and Natural Killer cells, and whether those cells look “mature” or “immature” [9][10].
  • Vaccine Challenge: This is often the “stress test” for your immune system. Your doctor measures your antibody levels, gives you a vaccine (like the pneumonia or tetanus shot), and then re-tests your levels a few weeks later to see if your immune system was able to build a defense [11].

Genetic Testing

To confirm a diagnosis, doctors often use genetic testing. Setting expectations is important: these tests can take several weeks to months to return results. Options include:

  • Targeted Gene Panels: Often the first-line standard of care, this checks a specific list of known immune-disease genes [12].
  • Whole Exome Sequencing (WES): Reads all the parts of your DNA that provide instructions for making proteins (the “exons”) [13].
  • Whole Genome Sequencing (WGS): Reads your entire genetic code, usually used if a panel or WES doesn’t provide an answer [14][15].

Primary vs. Secondary Immunodeficiency

A critical part of diagnosis is making sure the immune issue is “Inborn” (Primary) and not “Acquired” (Secondary). Secondary immunodeficiency is more common and can be caused by medications, protein loss, or other illnesses [16][17].

Common Diagnostic Tests

A complete diagnostic evaluation for an IEI varies heavily depending on the suspected condition. However, a comprehensive workup frequently involves:

  1. Quantitative Immunoglobulin Levels
  2. Lymphocyte Subset Analysis (via flow cytometry)
  3. Specific Antibody Responses (vaccine challenge results, if applicable)
  4. Genetic Testing Report (Targeted Panel, WES, or WGS results, though a mutation is not found in every patient)
  5. Clinical History Summary [1][2].

Common questions in this guide

What is the difference between primary and secondary immunodeficiency?
Primary immunodeficiency is an inborn genetic defect in the immune system. Secondary immunodeficiency is acquired and caused by outside factors like medications, protein loss, or other illnesses.
Why are live vaccines dangerous if I have a suspected immune disorder?
If you have a severe immunodeficiency, your body cannot properly fight off the weakened virus in a live vaccine. This can lead to a severe or even fatal infection. Always get clearance from an immunologist before receiving live vaccines like MMR or the nasal flu spray.
What do TREC and KREC tests check for in newborns?
These newborn screening tests look for specific DNA markers that show if a baby is producing healthy T-cells and B-cells. Abnormal results can be an early warning sign for conditions like Severe Combined Immunodeficiency (SCID) or X-linked agammaglobulinemia (XLA).
What is a vaccine challenge test?
A vaccine challenge tests how well your immune system can build a defense. Your doctor checks your baseline antibodies, gives you a vaccine like the pneumonia shot, and re-tests you a few weeks later to see if your body produced a protective response.
How long does genetic testing take for an immune disorder?
Genetic testing, such as targeted gene panels, whole exome sequencing, or whole genome sequencing, can take anywhere from several weeks to a few months to return complete results.

Questions to Ask Your Doctor

Curated prompts to bring to your next appointment.

  1. 1.Did my newborn screening include both TREC and KREC assays, or just TREC?
  2. 2.If my immunoglobulin levels are low, have we ruled out secondary causes like protein loss from the gut or kidneys?
  3. 3.Which genetic testing approach is best for my situation: a targeted 'panel,' Whole Exome Sequencing (WES), or Whole Genome Sequencing (WGS)?
  4. 4.What did my flow cytometry results show about my T-cell and B-cell 'subsets' (like memory B-cells or CD4+ cells)?
  5. 5.How did my 'vaccine challenge' (antibody response to the pneumonia or tetanus shot) compare to what is considered a normal response?

Questions For You

Tap a prompt to share your answer — we'll use it plus this page's context to start a tailored conversation.

References

References (17)
  1. 1

    Keeping up with recent developments in immunodeficiency.

    Tsoulis MW, Williams KW

    Annals of allergy, asthma & immunology : official publication of the American College of Allergy, Asthma, & Immunology 2025; (134(3)):259-268 doi:10.1016/j.anai.2024.12.016.

    PMID: 39716531
  2. 2

    NGS data analysis for molecular diagnosis of Inborn Errors of Immunity.

    Yang XT, Yang WL, Lau YL

    Seminars in immunology 2024; (74-75()):101901 doi:10.1016/j.smim.2024.101901.

    PMID: 39509871
  3. 3

    Fatal viscerotropic and neurotropic disease after yellow fever vaccine: a rare manifestation leading to diagnosis of severe combined immunodeficiency in an infant.

    Vieira LJT, Goebel GA, Barcelos Y, et al.

    Revista do Instituto de Medicina Tropical de Sao Paulo 2024; (66()):e50 doi:10.1590/S1678-9946202466050.

    PMID: 39194142
  4. 4

    Enhanced clinical decision-making to optimize targeted gene panel testing for inborn errors of immunity.

    Udomkittivorakul N, Zhang J, Arora J, et al.

    Annals of allergy, asthma & immunology : official publication of the American College of Allergy, Asthma, & Immunology 2026; doi:10.1016/j.anai.2026.04.010.

    PMID: 42031066
  5. 5

    Beyond TREC: Pivotal role of tandem TREC/KREC assay in Czech SCID NBS pilot programme.

    Bloomfield M, Hlaváčková E, Schneiderová H, et al.

    Pediatric allergy and immunology : official publication of the European Society of Pediatric Allergy and Immunology 2025; (36(5)):e70100 doi:10.1111/pai.70100.

    PMID: 40321024
  6. 6

    Identification of 22q11.2 deletion syndrome via newborn screening for severe combined immunodeficiency. Two years' experience in Catalonia (Spain).

    Martin-Nalda A, Cueto-González AM, Argudo-Ramírez A, et al.

    Molecular genetics & genomic medicine 2019; (7(12)):e1016 doi:10.1002/mgg3.1016.

    PMID: 31663686
  7. 7

    TREC/KREC levels in children with ataxia-telangiectasia.

    Boyarchuk O, Makukh H, Kostyuchenko L, et al.

    Immunologic research 2021; (69(5)):436-444 doi:10.1007/s12026-021-09216-1.

    PMID: 34427868
  8. 8

    Positive Newborn Screening for Severe Combined Immunodeficiency: What Should the Pediatrician Do?

    Mongkonsritragoon W, Huang J, Fredrickson M, et al.

    Clinical medicine insights. Pediatrics 2023; (17()):11795565231162839 doi:10.1177/11795565231162839.

    PMID: 37025258
  9. 9

    Flow Cytometric Evaluation of Primary Immunodeficiencies.

    Boldt A, Bitar M, Sack U

    Clinics in laboratory medicine 2017; (37(4)):895-913 doi:10.1016/j.cll.2017.07.013.

    PMID: 29128075
  10. 10

    [Association between alterations in the expanded lymphoid profileby flow cytometry and inborn errors of immunity].

    Martín ML, Frías ME, Del Pino L, et al.

    Revista alergia Mexico (Tecamachalco, Puebla, Mexico : 1993) 2024; (71(3)):155-168 doi:10.29262/ram.v71i3.1381.

    PMID: 39625798
  11. 11

    Toward Universal Protection: A Comprehensive Review of Pneumococcal Disease, Emerging Vaccination Challenges and Future Perspectives.

    Sgrulletti M, Mastrototaro MF, Beni A, et al.

    Vaccines 2025; (13(12)) doi:10.3390/vaccines13121237.

    PMID: 41441703
  12. 12

    Exome and genome sequencing for inborn errors of immunity.

    Meyts I, Bosch B, Bolze A, et al.

    The Journal of allergy and clinical immunology 2016; (138(4)):957-969 doi:10.1016/j.jaci.2016.08.003.

    PMID: 27720020
  13. 13

    [Exome diagnostics in neurology].

    Zech M, Wagner M, Schormair B, et al.

    Der Nervenarzt 2019; (90(2)):131-137 doi:10.1007/s00115-018-0667-1.

    PMID: 30645660
  14. 14

    Pre-T cell receptor-α immunodeficiency detected exclusively using whole genome sequencing.

    Merico D, Sharfe N, Dadi H, et al.

    NPJ genomic medicine 2025; (10(1)):2 doi:10.1038/s41525-024-00453-5.

    PMID: 39805825
  15. 15

    Detection of inversion with breakpoints in ARSB causing MPS VI by whole-genome sequencing: lessons learned and best practices.

    Huang Y, Deng W, Huang H, et al.

    Frontiers in genetics 2024; (15()):1452498 doi:10.3389/fgene.2024.1452498.

    PMID: 39845185
  16. 16

    The Etiologic Landscape of Lymphoproliferation in Childhood: Proposal for a Diagnostic Approach Exploring from Infections to Inborn Errors of Immunity and Metabolic Diseases.

    Costagliola G, De Marco E, Massei F, et al.

    Therapeutics and clinical risk management 2024; (20()):261-274 doi:10.2147/TCRM.S462996.

    PMID: 38770035
  17. 17

    Inborn errors of immunity associated with elevated immunoglobulin E.

    Khan YW, Williams KW

    Annals of allergy, asthma & immunology : official publication of the American College of Allergy, Asthma, & Immunology 2022; (129(5)):552-561 doi:10.1016/j.anai.2022.07.013.

    PMID: 35872242

This page provides educational information about diagnostic testing for immune disorders. It is not medical advice. Always consult an immunologist before making medical decisions or receiving live vaccines.

Get notified when new evidence is published on Primary immunodeficiency.

We monitor PubMed for new peer-reviewed studies on this topic and email a short summary when something meaningful changes.