Requests

Treatment · Laboratory tests

HIV test: when to have one and how it works.

An HIV test looks in the blood for signs of infection with the human immunodeficiency virus. It is the only way to know whether an infection is present, and early diagnosis allows early treatment. Find out when to have the test, how it works and what each result means.

  • 4th generationthe type of test recommended by the DGS, which looks for antibodies and the p24 antigen
  • 18 to 45days, as a rule, for a blood antigen and antibody test using blood from a vein to detect the infection, according to MedlinePlus
  • 2sample collection days each week in Setúbal, on Mondays and Tuesdays, by appointment
Clínica Alegre professional pipetting a sample into a test tube beside sample collection tubes
A Clínica Alegre professional preparing to take blood from a patient's arm

In summary

The essentials, in a few lines.

  • An HIV test is a blood test that looks for antibodies to the virus and, in 4th-generation tests, also for a protein from the virus itself, the p24 antigen.
  • The DGS recommends that everyone aged 18 to 64 have the test at least once, and more often when there has been a risk of exposure, without judgement.
  • Each test has its own window period. A reactive result is always confirmed with a second test and, after a possible exposure, post-exposure prophylaxis can be started within 72 hours in a hospital emergency department.
  • 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 HIV test.

Having an HIV test is a routine part of healthcare, and the DGS recommends it for every adult at least once. These are the most common situations in which a doctor requests it.

  • Never tested

    What you may feel

    You are aged between 18 and 64 and have never had an HIV test, even if you cannot think of any particular risk.

    What can happen

    The infection can cause no symptoms for years, and someone may not know they have it.

    With the HIV test

    It follows the DGS recommendation that everyone in this age group be tested at least once, regardless of risk.

  • Sex without a condom

    What you may feel

    You had unprotected sex, or the contraceptive sheath broke, and you are concerned.

    What can happen

    In the first few weeks, the infection may not yet show up in tests, so the uncertainty remains.

    With the HIV test

    Taken after the window period, the test helps provide an answer. If the exposure was less than 72 hours ago, the first step is to go to an emergency department to be assessed for prophylaxis.

  • A new partner

    What you may feel

    You have started a new relationship, or you and your partner are considering giving up barrier protection.

    What can happen

    An infection without symptoms can be passed to a partner without either person knowing.

    With the HIV test

    Testing before making the change helps you decide together, with the facts. The doctor may add other tests, such as for hepatitis and syphilis.

  • Pregnancy or trying to conceive

    What you may feel

    You are pregnant or planning a pregnancy, and the doctor wants to know whether there is an infection.

    What can happen

    HIV can pass from mother to baby during pregnancy, childbirth or breastfeeding.

    With the HIV test

    The DGS recommends screening all pregnant women in the 1st and 3rd trimesters, because treatment during pregnancy greatly reduces the risk to the baby.

  • Another sexually transmitted infection

    What you may feel

    You recently had an infection such as syphilis, or have a history of hepatitis or tuberculosis.

    What can happen

    Having another sexually transmitted infection can increase the risk of acquiring HIV.

    With the HIV test

    It helps the doctor see the full picture. MedlinePlus advises testing at least once a year for people with a history of hepatitis or tuberculosis.

  • Sharing injecting equipment

    What you may feel

    You have shared needles, syringes or other injecting equipment, either recently or in the past.

    What can happen

    Sharing equipment contaminated with blood is one of the ways HIV and hepatitis are transmitted.

    With the HIV test

    It clarifies the situation and, if necessary, opens the way to treatment. In these cases, the DGS recommends repeating the test annually or more often.

  • Flu-like symptoms

    What you may feel

    A few weeks after a possible exposure, you developed a fever, headache, tiredness or swollen lymph nodes in your neck or groin.

    What can happen

    According to SNS 24, symptoms alone cannot diagnose HIV because they may have many other causes.

    With the HIV test

    It is the only way to know whether an infection is present. The doctor will advise whether the test needs to be repeated after the window period.

Step by step

How the HIV test works, from request to result.

A 3rd-generation test looks for antibodies to HIV-1 and HIV-2. The 4th-generation test, recommended by the DGS, also looks for the p24 antigen, a protein from the virus that appears earlier, between 11 days and one month after infection, according to SNS 24.

