Gay and bisexual men should get vaccinated against both hepatitis A and hepatitis B, ideally before any exposure. The hepatitis B vaccine is recommended for all adults aged 19–59 and for older adults with risk factors CDC, 2022. Vaccination is your best protection, and a one-time blood screen confirms whether you're already immune.

managed
Curable?

treatable, not curable

exam + lab
Tested by
no symptoms
Often
get tested
If you may have it

testing, not symptoms, decides

Hepatitis A & B Vaccines for Gay & Bisexual Men at a glance. Source: CDC.
Hepatitis A & B Vaccines for Gay & Bisexual Men at a glance
ItemValue
Curable?managed — treatable, not curable
Tested byexam + lab
Oftenno symptoms
If you may have itget tested — testing, not symptoms, decides

Why hepatitis A and B matter more for MSM

Hepatitis B is a vaccine-preventable liver infection caused by the hepatitis B virus (HBV) CDC. It's mainly blood-borne and sexually transmitted: the virus passes when blood, semen, or other body fluids from an infected person enter someone uninfected, including through anal and oral sex. Hepatitis A is shed in stool and passes through the fecal-oral route, which makes oral-anal contact (rimming) a recognized sexual route. Both happen during sex between men, so public-health guidance singles out this group for vaccination.

Hepatitis B can be acute — a short-term illness in the first six months after exposure — or chronic, meaning infection that lasts beyond six months and can be lifelong. Age at infection decides almost everything. Caught in adulthood, fewer than 1 in 20 people develop chronic infection, but an infant infected at birth has roughly a 90% chance of carrying it for life WHO. For a vaccinated adult, the shots prevent the infection entirely.

How to prevent hepatitis A and B

Vaccination is the best prevention CDC STI guidelines. The hepatitis B series builds antibodies that neutralize the virus before it can establish itself in liver cells, and a combined hepatitis A/B vaccine covers both in the same schedule. If you've never been vaccinated and you're a sexually active man who has sex with men, complete the series.

  • Get the hepatitis B vaccine series if you haven't — ACIP recommends it for all adults aged 19–59 and for adults 60 and older who have risk factors, a category that includes MSM.
  • Get the hepatitis A vaccine too, since the fecal-oral route makes it a sexual risk for men who have sex with men; a combined A/B product covers both.
  • After a known exposure to a hepatitis-B-positive (HBsAg-positive) source, post-exposure prophylaxis is hepatitis B immune globulin (HBIG) plus the vaccine, given as soon as possible — ideally within a day.
  • HBV does NOT spread through sneezing, coughing, hugging, or sharing food, water, or utensils. Prevention is about blood and sexual fluids.

Condoms and their limits

Condoms used every time lower the risk of sexual transmission for hepatitis B, and they help against the genital and rectal contact that spreads it. But they aren't a complete shield. Hepatitis A spreads by oral-anal contact that a condom on the penis doesn't cover, and any blood contact — shared needles, certain sex practices — bypasses condoms entirely. Barriers are one layer, and the vaccine closes the gap.

Testing as prevention

Routine testing catches what has no symptoms. CDC recommends screening every adult aged 18 and older at least once in their lifetime for hepatitis B, and more often for people with ongoing risk CDC, 2023. Acute hepatitis B reports have held roughly steady at about 2,200 a year, but hundreds of thousands more people live with undiagnosed chronic infection CDC AtlasPlus, 2023. Many of them feel completely well while chronic infection quietly damages the liver for years.

The screen is a triple serologic panel that reads three markers at once: HBsAg (a surface antigen that signals active infection), anti-HBs (the antibody that signals immunity, either from vaccination or recovery), and total anti-HBc (an antibody that signals past or current infection) CDC. Together they tell you whether you're susceptible, immune, or infected, and for vaccinated men a follow-up anti-HBs titer confirms the shots took. If you've had a possible exposure, the timing of testing matters; see when to test after exposure and the hepatitis b window period and how soon to test.

Vaccine, titer checks, and how it all fits

Here's how the pieces fit for a sexually active man who has sex with men. First, get the hepatitis B (or combined A/B) series. Because immune response varies, a clinician can order an anti-HBs titer a few weeks after the final dose to confirm protection — useful for people whose response is less reliable. The triple panel does double duty, screening for existing infection and reading your immunity status in one draw.

ToolWhat it doesLimit for MSM
Hepatitis A/B vaccinePrevents infection before exposure; best single protectionNeeds the full series; titer check confirms response
CondomsLower sexually transmitted risk when used every timeDon't cover oral-anal (hep A) or blood contact
Triple serologic panelScreens for active/past infection and confirms immunityA point-in-time snapshot; repeat with new exposures
Post-exposure HBIG + vaccineReduces infection after a known HBsAg-positive contactMust start fast, ideally within a day

If a test comes back showing infection, it's manageable. Clinics handle this every day, and it says nothing about you as a person. Chronic hepatitis B is controlled rather than cured: medicines like tenofovir or entecavir suppress the virus and cut the risk of liver cancer, though most people take them long-term, and clearance is uncommon even after years of treatment AASLD, 2018.

When to see a clinician

Talk to a clinician if you've never completed the hepatitis B series, if you don't know your immunity status, or if you've had a possible exposure — especially contact with a partner known to carry the virus, where prompt HBIG plus vaccine can prevent infection. Also get evaluated for new yellowing of the skin or eyes, dark urine, persistent right-upper-abdomen pain, or unexplained fatigue, which can signal acute liver inflammation. You can get tested for hepatitis B and other STIs at the same visit; many clinics bundle the panel.

Because the same exposures often carry more than one virus, it helps to understand the broader picture of hepatitis b and c and how they differ — see hepatitis b vs hepatitis c for the practical comparison, since hepatitis C has no vaccine and is screened differently.