A window period is the gap between when you're exposed to an STI and when a test can actually detect it. Test too soon and you can get a falsely reassuring negative. For chlamydia and gonorrhea, a NAAT is generally reliable about two weeks after exposure; for HIV, the wait runs from about 10 days to 90 days depending on the test used.

Test window by infection / test type (Days after exposure) Chlamydia / gonorrhea (NAAT): ~14; HIV — NAT: 10–33; HIV — antigen/antibody: 18–45; HIV — rapid antibody: 23–90 0153045607590 Chlamydia / gonorrhea (NAAT) ~14 HIV — NAT 10–33 HIV — antigen/antibody 18–45 HIV — rapid antibody 23–90
Test window by infection / test type. A negative before the window can be falsely reassuring — time the test to the exposure. Source: CDC.
Test window by infection / test type (Days after exposure)
ItemDays after exposure
Chlamydia / gonorrhea (NAAT)~14
HIV — NAT10–33
HIV — antigen/antibody18–45
HIV — rapid antibody23–90

How STI tests actually work

Most STIs are diagnosed from a surprisingly simple sample. For chlamydia, gonorrhea, and trichomoniasis, you give a urine cup or a self-collected swab, and the lab runs a NAAT (nucleic acid amplification test), which copies and amplifies any bacterial DNA or RNA present until there's enough to detect CDC. For HIV, syphilis, and hepatitis, the sample is a quick blood draw. In the chair, that's minutes; results typically land in a day or a few.

Timing matters because of what each test looks for. A NAAT hunts for the pathogen's own genetic material, so it can turn positive once the organism has multiplied enough to be detectable. Antibody tests look for your immune system's response instead, and your body takes time to make those antibodies, so antibody-based tests have the longest windows.

This is also why testing beats going by how you feel. Many STIs cause no symptoms at all, so your status isn't something you can sense, and screening catches the silent ones. If you're sorting out whether to test based on symptoms or just exposure, you can screen either way; the decision to get tested doesn't depend on having symptoms.

When to test after exposure — the window by infection

The window period isn't one number. It depends on the infection and the specific test. Here's how the most common screens line up.

InfectionSample & testWhen the test becomes reliable
Chlamydia & gonorrheaUrine or self-collected swab (NAAT)Generally reliable about 2 weeks after exposure
HIV — nucleic acid test (NAT)BloodAbout 10–33 days after exposure
HIV — antigen/antibody lab testBloodAbout 18–45 days after exposure
HIV — rapid antibody testBlood/oral fluidAbout 23–90 days after exposure

Chlamydia and gonorrhea

Chlamydia and gonorrhea are detected by NAAT, generally reliable about two weeks after exposure USPSTF. If you test sooner than that, a negative isn't conclusive, and retesting later is reasonable whenever a recent exposure is possible. These two are often symptomless, especially in the throat and rectum, and chlamydia is one of the most common infections caught only because someone screened on schedule instead of waiting for a problem.

HIV

HIV has the most test-dependent window, so it's worth knowing which test you're getting CDC. A nucleic acid test (NAT) finds the virus's genetic material soonest, roughly 10 to 33 days out. An antigen/antibody lab test, which detects both a viral protein and antibodies, becomes reliable about 18 to 45 days after exposure. A rapid antibody test, the finger-stick or oral-swab kind, has the longest window at about 23 to 90 days, because antibodies take longest to build. If your exposure was very recent and you want the earliest answer, ask specifically about NAT or a lab antigen/antibody test.

For the full breakdown by exposure date and a tool to figure out your own timing, see our guide on when to test after exposure.

Where to get tested and what it costs

Testing is widely available and often free or low-cost. You can go to a doctor's office, a local health department, Planned Parenthood, or a Title X family-planning clinic, many of which charge on an income-based sliding scale or nothing at all HRSA. At-home and self-collection kits also exist, which suit people who'd rather skip the waiting room.

Access is closer than most people assume. The US has roughly 16,000 federally-funded community health centers and about 4,200 Title X family-planning clinics, on top of tens of thousands of other public STI clinics. With at-home kits, mind the window period and test at the right time, or you may have to repeat. If you want speed, same-day & rapid std testing can turn around certain results fast, and you can compare testing providers before you book.

Reading your results and how accurate they are

Modern NAATs are highly accurate, with specificity around 99%, so a positive almost always reflects a real infection. They're also the most sensitive option for chlamydia and gonorrhea, which is why they're recommended over older methods.

The most common accuracy problem is bad timing. Testing before the window period closes is the leading cause of a false negative: the test isn't wrong, the infection simply isn't detectable yet. A too-early negative should be repeated once enough time has passed.

To guard against false positives, HIV and syphilis use a two-step process: an initial screening test, then a different confirmatory test that has to agree before a result is considered final CDC, 2024. A reactive rapid HIV test is only a preliminary result, and it must be confirmed with a follow-up lab test before it counts as a diagnosis. A reactive rapid screen means confirm, don't panic.

If a result is positive

A confirmed positive is treatable. Bacterial STIs like chlamydia, gonorrhea, and syphilis are cured with antibiotics, and HIV is managed with daily medication. The next step is getting the right treatment and notifying recent partners so they can test too; start by deciding to get tested for anything else you may have been exposed to.

When to see a clinician

See a clinician promptly if you have symptoms such as discharge, burning with urination, sores, pelvic or testicular pain, or unexplained fever, rather than waiting out a window period, since symptoms warrant evaluation now. Also see one if you've had a high-risk exposure, for example a known-positive partner or a condom failure, and want to discuss prevention that's time-sensitive.

Otherwise, test on schedule for the infection and method you're using, repeat any negative that fell inside the window, and confirm any preliminary positive. When you're unsure which test fits your timeline, a clinician or sexual-health clinic can match the test to your exposure date.