A Clínica Alegre professional pipetting a blood sample into test tubes
  1. 01

    Discussion with the doctor and request

    The doctor discreetly asks whether there is a particular situation concerning you and when it happened. Based on this, they request an HIV test, either alone or with other tests, and advise on the best time for sample collection.

  2. 02

    Choosing the right time

    Each test has its own window period: the time between infection and the point when the test can detect it. If taken before this period ends, a test may be negative despite an infection being present, and the doctor may ask for it to be repeated.

  3. 03

    Blood collection

    A small sample of blood is taken from a vein in the arm, with no special preparation or fasting. Collection is quick, and the tube is sent to the laboratory in the same way as other samples.

  4. 04

    Laboratory testing and confirmation

    The laboratory performs the test and validates the result within its stated timescale. According to the DGS, a reactive result is repeated in duplicate and followed by a test that distinguishes HIV-1 from HIV-2.

  5. 05

    Interpreting the result and next steps

    The doctor who requested the test explains the result. If it is reactive, the clinic recommends opening it during a psychology appointment with the psychologist. A reactive result alone is not yet a diagnosis: according to SNS 24, the patient is referred for an appointment at a hospital, where confirmation is carried out and, where applicable, treatment begins.

What sample collection is like

From preparation to the result.

Sample collection is simple and quick. Knowing what happens before, during and afterwards helps you arrive feeling calm and have the test at the right time.

  1. Before

    No fasting, but dates matter

    According to SNS 24 and MedlinePlus, an HIV test requires no preparation or fasting. The most important thing is to know when the situation concerning you occurred, so the doctor can choose the right time.

    Recent exposure

    If the exposure was less than 72 hours ago, first attend the emergency department of a hospital in the HIV referral network to be assessed for post-exposure prophylaxis.

  2. During

    A needle prick in the arm

    A band around the arm helps make the vein visible, the skin is disinfected and a needle draws a small amount of blood into a tube. Collection usually takes just a few minutes.

    Discreetly

    If you have questions about the test or who receives the result, ask when booking or before sample collection.

  3. Afterwards

    Wait calmly for the result

    The laboratory validates the result within its stated turnaround period, and the doctor who requested the test explains it. Until then, use barrier protection during sex.

    In the arm

    A cotton-wool pad or dressing is applied. A small bruise may appear and usually fades quickly.

The essentials

The essentials on HIV testing, in figures.

Figures from the sources at the bottom of the page and facts about sample collection at the clinic. Window periods vary according to the type of test used by the laboratory, and the doctor will advise on your case.

  • Fasting

    Not required, according to SNS 24; the doctor will advise whether other tests on the same request require it.

  • p24 antigen

    Detectable between 11 days and one month after infection, according to SNS 24, in 4th-generation tests.

  • Window period for a 4th-generation test

    Using blood from a vein, it usually detects infection 18 to 45 days after contact, according to MedlinePlus; with a finger-prick sample, 18 to 90 days.

  • Antibody-only tests

    In general, it takes the body around three months to produce enough antibodies to be detected, according to SNS 24.

  • Who should be tested

    Everyone aged 18 to 64, at least once, and more often when there is a risk of exposure, according to the DGS.

  • Post-exposure prophylaxis

    It can be started up to 72 hours after exposure, at the earliest opportunity, and lasts 28 days, 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 of the test.

General precautions to ensure the test is reliable and protect those around you; always follow the instructions of the doctor who requested the test.

  • Tell the doctor the dates

    Say when the situation concerning you occurred and whether you had symptoms. Using these dates, the doctor chooses the time for sample collection, taking account of the window period, and advises whether the test needs to be repeated.

  • If the exposure was recent, do not wait

    During the first 72 hours after a possible exposure, go to the emergency department of a hospital in the HIV referral network. The doctor will assess whether you should have post-exposure prophylaxis.

  • Eat and drink as usual

    The test does not require fasting. Drinking water helps fill the vein and makes sample collection easier.

  • Protect yourself until you receive the result

    Use a condom during sex and avoid sharing items that may have blood on them, such as razors or toothbrushes, until you speak to the doctor.

Risks and warning signs

The test's limitations and warning signs.

Sample collection carries very little risk. What matters most is understanding what a result 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
  • If done before the end of the window period, the test may be negative even if there is an infection, and the doctor may ask for it to be repeated a few weeks later
  • A reactive result may indicate an infection, but it is not yet a diagnosis: it is always confirmed with a second test
  • Rapid finger-prick tests and self-tests generally have a longer window period than a test using blood from a vein
  • A negative result applies to the time of the test, and a new risk exposure may mean another test is needed
  • The HIV test only looks for this virus; other sexually transmitted infections require their own tests

