Requests

Laboratory tests

Hepatitis B tests: HBsAg and anti-HBs

When a doctor requests 'hepatitis B tests', they are often asking for a group of markers (hepatitis B serology) which, when read together, show whether someone has the virus, has been exposed to it or is protected by vaccination.

Clínica Alegre practitioner pipetting a sample into a test tube beside sample collection tubes

Reviewed by Dr. Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team10-minute read

In this article

The names are not intuitive: HBsAg, anti-HBs, anti-HBc, HBeAg, anti-HBe, HBV DNA. It is natural to have questions when a test report contains these abbreviations, especially alongside words such as 'reactive' or 'positive'.

This article explains what each of these markers measures, how they are usually combined and what they may mean. It is not intended to interpret an individual result: that is the responsibility of the doctor who requested the tests and knows your medical history, vaccinations and the reason for testing. The aim is to help you attend your appointment with the right questions and better understand the explanation you receive.

Antigens and antibodies: the logic behind the tests

An antigen is part of the virus itself; an antibody is a protein produced by the immune system in response to that antigen. In hepatitis B tests, abbreviations beginning with 'Ag' refer to antigens (parts of the virus), while those beginning with 'anti' refer to antibodies (the body's response). The following letters indicate the part of the virus involved: 's' for surface, 'c' for core and 'e' for a protein associated with viral replication.

This logic helps when reading your report. Finding an antigen in the blood means that the virus, or part of it, is present. Finding an antibody means that the body has responded to the virus or vaccine. As the vaccine contains only the surface protein, someone who has been vaccinated and never infected will have anti-HBs but not anti-HBc. This distinction is the key to many results.

MarkerWhat it isWhat it generally indicates
HBsAgViral surface proteinCurrent infection (acute or chronic)
Anti-HBsAntibody against the surface proteinImmunity from vaccination or after recovery
Total anti-HBcAntibody against the core proteinContact with the virus at some point
Anti-HBc IgMThe 'recent' component of anti-HBcSuggests recent infection, within the clinical context
HBeAg / anti-HBe'e' antigen and antibodyHelp to characterise the stage of chronic infection
HBV DNAViral genetic material, measured quantitativelyAmount of virus in the blood

HBsAg: is there an infection now?

HBsAg is often the first test requested. If the result is negative (or 'non-reactive'), there is generally no active infection at that time, with a few rare exceptions assessed by the doctor, such as a very recent exposure. If the result is positive, there is an infection, but this alone does not show whether it is recent or longstanding, or reveal the condition of the liver.

A positive HBsAg result therefore usually leads to further tests: anti-HBc (including IgM when recent infection is suspected), HBeAg and anti-HBe, HBV DNA, liver enzymes and other checks of liver function. European guidance also recommends checks for infections spread in similar ways, including hepatitis D, hepatitis C and HIV. The infection is called chronic when HBsAg remains positive for more than six months.

In some laboratories, a reactive HBsAg result is confirmed with a second test before the result is issued. Rapid tests are also used in community settings today; a reactive rapid test result must always be confirmed by a laboratory test.

Anti-HBs: am I protected?

Anti-HBs is the antibody that neutralises the virus. Its presence indicates immunity, which may result from vaccination or from a previous infection cleared by the body. Laboratories report this result in units per litre or milli-international units per millilitre. A level of around 10 mIU/mL or above, measured after a full course of vaccination, is generally accepted as a protective response, but you should use the threshold stated on the laboratory report.

Over the years, anti-HBs levels in vaccinated people tend to fall and may even become undetectable. This does not necessarily mean that protection has gone: in people with a normal immune system who responded to the vaccine, immune memory usually remains. Routine anti-HBs tests are therefore not requested for everyone, but mainly for specific groups such as healthcare professionals, people receiving dialysis or with a weakened immune system, and partners of people with hepatitis B. This is covered in more detail in the article about the vaccine.

Anti-HBs level (approximate; use the range on your report)Usual interpretation, in context
Around 10 mIU/mL or aboveResponse consistent with protection
Below around 10 mIU/mL immediately after a full vaccination coursePossible lack of response; your doctor will assess this
Below around 10 mIU/mL years after vaccinationMay reflect a natural decline; it does not always mean a lack of protection

Anti-HBc: has there been contact with the virus?

Total anti-HBc is the marker of contact with the virus. It appears during infection and, in most people, remains detectable for life, even after the infection has cleared. Because the vaccine does not contain the core protein, anti-HBc does not appear in people who have only been vaccinated. This marker therefore helps distinguish immunity from vaccination from immunity following a previous infection.

One result that often raises questions is isolated positive anti-HBc, meaning that HBsAg and anti-HBs are negative. There are several possible explanations: an old infection in which anti-HBs has fallen, a transitional stage of a recent infection, an 'occult' infection with very low virus levels or, sometimes, a false positive. Your doctor will decide whether the test needs to be repeated, HBV DNA should be tested or vaccination offered. This result is particularly important before treatments that suppress the immune system because there is a risk of reactivation.

The most common combinations

The markers become meaningful when read together. The following table shows typical combinations described in the guidelines, for general guidance only. There are exceptions and intermediate situations, and the same pattern may be interpreted differently depending on your medical history, when the sample was taken and other results.

HBsAgAnti-HBcAnti-HBsMost likely interpretation (to be confirmed by your doctor)
NegativeNegativeNegativeNo contact with the virus and no immunity; vaccination may be offered
NegativeNegativePositiveImmunity from vaccination
NegativePositivePositivePrevious infection that has cleared, with immunity
PositivePositive (IgM positive)NegativeSuggests acute infection
PositivePositive (IgM negative)NegativeSuggests chronic infection if it persists for more than 6 months
NegativePositiveNegativeIsolated anti-HBc; several possible explanations

HBeAg, anti-HBe and HBV DNA

In people with chronic infection, the doctor requests additional markers to determine its stage. HBeAg is generally associated with more active viral replication; becoming anti-HBe positive used to be seen as a favourable sign, but it is now known that some people without HBeAg have an active virus due to variants of the virus itself. These markers are therefore not used on their own.

HBV DNA measures the amount of virus in the blood, in international units per millilitre. Along with transaminases (ALT) and an assessment of liver fibrosis, it is one of the factors used in European guidelines to classify the stage of infection and decide whether treatment is indicated. Reference ranges for transaminases vary between laboratories, methods, age groups and sexes; what matters is your doctor's interpretation using the ranges on your own report.

Additional testWhat it is for
ALT and AST (transaminases)Indicate inflammation of liver cells
Bilirubin, albumin, prothrombin timeAssess liver function
Full blood count (platelets)Low platelets may suggest advanced liver disease
Anti-HDVTests for hepatitis D, which only occurs with hepatitis B
Anti-HCV and HIV testRule out other infections with common routes of transmission

Hepatitis B during pregnancy

In Portugal, the Directorate-General of Health guideline on laboratory testing in low-risk pregnancies includes hepatitis B screening in the first trimester. The aim is to identify pregnant women who are HBsAg positive so that the baby can receive the vaccine and specific immunoglobulin immediately after birth, a measure that greatly reduces the risk of transmission. Women with high levels of the virus in their blood may also be offered antiviral treatment towards the end of pregnancy.

A positive result during pregnancy should be explained by the doctor overseeing the pregnancy and usually leads to a referral for a specialist appointment. Maternal infection alone does not prevent a vaginal birth or, in general, breastfeeding, but these decisions are made jointly with the healthcare team.

Preparation, confidentiality and when to seek help

These checks require an ordinary blood sample. Fasting is generally unnecessary, but other tests requested at the same time may require it; follow the laboratory's instructions. Bring your vaccination record if possible, because knowing whether and when you were vaccinated helps your doctor interpret anti-HBs.

Results are confidential health information. A positive result does not define you; it provides information that makes it possible to act: monitor the liver, protect contacts through vaccination and treat when indicated. If you develop yellow skin or eyes, dark urine or severe abdominal pain while waiting for your appointment, contact your doctor that day or call SNS 24 (808 24 24 24). Confusion, unusual drowsiness, vomiting blood or black stools are reasons to call 112.

At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.

Frequently asked questions

Does 'reactive' mean the same as positive?

Generally, yes. It means the test detected the marker. The final interpretation depends on any confirmatory tests and the context.

I was vaccinated and my anti-HBs is negative. Am I not protected?

Not necessarily. Many years after vaccination, the antibody may fall without any loss of immune memory. Your doctor will decide whether anything needs to be done.

Why is my anti-HBc positive if I was vaccinated?

Because the vaccine does not produce anti-HBc. This marker indicates contact with the virus at some point, possibly many years ago.

Does a positive HBsAg mean I have chronic hepatitis?

Not on its own. It needs to be repeated after six months, along with other tests, to determine whether the infection is acute or chronic and what stage it is at.

Do I need to fast?

You do not generally need to fast for these markers. Follow the laboratory's instructions, especially if other tests are included on the same request.

Can I have a rapid test?

Rapid tests are useful for screening, but a reactive result must always be confirmed in a laboratory.

Did you enjoy this article?

Scientific references3
  1. European Association for the Study of the Liver. EASL 2017 Clinical Practice Guidelines on the management of hepatitis B virus infection. J Hepatol. 2017;67(2):370–98.
  2. World Health Organization. Guidelines on testing for hepatitis B and C. Geneva: World Health Organization; 2017.
  3. Direção-Geral da Saúde. Laboratory tests in low-risk pregnancy. Guideline no. 037/2011 of 30/09/2011, updated on 20/12/2013. Lisbon: Direção-Geral da Saúde; 2013.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
10 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.