Treatment · Laboratory tests
Hepatitis B test: infection and immunity.
A hepatitis B test looks in the blood for signs of the virus and the antibodies the body produces against it. It shows whether you have an infection, had one in the past or are protected by vaccination. Find out when to have the test, what each marker means and who to review the result with.
- 3main markers: HBsAg, anti-HBs and anti-HBc, interpreted together
- 1995year the hepatitis B vaccine was added to the National Vaccination Programme, according to SNS 24
- 2sample collection days each week in Setúbal, on Mondays and Tuesdays, by appointment


In summary
The essentials, in a few lines.
- A hepatitis B test checks the blood for the virus and antibodies against it, particularly HBsAg, anti-HBs and anti-HBc, and shows whether there is an infection, there was one in the past or the person is protected by vaccination.
- Many people with hepatitis B have no symptoms, so testing is the only way to know. The DGS recommends it for all pregnant women in the 1st trimester, even if they have been vaccinated.
- The markers are interpreted together. Anyone without infection or immunity can be protected with the vaccine, which is part of the National Vaccination Programme.
- At Clínica Alegre, samples are collected in Setúbal on Mondays and Tuesdays by appointment, then sent to the Joaquim Chaves Saúde laboratory; discuss the result with the doctor who requested the test or your GP.
Who it is for
Who it is for the hepatitis B test.
Hepatitis B is a liver infection caused by a virus that spreads through blood and other body fluids. These are the most common situations in which a doctor requests the test.
Find out whether the vaccine protects you
What you may feelYou have been vaccinated, or do not know whether you have, and want to find out if you are protected.
What can happenWithout testing, you may be unsure whether you need further doses of the vaccine.
With a hepatitis B testAnti-HBs shows whether you have protective antibodies, while anti-HBc helps distinguish protection from vaccination from protection following a previous infection.
Pregnancy
What you may feelYou are pregnant and the doctor managing your pregnancy requests the 1st-trimester tests.
What can happenThe virus can pass from mother to baby, particularly during or shortly after birth.
With a hepatitis B testTesting for HBsAg identifies the infection in time to protect the baby with immunoglobulin and the vaccine within the first 12 to 24 hours of life.
Abnormal liver test results
What you may feelYour transaminases, AST and ALT, were high in a routine test, or you have chronic liver disease.
What can happenHigh transaminases show that the liver is under strain, but not why.
With a hepatitis B testIt shows whether the hepatitis B virus is one of the causes, helping your doctor decide on the next steps.
Yellowish skin or eyes
What you may feelYou have noticed yellowing of the skin or eyes, dark urine, pale stools, tiredness or pain in the upper abdomen.
What can happenThese signs may occur with hepatitis, but also with other conditions affecting the liver and bile ducts.
With a hepatitis B testAlongside other tests, it helps determine whether there is a recent or previous hepatitis B virus infection.
A possible exposure
What you may feelYou have had sex without a condom, been pricked by a used needle or shared equipment contaminated with blood.
What can happenIt may take several weeks for the virus to appear in the test, leaving some uncertainty.
With a hepatitis B testWhen performed at the right time, the test clarifies the situation; in the first few hours, the most important step is to seek medical advice straight away.
A partner or family member with hepatitis B
What you may feelSomeone you live with or have sex with has hepatitis B.
What can happenThe virus can spread through sex and by sharing razors or toothbrushes.
With a hepatitis B testIt shows whether you have had contact with the virus or are protected; according to SNS 24, contacts of infected people should be vaccinated after testing.
Child of a mother with hepatitis B
What you may feelYour mother has or had hepatitis B, or you have just learnt that the infection is present in your family.
What can happenAn infection acquired at birth or during childhood is much more likely to become chronic than one acquired in adulthood.
With a hepatitis B testIt shows whether there has been an infection and whether it persists, allowing your doctor to arrange liver monitoring.
Step by step
How the hepatitis B test works, from request to result.
The test looks for three main markers. HBsAg is part of the virus's surface: if it is detected, the virus is present. Anti-HBs is the protective antibody produced after vaccination or recovery from an infection. Anti-HBc is an antibody that appears only after contact with the virus itself, never after vaccination.

