Our Services
Medical Information
Helpful Resources
Published on: 12/1/2026
Genetic testing for an immune deficiency is typically ordered after recurrent, severe, or unusual infections, poor growth, autoimmune problems, or abnormal bloodwork suggest a primary (inborn) immune disorder, and it may also be done in newborns with an abnormal screening result or in people with a family history of immunodeficiency. Timing matters, because testing is usually recommended only after initial labs such as blood counts, immunoglobulin levels, and lymphocyte studies point toward a specific inherited cause, and the right test can range from a single gene to broad panels or exome sequencing. There are several important factors to consider, including age, symptom pattern, prior lab results, family planning goals, and whether a diagnosis would change treatment, so see below to understand more. Because the signs of immune deficiency overlap with common illnesses, allergies, and other conditions, a structured review of your symptoms is a practical first step before pursuing specialized testing. Take a free, instant, online symptom check to clarify what may be driving your symptoms, see which possibilities deserve attention, and get guidance on the next steps and specialists to discuss with your doctor.
Last reviewed for medical accuracy: 11/30/2026
Genetic testing for immunodeficiency may be recommended when a person has repeated, unusually severe, or difficult-to-treat infections—or when other findings suggest that the immune system is not working normally. It is not needed for every person who gets sick often. Many infections are caused by normal exposure to viruses, allergies, asthma, or other non-genetic conditions.
Genetic testing is considered when a doctor suspects an inborn error of immunity, also called a primary immunodeficiency or primary immune deficiency. These are inherited conditions caused by changes in genes involved in immune-system development or function. They can affect children or adults and may sometimes be identified for the first time in adulthood.
A doctor usually begins with a medical history, physical examination, and basic laboratory tests. Genetic testing is one part of the evaluation, not a replacement for it.
Testing may be considered when there is a combination of warning signs, abnormal immune tests, or a strong family history. Examples include:
A pattern is often more important than one isolated infection. For example, young children commonly have several colds each year, especially if they attend childcare or have school-aged siblings. That alone does not usually suggest a genetic immune deficiency.
Some immune deficiencies are inherited in a clear pattern. If a parent, sibling, or child has a confirmed disease-causing gene change, other family members may be offered testing. This is called cascade testing.
Testing may be useful even when a relative has few or no symptoms. Some people carry a gene change without having the condition themselves, while others have a milder form that was never recognized. Knowing the family’s genetic change can help doctors choose a focused test rather than ordering a broad panel.
A genetic counselor or specialist can explain what the result might mean for relatives, future children, and other family members.
Usually, doctors first perform a clinical assessment and basic immune evaluation. Tests may include:
Genetic testing may be ordered at the same time if the symptoms are strongly suggestive or if there is a known family mutation. In other cases, it is done after blood tests show an abnormality.
Importantly, normal initial blood tests do not rule out every inherited immune condition. Some disorders involve immune pathways that are not measured by routine testing. If the medical history remains concerning, a clinical immunologist may still recommend genetic evaluation.
The test selected depends on the person’s symptoms and family history.
If doctors suspect a particular condition or know the gene change in a family, they may test one specific gene or a particular known variant. This is usually easier to interpret than a broad test.
A panel examines many genes associated with inherited immune disorders. This is commonly used when the symptoms fit several possible conditions or when routine immune tests show a pattern but do not identify the exact cause.
These broader tests examine most or all of the protein-coding regions of genes, or nearly the entire genetic material. They may be considered when a person has a complex or unexplained condition and more focused testing has not found an answer.
Broad testing can identify findings unrelated to immunity. Some results may be uncertain, and not every genetic cause of immune deficiency is currently known. A negative result does not always mean that an inherited condition is absent.
Testing can be done at any age, including shortly after birth. It may be recommended urgently when a newborn has signs of a severe immune disorder, such as persistent infections, very low lymphocyte counts, or an abnormal newborn screen.
Children may be referred for testing when infections are unusually severe, growth is poor, or there is a strong family history. The decision is based on the child’s overall pattern, not simply the number of ordinary colds or ear infections.
In some families with a known genetic condition, testing may be offered during pregnancy or soon after birth. These decisions can have emotional and medical implications, so they should be discussed with a specialist in genetics and a pediatric immunologist.
Yes. Some inherited immune deficiencies are mild and may not be diagnosed until adulthood. Others become more noticeable after a major infection, surgery, pregnancy, or treatment that affects the immune system.
Adults may be referred for genetic testing if they have long-term, unexplained infections; repeated pneumonia; unusual infections; poor vaccine responses; persistent low blood-cell counts; or a family history of immune deficiency. Some adults are diagnosed after their child is found to have a genetic immune disorder.
Other conditions can cause similar symptoms, including HIV, medication effects, diabetes, nutritional problems, blood disorders, and some autoimmune diseases. Doctors generally assess these possibilities as part of the evaluation.
Most genetic tests use a blood sample. Some use saliva or a cheek swab. The sample is sent to a specialized laboratory for analysis, and results may take several weeks or longer.
Before testing, genetic counseling can help explain:
A positive result may confirm a diagnosis, guide treatment, help predict complications, and identify relatives who should be evaluated. A negative result may be reassuring, but it does not exclude every immune deficiency. A variant of uncertain significance means that doctors do not yet know whether the genetic change affects health; it should not be treated as a confirmed diagnosis without supporting medical evidence.
Speak to a doctor if you or your child has repeated serious infections, infections requiring hospitalization, persistent thrush, poor growth, unexplained low blood counts, or a close relative with a diagnosed immune deficiency. Bring information about infection dates, treatments, hospital visits, vaccine responses, and family history.
Seek urgent medical care for trouble breathing, bluish or gray skin, severe dehydration, confusion, a stiff neck, rapidly worsening illness, signs of sepsis, or any other potentially life-threatening symptom. Do not wait for genetic testing if something could be serious—speak to a doctor or emergency service promptly.
If you are unsure whether symptoms need medical evaluation, you might consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It cannot diagnose an immune deficiency, but it may help you organize symptoms and decide what to discuss with a healthcare professional.
Genetic testing is most useful when it is guided by a doctor, clinical immunologist, or genetic counselor. It can provide important answers, but the result must always be interpreted alongside symptoms, examination findings, immune tests, and family history.
(References)
* Vandekerckhove L, Blot S, Vogelaers D. Abacavir hypersensitivity. N Engl J Med. 2008 Jun 5;358(23):2514-5; author reply 2515-6. doi: 10.1056/NEJMc080541. PMID: 18525052.
* Notarangelo LD. Primary immunodeficiencies. J Allergy Clin Immunol. 2010 Feb;125(2 Suppl 2):S182-94. doi: 10.1016/j.jaci.2009.07.053. Epub 2009 Dec 29. PMID: 20042228.
* Paravisini A, Gurbindo MD, Sánchez Román S. [Ataxia-telangiectasia]. Med Clin (Barc). 2012 Mar 17;138(6):249-53. doi: 10.1016/j.medcli.2011.06.006. Epub 2011 Sep 21. PMID: 21940004.
* Galiè N, Humbert M, Vachiery JL, Gibbs S, Lang I, Torbicki A, Simonneau G, Peacock A, Vonk Noordegraaf A, Beghetti M, Ghofrani A, Gomez Sanchez MA, Hansmann G, Klepetko W, Lancellotti P, Matucci M, McDonagh T, Pierard LA, Trindade PT, Zompatori M, Hoeper M, ESC Scientific Document Group. 2015 ESC/ERS Guidelines for the diagnosis and treatment of pulmonary hypertension: The Joint Task Force for the Diagnosis and Treatment of Pulmonary Hypertension of the European Society of Cardiology (ESC) and the European Respiratory Society (ERS): Endorsed by: Association for European Paediatric and Congenital Cardiology (AEPC), International Society for Heart and Lung Transplantation (ISHLT). Eur Heart J. 2016 Jan 1;37(1):67-119. doi: 10.1093/eurheartj/ehv317. Epub 2015 Aug 29. PMID: 26320113.
* Falvella FS, Cheli S, Clementi E. HLA-B*57. Pharmacogenet Genomics. 2017 Feb;27(2):81-82. doi: 10.1097/FPC.0000000000000258. PMID: 28059981.
* Busse PJ, Christiansen SC. Hereditary Angioedema. N Engl J Med. 2020 Mar 19;382(12):1136-1148. doi: 10.1056/NEJMra1808012. PMID: 32187470.
* de Almeida Velozo C, Cardoso CC. Pharmacogenetics of HIV therapy: challenges for tailoring treatment in genetically complex populations. Pharmacogenomics. 2022 Feb;23(3):157-159. doi: 10.2217/pgs-2021-0155. Epub 2022 Jan 13. PMID: 35023374.
* Raymond LS, Leiding J, Forbes-Satter LR. Diagnostic Modalities in Primary Immunodeficiency. Clin Rev Allergy Immunol. 2022 Aug;63(1):90-98. doi: 10.1007/s12016-022-08933-1. Epub 2022 Mar 15. PMID: 35290615.
* Klangkalya N, Fleisher TA, Rosenzweig SD. Diagnostic tests for primary immunodeficiency disorders: Classic and genetic testing. Allergy Asthma Proc. 2024 Sep 1;45(5):355-363. doi: 10.2500/aap.2024.45.240051. PMID: 39294902; PMCID: PMC11425801.
* Giardino G, Di Matteo G, Giliani S, Ferrari S, Lougaris V, Badolato R, Conti F, Romano R, Cicalese MP, Ricci S, Barzaghi F, Marzollo A, Cifaldi C, Montin D, Lodi L, Cirillo E, Martire B, Trizzino A, Sgrulletti M, Moschese V, Comegna M, Castaldo G, Tommasini A, Azzari C, Cancrini C, Aiuti A, Pignata C. Consensus of the Italian Primary Immunodeficiency Network on the use and interpretation of genetic testing for diagnosing inborn errors of immunity. J Allergy Clin Immunol. 2025 Apr;155(4):1149-1160. doi: 10.1016/j.jaci.2024.11.030. Epub 2024 Nov 30. PMID: 39622296.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.