In this article
This is why STI tests are available: they can detect infections such as chlamydia, gonorrhoea, syphilis, HIV and hepatitis B and C before they cause complications or are passed on to other people. Having these tests is a way of looking after your own health and your partners' health, not a sign of “risky” behaviour or a cause for shame.
This article explains which tests are usually included in an STI check-up, which samples are needed, why the timing of the sample matters (the window period), what a positive or negative result means and when to seek help quickly. The results should be interpreted by the doctor who requested the tests, taking your medical and sexual history into account. Values and criteria vary between laboratories and methods.
Why have STI tests without symptoms?
Chlamydia and gonorrhoea, particularly in women and in infections of the throat and rectum, often go unnoticed. Syphilis can cause a painless sore that disappears on its own. HIV and hepatitis B and C can cause no symptoms for years while damaging the immune system or liver. Without testing, these infections continue to be passed on and can cause complications such as infertility, chronic pelvic pain, liver disease or problems during pregnancy.
The 2021 US guidelines on STIs recommend targeted screening based on age, sex, sexual practices, pregnancy and other factors, rather than the same panel for everyone (Workowski et al., 2021). The principle is simple: test for the right infections, at the right sites, at the right time.
| Situation | Why testing may be appropriate |
|---|---|
| New partner or several partners | Greater likelihood of exposure |
| Sex without a condom | Risk of several STIs |
| Partner diagnosed with an STI | Known exposure |
| Genital, anal or throat symptoms | Assess the cause |
| Pregnancy or pregnancy planning | Protect the individual and the baby |
| Use of HIV pre-exposure prophylaxis | Regular screening recommended |
| Previous diagnosis of another STI | Risk of associated infections |
Which STI tests are usually requested?
The choice depends on the clinical assessment, but there is a common core group. Nucleic acid amplification tests (NAATs), which detect bacterial genetic material with high sensitivity, are used for chlamydia and gonorrhoea. For syphilis, a combination of treponemal and non-treponemal blood tests is used. Fourth-generation HIV tests detect both antibodies and a viral protein (p24 antigen). For hepatitis B, hepatitis B surface antigen (HBsAg) and other markers are measured; for hepatitis C, antibodies are measured and, if positive, the virus's RNA is tested.
Women with symptoms or risk factors may be tested for trichomoniasis. By contrast, herpes antibody testing in people without symptoms and testing for Mycoplasma genitalium without symptoms are not routinely recommended because the results are difficult to interpret and generally do not change management (Workowski et al., 2021).
| Infection | Type of test | Usual sample |
|---|---|---|
| Chlamydia | NAAT | Urine, vaginal, rectal or throat swab |
| Gonorrhoea | NAAT (and culture in selected cases) | Urine or swabs |
| Syphilis | Treponemal and non-treponemal tests | Blood |
| HIV | 4th-generation test (antibodies and antigen) | Blood |
| Hepatitis B | HBsAg, anti-HBc, anti-HBs | Blood |
| Hepatitis C | Anti-HCV antibodies, RNA if positive | Blood |
| Trichomoniasis | NAAT or other methods | Vaginal swab or urine |
Sample sites: why urine is not always enough
Many people think that a urine test detects every STI. It does not. Urine can be used to test for chlamydia and gonorrhoea in the urethra, but it does not detect infections in the throat or rectum, which may occur on their own. If you have had oral or anal sex, the doctor may request swabs from these sites. In many cases, you can take the samples yourself by following the instructions.
In female patients, clinicians usually favour an internal swab over urine when looking for the bacteria that cause chlamydia and gonorrhoea. The swab is at least as likely to find them. A blood sample is needed when checking for syphilis, HIV or viral liver disease. Be frank with the doctor about whether you have had oral, vaginal or anal sex. They can then test every relevant area. Everything you tell them is confidential and will only guide which tests they choose.
What happens during the assessment before testing?
Before STI testing, the doctor will ask a few questions about the dates of your most recent sexual encounters, the number of partners, condom use, types of sexual activity, symptoms, vaccinations (hepatitis B and HPV) and previous tests. This may feel intrusive, but every answer affects the choice of tests and their timing. There are no right or wrong answers, and the appointment is not about judging you.
If you have symptoms such as discharge, burning when urinating, sores, warts, pelvic pain or pain in the testicles, the doctor may also examine the affected area and request targeted tests. In some cases, treatment begins before the results are available, based on the doctor's decision.
The window period for each infection
After exposure, each infection takes some time before it can be detected. This interval is called the window period. If a test is carried out before it ends, the result may be negative even though an infection is present. The doctor may therefore recommend testing on a specific date or repeating the tests later.
The timings below are a guide and depend on the test used; the doctor or laboratory will advise on the most appropriate time in each case.
| Infection | Point from which the test is generally reliable | Note |
|---|---|---|
| Chlamydia and gonorrhoea | Around 2 weeks after exposure | Test sooner if symptoms are present |
| Syphilis | A few weeks; it may take up to around 3 months | Repeat if the exposure was recent |
| HIV (4th generation) | Most infections are detected within around 6 weeks | Later confirmation in some cases |
| Hepatitis B | A few weeks to a few months | Depends on the marker |
| Hepatitis C | Antibodies can take several months to appear | RNA appears sooner |
If this happened in the last 72 hours and there was a risk of HIV, do not wait for tests. There is medicine called PEP that can stop you becoming infected. You must start it very quickly, and only a doctor can prescribe it. Go to the emergency department or ring SNS 24 (808 24 24 24) now.
Interpreting STI test results
A negative result obtained after the window period means that the infection tested for was not detected. It does not protect against future exposures or say anything about infections that were not tested for. A positive result should be confirmed and explained by the doctor. For HIV, a reactive screening test always requires a confirmatory test before diagnosis. With syphilis, treponemal tests can remain positive for life even after treatment, so interpretation combines several tests and the patient's history (Janier et al., 2021). For hepatitis B, the combination of markers distinguishes current infection, a past infection that has cleared and immunity from vaccination (EASL, 2017).
Do not therefore try to interpret an STI test report on your own. The same word, “positive”, can have very different meanings depending on the test.
| Result | Possible meaning | Usual next step |
|---|---|---|
| Negative after the window period | Infection not detected | Continue prevention; repeat after any new exposure |
| Negative during the window period | May be a false negative | Repeat on the date advised |
| Reactive HIV screening test | Possible infection | Confirmatory test |
| Positive treponemal test alone | Current or past syphilis | Assess with a non-treponemal test |
| Positive HBsAg | Hepatitis B infection | Specialist assessment |
| Positive anti-HCV | Exposure to the virus | HCV RNA test |
Treatment and notifying partners
Antibiotics or antiparasitic medicines are used to treat chlamydia, gonorrhoea, syphilis and trichomoniasis. These medicines must only be taken when prescribed by a doctor. Never use leftover antibiotics from home or share medication, because the course required depends on the infection, its location and bacterial resistance. Current treatments cure hepatitis C in the great majority of people. Treatment also controls HIV and chronic hepatitis B effectively.
When an infection is diagnosed, recent sexual partners should be informed so that they can be assessed and treated. This prevents reinfection and breaks the chain of transmission. The doctor can help you decide how to do this and, in many cases, will recommend avoiding sex until treatment is complete and sometimes repeating the test.
Prevention alongside testing
STI testing forms part of a wider strategy. Using a condom greatly reduces the risk of several infections, although it cannot eliminate the risk from those passed on through skin contact, such as herpes or human papillomavirus (HPV). Vaccines against hepatitis B and HPV prevent important infections. Preventive HIV medication taken before exposure (PrEP), when prescribed by a doctor, is highly effective for people at greater risk.
Knowing your own status and your partners' status, reducing the number of partners with whom you have unprotected sex and having regular tests according to your risk complete the prevention strategy.
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 a urine test detect every STI?
No. It detects chlamydia and gonorrhoea in the urethra, but not in the throat or rectum, and it does not detect syphilis, HIV or hepatitis.
How long after sex should I have the tests?
It depends on the infection. The doctor will advise on the right time and whether the tests need to be repeated.
Do I need tests if I have no symptoms?
Yes, if there has been a risk of exposure. Many STIs cause no symptoms.
Are STI tests confidential?
Yes. The results are protected by medical confidentiality.
If I use a condom, do I still need tests?
It greatly reduces the risk but does not eliminate it. Regular testing may still be useful, depending on your risk.
If I have an STI, does my partner need treatment?
They should generally be assessed and will often need treatment. The doctor will advise you.
Can I have tests during my period?
Yes for blood tests. For swabs, ask the laboratory or doctor.
Did you enjoy this article?
Scientific references3
- Workowski KA, Bachmann LH, Chan PA, et al. Guidelines for treating sexually transmitted infections, 2021. MMWR Recomm Rep. 2021;70(4):1-187.
- Janier M, Unemo M, Dupin N, et al. 2020 European guideline on the management of syphilis. J Eur Acad Dermatol Venereol. 2021;35(3):574–88.
- 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.