- 01
Discussion with the doctor and request
Your doctor asks whether you have been vaccinated, had a possible exposure or have symptoms, and whether there is hepatitis B in your family. Based on this, they select the markers to request, which are listed on the referral.
- 02
Choosing when to take the sample
According to SNS 24, the virus can be detected 1 to 9 weeks after contact. If the test is done too soon after an exposure, your doctor may ask you to repeat it.
- 03
Blood collection
A small sample of blood is taken from a vein in your arm, with no fasting or special preparation. It is quick, and the sample is sent to the laboratory.
- 04
Laboratory testing
The laboratory tests for the requested markers and validates the results within its stated timeframe. Some markers are reported as positive or negative; anti-HBs may be given in mIU/mL, with the laboratory's reference values.
- 05
Interpreting the markers together and next steps
Your doctor reviews the markers side by side: each combination has a different meaning. Depending on the result, they may suggest vaccination, other liver tests or a specialist appointment.
What sample collection is like
From preparation to the result.
Sample collection is straightforward and quick. Knowing what happens before, during and afterwards helps you arrive feeling calm.
- Before
No fasting, and bring your vaccination record
According to Lab Tests Online UK and MedlinePlus, a hepatitis B test requires no fasting or special preparation. If the referral includes other tests that require fasting, follow the fasting instructions for those tests.
What to bringYour vaccination record, if you have it, and previous hepatitis B results so that your doctor can compare them.
- During
A needle prick in the arm
A band is placed around your arm to make the vein easier to see, the skin is disinfected and a needle draws a small amount of blood into a tube. Taking the sample usually takes only a few minutes.
What you feelYou will feel a brief needle prick and some discomfort. If you are afraid of needles or have felt unwell during a blood test before, mention it beforehand.
- Afterwards
Return to your routine and wait for the result
You can return to your activities straight away. The laboratory validates the results within its stated timeframe, and the doctor who requested the test will explain them.
In the armA cotton-wool pad or dressing is applied. A small bruise may appear and usually fades quickly.
The essentials
The essentials of the hepatitis B test, in figures.
Figures from the sources at the bottom of the page, for adults, and facts about having blood taken at the clinic. Reference values vary between laboratories, and your doctor will use those on your report.
- Fasting
Not required; your doctor will tell you if other tests on the same referral require it.
- When it appears
The virus can be detected 1 to 9 weeks after contact, according to SNS 24.
- Protection indicated by anti-HBs
A value above 10 mIU/mL is considered a good level of protection, according to Lab Tests Online UK; the laboratory gives its own range.
- Chronic infection
When HBsAg remains positive for more than six months; acute infection usually lasts one to three months.
- Anti-HBc
After an infection, it usually remains positive for life, even once the virus has been cleared.
- Vaccine
Part of the National Vaccination Programme since 1995, with doses at birth and at 2 and 6 months, according to SNS 24.
- Sample collection days
Mondays and Tuesdays at the Setúbal clinic, by appointment only.
- Results
Validated by the laboratory within its stated time frame, and reviewed with the doctor who requested the test or with your GP.
Care
Care before and after the sample collection.
General measures to make the result useful and protect those around you; always follow the instructions of the doctor who requested the test.
Gather the dates and vaccination details
Tell your doctor whether and when you were vaccinated, and whether you had a possible exposure. These dates help them choose the markers and when to take the sample.
Tell us which medicines you take
Mention any medicines and supplements you take, particularly if liver tests are included on the same referral. Never stop taking a medicine without speaking to your doctor.
Eat and drink as usual
The test does not require fasting. Drinking water helps fill the vein and makes taking the sample easier.
Protect those around you
Until you speak to your doctor, use condoms during sex and avoid sharing razors, toothbrushes or other items that may have blood on them.
Risks and warning signs
Limitations of the test and warning signs.
Having blood taken carries very little risk. What matters most is understanding what each marker can and cannot yet tell you.
- A brief sting and, sometimes, a small bruise on the arm are normal and clear up within a few days
- Very soon after exposure, HBsAg may not yet be detectable, and the doctor may request a repeat test
- An isolated marker says little: a positive anti-HBc result, for example, may indicate either a current infection or a past infection that has already cleared
- In people who have completed the full vaccination course, anti-HBs levels may fall below 10 mIU/mL over the years, but they are generally still considered protected
- A negative result applies to the time the sample was taken, and a new risk exposure may mean another test is needed
- The test only looks for the hepatitis B virus; hepatitis C and other infections require their own tests
Alternatives
Other testing options and tests that complete it.
The choice depends on what your doctor wants to know: whether you have an infection, whether you are protected or how well your liver is functioning.
- 01
Rapid test at a pharmacy or laboratory
When you want a quick initial answer: according to SNS 24, rapid hepatitis B screening tests are available; a reactive result should be discussed with your doctor and followed up with laboratory tests.
- 02
Appointment with your GP
When you want to review your vaccinations, request the test and, if necessary, begin or complete the vaccination course.
- 03
Sexually transmitted infection check-up
When your doctor wants to test for hepatitis B, hepatitis C, HIV, syphilis and other infections at the same time.
- 04
Liver check-up
When your transaminases are abnormal or there are signs of liver disease and your doctor wants to assess your liver as a whole.
- 05
Hepatitis C test
When there is a risk of contact with blood, because hepatitis C spreads in a similar way and has its own test.

