Sexual health
STD Testing Window Periods: When Will a Test Actually Be Accurate?
Every STI has its own window period—the gap between exposure and when a test can reliably detect infection. Testing too early can give a false-negative result even when infection is present. Clinicians often advise an initial test soon after exposure, then a repeat at the interval specific to that infection.
Talk to a clinician
Nina Osei, NP — Nurse Practitioner
checkups, refills & skin. Gale can match you with a licensed clinician for a visit.
Find care →What is a window period and why does it matter?
A window period is the time between when an infection enters the body and when a test can reliably detect it. During this gap, you can have the infection and still receive a negative result — a false negative. The length of the window varies by infection and by the type of test used.
Newer, more sensitive tests — particularly nucleic acid amplification tests (NAATs) — often shorten the window compared to older antibody-only tests 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency. This means the test platform matters: confirm with your clinician or testing site which generation of test they use.
Window periods for specific infections
These are general estimates 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency2Ref 2National Library of Medicine (2023).Sexually Transmitted Infection (STI) Tests: MedlinePlus Medical Test.Overview of types of STI tests (NAAT, antibody tests) and general testing timelines:
HIV: Current-generation antigen/antibody combination tests (4th generation) can usually detect infection within approximately 18–45 days of exposure; most people are detectable by 45 days, and nearly all by 90 days. RNA tests, used in some high-risk settings, shorten the window to roughly 10–33 days. A negative result at 45 days with a combination test is reassuring; 90 days is considered conclusive by most guidelines 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency.
Gonorrhea and chlamydia: NAATs can detect these within about 1–2 weeks of exposure. Many clinicians suggest testing at 1–2 weeks and again if symptoms develop 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency.
Syphilis: Antibody tests typically become positive about 3–6 weeks after exposure. A full 90-day window is recommended to rule it out confidently 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency.
Herpes (HSV): Blood antibody tests take the longest — type-specific IgG tests may not become positive for 12–16 weeks, and some individuals take up to 6 months. A swab of an active sore is more immediate and more accurate when a lesion is present 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency.
Hepatitis B and C: Hepatitis B surface antigen testing is generally reliable within 6 weeks to 3 months. Hepatitis C antibody tests are usually accurate within 8–11 weeks; RNA tests can detect it sooner, around 1–2 weeks.
Why a negative result during the window period does not mean you are clear
A negative result within the window period only means the test could not detect the infection yet — it does not rule out infection. This has two practical consequences: you might falsely reassure yourself, and you could unknowingly transmit infection to a partner. Until a final test after the appropriate window clears you, using barrier methods is prudent 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency. A positive result at any point is meaningful regardless of timing.
Special situation: PEP after potential HIV exposure
If the exposure carried a real risk of HIV transmission — a condom breaking with a partner of unknown status, or a needlestick — time is critical. Post-exposure prophylaxis (PEP) for HIV must be started within 72 hours of exposure to be effective; earlier is better 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency. This is not a situation where you wait for a scheduled appointment: seek care at an urgent care center or emergency room on the same day. PEP is a short-course medication, not a substitute for testing, and it does not protect against other STIs.
What to expect at a testing appointment
A clinician will ask about the nature of the exposure, the type of contact, and your current symptoms. Testing panels can be tailored to what you were exposed to — you do not need to guess which infections to prioritize. For people on PrEP for HIV, quarterly STI screening (for gonorrhea, chlamydia, syphilis, and HIV) is standard as part of ongoing PrEP care 3Ref 3Centers for Disease Control and Prevention (2021).Preexposure Prophylaxis for the Prevention of HIV Infection in the United States – 2021 Update: A Clinical Practice Guideline.Quarterly STI testing built into standard PrEP care; PrEP does not protect against STIs other than HIV.
Results timing varies by test type. NAATs for gonorrhea and chlamydia often return within a few days; HIV combination tests similarly; syphilis and hepatitis may take slightly longer. Positive results are typically followed by a confirmatory test before a diagnosis is made.
Testing in special circumstances
Pregnancy: STIs during pregnancy can affect the baby; screening is more urgent and treatment choices may differ 1Ref 1Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021).Sexually Transmitted Infections Treatment Guidelines, 2021.Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency. Tell your OB or midwife about any potential exposure promptly.
Already on PrEP: PrEP dramatically reduces HIV risk but does not protect against other STIs. Regular STI testing every three months is built into PrEP care 3Ref 3Centers for Disease Control and Prevention (2021).Preexposure Prophylaxis for the Prevention of HIV Infection in the United States – 2021 Update: A Clinical Practice Guideline.Quarterly STI testing built into standard PrEP care; PrEP does not protect against STIs other than HIV.
Immunocompromised status: Window periods, severity, and treatment response can differ; closer follow-up is usually recommended.
Common questions
How soon after unprotected sex can I test for STIs?
It depends on the infection. For gonorrhea and chlamydia, 1–2 weeks is usually sufficient. For HIV, the combination test becomes reliable by 45 days, with 90 days considered conclusive. Syphilis requires a 90-day window. Herpes blood tests may not be reliable for up to 6 months. A clinician can help you choose the right tests and timing based on your specific exposure.
If my STI test is negative, am I definitely clear?
A negative result is reassuring — but only if enough time has passed for the specific infection. Testing during the window period can produce a false negative even when infection is present. A negative result after the full window period is genuinely conclusive.
What if I think I was exposed to HIV in the last day or two?
Go to an urgent care center or emergency room today. PEP (post-exposure prophylaxis) must begin within 72 hours to be effective and works best when started as soon as possible. Do not wait to schedule a routine appointment.
Do I need to test for every STI after every exposure?
Not necessarily — a clinician can tailor which tests make sense based on the type of contact, your partner's status, and your overall risk. A comprehensive panel is often appropriate after a high-risk or unknown-risk exposure.
Does a herpes blood test tell me if I currently have an outbreak?
Blood antibody tests detect past exposure, not current activity. If you have an active sore, a swab test (PCR) of the sore is more accurate than a blood test for diagnosing current infection. The blood test is most reliable at least 12–16 weeks after initial exposure.
Talk to a clinician
Nina Osei, NP — Nurse Practitioner
checkups, refills & skin. Gale can match you with a licensed clinician for a visit.
Find care →When to act today — do not wait
- —Possible HIV exposure within the past 72 hours — go to an urgent care center or emergency room today for PEP; every hour matters
- —Symptoms of a possible STI — unusual discharge, sores, rash on palms/soles, painful urination — warrant prompt evaluation regardless of timing
- —Fever, severe pelvic or abdominal pain, or feeling acutely unwell after a potential STI exposure — evaluate urgently
If you had a significant risk exposure to HIV within the last 72 hours, go to an urgent care center or emergency room today — PEP must start promptly. For a serious allergic reaction or trauma associated with a sexual encounter, call 911.
This article provides general health education and is not a substitute for evaluation by a licensed clinician. Window periods can vary by test platform. If you believe you may have been exposed to an STI, see a clinician for personalized guidance.
References
- 1.Workowski KA, Bachmann LH, Chan PA, Johnston CM, Muzny CA, Park I, Reno H, Zenilman JM, Bolan GA (2021). Sexually Transmitted Infections Treatment Guidelines, 2021. MMWR Recommendations and Reports. doi:10.15585/mmwr.rr7004a1 ✓Window periods for HIV, gonorrhea, chlamydia, syphilis, and herpes; PEP eligibility and 72-hour window; testing recommendations by exposure type; pregnancy-specific STI testing urgency
- 2.National Library of Medicine (2023). Sexually Transmitted Infection (STI) Tests: MedlinePlus Medical Test. MedlinePlus / National Library of Medicine. link ✓Overview of types of STI tests (NAAT, antibody tests) and general testing timelines
- 3.Centers for Disease Control and Prevention (2021). Preexposure Prophylaxis for the Prevention of HIV Infection in the United States – 2021 Update: A Clinical Practice Guideline. U.S. Department of Health and Human Services / CDC. link ✓Quarterly STI testing built into standard PrEP care; PrEP does not protect against STIs other than HIV
3 sources, numbered by first appearance. General health information, not medical advice — synthetic demonstration content.