How Soon After Unprotected Sex Should I Get an STI Test?
If you have had unprotected sex, a condom broke or slipped, or you are worried about a recent sexual encounter, getting an STI test is a sensible step. But timing matters: some infections may not show up on a test immediately after exposure.
Why can't every STI be detected immediately?
After an infection is acquired, there can be a period of time before it can reliably be detected by a particular test. This is known as the window period.
Testing very soon after sex may therefore produce a negative result even though an infection was acquired. The appropriate timing depends on several factors, including:
- which STI is being tested for
- how long ago the sexual contact occurred
- whether the contact was vaginal, anal or oral
- whether condoms or other barriers were used
- whether you have any symptoms
- whether a sexual partner has been diagnosed with an STI
- your previous STI testing and sexual history
This is why an STI check is not simply one universal test performed on one universal day.
When should I get tested after unprotected sex?
You can arrange an assessment as soon as you are concerned. A healthcare professional can assess the exposure, determine which infections should be considered and advise whether testing should happen now, later, or at more than one point in time.
Recent exposure
An early appointment may still be important even if some STI tests are not yet definitive. Your clinician can assess whether urgent preventive treatment or follow-up testing should be considered.
Exposure some weeks ago
Testing may identify a number of common infections, although additional testing may still be required depending on the infection and the timing of the exposure.
You have symptoms
Do not delay seeking medical assessment simply to reach a particular testing window. Symptoms may need examination, testing or treatment.
A partner has tested positive
Arrange medical advice rather than deciding when to test on your own. Testing and, in some circumstances, treatment may be recommended.
Common STI window periods
Different infections are detected in different ways, so their testing windows are not identical. The table below is a practical guide rather than a substitute for individual medical advice.
| STI | How it may be tested | Important timing consideration |
|---|---|---|
| Chlamydia | Urine or swab using a nucleic acid amplification test (NAAT) | Recent exposure may require testing or repeat testing depending on timing and clinical circumstances. |
| Gonorrhoea | Urine and/or swabs from relevant sites | The appropriate sites to test depend on the type of sexual contact. Recent exposure may require follow-up. |
| HIV | Usually a blood test | Australian STI guidelines describe a window period of approximately 6 weeks for an HIV antigen/antibody test. Earlier assessment can still be important. |
| Syphilis | Usually a blood test | Australian STI guidelines advise repeat testing at 12 weeks after a recent exposure in relevant circumstances. |
We have a separate guide explaining how long after sex to test for chlamydia .
What if the unprotected sex happened in the last 72 hours?
Some situations are time-sensitive
If there is a possibility of significant HIV exposure, post-exposure prophylaxis (PEP) may be considered. PEP needs to be started as soon as possible and within 72 hours of the exposure.
Do not wait for an STI testing window to pass before seeking medical advice if HIV exposure is a concern.
Unprotected sex may also create a risk of pregnancy. If pregnancy is possible and not intended, emergency contraception is also time-sensitive and should be discussed promptly with an appropriate healthcare professional or pharmacist.
What if I feel completely normal?
You can have an STI without noticing any symptoms. This is particularly important with infections such as chlamydia, where many people do not realise they are infected.
Feeling well therefore does not necessarily mean testing is unnecessary.
STI testing may be worth discussing after:
- sex without a condom
- a condom breaking or slipping
- sex with a new partner
- having multiple sexual partners
- being told that a current or previous partner has an STI
- developing genital or urinary symptoms
- any sexual exposure that has left you concerned about infection
You can read more in our guide: When Should You Consider STI Testing?
What symptoms should make me get checked sooner?
Arrange medical assessment if you develop symptoms such as:
- burning or stinging when urinating
- unusual vaginal or penile discharge
- genital sores, ulcers, blisters or a rash
- pelvic or lower abdominal pain
- testicular pain or swelling
- bleeding after sex or unexpected bleeding
- anal pain, discharge or bleeding
If burning when urinating is your main concern, see: What STIs Cause Burning When You Pee?
What tests might I need?
An STI check is selected according to your sexual history and the parts of the body that may have been exposed. Testing can involve:
- a urine sample
- a self-collected or clinician-collected vaginal swab
- a throat swab
- an anal swab
- blood tests for infections such as HIV and syphilis
For example, urine testing alone may not detect an infection located in the throat or rectum. Telling your healthcare professional what type of sexual contact occurred helps them choose the appropriate tests.
Can I test now and repeat the test later?
Yes. In some situations this is exactly what a clinician may recommend.
An initial test may be useful for identifying an existing infection or establishing your current status, while another test may be recommended after the relevant window period has passed.
This approach can be particularly useful when the sexual exposure was very recent.
Not sure when you should test?
You do not need to work out the correct STI tests or window periods yourself. A healthcare professional can review the exposure confidentially and discuss which tests may be appropriate and when they should be performed.
Book an STI AppointmentFrequently asked questions
Can I get an STI test the day after unprotected sex?
You can seek medical advice immediately, but some infections may be too recent to detect reliably. Your healthcare professional may recommend testing now and repeating certain tests after the relevant window period.
Should I wait two weeks before seeing a doctor?
No. You do not need to wait before seeking medical advice. Early assessment can be particularly important if you have symptoms, a partner has been diagnosed with an STI, pregnancy is possible, or HIV exposure may have occurred.
Can an STI test be negative because I tested too early?
Yes. This is one reason window periods matter. A test performed before an infection is reliably detectable may be negative even after an exposure. Repeat testing may therefore be recommended.
Do I need an STI test if I have no symptoms?
Possibly. Many STIs can occur without obvious symptoms. Testing may be appropriate following unprotected sex, a new sexual partner, a partner's STI diagnosis or another potentially significant exposure.
Does a standard STI test check for everything?
No. There is no single test that detects every STI. The infections and anatomical sites tested depend on your sexual history, symptoms, exposure and individual risk factors.
What should I do if the exposure was less than 72 hours ago?
If HIV exposure may have occurred, seek medical advice urgently because HIV post-exposure prophylaxis (PEP) is time-sensitive and needs to be started within 72 hours. Other issues, including emergency contraception where relevant, may also need prompt attention.
