The right time to get tested depends on which STI you’re concerned about, because each infection has a different “window period,” the gap between exposure and when a test can reliably detect it. Testing too early can produce a false negative, giving you a clean result when you’re actually infected. Most common STIs can be accurately detected within two to six weeks, but some take longer.
There’s also one time-sensitive step that can’t wait: if HIV exposure is a concern, post-exposure prevention (PEP) must be started within 72 hours. Every hour matters, so address that first and sort out the rest of your testing plan afterward.
Chlamydia and Gonorrhea: 1 to 2 Weeks
These two bacterial infections have the shortest window periods. A urine sample or swab test will catch most chlamydia and gonorrhea infections after just one week. Waiting two weeks catches nearly all of them. If you’re tested at the one-week mark and get a negative result but still have concerns, a follow-up at two weeks gives you a high degree of certainty.
Both infections frequently produce no symptoms at all, especially in women and in throat or rectal infections. That’s why timing your test correctly matters more than waiting to “feel” something. If you do develop symptoms like unusual discharge, burning during urination, or pelvic pain, get tested right away regardless of the timeline.
HIV: 2 to 6 Weeks
HIV testing timelines vary based on the type of test used. A nucleic acid test (NAT), which looks for the virus itself in your blood, can usually detect HIV 10 to 33 days after exposure. The more common lab-based antigen/antibody test, which uses blood drawn from a vein, can detect infection 18 to 45 days after exposure.
Rapid fingerprick tests sold for home use or offered at community clinics detect only antibodies, which take longer to develop. These tests have a wider window and may not be reliable until several weeks after exposure. If you’re getting tested specifically because of a recent unprotected encounter, a lab-based blood draw gives you the most accurate early result.
For a confident negative result, many clinicians recommend testing at about 3 weeks and then confirming with a follow-up test at the 45-day mark or later.
PEP: The 72-Hour Window
If you believe you may have been exposed to HIV, post-exposure prophylaxis (PEP) is a course of medication that can prevent infection. It must be started within 72 hours (3 days) of exposure, and the sooner the better. PEP is available through emergency rooms, urgent care clinics, and sexual health clinics. After 72 hours, PEP is unlikely to work. This is the one piece of this timeline that genuinely cannot wait.
Syphilis: 3 to 6 Weeks
Syphilis blood tests look for antibodies your body produces in response to the infection, and those antibodies take time to build up. Testing during the first few weeks after exposure can produce false negatives. A blood test becomes more reliable around three to six weeks after exposure.
Syphilis sometimes announces itself with a painless sore (called a chancre) at the site of contact, typically appearing 10 to 90 days after exposure. If you notice an unusual sore, get tested immediately, but be aware that even a negative blood test during early infection doesn’t fully rule it out. The CDC notes that using only one type of syphilis test can miss early infections, so a provider may use two different tests to improve accuracy. If your initial test is negative but exposure was recent, retesting at the three-month mark is reasonable.
Hepatitis B: 4 Weeks
The surface protein that hepatitis B tests look for (HBsAg) typically becomes detectable about four weeks after infection, though the range can span from one to nine weeks. A DNA-based test can sometimes pick up the virus as early as two weeks, but the standard screening blood test is most reliable at or after the four-week mark.
If you were never vaccinated against hepatitis B, this is an important test to include. The hepatitis B vaccine is highly effective and widely available, so if you’re unsure of your vaccination status, your provider can check your immunity at the same time.
Herpes: Up to 4 Months
Herpes has the longest and most frustrating window period. Blood tests for herpes detect antibodies, and it can take up to 16 weeks (about four months) after exposure for current tests to reliably detect infection. Testing earlier than 12 weeks carries a meaningful risk of a false negative.
If you develop actual sores or blisters, a provider can swab the lesion directly. A swab test doesn’t depend on antibody development, so it works at any point while the sore is active. This is far more reliable than a blood test during the early weeks after exposure. Without visible sores, you’ll need to wait the full window period for a blood test to be trustworthy.
A Practical Testing Schedule
Because every STI has a different detection window, there’s no single “perfect” day to test for everything at once. Here’s a practical approach that covers the major infections efficiently:
- Within 72 hours: Seek PEP if HIV exposure is a concern.
- At 2 weeks: Test for chlamydia and gonorrhea. This catches nearly all infections for both.
- At 4 to 6 weeks: Test for HIV (lab-based antigen/antibody test), syphilis, and hepatitis B. This is also a good time to retest for chlamydia and gonorrhea if your two-week results were negative but you have new symptoms.
- At 3 months: Confirm HIV and syphilis results with a follow-up test if earlier results were negative. This provides high confidence for both.
- At 4 months: Test for herpes via blood test if needed.
You don’t necessarily need every test on this list. The right panel depends on what kind of sexual contact occurred, whether your partner’s status is known, and your own risk factors. A sexual health clinic can help you decide which tests to prioritize.
Why Testing Too Early Backfires
It’s natural to want answers immediately, but rushing to a clinic the morning after exposure is unlikely to give you useful results for most STIs. The infection needs time to replicate enough for a test to find it. A negative result taken too early doesn’t mean you’re in the clear. It means the test couldn’t detect anything yet.
This is why retesting matters. If you test once at two weeks for chlamydia and gonorrhea and again at six weeks for HIV and syphilis, you’ve covered the most common infections at the times when tests are most accurate. A final check at three months provides strong reassurance across the board.
Symptoms vs. No Symptoms
Many STIs produce no symptoms at all, particularly in the early stages. Chlamydia is often called a “silent” infection because roughly 70% of women and 50% of men with it never notice anything wrong. Gonorrhea can be similarly quiet, especially in the throat or rectum. Syphilis sores are painless and can appear in hard-to-see locations.
If you do develop symptoms like sores, unusual discharge, pain during urination, or a rash, get tested right away regardless of where you are in the timeline. Symptoms mean the infection has progressed enough to be detectable. But the absence of symptoms does not mean the absence of infection, which is exactly why sticking to the recommended testing windows is important even when you feel perfectly fine.