Most common STDs can be reliably detected within 1 to 4 weeks after exposure, but the exact timing depends on which infection you’re testing for. Testing too early can produce a false negative, meaning the test says you’re clear when you’re actually infected. Each STD has its own “window period,” and knowing these timelines helps you get tested at the right time.
What the Window Period Means
The window period is the gap between when you’re exposed to an infection and when a test can actually pick it up. During this time, the bacteria or virus is present in your body but hasn’t multiplied enough, or your immune system hasn’t produced enough antibodies, for a test to register a positive result. This is different from the incubation period, which is the time between exposure and when symptoms appear. You can be in the window period with no symptoms and still get a false negative on a test.
This is why timing matters so much. If you test during the window period and get a negative result, it doesn’t necessarily mean you weren’t infected. It may just mean the test couldn’t detect it yet.
Chlamydia and Gonorrhea: 1 to 2 Weeks
These two bacterial infections are typically tested together using the same type of test: a nucleic acid amplification test, which looks for genetic material from the bacteria in a urine sample or swab. This test is highly accurate, but it needs enough bacterial material to work with. Most clinicians recommend waiting at least 1 to 2 weeks after exposure before testing. Testing at the 2-week mark gives the most reliable results for both infections.
If you develop symptoms earlier, such as unusual discharge, burning during urination, or pelvic pain, you can get tested at that point. Symptoms sometimes appear within a few days of exposure, and a symptomatic test can still detect the infection. But if you have no symptoms and are testing purely based on a potential exposure, the 2-week window is the standard recommendation.
Syphilis: 2 to 4 Weeks
Syphilis is detected through a blood test that looks for antibodies your immune system produces in response to the infection. According to the CDC, these antibodies can take up to 2 weeks to develop after the initial infection. In practice, many providers recommend testing at 3 to 4 weeks post-exposure for a more reliable result, since antibody levels vary from person to person.
The earliest sign of syphilis is a painless sore (called a chancre) at the site of infection, which typically appears 3 to 4 weeks after exposure. Because the sore is painless and sometimes hidden, many people miss it entirely. If you notice any unusual sore after a potential exposure, get tested regardless of timing.
HIV: 10 Days to 3 Months
HIV testing timelines vary widely depending on which type of test you use. The fastest option is an RNA test (also called a nucleic acid test), which detects fragments of the virus itself rather than waiting for your immune system to respond. RNA tests can detect HIV within 10 to 14 days after exposure.
Antigen/antibody tests, which are the standard blood draws used in most clinics, detect both a protein the virus produces and antibodies your body makes in response. These typically become reliable around 18 to 45 days after exposure. Rapid tests and home test kits, which only look for antibodies, have the longest window period and may not be reliable until about 90 days (3 months) after exposure.
If you think you had a high-risk exposure, the earliest possible detection comes from an RNA test at the 10 to 14 day mark. But even with a negative RNA result, follow-up testing is recommended a few weeks later to rule out very early infection where virus levels might not yet be detectable. A negative result at 90 days with any test type is considered conclusive.
Hepatitis B: About 4 Weeks
Hepatitis B is detected through a blood test that looks for a protein on the surface of the virus. This protein typically becomes detectable about 4 weeks after infection, though the range can be as early as 1 week or as late as 9 weeks. For the most reliable result, testing at the 4-week mark or later is the standard approach.
Herpes: Up to 4 Months
Herpes testing is different from most other STDs. If you have an active sore or blister, a provider can swab it directly and get results quickly, regardless of when the exposure happened. But if you have no symptoms and want a blood test, you’ll need to wait. Blood tests for herpes look for antibodies, which can take anywhere from 2 weeks to 4 months to develop. Testing before 12 weeks can produce false negatives. The blood test for herpes also has a higher rate of false positives compared to other STD tests, which is one reason providers don’t always include it in routine screening panels.
If You Took PEP After HIV Exposure
Post-exposure prophylaxis (PEP) is a 28-day course of medication that can prevent HIV infection if started within 72 hours of exposure. The CDC notes that PEP is unlikely to be effective if started after 72 hours. If you took PEP, the standard testing schedule shifts: you’ll need follow-up HIV testing at 30 days and again at 90 days after completing the medication. PEP can delay the immune response that tests look for, so the usual window periods don’t apply in this situation.
When to Retest After a Negative Result
A negative result taken during or just after the window period isn’t always the final answer. If your initial test was negative but you tested early, retesting at a later date gives you more certainty. Here’s a practical timeline for a single potential exposure:
- At 2 weeks: Test for chlamydia and gonorrhea. These results are generally reliable at this point.
- At 4 weeks: Test for syphilis and hepatitis B. Consider an antigen/antibody HIV test.
- At 3 months: Retest for HIV if your earlier test was negative. This is also when herpes blood tests become most accurate.
If you’re testing because of an ongoing risk rather than a single exposure, such as a new sexual partner or inconsistent condom use, your provider may recommend a different schedule. Routine screening every 3 to 6 months is common for people with multiple partners. Many STDs, especially chlamydia and gonorrhea, cause no symptoms at all, which is why regular testing catches infections that would otherwise go unnoticed for months.

