Prevention and Education
Hepatitis B Window Period: When to Get Tested

Quick answer: The hepatitis B "window period" — the time before the virus shows up on a test — averages about 4 weeks after exposure, though the surface antigen (HBsAg) can appear as early as 1–2 weeks or as late as 9. For a reliable result, test around 6 weeks after a possible exposure and confirm at 3 months.
What Is the Hepatitis B Window Period?
When a patient calls worried about a recent exposure, the window period is the first thing I explain. It's the gap between exposure to the hepatitis B virus and the point when a blood test can reliably detect it — test too early and you can get a false-negative even though you're infected. The marker labs look for first is HBsAg (hepatitis B surface antigen), the earliest sign of infection.
According to the CDC, HBsAg can show up as early as 1 to 2 weeks and as late as 11 to 12 weeks after exposure, with an average of about 4 weeks. That range is exactly why timing your test matters.
When Should I Get Tested After Exposure?
The timeline I give patients:
Right away (within 72 hours) — if you think you were exposed and aren't vaccinated, see a provider urgently. Post-exposure prophylaxis (a vaccine dose, sometimes with HBIG) can prevent infection if given quickly.
Around 6 weeks — most infections are detectable by now via HBsAg.
At 3 months — a negative result at this point is highly reliable.
If your first test is negative but was done soon after exposure, retest — I'd rather confirm than reassure too early.
Hepatitis B Incubation vs. Window Period
These two get confused constantly, so I separate them:
Window period — when the test can detect the virus (HBsAg from about 1–9 weeks, average 4).
Incubation period — when symptoms appear, which averages about 90 days (range 60–150).
You can be infectious and test-positive well before any symptoms — and many people never feel sick at all, which is exactly why I tell patients not to wait for symptoms.
Which Tests Are Used?
Hepatitis B is diagnosed from a blood sample, usually with a three-test panel:
HBsAg — a current infection (the first marker to appear).
Anti-HBc — past or current infection.
Anti-HBs — recovery or vaccine immunity.
The CDC now recommends every adult be tested for hepatitis B at least once with this triple panel. A comprehensive STD panel typically covers hepatitis B.
What If the Result Is Positive?
A positive HBsAg means a current infection. If it clears within 6 months it was acute; if HBsAg persists beyond 6 months it's chronic and needs ongoing monitoring. Either way, follow up with a provider. Hepatitis B is different from hepatitis C — there's no cure for chronic hep B, but effective antivirals control it and a vaccine prevents it. Our hepatitis overview has more.
When to Seek Care Right Away
A known or likely exposure within the last few days, especially if you're unvaccinated — PEP is time-sensitive.
Yellowing of the skin or eyes, dark urine, or severe abdominal pain.
Pregnancy with any possible exposure — testing protects the baby.
Frequently Asked Questions
How soon can hepatitis B be detected?
As early as 1–2 weeks after exposure, but on average about 4 weeks. Test around 6 weeks and confirm at 3 months.
Can I test negative and still have hepatitis B?
Yes, if you test during the window period. Retest at 3 months for a reliable result.
How long is the incubation period?
About 90 days on average (range 60–150) before symptoms — though many people have none.
Is there a vaccine?
Yes. Hepatitis B is vaccine-preventable, and post-exposure prophylaxis can prevent infection if started quickly.
The Bottom Line
If you've had a possible hepatitis B exposure, don't rely on an early test alone: HBsAg usually shows up around 4 weeks, so test at about 6 weeks and confirm at 3 months — and if you're unvaccinated, ask about post-exposure prophylaxis right away. You can get tested to know for sure.
Last reviewed: September 2026
Medical review: This article is for informational purposes only and does not constitute medical advice. Consult a healthcare provider about testing after a possible exposure. Timing is based on CDC hepatitis B clinical guidance and CDC hepatitis B information.
Don’t Know What Could Be Causing Your Symptoms?
Get the complete STD test panel and take control of your health!

Dr. Michael Thompson is an expert in sexually transmitted diseases with extensive clinical and research experience. He leads campaigns advocating for early diagnosis and prevention of diseases like HIV and gonorrhea. He collaborates with local organizations to educate both youth and adults about sexual health.