Is Tuberculosis Genetic or Environmental?

Tuberculosis is not a genetic disease. It is an infectious disease caused by a bacterium called Mycobacterium tuberculosis that spreads through the air when someone with active TB coughs, speaks, or sings. However, your genes do play a real role in whether you get sick after exposure, which is why TB sometimes appears to “run in families” even though it isn’t inherited.

How TB Actually Spreads

TB bacteria travel in tiny airborne droplets that can linger in the air for several hours, especially in indoor spaces with poor ventilation. You catch TB by breathing in these droplets, not by inheriting it from a parent. The bacteria usually attack the lungs but can infect almost any part of the body.

TB tends to cluster in families for a straightforward reason: the bacteria spread most easily between people who share living space. The CDC notes that people with active TB are most likely to transmit it to family members, friends, and coworkers because of prolonged close contact. A closed, poorly ventilated room is the ideal environment for transmission. So when multiple family members develop TB, shared air rather than shared DNA is usually the explanation.

Why TB Was Once Considered Hereditary

For most of the 1800s, doctors genuinely believed TB was an inherited condition. The influential French physician RenĂ© Laennec, inventor of the stethoscope, promoted what he called the “essentialist theory.” He argued that patients had an inborn constitutional defect, a “diathesis,” that made them susceptible to the disease. Under this framework, TB was seen as hereditary rather than contagious, and its victims weren’t feared the way cholera patients were.

That theory collapsed after Robert Koch identified the TB bacterium in 1882, proving it was an infection. But the old idea left a lasting impression, and the question of whether TB is genetic still comes up today. The answer is more nuanced than a simple no.

Your Genes Influence Your Risk

About a quarter of the world’s population has been exposed to TB bacteria, yet only 5 to 10 percent of infected people ever develop active disease. Part of what separates those who get sick from those who don’t is genetic. Your immune system’s ability to recognize and contain the bacteria depends partly on the gene variants you carry.

Several specific genetic regions have been linked to TB susceptibility. Variants in HLA class II genes, which help your immune cells identify threats, are associated with pulmonary TB, likely because certain versions are less effective at flagging TB proteins for destruction. A gene called SLC11A1 (also known as NRAMP1), which helps immune cells starve bacteria of essential metals, has been linked to TB risk in multiple populations. More recent genome-wide studies have identified additional human genes tied to the immune signaling molecule interferon-gamma, a critical part of the body’s defense against TB.

There are also extremely rare inherited immune deficiencies that dramatically increase susceptibility to TB and related bacteria. These conditions, collectively called Mendelian susceptibility to mycobacterial diseases, involve mutations in the interferon-gamma signaling pathway or in genes for related immune molecules like interleukin-12. But these are so uncommon that the vast majority of people who develop TB do not have any of these recognized gene defects.

What Twin Studies Reveal

The clearest evidence for a genetic component comes from twin studies. A landmark British survey found that when one identical twin developed TB, the other twin also developed it about 32 percent of the time. For non-identical twins, that figure dropped to about 14 percent. Since identical twins share all their DNA while non-identical twins share roughly half, the gap points to a real genetic influence.

The effect was even more dramatic when the source of infection was highly contagious. Among twin pairs where the first twin had the most infectious form of TB (sputum smear-positive), concordance was 40 percent for identical twins versus just 12 percent for non-identical twins. Interestingly, when the original case was less contagious, the difference between identical and non-identical twins nearly disappeared, suggesting that genetic susceptibility matters most when the bacterial exposure is intense.

These numbers confirm that genes contribute to TB risk, but they also show that genes alone don’t determine the outcome. Even among identical twins with the same DNA and often the same household exposure, the majority of the time only one twin got sick.

The Bacteria Have Their Own Genetics

There’s another genetic angle to TB that has nothing to do with human inheritance: the bacteria themselves evolve. Unlike many other pathogens, TB bacteria don’t swap resistance genes between cells. Instead, all their drug resistance comes from random mutations in their own DNA, usually single-letter changes in their genetic code.

These mutations can change the drug’s target so the medication no longer binds to it, disable the bacterial enzymes that activate certain drugs, or ramp up pumps that push drugs out of the bacterial cell. This is how multidrug-resistant TB develops. The 2024 WHO global TB report estimated roughly 400,000 new cases of multidrug-resistant TB and 150,000 associated deaths in 2023 alone, out of 10.8 million total new TB cases worldwide.

So when people talk about “TB genetics,” it can refer to either the human side (your susceptibility) or the bacterial side (drug resistance). Neither one makes TB a genetic disease in the way that sickle cell disease or cystic fibrosis is genetic.

What This Means for You

If TB runs in your family, the most likely explanation is shared exposure rather than inherited vulnerability. Living in the same household as someone with active TB is the single biggest risk factor. That said, if multiple family members have developed active TB disease despite treatment and limited ongoing exposure, it’s possible that genetic susceptibility is playing a larger-than-usual role.

The practical takeaway is that TB prevention focuses on controlling transmission: good ventilation, prompt treatment of active cases, and screening of close contacts. Your genetic background may tilt the odds slightly, but the bacterium has to get into your lungs first. No gene variant causes TB on its own, and no gene variant makes TB inevitable.