Alternatives

Other forms of having an HIV test.

Laboratory sample collection is one of several ways to test. The choice depends on urgency, the privacy you want and what the doctor needs to establish.

  • 01

    HIV Counselling and Early Detection Centre (CAD)

    When you prefer a public service: according to SNS 24, CAD centres provide voluntary, confidential and free access to testing.

  • 02

    Health centre

    When you want to have the test through your GP, who issues the request and follows up the result.

  • 03

    Rapid test at a pharmacy or laboratory

    When you want a quick initial answer; rapid tests are available for HIV and hepatitis B and C, and a reactive result always requires confirmation.

  • 04

    Non-governmental and community-based organisations

    When you prefer to be tested in a community setting with counselling, as described by SNS 24.

  • 05

    Sexually transmitted infection check-up

    When the doctor wants to test for HIV, hepatitis, syphilis and other infections at the same time.

Compare options

Laboratory test or rapid test?

When it is time to test, the most common question is whether to have blood drawn from a vein or choose a rapid test, performed with a finger prick or at home. Each offers different benefits.

At Clínica AlegreHIV test using blood from a vein5of 8 criteria
Another optionRapid test or self-test5of 8 criteria
Window periodShorter: usually 18 to 45 days
Window periodLonger: up to 90 days

An antigen and antibody test on blood drawn from a vein detects the infection sooner, according to MedlinePlus.

With a finger-prick sample, an antigen and antibody test detects the infection in 18 to 90 days.

SpeedUsually a few days
SpeedAround 30 minutes

The timing of the result depends on the laboratory, which sets its turnaround times.

Rapid tests give a result in around half an hour, according to MedlinePlus.

Where and whenBooked sample collection
Where and whenPharmacy, CAD or at home

At the clinic, samples are collected on Mondays and Tuesdays by appointment.

It is available at pharmacies, laboratories, CAD centres and community organisations, or at home.

PrivacyProtected by professional confidentiality
PrivacyThe self-test is done alone

The result is health information, seen by those processing it and the doctor.

At home, only the person taking the test sees the result, while CAD centres are confidential and free.

Other tests on the same dayCombined with other tests
Other tests on the same dayUsually one test at a time

Using the same sample, the doctor can request tests for hepatitis, syphilis and others.

Rapid tests are available for HIV and hepatitis B and C, carried out one at a time.

Link to a doctorThe result is sent to the doctor
Link to a doctorRequires you to contact a doctor

The doctor who requested the test reads the result and advises on the next steps.

With a reactive self-test, the person must contact a doctor for confirmation.

Reactive resultRequires confirmation
Reactive resultRequires confirmation

The laboratory repeats the test and confirmation takes place at a hospital appointment.

A reactive result always requires a confirmation test, usually in the laboratory.

PreparationNone
PreparationFollow the test instructions

No fasting or preparation is required.

No fasting is required; for a self-test, the instructions in the pack must be followed exactly.

We decide together with you at the assessment.

For a quick or more private initial answer, a rapid test or self-test is suitable. If you want to test sooner after an exposure, combine it with other tests or have a doctor read the result from the outset, a test using blood from a vein is appropriate. The doctor requesting the test decides.

Tap a criterion to see the details. This compares types of treatment, not professionals, clinics or brands.

A Clínica Alegre professional pipetting a blood sample into test tubes

At Clínica Alegre

HIV testing 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. 1

    Booking

    Samples are collected on Mondays and Tuesdays at the Setúbal clinic. Booking in advance using the form, by phone or via WhatsApp is mandatory. If you had a possible exposure less than 72 hours ago, go to a hospital emergency department first.

  2. 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. 3

    Result with your doctor

    The clinic collects the sample but does not interpret the results. The doctor who requested the test or your GP explains what they mean and, if necessary, arranges referral for a hospital appointment. If the result is reactive, the clinic always recommends booking a psychology appointment and opening the result with the psychologist.

In daily life

How to protect yourself against HIV in daily life.

