The three main ways you can catch hepatitis
Hepatitis spreads through three different routes depending on which type you encounter. Hepatitis A travels through contaminated food or water. Hepatitis B and Hepatitis C spread through blood-to-blood contact or, in the case of hepatitis B, through sexual contact or from mother to baby during birth. Understanding which route applies to each type helps you know what precautions actually matter.
The virus that causes each type lives in different body fluids and survives outside the body for different lengths of time. This is why the same precaution does not protect you against all three. Washing your hands stops hepatitis A but does nothing to prevent hepatitis B if you have a cut and touch someone else's blood.
Key Takeaways
- Hepatitis A spreads through contaminated food or water, usually from poor hand hygiene after using the bathroom.
- Hepatitis B spreads through blood-to-blood contact, sexual contact, or from mother to baby at birth, and can survive on surfaces for up to seven days.
- Hepatitis C spreads almost entirely through blood-to-blood contact, most commonly through sharing injection drug equipment.
- You cannot catch any form of hepatitis by sharing food, drinks, hugging, or sitting next to someone who has it.
- A vaccine exists for hepatitis A and hepatitis B but not yet for hepatitis C.
Hepatitis A: contaminated food and water
Hepatitis A lives in the stool of an infected person. When someone does not wash their hands thoroughly after using the bathroom, the virus gets onto their hands and then onto anything they touch — food, doorknobs, utensils, or other people's hands. If you then touch your mouth or eat without washing your hands, you swallow the virus.
Outbreaks often start in restaurants, schools, or daycare centers where one person's poor hand hygiene contaminates shared food or surfaces. The virus can also spread through contaminated water in places where sewage treatment is poor. Eating raw shellfish from contaminated water is a known risk because shellfish filter large amounts of water and concentrate any virus present.
Hepatitis A does not survive long outside the body — usually a few hours on a surface — but it is extremely hardy in the stomach and intestines. This is why even a tiny amount of virus can infect you if you swallow it.
Hepatitis B: blood, sexual contact, and birth
Hepatitis B virus lives in blood and certain body fluids. The most common routes are sharing needles or injection equipment (which accounts for most new infections in people who inject drugs), having unprotected sex with someone who has hepatitis B, or being born to a mother with hepatitis B. The virus can also spread through sharing razors, toothbrushes, or other items that might cause tiny cuts inside the mouth.
Healthcare workers and people who receive blood transfusions face a smaller but real risk. The virus survives on surfaces for up to seven days, so if you have a cut on your hand and touch a surface with dried blood on it, infection is theoretically possible — but this is rare because the virus needs to enter your bloodstream, not just touch your skin.
A mother with hepatitis B passes the virus to her baby during delivery in about 85 to 90 percent of cases if she is not treated. Newborn vaccination and treatment of the mother during pregnancy prevent most of these transmissions.
Hepatitis C: blood-to-blood contact
Hepatitis C spreads almost entirely through blood-to-blood contact. Sharing injection drug equipment is by far the most common route — the virus lives in blood left inside a needle or syringe. Healthcare workers can contract it through needlestick injuries. People who received blood transfusions before 1992 (when screening improved) may have been infected, as can people who received clotting factors before 1987.
Sexual transmission of hepatitis C is rare but possible, especially if there are cuts or sores in the genital area. Mother-to-baby transmission happens in about 5 percent of pregnancies where the mother has hepatitis C, usually only if she also has HIV.
Hepatitis C does not survive well outside the body and dies quickly once blood dries. You cannot catch it through food, water, saliva, or casual contact.
What does not spread hepatitis
You cannot catch hepatitis by sharing a meal, drinking from the same cup, or eating food someone with hepatitis prepared (unless that person had hepatitis A and did not wash their hands). You cannot catch it by hugging, kissing on the cheek, holding hands, or sitting next to someone who has it. Hepatitis B and C do not spread through saliva, so sharing a toothbrush would need to involve bleeding gums or cuts inside the mouth to pose any real risk.
Mosquitoes and other insects do not spread hepatitis. You cannot catch it from a toilet seat, a swimming pool, or sharing clothes or bedding. These facts matter because they help you understand where your actual risk lies and where you can relax.
Who is at higher risk
People who inject drugs face the highest risk for hepatitis B and C because sharing needles is the most direct blood-to-blood route. Healthcare workers and first responders have occupational exposure to needlestick injuries. Men who have sex with men have higher rates of hepatitis A and B, partly because hepatitis A can spread through sexual contact in ways that involve fecal matter.
Household contacts of someone with hepatitis B face some risk, especially if there are cuts or sores on either person's hands. Infants born to mothers with hepatitis B are at very high risk unless they receive vaccination and treatment at birth. People with HIV or other conditions that weaken the immune system may have worse outcomes if they contract hepatitis, though they are not necessarily at higher risk of catching it.
Travel to areas with poor sanitation increases your risk for hepatitis A. Living in a household where someone has hepatitis A puts you at risk if hand hygiene is poor.
What to do if you think you were exposed
If you believe you were exposed to hepatitis A in the past two weeks, post-exposure vaccination can prevent infection. Contact your doctor or local health department immediately — timing matters because the vaccine works best when given soon after exposure.
If you were exposed to hepatitis B — through a needlestick, unprotected sex, or other blood contact — post-exposure prophylaxis (a series of injections called hepatitis B immune globulin and the hepatitis B vaccine) can prevent infection if given within 24 hours, ideally within a few hours. Go to an emergency room or urgent care and tell them about the exposure.
If you think you were exposed to hepatitis C, there is no post-exposure prevention, but early treatment with antiviral medications works very well if you do contract it. Get tested at six weeks and again at three months after exposure.
Frequently Asked Questions
Can you catch hepatitis from sharing a toothbrush?
Only if both people have bleeding gums or cuts inside the mouth, which would allow blood-to-blood contact. This applies to hepatitis B and C. Hepatitis A does not spread this way. For practical purposes, sharing a toothbrush is a very low-risk situation.
Is hepatitis contagious before symptoms appear?
Yes. People with hepatitis can spread the virus to others before they feel sick or know they have it. With hepatitis A, you are most contagious one to two weeks before symptoms start and one week after. With hepatitis B and C, you can spread the virus for years without symptoms.
Can you get hepatitis from a tattoo or piercing?
Yes, if the equipment was not properly sterilized. Hepatitis B and C can spread through contaminated needles. Reputable tattoo and piercing shops use sterile, single-use needles and follow strict safety protocols. Ask about their sterilization methods before getting a tattoo or piercing.
What if someone in my house has hepatitis?
For hepatitis A: wash hands frequently, especially after using the bathroom, and do not share food or utensils. For hepatitis B or C: use separate toothbrushes and razors, cover any cuts on your hands, and do not share these items. Sexual contact with someone who has hepatitis B carries risk unless you are vaccinated. Talk to your doctor about vaccination and testing.
Can you catch hepatitis from a healthcare setting?
Healthcare-associated hepatitis is rare in modern settings because of strict sterilization and safety protocols. Hepatitis C was more common in hospitals before screening improved in the 1990s. If you are concerned about exposure during a medical procedure, contact the facility and ask about their sterilization practices.