Tuberculosis spreads through the air when an infected person coughs, sneezes, or speaks

Tuberculosis (TB) is spread by breathing in droplets that contain the TB bacteria. When someone with active TB disease in their lungs or throat releases these droplets into the air, anyone nearby can inhale them. This is the only way TB spreads between people. You cannot catch TB from touching someone, sharing food or drinks, shaking hands, or sharing clothing or bedding.

The bacteria travel into your lungs when you breathe them in. Once there, they can begin to grow and multiply. Whether you develop TB disease depends on several factors: how much bacteria you inhaled, how long you were exposed, and how strong your immune system is at that moment.

Key Takeaways

  • TB spreads only through the air when someone with active TB coughs, sneezes, or speaks—not through touch or shared objects.
  • You are most at risk if you spend prolonged time in a closed space with someone who has untreated active TB disease.
  • Not everyone who breathes in TB bacteria develops the disease; your immune system may fight off the infection.
  • People with TB disease in their lungs or throat are contagious; those with TB in other parts of the body usually are not.
  • TB treatment makes a person non-contagious within two to three weeks, even though the full course of medicine takes months.

Who is contagious and who is not

Only people with active TB disease in the lungs or throat spread the bacteria. This is called pulmonary or laryngeal TB. If someone has TB in other parts of the body—the bones, kidneys, or lymph nodes—they are not contagious because the bacteria are not in their respiratory system.

A person with untreated active TB disease is contagious. Once they start taking TB medicine as prescribed, they become non-contagious within two to three weeks, even though they must continue treatment for several more months to cure the disease completely. This is why early treatment protects both the person with TB and everyone around them.

How long you need to be exposed to catch TB

TB is not spread by brief contact. You are at higher risk if you spend prolonged time in a closed space with someone who has active TB disease. This typically means hours per day over days or weeks, not a single short encounter.

Household members, coworkers in the same office, or people in shared living spaces like shelters or prisons face the highest risk because they spend many hours near the infected person. A single bus ride or brief visit does not usually result in TB transmission, though it is possible if the person with TB is coughing heavily and the space is poorly ventilated.

Risk factors that increase your chance of catching TB

Your risk depends partly on how much bacteria you inhale and how long you are exposed, but also on your own health. People with weakened immune systems are more likely to develop TB disease after breathing in the bacteria. This includes people living with HIV, those taking immunosuppressant medicines, people with diabetes, and those who are very young or elderly.

Crowded living conditions, poor ventilation, and malnutrition also increase risk. If you live or work in a setting where TB is more common—such as a homeless shelter, correctional facility, or healthcare setting—your exposure risk is higher. Smoking and heavy alcohol use weaken the immune system and raise the risk of developing TB disease if you are exposed.

What happens after you breathe in TB bacteria

When you inhale TB bacteria, they settle in your lungs and begin to multiply. Your immune system responds by trying to contain them. In most people—about 90 percent—the immune system successfully stops the bacteria from causing disease. The bacteria become dormant, and you develop latent TB infection. You have no symptoms, feel fine, and cannot spread TB to others.

In the remaining 10 percent of people, the immune system cannot contain the bacteria. They continue to multiply, damage lung tissue, and cause active TB disease. This can happen within weeks of exposure or years later, depending on your immune system's strength. Only people with active TB disease spread the infection.

Settings where TB transmission is more likely

TB spreads more easily in crowded spaces with poor air circulation. Healthcare settings, especially areas where TB patients are treated, carry higher transmission risk if infection control measures are not in place. Homeless shelters, correctional facilities, and residential care homes see more TB cases because people live closely together for extended periods.

Poorly ventilated homes, workplaces, or public transportation also increase risk. Modern buildings with sealed windows and recirculated air can trap TB droplets. Older buildings with natural ventilation and open windows reduce transmission risk. If you work or live in a high-risk setting, knowing the signs of TB disease in others—persistent cough, fever, night sweats, and weight loss—helps you seek information early.

Testing after exposure to someone with TB

If you have spent prolonged time with someone who has active TB disease, you should be tested. A healthcare provider can perform a TB skin test (also called a tuberculin skin test or TST) or a TB blood test (interferon-gamma release assay, or IGRA). These tests show whether you have been infected with TB bacteria, though they do not tell you whether you have latent or active TB disease.

Testing is especially important if you have risk factors that weaken your immune system. If your test shows TB infection, a chest X-ray and sometimes other tests help determine whether you have active disease or latent infection. If you have latent TB infection, preventive medicine can stop it from becoming active disease. If you have active TB disease, treatment will make you non-contagious and prevent serious illness.

Frequently Asked Questions

Can you catch TB from someone who is being treated?

No. Once someone starts taking TB medicine as prescribed, they become non-contagious within two to three weeks. Even though they must continue treatment for months, they pose no transmission risk after that initial period.

What if you are in the same room as someone with TB for a few minutes?

Brief exposure carries low risk. TB requires prolonged contact in a closed space. A single short encounter—such as passing someone in a hallway or sitting near them briefly—rarely results in transmission, though it is theoretically possible if the person is coughing heavily.

Can you catch TB from someone's clothes or dishes?

No. TB bacteria do not survive on surfaces or objects. You cannot catch TB from touching contaminated items, sharing food or drinks, or handling someone's clothing or bedding. TB spreads only through the air.

What should you do if you think you were exposed to TB?

Contact a healthcare provider or your local health department and describe the exposure. They can determine whether testing is needed based on how long you were exposed and your risk factors. Testing is simple and can show whether you have been infected.

Is TB more contagious than the flu?

TB requires prolonged close contact to spread, while flu spreads more easily through brief exposure. However, TB is serious because it can cause long-term illness if untreated. Both are spread through the air, but the transmission patterns are different.