A test shows your status at the present time. These measures, described by SNS 24, protect you and those around you.

  • CondomWhen used correctly and consistently, it is very effective; free condoms are available at health centres.
  • PrEP, where appropriateTablets that reduce the risk of infection, prescribed at an SNS appointment; condoms are still needed.
  • Act within 72 hoursAfter a possible exposure, go straight to a hospital emergency department to be assessed for prophylaxis.
  • Keep equipment for your use onlyAvoid sharing needles, syringes, razors or toothbrushes.
  • Test regularlyAt the frequency recommended by your doctor, particularly if you have multiple partners.

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.
Dentistry room at Clínica Alegre in Setúbal
Setúbal

Problems

Problems this treatment can resolve.

This treatment appears on 18 problem pages. See all problems

Frequently asked questions

Questions frequently asked.

Frequently asked questions

Do I need to fast or make any other preparations?

According to SNS 24, an HIV test requires no preparation or fasting, so you can eat and drink normally. If the doctor has included other tests on the same request that require fasting, this means a normal overnight fast: do not eat after dinner, but you may drink water.

Does sample collection hurt? How long does it take?

You will feel a brief prick in the arm, and some people feel a little more discomfort. Sample collection itself usually takes just a few minutes. You may have a small bruise, which will fade within a few days.

How long after a high-risk sexual encounter should I take the test?

It depends on the test. According to MedlinePlus, an antigen and antibody test using blood from a vein usually detects the infection 18 to 45 days after contact. Antibody-only tests can take around three months. The doctor chooses the right time and advises whether it needs to be repeated.

What is a 4th-generation test?

It is a test that looks simultaneously for antibodies to HIV-1 and HIV-2 and the p24 antigen, a protein from the virus that appears earlier. According to the DGS, it is the recommended type of screening test; the laboratory determines which test it uses.

Is the test confidential?

Test results are health information protected by professional confidentiality. If you have questions about who receives them, ask when booking. If you prefer a public service, CAD centres provide voluntary, confidential and free access to HIV testing, according to SNS 24.

What does a reactive result mean?

It may indicate an infection, but is not yet a diagnosis. At Clínica Alegre, we always recommend booking a psychology appointment and opening the result with the psychologist. According to the DGS, the reactive test is repeated in duplicate and followed by another test. According to SNS 24, the patient is referred for an appointment at a hospital of their choice, where it is confirmed and, where applicable, treatment begins.

Does a negative result mean I do not have HIV?

It means the test found no signs of infection at that time. If the possible exposure was recent and the test took place within the window period, it may need to be repeated a few weeks later. A new possible exposure requires a new test.

How often should I have the test?

The DGS recommends the test at least once for everyone aged 18 to 64, and annually or more often for some groups, such as men who have sex with men, people who use drugs and sex workers. The doctor will advise on the interval in your case.

I am pregnant. Should I have an HIV test?

Yes. The DGS recommends screening for all pregnant women in the 1st and 3rd trimesters. According to the same guidance, the risk of transmission to the baby, which is 15% to 40% without intervention, falls to less than 2% with treatment during pregnancy, measures during childbirth and no breastfeeding.

What is post-exposure prophylaxis (PEP)?

This emergency measure involves taking anti-HIV medicines for 28 days in a row after a possible exposure. SNS 24 states that it may be started within 72 hours, at the earliest opportunity, in the emergency department of a hospital in the HIV referral network, where a doctor assesses the risk.

What is PrEP and where can I request it?

Pre-exposure prophylaxis consists of tablets taken by people without HIV to reduce the risk of infection, either every day or around the time they have sex. According to SNS 24, it is prescribed at a hospital appointment within the HIV referral network or in primary care, and it does not protect against other infections.

Can HIV be treated?

Yes. Anti-HIV medicines prevent the virus from multiplying and help the body's defences recover. They are not a cure, but enable people to live longer with a good quality of life. Care is free in Portugal, and according to SNS 24, someone whose treatment has suppressed the amount of virus in their blood cannot pass it to sexual partners.

Who will explain the result to me and when will it be ready?

The results are processed, analysed and validated by the Joaquim Chaves Saúde laboratory, which sets the turnaround times. The clinic collects the sample, while interpretation is provided by the doctor who requested the test or the patient's GP. If the result is reactive, the clinic recommends opening it at a psychology appointment with the psychologist.

How do I book an HIV test?

Book sample collection using the form, by phone or via WhatsApp, for a Monday or Tuesday at the Setúbal clinic; advance booking is mandatory. Bring the doctor's request if you have one. If the exposure was less than 72 hours ago, go to a hospital emergency department first.

Book an appointment

Book your assessment.

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