Our Services
Medical Information
Helpful Resources
Published on: 12/1/2026
Most primary immunodeficiency disorders are inherited, caused by gene changes passed from parents to children through autosomal recessive, autosomal dominant, or X-linked patterns, which is why some types appear far more often in males or run in families. However, not every case is inherited in a predictable way, because some result from spontaneous (de novo) mutations that occur with no family history at all, and a few conditions, such as common variable immunodeficiency, involve genetic risk factors that are still not fully understood. Inheriting a gene variant also does not guarantee the same severity or age of onset, as symptoms can range from frequent sinus and ear infections in childhood to serious, recurrent infections first recognized in adulthood. There are several inheritance patterns, genetic testing options, and family screening considerations to weigh, so see below to understand the complete answer.
If you or your child keeps getting infections that are unusually frequent, severe, or slow to clear, do not wait to connect the dots on your own. A free, instant, online symptom check can help you organize your symptoms, see which conditions may explain them, and understand which type of doctor to talk to next, so your appointment starts with clear information instead of guesswork.
Last reviewed for medical accuracy: 11/30/2026
Yes, primary immunodeficiency can be inherited, but not every case is passed directly from a parent to a child. Primary immunodeficiencies—also called inborn errors of immunity—are a group of conditions in which part of the immune system is missing, weakened, or does not work as it should.
These conditions are usually caused by changes, or variants, in specific genes. Some gene changes are inherited from one or both parents. Others happen for the first time in the affected person and are not found in either parent. This means that the answer to “Is primary immunodeficiency genetic?” is generally yes, but the inheritance pattern can vary considerably.
Primary immunodeficiency is different from a weakened immune system caused by another illness, medication, poor nutrition, or an infection. Those conditions are usually called secondary immunodeficiencies and are not generally inherited.
Genes provide instructions for making immune cells and proteins. A change in one of these genes can affect how the immune system develops or responds to infections.
The main inheritance patterns include:
Inheritance is not always straightforward. Some people carry a disease-causing gene but have few or no symptoms. This can happen because of reduced penetrance, differences in other genes, environmental factors, or the specific type of primary immunodeficiency.
Yes. Many people diagnosed with primary immunodeficiency have no known family history. This does not rule out a genetic cause.
A condition may appear to affect only one person in a family because:
A lack of family history should not be used to dismiss ongoing or unusually severe infections. Doctors consider the pattern of illness, physical findings, blood tests, and family history together.
Everyone gets infections, particularly children who are exposed to new viruses at school or daycare. Frequent infections alone do not necessarily mean that someone has an immune deficiency.
Doctors may be more concerned when infections are unusually severe, persistent, recurrent, or difficult to treat. Possible warning signs include:
These signs have many possible causes, most of which are not primary immunodeficiency. Allergies, asthma, exposure to infections, anatomical problems, and other medical conditions can also lead to repeated respiratory symptoms. A medical assessment is needed to determine the cause.
No. Some primary immunodeficiencies become apparent in infancy or early childhood, while others are diagnosed during adolescence or adulthood. Certain conditions mainly affect antibody production and may not cause problems until protective antibodies received from the mother have naturally declined.
Other disorders may produce mild or intermittent symptoms for many years. In some cases, an adult is diagnosed only after a child or sibling is found to have a genetic immune condition.
The age when symptoms begin depends on the affected gene, the part of the immune system involved, and the particular gene variant. Some forms can be life-threatening without prompt treatment, while others are manageable with regular medical care.
A doctor will usually begin with a medical and family history and a physical examination. Initial tests may include:
If the results and symptoms suggest an inherited immune disorder, a specialist—often an allergist-immunologist or clinical immunologist—may recommend genetic testing. Genetic testing can identify a disease-causing variant, help confirm a diagnosis, guide treatment, and clarify whether relatives may be at risk.
However, genetic testing does not identify every case. A person may have a genuine immune problem even when testing does not find a clear genetic cause. Results should be interpreted by a qualified healthcare professional because a genetic variant may be harmless, uncertain, or difficult to connect to symptoms.
If a close relative has a confirmed primary immunodeficiency, tell your doctor. Depending on the condition, testing may be appropriate for siblings, children, or other relatives—even if they feel well.
A genetic counselor can explain:
Not every relative needs the same tests, and testing is most useful when it is guided by the known diagnosis and gene change in the family.
Treatment depends on the specific immune problem. It may include preventive antibiotics, antibody replacement therapy, prompt treatment of infections, vaccines when appropriate, or medicines that control inflammation. A small number of severe conditions may be treated with hematopoietic stem cell transplantation or other specialized therapies.
People with suspected or confirmed immune deficiency should not make vaccine or medication decisions without medical advice. Some vaccines may be particularly important, while certain live vaccines may not be suitable for people with specific immune disorders.
Speak to a doctor if you or your child has repeated serious infections, infections that do not improve as expected, poor growth, persistent thrush, or a close relative with a diagnosed immune deficiency. You might also consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to organize your symptoms before an appointment. It cannot diagnose primary immunodeficiency or replace professional care.
Speak to a doctor promptly about anything that could be life-threatening or serious. Seek urgent medical help for severe breathing difficulty, blue or gray lips, confusion, fainting, severe dehydration, rapidly worsening illness, or signs of a serious infection.
In summary, primary immunodeficiency is often genetic, but it is not always inherited directly from a parent. A person may inherit the condition, inherit a tendency to develop it, or have a new gene change. A family history can provide an important clue, but its absence does not exclude the diagnosis.
(References)
* Yazdani R, Fekrvand S, Shahkarami S, Azizi G, Moazzami B, Abolhassani H, Aghamohammadi A. The hyper IgM syndromes: Epidemiology, pathogenesis, clinical manifestations, diagnosis and management. Clin Immunol. 2019 Jan;198:19-30. doi: 10.1016/j.clim.2018.11.007. Epub 2018 Nov 13. PMID: 30439505.
* Amaya-Uribe L, Rojas M, Azizi G, Anaya JM, Gershwin ME. Primary immunodeficiency and autoimmunity: A comprehensive review. J Autoimmun. 2019 May;99:52-72. doi: 10.1016/j.jaut.2019.01.011. Epub 2019 Feb 20. PMID: 30795880.
* Brodszki N, Frazer-Abel A, Grumach AS, Kirschfink M, Litzman J, Perez E, Seppänen MRJ, Sullivan KE, Jolles S. European Society for Immunodeficiencies (ESID) and European Reference Network on Rare Primary Immunodeficiency, Autoinflammatory and Autoimmune Diseases (ERN RITA) Complement Guideline: Deficiencies, Diagnosis, and Management. J Clin Immunol. 2020 May;40(4):576-591. doi: 10.1007/s10875-020-00754-1. Epub 2020 Feb 17. PMID: 32064578; PMCID: PMC7253377.
* Min Q, Meng X, Wang JY. Primary Antibody Deficiencies. Adv Exp Med Biol. 2020;1254:117-144. doi: 10.1007/978-981-15-3532-1_10. PMID: 32323274.
* Lucas CL, Tangye SG. Editorial: Human Disorders of PI3K Biology. Front Immunol. 2020;11:617464. doi: 10.3389/fimmu.2020.617464. Epub 2020 Nov 26. PMID: 33329612; PMCID: PMC7732539.
* Aranda CS, Guimarães RR, de Gouveia-Pereira Pimentel M. Combined immunodeficiencies. J Pediatr (Rio J). 2021 Mar-Apr;97 Suppl 1(Suppl 1):S39-S48. doi: 10.1016/j.jped.2020.10.014. Epub 2020 Dec 17. PMID: 33340461; PMCID: PMC9432339.
* Al-Mayouf SM, Alreefi HA, Alsinan TA, AlSalmi G, AlRowais A, Al-Herz W, Alazami AM, Alsonbul A, Al-Mousa H. Lupus manifestations in children with primary immunodeficiency diseases: Comprehensive phenotypic and genetic features and outcome. Mod Rheumatol. 2021 Nov;31(6):1171-1178. doi: 10.1080/14397595.2021.1886627. Epub 2021 Feb 22. PMID: 33563058.
* Gracci S, Novelli T, D'Elios S, Bernardini R, Peroni D. Hyper IgE Syndromes. Curr Pediatr Rev. 2024;20(3):253-264. doi: 10.2174/1573396320666230912103124. PMID: 37702167.
* 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.
* Salehi M, Ahanchian H, Karimiani EG, Aelami MH, Moazzen N, Neshati Z, Pasdar A. Genetic and epidemiological patterns of primary immunodeficiency diseases in Eastern Iranian patients. Sci Rep. 2026 Feb 2;16(1):6993. doi: 10.1038/s41598-026-35604-4. Epub 2026 Feb 2. PMID: 41629504; PMCID: PMC12921212.
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.