At Clínica Alegre
The hepatitis B test at Clínica Alegre, in Setúbal.
Clínica Alegre operates as a sample collection point at its Setúbal clinic and sends the samples to the Joaquim Chaves Saúde laboratory. This is how it works.
- 1
Booking
Blood samples are taken on Mondays and Tuesdays at the Setúbal clinic. Booking in advance is essential, either using the form, by telephone or via WhatsApp. The markers included depend on your doctor's referral; check which markers it lists.
- 2
Sample collection at the clinic
We collect your blood discreetly at the clinic and send the sample to the Joaquim Chaves Saúde laboratory, which processes and analyses it and validates the results within its stated timeframes.
- 3
Result with your doctor
The clinic takes the blood sample but does not interpret the results. The doctor who requested the test or your GP will interpret the markers together and decide whether vaccination, a repeat test or further tests are needed.
In daily life
How to protect yourself against hepatitis B in daily life.
A test provides a picture of the present moment. These habits protect you, your liver and those around you.
- Keep your vaccinations up to dateThe vaccine is part of the National Vaccination Programme; ask your GP whether you have had the full course.
- CondomSexual contact is the most common route of transmission, and condoms help prevent it.
- Do not share personal itemsAvoid sharing razors, toothbrushes, needles or syringes.
- Looking after your liverIf you have hepatitis B, avoid alcohol and ask your doctor which painkillers you can take.
- Test and vaccinate contactsIf you have hepatitis B, your partners and anyone who lives with you should be tested and, if necessary, vaccinated.
Who looks after you
Sample collection at the Setúbal clinic.
Clínica Alegre is a sample collection point in Setúbal. Samples are collected by appointment on Mondays and Tuesdays, then sent to the Joaquim Chaves Saúde laboratory.
- BookingBook using the form, by phone or via WhatsApp and tell us which tests were requested so we can arrange the preparation.
- Sample collectionOn Mondays and Tuesdays at the Setúbal clinic. Bring your doctor's request form, if you have one.
- Testing at the JCS laboratoryThe laboratory analyses the sample, validates the results and sets the delivery time.
- Results with your doctorThe clinic does not interpret results: review them with the doctor who requested the tests or with your GP.

