At a glance

Also known as

HBV; Hep B; Anti-HBs; HBsAg; HBeAg; Anti-HBc

Why get tested?

To diagnose and follow the course of an infection with hepatitis B or to determine if the vaccine against hepatitis B has produced the desired level of immunity

When to get tested?

If you have symptoms of a hepatitis B infection or are likely to have been exposed to the virus or to check if you are immune

Sample required?

A blood sample drawn from a vein in your arm

Test preparation needed?


What is being tested?

Hepatitis B antibodies are produced in response to exposure to the hepatitis B virus (HBV) or the hepatitis B vaccine. The tests detect the presence of antibodies or parts of the virus antigens itself.

How is the sample collected for testing?

A blood sample is drawn by needle from a vein in your arm.

Is any test preparation needed to ensure the quality of the sample?

No test preparation is needed.

The Test

How is it used?

There are several tests used to detect the presence of hepatitis B antibodies. Antibodies are produced by the body in response to antigens (foreign proteins).

The hepatitis B surface antibody (anti-HBs) indicates previous exposure to HBV, but the virus is no longer present and the person cannot pass on the virus to others. The antibody also protects the body from future HBV infection. In addition to exposure to HBV, these antibodies can also be found after successful vaccination. This test is done following the completion of vaccination against the disease or following an active infection.

Hepatitis B surface antigen (HBsAg) is a protein antigen produced by HBV. This antigen is an indicator of acute hepatitis B and frequently identifies infected people before symptoms appear. In some people (particularly those infected as children or those with a weak immune system, such as those with AIDS), chronic infection with HBV may occur.

Sometimes, HBV goes into ‘hiding’ in the liver and other cells and does not produce new viruses that can infect others, or produces them in such low amounts that they cannot be found in the blood. People who have this form are said to be carriers. In other cases, the body continues to make viruses that can further infect the liver and can be spread to other people. In both these cases, HBsAg will be positive. The next test is helpful for distinguishing these two states.

Hepatitis B e-antigen (HBeAg) is a viral protein associated with HBV infections. Unlike the surface antigen, the e-antigen is found in the blood only when there are viruses also present. When the virus goes into ‘hiding,’ the e-antigen will no longer be present in the blood. HBeAg is often used as a marker of ability to easily spread the virus to other people (infectivity).

Measurement of e-antigen may also be used to monitor the effectiveness of HBV treatment; successful treatment will usually eliminate HBeAg from the blood and lead to development of antibodies against e-antigen (anti-HBe). There are some types (strains) of HBV that do not make e-antigen; these are especially common in the Middle East and Asia. In areas where these strains of HBV are common, testing for HBeAg is not very useful.

Anti-hepatitis B core antigen (anti-HBc) is an antibody to the hepatitis B core antigen. The core antigen is found on virus particles but disappears early in the course of infection. This antibody is produced during and after an acute HBV infection and is usually found in chronic HBV carriers as well as those who have cleared the virus, and usually persists for life. This is a useful test to distinguish people who have anti-HBs due to past infection (in whom it will be positive) from those who have anti-HBs due to vaccination (in whom it will be negative).

HBV DNA is a more sensitive test for detecting viruses in the blood stream. It is usually used in conjunction with – rather than instead of – the regular serological tests. It may be used to monitor antiviral therapy in patients with chronic HBV infections.

When is it requested?

These tests are used to determine whether the vaccine has produced the desired level of immunity as well as to diagnose and follow the course of an infection.

In a patient with acute hepatitis, IgM anti-HBc and HBsAg are usually requested together to detect recent infection by HBV. In persons with chronic hepatitis, or with elevated ALT or AST, HBsAg and anti-HBc are usually done to see if the liver damage is due to HBV. If so, HBsAg and HBeAg are usually measured on a regular basis (every 6 months to a year), since in some people HBeAg (and, less commonly, HBsAg) will go away on its own.

In those who are being treated for chronic HBV, HBeAg and HBV DNA can be used to determine whether the treatment is successful. If a person is given the HBV vaccine, anti-HBs is used to see if it successful; if levels of the antibody are over 10 mIU/mL, the person is probably protected for life from infection by HBV.

All donated blood is tested for the presence of the HBsAg and HBV DNA before being distributed.

What does the test result mean?

  • Hepatitis B surface antibody (anti-HBs): a positive result indicates immunity to hepatitis B from the vaccination or recovery from an infection.
  • Hepatitis B surface antigen (HBsAg): a negative result indicates that a person has never been infected, or has recovered from acute hepatitis and has rid themselves of the virus. A positive (or reactive) result indicates an active infection but does not indicate how infectious an infected person is to others.
  • Hepatitis B e-antigen (HBeAg): a positive (or reactive) result indicates the presence of virus in levels that makes the patient significantly infectious to others. A negative result means the virus is less likely to be spread to others, except in parts of the world where strains that cannot make this protein are common.
  • Anti-hepatitis B core antigen (anti-HBc): if it is present with a positive anti-HBs, it usually indicates recovery from an infection. In acute infection, the first type of antibody to HBc to appear is an IgM antibody. Testing for this type of antibody can prove whether a person has recently been infected by HBV (where IgM anti-HBc would be positive) or for some time (where IgM anti-HBc would be negative).
  • HBV DNA: a positive (or reactive) result indicates the presence of virus that can be passed to others. A negative result usually means the virus cannot be spread to others, especially if very sensitive tests that can pick up as few as 1,000 viruses (copies) in one mL of blood are used.

Is there anything else I should know?

While the tests described above are specific for HBV, other liver function tests such as AST, ALT and gamma-glutamyl transferase (GGT) may be used to monitor the progress of the disease. In some cases, a liver biopsy or other scans (eg ultrasound scan) may be performed.

Common Questions

If it is possible that I have an HBV infection, will I need to have all of these tests done?

No. Your doctor will determine which test(s) will be appropriate for your symptoms and history.

Should I have the HBV vaccine?

Yes. Unless there is something in your medical history to the contrary, it is prudent to have the series of vaccinations. Pregnant women are routinely tested for infection and, if positive, immunoglobulin and vaccination of the newborn baby is offered. Periodic measurement of anti-HBs in persons who have developed immunity to HBV is not needed; even if their antibody level falls below 10 mIU/mL, they still appear to be protected if exposed to the virus.

Can I test myself for immunity?

No. This test is performed by trained laboratory staff.

Last Review Date: July 23, 2015