Sexual health
How Long Until an STI Shows Up on a Test? Understanding Detection Windows
Detection windows vary by infection. NAAT tests for chlamydia and gonorrhea are reliable about one to two weeks after exposure, while modern fourth-generation HIV tests become accurate at roughly 18 to 45 days. Testing before these windows close can produce a false-negative result, so tell your clinician when the exposure occurred.
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 does 'window period' mean and why does it matter?
Every STI test detects something different. Nucleic acid amplification tests (NAATs) detect bacterial or viral genetic material. Antibody tests detect the immune response your body mounts after infection. Antigen/antibody combination tests detect both. All of these take time to reach detectable levels after an exposure.
Testing before the window period closes can give a falsely reassuring negative result — a negative that does not mean you are infection-free. This is why your clinician will ask when the possible exposure happened, not just whether you have symptoms 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article2Ref 2US Preventive Services Task Force; Owens DK, Davidson KW, Krist AH, et al. (2019).Screening for HIV Infection: US Preventive Services Task Force Recommendation Statement.HIV detection window periods and testing recommendations underpinning guidance in this article.
Detection windows by infection
Chlamydia and gonorrhea: NAAT tests are generally accurate one to two weeks after exposure. Testing sooner is not recommended because the bacterial load may not yet be detectable 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article3Ref 3US Preventive Services Task Force; Davidson KW, Barry MJ, Mangione CM, et al. (2021).Screening for Chlamydia and Gonorrhea: US Preventive Services Task Force Recommendation Statement.Basis for recommending NAAT testing for chlamydia and gonorrhea and the one-to-two-week timing guidance.
Syphilis: Blood antibody tests (RPR or VDRL with a confirmatory treponemal test) typically become reliable three to six weeks after exposure. Some guidelines suggest confirming with a repeat test at three months if the initial result is negative and concern remains 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article.
Herpes (HSV): Blood IgG antibody tests may take up to three months to reliably turn positive after a first infection. A swab of an active sore is far more accurate during an outbreak and does not require any waiting period 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article.
HIV: Modern fourth-generation tests — the antigen/antibody combination tests used in most clinics — become accurate at roughly 18 to 45 days after exposure. A negative result at 45 days is considered reliable by many guidelines, with a confirmatory test at 90 days for certainty. Rapid oral antibody tests have a longer window of around three months 2Ref 2US Preventive Services Task Force; Owens DK, Davidson KW, Krist AH, et al. (2019).Screening for HIV Infection: US Preventive Services Task Force Recommendation Statement.HIV detection window periods and testing recommendations underpinning guidance in this article4Ref 4Centers for Disease Control and Prevention (2021).Preexposure Prophylaxis for the Prevention of HIV Infection in the United States – 2021 Update: A Clinical Practice Guideline.PEP 72-hour window and HIV testing protocols referenced in the PEP section.
Hepatitis B: Surface antigen tests typically become positive one to nine weeks after exposure.
Hepatitis C: Antibody tests become reliable six to eight weeks to three months after exposure; RNA tests can detect the virus earlier, within one to two weeks 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article.
What to do during the window period
A negative test during the window period is not a guarantee — plan to retest at the appropriate time for the specific infection. Continue using barrier methods during the window period to prevent potential onward transmission if you are infected.
For HIV specifically: if the exposure occurred within the last 72 hours, contact a clinician or emergency department immediately to discuss post-exposure prophylaxis (PEP). PEP must be started as soon as possible and is not effective after 72 hours 4Ref 4Centers for Disease Control and Prevention (2021).Preexposure Prophylaxis for the Prevention of HIV Infection in the United States – 2021 Update: A Clinical Practice Guideline.PEP 72-hour window and HIV testing protocols referenced in the PEP section.
Does having symptoms change the timing?
Many STIs cause no symptoms — this is one reason testing matters more than waiting to feel unwell. When symptoms do appear, they typically arise earlier than the full antibody-based testing window, and a clinician can often swab an active sore or discharge for direct testing regardless of how recent the exposure was. If you have symptoms now, seek evaluation now — do not wait for a window period to pass 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article2Ref 2US Preventive Services Task Force; Owens DK, Davidson KW, Krist AH, et al. (2019).Screening for HIV Infection: US Preventive Services Task Force Recommendation Statement.HIV detection window periods and testing recommendations underpinning guidance in this article.
Which tests does a clinician typically use?
- NAAT for gonorrhea and chlamydia — the most sensitive method; urine or swab; accurate about one to two weeks post-exposure 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article3Ref 3US Preventive Services Task Force; Davidson KW, Barry MJ, Mangione CM, et al. (2021).Screening for Chlamydia and Gonorrhea: US Preventive Services Task Force Recommendation Statement.Basis for recommending NAAT testing for chlamydia and gonorrhea and the one-to-two-week timing guidance.
- Fourth-generation HIV antigen/antibody test — detects both the p24 antigen and antibodies, more accurate earlier than older antibody-only tests 2Ref 2US Preventive Services Task Force; Owens DK, Davidson KW, Krist AH, et al. (2019).Screening for HIV Infection: US Preventive Services Task Force Recommendation Statement.HIV detection window periods and testing recommendations underpinning guidance in this article4Ref 4Centers for Disease Control and Prevention (2021).Preexposure Prophylaxis for the Prevention of HIV Infection in the United States – 2021 Update: A Clinical Practice Guideline.PEP 72-hour window and HIV testing protocols referenced in the PEP section.
- Syphilis serology (RPR or VDRL plus confirmatory treponemal test) — blood test; retest at three months if initially negative with ongoing concern 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article.
- Herpes PCR swab of an active lesion — the most accurate herpes test when a sore 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article.
- Hepatitis B and C serology — included in comprehensive STI panels, especially when needle-sharing or sexual exposure to a known carrier is a factor 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.Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article.
Common questions
Can I test the day after a possible exposure?
Testing the day after is generally too early to be meaningful for most infections. The earliest reliable window is about one to two weeks for gonorrhea and chlamydia, 18 days for a fourth-generation HIV test. The one important exception: if you were exposed to HIV in the last 72 hours, do not wait to test — contact a clinician immediately about PEP.
If my test is negative, does that mean I am definitely not infected?
Only if the test was done after the full window period for that infection. A negative result during the window is not conclusive. Retest at the recommended interval, and tell your clinician when the exposure occurred so they can advise on timing.
Does it matter what kind of sexual contact occurred?
Yes. The type of contact affects both transmission risk and which sites need to be tested. For example, anal sex carries a higher HIV transmission risk, and receptive oral or anal sex may require throat or rectal swabs in addition to a urine sample to detect gonorrhea or chlamydia at those locations.
How soon does PEP need to be started after HIV exposure?
PEP must be started within 72 hours of potential HIV exposure — ideally within 24 hours. After 72 hours, it is no longer effective. Go to an emergency department or urgent care clinic; do not wait for a primary care appointment.
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 now
- —Symptoms such as discharge, sores, rash, or burning appearing before testing is possible — seek evaluation regardless of the window period
- —Possible HIV exposure within the last 72 hours — go to an emergency department or urgent care immediately to discuss PEP
- —Pelvic or abdominal pain with fever after a potential STI exposure — needs urgent evaluation
If you believe you were exposed to HIV within the last 72 hours, go to an emergency department or urgent care clinic immediately to discuss post-exposure prophylaxis (PEP). PEP must be started as soon as possible — ideally within 24 hours — and is not effective after 72 hours.
This article is general health education about STI testing windows and does not constitute personalized medical advice. Correct test timing requires clinical judgment based on your specific exposure — please consult a licensed clinician.
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 ✓Detection windows for chlamydia, gonorrhea, syphilis, herpes, and hepatitis — the basis for timing guidance throughout this article
- 2.US Preventive Services Task Force; Owens DK, Davidson KW, Krist AH, et al. (2019). Screening for HIV Infection: US Preventive Services Task Force Recommendation Statement. JAMA. doi:10.1001/jama.2019.6587 ✓HIV detection window periods and testing recommendations underpinning guidance in this article
- 3.US Preventive Services Task Force; Davidson KW, Barry MJ, Mangione CM, et al. (2021). Screening for Chlamydia and Gonorrhea: US Preventive Services Task Force Recommendation Statement. JAMA. doi:10.1001/jama.2021.14081 ✓Basis for recommending NAAT testing for chlamydia and gonorrhea and the one-to-two-week timing guidance
- 4.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 ✓PEP 72-hour window and HIV testing protocols referenced in the PEP section
4 sources, numbered by first appearance. General health information, not medical advice — synthetic demonstration content.