Requests

Laboratory tests

After a potential exposure: when to get tested

A condom breaking, unprotected sex with someone whose health status is unknown, finding out that a partner has an infection: these situations are common and understandably cause anxiety.

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 most natural reaction is to want tests the very next day. The problem is that each test can only detect an infection after a certain point. The time between exposure and detection is called the window period. A test done too early may produce a negative result that is not yet conclusive.

This article explains what to do in the first few hours, when it makes sense to test for each infection and why tests often need to be repeated. The times given are approximate and may vary between guidelines, laboratories and types of test. Decisions about when to test and how to interpret the results rest with the doctor, who knows the specific circumstances. A potential exposure is nothing to be ashamed of: it is a health matter that deserves a prompt, non-judgemental response.

The first 72 hours

The first step after a potential exposure is not a test, but finding out whether HIV post-exposure prophylaxis (known as PEP) is recommended. This is a course of antiretroviral medication taken for around 28 days, which reduces the likelihood of infection taking hold. It is only effective if started early: ideally within the first few hours and never after 72 hours. The decision is made by a doctor, based on the type of exposure and what is known about the other person, and the medication is only available on prescription.

Anyone still within this time frame should go to a hospital emergency department immediately or call SNS 24 (808 24 24 24) for advice. Do not wait until the next day or for a routine appointment. If there is also a risk of pregnancy, emergency contraception is likewise more effective the sooner it is taken. It can be requested at a pharmacy, where the pharmacist will advise you.

Time since exposureWhat to do
Less than 72 hoursSeek an immediate PEP assessment (emergency department or SNS 24)
Risk of pregnancyConsider emergency contraception as soon as possible
More than 72 hoursPEP is no longer recommended; plan the tests with your doctor
At any time if symptoms are presentMedical appointment

What is the window period?

When someone contracts an infection, the microorganisms need time to multiply to a detectable level, and the body needs time to produce antibodies. During this interval, the person may already be infected and may even pass on the infection, but tests will not yet detect it. This is the window period.

Its duration depends on the infection and the type of test. Molecular tests, which look for the microorganism's genetic material, usually detect infection sooner. Antibody tests depend on the body's response, which varies from person to person. This is why a single negative test taken a few days after exposure does not rule out an infection. CDC guidelines for exposure incidents, including sexual violence, specifically recommend a combination of initial and repeat testing.

InfectionUsual type of testDetection from (approximately)
ChlamydiaMolecular testAround 2 weeks
GonorrhoeaMolecular testAround 2 weeks
SyphilisAntibodies in the bloodAround 4 to 6 weeks; repeat at about 12 weeks
HIV (4th-generation laboratory test)Antigen and antibodiesMost cases at 4 weeks; generally conclusive at 6 weeks
HIV (rapid antibody test)AntibodiesUp to 12 weeks
Hepatitis BSurface antigenUp to around 12 weeks
Hepatitis CAntibodiesUp to around 12 weeks

These time frames are a guide and differ slightly between guidelines. The doctor may adjust them, for example if the person has taken PEP, as the medication can delay HIV detection and changes the testing schedule.

A testing plan at several stages

In practice, the most common approach is to take an initial sample and test again at the end of the window periods. The initial sample is useful for several reasons: it detects infections that existed before the exposure, provides a baseline for comparison and, if PEP is started, is needed to confirm that the person did not already have HIV and to assess kidney and liver function.

Tests are then repeated at the appropriate times. A simple way to organise this is around three milestones: at two weeks for chlamydia and gonorrhoea, at six weeks for HIV and syphilis, and at around three months to confirm syphilis and hepatitis and, in some situations, HIV. The specific plan is set by the doctor.

TimeTests usually considered
As soon as possible (initial assessment)Baseline HIV, syphilis, hepatitis B and C; PEP assessment if within 72 hours
Around 2 weeksChlamydia and gonorrhoea at the exposed sites
Around 6 weeksHIV (4th generation) and syphilis
Around 12 weeksSyphilis and hepatitis B and C; HIV in specific situations

Testing the right sites

Bacterial infections such as chlamydia and gonorrhoea can become established at any site that has come into contact with bodily fluids: the vagina, urethra, rectum or throat. A urine test will not detect an infection in the throat or rectum, and these infections often cause no symptoms. It is therefore important to tell the doctor what type of contact took place. This information is confidential and is used only to choose the right sample.

