There’s no single answer because each STI has a different detection window, but the general rule is to wait at least two weeks after exposure for the most common infections and up to three months for others. Testing too early can produce a false negative, meaning the infection is present but hasn’t built up enough in your body for the test to catch it.
Why Timing Matters
Every STI has what’s called a “window period,” the gap between when you’re exposed and when a test can reliably detect the infection. During this window, bacteria or viruses are multiplying in your body, or your immune system is producing antibodies, but the levels are still too low for a lab test to pick up. If you test during this window, you could get a clean result while actually being infected and potentially passing the infection to someone else.
The window period is different from the incubation period, which is how long it takes for symptoms to appear. Many STIs cause no symptoms at all, so waiting for symptoms is not a reliable strategy. Testing at the right time is the only way to know for sure.
Chlamydia and Gonorrhea: 2 Weeks
These two bacterial infections are the most commonly tested STIs, and modern tests that detect genetic material from the bacteria (called NAAT tests) are highly accurate starting around 14 days after exposure. Some clinics will test as early as five days, but two weeks gives you the most reliable result. Both infections can be detected through a urine sample or a swab, depending on the site of exposure.
If you had oral or anal sex, let your provider know. Standard urine tests only check one site, and infections in the throat or rectum require a swab at the specific location.
HIV: 2 to 4 Weeks (Depending on the Test)
Modern HIV tests, known as fourth-generation tests, look for both viral proteins and antibodies your body produces in response. This combination shortens the detection window significantly compared to older tests. Research on fourth-generation rapid tests shows they accurately identify about 78% of infections between two and three weeks after exposure, rising to 90% between three weeks and one month. Beyond one month, sensitivity reaches 100%.
During the first two weeks after infection, no currently available test reliably detects HIV. For the most confident result, test at one month and consider a follow-up at three months if your initial test is negative but your risk was high.
If you believe you were exposed to HIV within the last 72 hours, post-exposure prophylaxis (PEP) is a course of medication that can prevent infection. It must be started as soon as possible. According to the CDC, PEP is unlikely to work if started more than 72 hours after exposure. Every hour counts, so visit an emergency room or urgent care immediately rather than waiting for a scheduled appointment.
Syphilis: 2 to 4 Weeks
Syphilis antibodies can take up to two weeks after infection to reach detectable levels, according to CDC laboratory guidance. In practice, most providers recommend testing at three to four weeks for a more reliable result. Syphilis rates have been climbing in recent years, so this test is worth including even if it wasn’t historically part of standard panels. A blood draw is the only way to screen for it.
Herpes: 1 to 4 Months
Herpes is one of the slowest infections to become detectable by blood test, which measures antibodies rather than the virus itself. A blood test at one month catches most infections, but it can take up to four months to catch nearly all of them. If you have visible sores, a provider can swab them directly for a much faster and more accurate diagnosis regardless of timing.
Routine herpes screening is not typically included in standard STI panels. You’ll usually need to specifically request it.
Hepatitis B and C: 3 Weeks to 6 Months
Hepatitis B antibodies become detectable on average about five weeks after exposure, though some tests may pick it up as early as three weeks. Hepatitis C is slower. Testing at two months catches most infections, but a definitive result requires waiting up to six months. Both are detected through blood tests, and both are worth screening for if you had contact with a new partner whose status you don’t know.
A Practical Testing Timeline
Rather than making multiple separate trips, many people find it practical to test in two rounds:
- At 2 to 3 weeks: Chlamydia, gonorrhea, and syphilis can all be tested with reasonable accuracy. An early HIV test can also be done, though a negative result at this stage isn’t fully conclusive.
- At 3 months: A follow-up round covers HIV with full confidence, catches herpes that may have been missed earlier, and provides a definitive hepatitis C result if that’s a concern.
If you’re only worried about chlamydia and gonorrhea after a specific encounter, a single visit at two weeks is usually sufficient. If you’re screening broadly, the two-round approach ensures nothing slips through.
What Happens If You Test Too Early
A false negative is the main risk. You walk away thinking you’re clear when the infection simply hadn’t reached detectable levels yet. This is especially problematic with HIV and hepatitis C, where early treatment makes a significant difference in long-term outcomes. If you tested early because of anxiety and got a negative result, that’s encouraging but not a guarantee. Retesting at the appropriate window closes the gap.
How Often to Test If You’re Sexually Active
For people with new or multiple partners, annual screening is a reasonable baseline. The WHO recommends that higher-risk groups, including men who have sex with men and sex workers, screen every six months or more frequently. If you’re in a new relationship and both want to stop using barriers, getting tested together at the right intervals after your last outside contact is the most practical path to knowing your shared status.

