For chlamydia and gonorrhoea, test about 2 weeks after unprotected sex. For a full screen that reliably covers HIV and syphilis, you’ll usually need to test again (or wait) until 7 to 12 weeks after the sex, depending on the infection and the test. If you have symptoms, don’t wait at all: get checked now.
Testing too early is the most common reason people get a falsely reassuring negative result. The gap between infection and a test being able to pick it up is called the “window period”, and it’s different for each infection.
What is a window period?
A window period is the time from exposure until a test can reliably detect an infection. Test inside that window and the result can be negative even though you’re infected. The NHS puts it simply: STIs can take up to 7 weeks after unprotected sex to show up on a test, so if you don’t have symptoms, it’s best to wait 7 weeks before getting a full screen.
Many clinics split this into two steps: an early test for the infections that show up quickly, and a later blood test for the ones that take longer.
STI testing timeline: when each test works
This table pulls together timings from a UK NHS sexual health service and the US CDC’s HIV testing guidance. Your clinic may use slightly different numbers depending on the exact tests they run.
| Infection | Usual test | Earliest reliable test after sex |
|---|---|---|
| Chlamydia | Urine sample or swab | 2 weeks |
| Gonorrhoea | Urine sample or swab | 2 weeks |
| HIV (lab blood test, antigen/antibody) | Blood from a vein | Detects most infections 18 to 45 days after exposure; UK clinics often say 7 weeks |
| HIV (rapid finger-prick antigen/antibody) | Finger-prick blood | 18 to 90 days |
| HIV (antibody-only tests, most self-tests) | Finger-prick blood or mouth swab | 23 to 90 days |
| HIV (NAT, nucleic acid test) | Blood from a vein | 10 to 33 days |
| Syphilis | Blood test | 12 weeks for a fully reliable result |
The chlamydia, gonorrhoea, HIV (7 weeks) and syphilis (12 weeks) figures come from an NHS sexual health service’s home testing guidance. Their worked example: if you had unprotected sex with a new partner on a Tuesday, don’t take a chlamydia or gonorrhoea test until 2 weeks later.
Why you might need two tests
Because the window periods don’t line up, one test date can’t cover everything. A practical plan after a single risky encounter, with no symptoms, looks like this:
- Within 72 hours: think about whether you need emergency medicines (see the next section). This is about prevention, not testing.
- At 2 weeks: urine test or swab for chlamydia and gonorrhoea.
- At 6 to 7 weeks: HIV blood test (a lab antigen/antibody test) and syphilis blood test.
- At 12 weeks: repeat the syphilis test, and repeat HIV if you used a rapid or self-test, to be sure.
If you can only go once, going at about 7 weeks catches most infections, and NHS advice for people without symptoms is to wait that long. The CDC adds that if you test early and get a negative HIV result, you should test again after the window period for the test you took.
What to do in the first 72 hours
Testing can’t tell you anything useful in the first few days. What you can do is reduce the chance of HIV infection or pregnancy, and both have hard deadlines.
- HIV PEP (post-exposure prophylaxis): According to the CDC, PEP must be started within 72 hours of a possible exposure, and every hour counts. It’s taken daily for 28 days. It’s meant for emergencies, such as a condom breaking with a partner whose HIV status you don’t know, or sexual assault. Ask at a sexual health clinic or emergency department.
- Emergency contraception: The NHS says levonorgestrel pills must be taken within 3 days (72 hours), ulipristal acetate pills within 5 days (120 hours), and a copper IUD can be fitted up to 5 days (120 hours) after sex.
If the sex wasn’t consensual, you can go to a sexual assault service or emergency department for care, evidence collection if you want it, and PEP, all at once. You don’t have to report to the police to get medical help.
Get tested now if you have symptoms
The waiting advice above is for people without symptoms. If you notice any of the following, book a test straight away rather than waiting for a window period to pass. The NHS lists these common STI symptoms:
- unusual discharge from the vagina, penis or anus
- pain when you pee
- a rash
- unusual vaginal bleeding
- itchy genitals or anus
Also get checked for any new sore, blister or lump on or around the genitals, anus or mouth. Itching and discharge have plenty of non-STI causes too, like thrush or bacterial vaginosis; our guide to common causes of vaginal discomfort covers those. A test is the only way to know which one you’re dealing with.
Keep in mind that many STIs cause no symptoms at all, which is why the NHS and CDC recommend testing after a new partner even if you feel fine.
Which tests should you ask for?
Not every clinic or home kit tests for everything. Use this checklist when you book:
- Chlamydia and gonorrhoea: ask for swabs from the throat or rectum if you had oral or anal sex, as well as a urine test. CDC guidance is to test the sites of contact.
- HIV: ask which type of test it is so you know its window period.
- Syphilis: a blood test.
- Hepatitis B and C: blood tests, often offered if you’ve had a partner from a higher-risk group or shared needles. Hepatitis B can cause jaundice, though many people have no symptoms.
- Herpes: usually only tested by swabbing a sore. Mouth sores have many causes; see our post on mouth ulcers and blisters.
Routine testing: how often if you’re sexually active
Beyond one-off worries, the CDC’s screening recommendations include:
- chlamydia and gonorrhoea screening for sexually active women under 25
- HIV screening offered to everyone aged 13 to 64
- chlamydia, gonorrhoea, syphilis and HIV testing at least once a year for sexually active men who have sex with men, and every 3 to 6 months for those at higher risk
In the UK, NHS sexual health clinics offer confidential testing, and some offer home testing kits. In India, HIV testing is free at Integrated Counselling and Testing Centres (ICTCs) in government hospitals. Elsewhere, your doctor or a local sexual health clinic is the place to start.
After a positive result: when to retest
If you test positive for chlamydia, you’ll usually be given antibiotics, and your recent partners should be tested and treated too. The CDC chlamydia guidelines say:
- avoid sex for 7 days after single-dose treatment, or until a 7-day course is finished and any symptoms have gone, and until partners are treated
- don’t retest within 4 weeks of finishing treatment, because leftover dead bacteria can give a false positive
- do retest about 3 months after treatment, since reinfection is common
- if you’re pregnant, a test of cure about 4 weeks after treatment is recommended
When to see a doctor
See a doctor or sexual health clinic promptly if:
- you had a possible HIV exposure in the last 72 hours (go today, for PEP)
- you have discharge, burning when you pee, a genital sore or a rash
- you have pain in the lower belly or pain during sex, especially with fever (this can be pelvic inflammatory disease)
- you have pain or swelling in a testicle
- a partner tells you they’ve tested positive for an STI
- you’re pregnant and think you may have been exposed
Call your local emergency number (911 in the US, 999 in the UK, 112 in the EU and India) or go to an emergency department if you have severe lower abdominal pain with fever or fainting, or if you’ve been sexually assaulted and need urgent care.
Frequently asked questions
Can I test for STIs 3 days after unprotected sex?
You can, but a negative result won’t mean much because it’s inside every window period. A test that soon only makes sense if you have symptoms or the clinic wants to check for an infection from an earlier encounter.
Is a negative HIV test at 4 weeks reliable?
A lab antigen/antibody test detects most infections by then, but not all. CDC guidance gives a window of 18 to 45 days for that test, so retest after 45 days to be sure. For self-tests, the window runs to 90 days.
Do home STI test kits work?
Yes, if you use them after the right window period and the kit covers the infections you’re worried about. Check which infections and sample sites the kit includes, and use an approved or NHS-provided kit where possible.
Do I need an STI test if we used a condom?
Condoms lower the risk a lot but don’t remove it, especially for infections spread by skin contact, like herpes and syphilis. If a condom broke or slipped, treat it as unprotected sex.
Can I have sex while waiting for results?
It’s safest not to, or to use condoms, until you know your results. If you test positive, follow your clinic’s advice on how long to wait after treatment.
This article is for general information and is not a substitute for advice from a doctor. If you have symptoms or a health condition, please consult a qualified healthcare professional.

