Hepatitis B Serology Interpretation: Reading the HBsAg/Anti-HBc Panel
A step-by-step guide to reading HBsAg, anti-HBs, and anti-HBc panels, including the window period trap students consistently miss.
A 28-year-old healthcare worker comes in for a routine occupational health screen. Her HBsAg is negative, her anti-HBs is negative, but her anti-HBc comes back positive. Is she infected? Immune? Should she be vaccinated again? Three results, and none of the clean textbook patterns fit. This is exactly the kind of result that trips up students and sometimes clinicians too, and the reason it's confusing isn't bad luck, it's that hepatitis B serology is fundamentally a timing problem, not a simple positive/negative checklist.
Here's the underlying rule that makes the whole panel readable: in any infection, antigen always appears before antibody, because antigen is the pathogen itself showing up, while antibody is the immune system's response to it, and a response always lags behind the thing it's responding to. So why design a test panel around three separate markers (HBsAg, anti-HBs, anti-HBc) instead of just one? Because each marker is reporting on a different moment in that timeline. HBsAg tells you the virus's antigen is present right now. Anti-HBs tells you the antibody response has caught up and won. Anti-HBc tells you an immune response was triggered at some point, full stop, without saying whether it's still winning, already won, or somewhere in between.
The healthcare worker's confusing result above has a name once you see it through this timing lens: the window period, a real, predictable gap between when HBsAg disappears and when anti-HBs has had time to rise high enough to detect. It's not a measurement error or a rare edge case; it's a direct, mechanical consequence of antibody production always trailing antigen clearance by some interval. Once you think of the three markers as snapshots taken at different points along one infection timeline rather than three independent yes/no tests, panels that look contradictory at first glance become predictable instead.
Viral Replication Markers
Markers of viral replication such as HBeAg and HBV-DNA (non-PCR method) are detectable during the early high replication phase but are not detectable during the later quiescent low replication phase. HBeAg is not a reliable marker of HBV replication when a precore variant is responsible for the infection. Such cases will be HBeAg negative, anti-HBe positive, but HBV-DNA (by a non-PCR method) positive.
The table below summarizes how these markers combine in different stages of infection or immunity; full definitions of each individual marker follow below the table.
Antigen/Antibody tested | Test result | Inference |
HBsAg | Negative | Susceptible |
HBsAg | Negative | Immune due to natural infection |
HBsAg | Negative | Immune due to hepatitis B vaccination |
HBsAg | Positive | Acutely infected |
HBsAg anti-HBc IgM anti-HBc anti-HBs | Positive | Chronically infected |
HBsAg | Negative | Interpretation unclear; four possibilities: 1. Resolved infection (most common) 2. False-positive anti-HBc, thus susceptible 3. “Low level” chronic infection 4. Resolving acute infection |
Table source: CDC
How to Remember the Panel
Antigen first, antibody later, every time, because one is the cause and the other is the effect. Whatever the infection, the pathogen's antigen always shows up before the antibody response to it, simply because the immune system can't respond to something that isn't there yet. Hepatitis B is no exception. HBsAg rises first; anti-HBs only appears once the body has cleared the virus. If you remember nothing else, remember that the antigen is the "wanted poster" and the antibody is the "arrest," the arrest can only happen after the poster has been circulating for a while.
IgM means "recent," IgG means "past," because that's literally how the immune system upgrades its own response over time. B cells initially produce IgM, then switch to producing IgG as the response matures, a process called class switching. So whenever an antibody's class is specified, IgM signals a recent event and IgG signals an older one, this applies as much to anti-HBc as it does to any other antibody you'll encounter in microbiology. When the class isn't specified, the test is reporting total antibody (IgG and IgM combined), so a "positive anti-HBc" alone doesn't tell you if the infection is recent or old until you specifically check the IgM fraction.
The window period, pictured as a relay handoff. Picture two runners in a relay: HBsAg is the first runner, anti-HBs is the second. There's a brief stretch where the first runner has finished and let go of the baton, but the second runner hasn't gripped it yet, the baton (representing detectable evidence of the infection's status) is briefly "in the air." During this gap, both HBsAg and anti-HBs test negative. Anti-HBc is the one marker that's reliably positive at this exact moment, because, unlike anti-HBs, it doesn't need to wait for the virus to be cleared first, it was triggered earlier in the infection by exposure to the core antigen and stays elevated throughout, completely independent of whether HBsAg or anti-HBs are currently up, down, or in between.
Why anti-HBs can be falsely "negative" twice over, for two completely different reasons. In acute infection, anti-HBs is being produced but is invisibly bound up in antigen-antibody complexes, masked, not absent, because there's often still some HBsAg around for it to bind to. In chronic infection, it's bound to the much larger excess of circulating HBsAg instead, the same masking mechanism, but driven by a persistently high antigen load rather than a temporary one. Either way, "anti-HBs negative" doesn't always mean "no anti-HBs being made," and this is worth remembering before concluding a chronic carrier has zero immune response at all.
Key Exam Facts
| Marker | First detectable | Significance | Common pitfall |
|---|---|---|---|
| HBsAg | During incubation, before symptoms | Marks current infection (acute or chronic) | Persisting past 6 months = chronic, not just "still acute" |
| Anti-HBc (total) | Onset of symptoms | Positive in all HBV infections, acute and chronic, lifelong | Doesn't distinguish recent vs. old infection on its own |
| IgM anti-HBc | Onset of symptoms | Specifically marks recent (acute) infection | Disappears by ~6 months; absence doesn't exclude past infection |
| Anti-HBs | After HBsAg clears, or after vaccination | Marks recovery/immunity | Can be falsely undetectable if bound in immune complexes |
| HBeAg | During high-replication phase | Marks active replication/high infectivity | Unreliable in precore mutant infections |
| Window period | Weeks between HBsAg clearance and anti-HBs rise | Anti-HBc is the only reliably positive marker | Often misread as "no infection" |
Hepatitis B surface antigen (HBsAg)
A protein on the surface of hepatitis B virus, it can be detected for serology test in high levels in serum during acute or chronic hepatitis B virus infection. The presence of HBsAg indicates that the person is infectious (see the "Acutely infected" and "Chronically infected" rows above). The body normally produces antibodies to HBsAg as part of the normal immune response to infection. HBsAg is the antigen used to make hepatitis B vaccine.
Hepatitis B surface antibody (anti-HBs)
The presence of anti-HBs is generally interpreted as indicating recovery and immunity from hepatitis B virus infection (see the "Immune due to natural infection" and "Immune due to hepatitis B vaccination" rows above). Anti-HBs also develops in a person who has been successfully vaccinated against hepatitis B.
Total hepatitis B core antibody (anti-HBc)
Appears at the onset of symptoms in acute hepatitis B and persists for life. The presence of anti-HBc indicates previous or ongoing infection with hepatitis B virus in an undefined time frame (this is the marker that stays positive across the "Acutely infected," "Chronically infected," and ambiguous isolated-positive rows above).
IgM antibody to hepatitis B core antigen (IgM anti-HBc)
Positivity indicates recent infection with hepatitis B virus (see the "Acutely infected" row above). Its presence indicates acute infection.
Where Students Get Confused
Isolated anti-HBc positive (HBsAg negative, anti-HBs negative) is not automatically "resolved infection." This is the most commonly misread panel in the entire topic. The textbook table lists four possibilities for this exact combination, and "resolved infection" is the most common explanation, but it is not the only one. The window period itself produces this same pattern, and so can a false-positive anti-HBc result or a low-level chronic infection. The single isolated marker is never enough to confirm any of these; clinical context and repeat testing are what actually distinguish them.
HBeAg negative does not always mean "not infectious." In most patients, losing HBeAg and gaining anti-HBe signals declining viral replication and infectivity. But in patients infected with a precore variant strain, HBeAg can be negative and anti-HBe positive while HBV-DNA remains detectable by non-PCR methods, meaning the virus is still actively replicating despite an antigen profile that looks reassuring. This exception is a frequent exam trap precisely because it contradicts the "normal" HBeAg pattern students learn first.
A positive anti-HBs result doesn't always mean "vaccinated, not infected." Anti-HBs appears both after natural recovery and after successful vaccination. The marker that tells these two apart is anti-HBc: it's positive after natural infection and negative after vaccination alone. Anti-HBs positive without checking anti-HBc is an incomplete answer on its own.
References and further reading
- Song, J. E., & Kim, D. Y. (2016). Diagnosis of hepatitis B. Annals of Translational Medicine, 4(18), 338. https://doi.org/10.21037/atm.2016.09.11
- Kao, J. H. (2008). Diagnosis of hepatitis B virus infection through serological and virological markers. Expert Review of Gastroenterology & Hepatology, 2(4), 553–562. https://doi.org/10.1586/17474124.2.4.553
Frequently Asked Questions
What does IgM anti-HBc tell us that HBsAg alone cannot?
What is the precore mutant variant of HBV and why does it complicate the interpretation of HBeAg results?
Why does successful hepatitis B vaccination produce anti-HBs without anti-HBc?

Tankeshwar Acharya, MSc (Medical Microbiology)
Tankeshwar Acharya is an Assistant Professor in the Department of Microbiology at Patan Academy of Health Sciences (PAHS), Nepal, where he has been teaching and practicing clinical microbiology for over 14 years. He is the founder of Microbe Online, one of the leading free microbiology education resources on the web, covering bacteriology, mycology, parasitology, immunology, and clinical laboratory diagnostics written from direct experience in both the classroom and the diagnostic laboratory.