Problems
Problems this treatment can resolve.
This treatment appears on 15 problem pages. See all problems
Related treatments
Treatments that go hand in hand.
Frequently asked questions
Questions frequently asked.
Frequently asked questions
Do I need to fast for a hepatitis B test?
According to MedlinePlus and Lab Tests Online UK, a hepatitis B test requires no fasting or special preparation, so you can eat and drink normally. If your referral includes other tests that require fasting, fast overnight: do not eat after dinner, but you may drink water.
Does sample collection hurt? How long does it take?
You will feel a brief needle prick in your arm, and some people experience a little more discomfort. Taking the sample itself usually takes only a few minutes. A small bruise may develop, but will clear within a few days.
What is HBsAg?
It is the surface antigen, part of the virus's outer coating. A positive result means the virus is present in the blood, in either a recent or chronic infection. If it remains positive for more than six months, the infection is considered chronic. Your doctor will always interpret it alongside the other markers.
What is anti-HBs?
It is the antibody against the surface of the virus, which the body produces after vaccination or recovery from an infection. It indicates protection. According to Lab Tests Online UK, a value above 10 mIU/mL is considered a good level of protection; the laboratory gives its own reference range.
What is anti-HBc?
It is an antibody against the inner part of the virus that appears only after contact with the virus itself, never after vaccination. It usually remains positive for life. It may indicate a current infection or a previous infection that has already cleared; the IgM type suggests a recent infection.
How are the three markers interpreted together?
In simple terms, according to Lab Tests Online UK: positive anti-HBs alone indicates protection from vaccination; positive anti-HBs and anti-HBc with negative HBsAg indicate a previous infection that has cleared; all three being negative indicates no infection and no protection. Your doctor will confirm what the results mean in your case.
I have been vaccinated. Is it worth having the test?
You can have it if your doctor wants to confirm your response to the vaccine, for example before pregnancy or because of your work. According to SNS 24, the vaccine is highly effective at protecting against infection when all doses have been completed. Even if anti-HBs falls over the years, anyone who has completed the vaccination course is generally considered protected.
How long after a possible exposure should I have the test?
According to SNS 24, the virus can be detected 1 to 9 weeks after contact. However, if you are not vaccinated, the most urgent step is to seek medical advice straight away: the vaccine or immunoglobulin reduces transmission when given within the first 12 to 24 hours.
I am pregnant. Do I need to have this test?
The DGS recommends HBsAg testing for every pregnant patient in the 1st trimester, even after vaccination, and a repeat in the 3rd trimester only for unvaccinated patients with a negative result. If the mother carries the virus, the baby receives immune globulin and the vaccine within the first 12 to 24 hours of life.
The result shows an infection. What happens now?
Your doctor will explain whether the infection is recent or chronic and what to do. According to SNS 24, around 95% of infected healthy adults recover, while the infection becomes chronic in around 5%. For chronic infection, your doctor will refer you to a specialist and arrange liver monitoring.
Can hepatitis B be treated?
In the acute phase, rest and hydration are generally recommended, with no specific treatment. For chronic infection, antiviral medicines control the virus in most cases and reduce liver damage, although they do not cure the infection, according to SNS 24. Treatment decisions are made by a specialist.
How is hepatitis B transmitted? Can I catch it from a kiss?
According to SNS 24, it spreads mainly through sex, sharing needles, syringes, razors or toothbrushes, and from mother to baby during birth. Transmission through kissing is unlikely unless there are sores in the mouth.
Who will explain the result to me and when will it be ready?
The Joaquim Chaves Saúde laboratory processes and analyses the sample, validates the results and sets the delivery times. The clinic collects the sample, while the doctor who requested the test or your GP interprets the results.
How do I book a hepatitis B test?
Book your blood test using the form, by telephone or via WhatsApp, for a Monday or Tuesday at the Setúbal clinic; booking in advance is essential. Bring your doctor's referral, if you have one, and your vaccination record, if you have it to hand.
Book an appointment
Book your assessment.
Choose Setúbal or Seixal. We reply within opening hours.
Virtual assistant
Talk to our virtual assistant.
Ask your questions about treatments and prices, with no commitment. We explain everything and book your assessment.
- Ask your question in your own words
- We explain the treatment and clarify the prices
- Book your assessment
The assistant does not provide diagnoses or replace a consultation. The final plan and quote are made at the assessment, with one of our doctors.