For women, a vaginal swab is the preferred sample and can often be self-collected. For men, urine is generally used. Throat and rectal swabs are quick and, in many cases, can also be self-collected. The laboratory will provide specific collection instructions.

Type of contactSample for chlamydia and gonorrhoea
VaginalVaginal swab or urine
Receptive analRectal swab
OralThroat swab
Penile (insertive)Urine

When a partner has a diagnosed infection

If a sexual partner has been diagnosed with an STI, the situation is different from an uncertain exposure because the likelihood of transmission is higher and the infection is known. For bacterial infections such as chlamydia, gonorrhoea, syphilis or trichomoniasis, guidelines often recommend treating the partner before the test result is available, so that no time is lost and further transmission is prevented. Tests are still done, but the decision to treat does not depend on them alone.

This decision rests with the doctor, who chooses the appropriate treatment and advises how long to avoid sex. Antibiotics should only be taken on prescription, never from leftovers or someone else's medication. If the partner has HIV, it is important to know whether they are receiving treatment and have an undetectable viral load, as in that case HIV is not transmitted through sex. If this is not known, PEP should be assessed within 72 hours.

Infection diagnosed in partnerUsual approach
Chlamydia, gonorrhoea, trichomoniasisAssessment and, often, treatment without waiting for the result
SyphilisAssessment; preventive treatment often given after recent exposure
HIV with an undetectable viral loadNo sexual transmission; PEP is not recommended
Untreated HIV or status unknownAssess PEP if within 72 hours
Hepatitis BCheck immunity; vaccination and other measures if needed

Symptoms that should not wait

The window-period testing plan applies to people who do not have symptoms. If symptoms develop, seek an assessment without waiting for the planned date. Genital discharge, burning when urinating, testicular pain, pelvic pain, bleeding outside your period, genital sores, blisters or ulcers, warts, skin rashes, fever with a feeling of being unwell or swollen lymph nodes are all reasons to book an appointment.

Some of these symptoms may have causes other than an STI, and only an examination and the appropriate tests can establish the cause. A high temperature with severe abdominal or pelvic pain requires emergency care. Flu-like symptoms in the weeks after possible exposure to HIV should also be reported to the doctor, as they may indicate an acute infection.

SymptomWhat to do
Discharge or burning when urinatingAppointment in the next few days
Genital sores, blisters or ulcersAppointment; the lesion can be tested directly
High temperature with severe pelvic or abdominal painEmergency department or 112
Flu-like symptoms in the weeks after HIV exposureTell the doctor; a specific test may be warranted

Sexual violence

Anyone who has experienced sexual violence should seek help as soon as possible, at a hospital emergency department or by calling 112. In addition to support and safety, an early assessment makes it possible to consider HIV PEP, emergency contraception, hepatitis B vaccination and preventive treatment for some bacterial infections, and to preserve evidence if the person wishes.

In these situations, CDC guidelines recommend initial and repeat tests based on the window periods, as well as psychological support. Nobody is to blame for experiencing sexual violence, and healthcare professionals should respect the person's pace, privacy and decisions.

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

Can I take an HIV test the next day?

You can have a baseline test, but a negative result at that point does not rule out a recent infection. The most important thing in the first 72 hours is to assess whether PEP is appropriate.

Is an HIV test conclusive at six weeks?

With a 4th-generation laboratory test, a negative result at six weeks is generally conclusive. With rapid antibody tests, or if you have taken PEP, the doctor may request a repeat test later.

If I have taken PEP, when should I get tested?

The testing schedule is set by the team that prescribed PEP, usually at the end of treatment and again a few weeks later.

Is a urine test at two weeks enough?

For genital chlamydia and gonorrhoea, it generally is. If you had oral or anal sex, throat or rectal swabs may be needed.

Should I avoid sex while waiting for the results?

It is sensible to use a condom or avoid sex until you have the results, to prevent passing on a possible infection.

My tests were negative. Do I need to repeat them?

It depends on when they were done in relation to the exposure. If any were done within the window period, the doctor may recommend repeating them.

Did you enjoy this article?

Scientific references2
  1. Workowski KA, Bachmann LH, Chan PA, et al. Sexually Transmitted Infections Treatment Guidelines, 2021. MMWR Recomm Rep. 2021;70(4):1–187.
  2. European Centre for Disease Prevention and Control. Public health guidance on HIV, hepatitis B and C testing in the EU/EEA: an integrated approach. ECDC. Stockholm: ECDC, 2018.
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.