How Soon Can You Test for an STI After Exposure?

How soon you can test for an STI depends on which infection you’re concerned about. Some, like chlamydia and gonorrhea, are detectable within a week. Others, like HIV and herpes, can take weeks or even months to show up reliably. The gap between exposure and a trustworthy test result is called the “window period,” and testing too early during it can give you a false negative.

Why You Can’t Test Right Away

STI tests work by detecting one of two things: the pathogen itself (its DNA or RNA) or your body’s immune response to it (antibodies). Neither is instant. After exposure, a virus or bacterium needs time to multiply before a test can pick it up. Antibody-based blood tests take even longer because your immune system needs days or weeks to mount a measurable response.

This is different from the incubation period, which is how long it takes for symptoms to appear. You can often test positive before you notice anything wrong, and many STIs never cause obvious symptoms at all. That’s why knowing the window period matters more than waiting for symptoms.

Chlamydia and Gonorrhea: 1 to 2 Weeks

These two bacterial infections have the shortest window periods. Modern tests use a method called nucleic acid amplification (NAAT), which detects genetic material from the bacteria directly. NAATs pick up 20 to 50 percent more chlamydia infections than older testing methods, and they’re the current standard for both infections.

For chlamydia and gonorrhea, testing at one week after exposure catches most infections. At two weeks, the test catches nearly all of them. The sample is typically a urine specimen or a swab of the vagina, rectum, or throat, depending on the type of exposure. Antibody blood tests are not recommended for these infections because they can’t reliably distinguish between a current and past infection.

Syphilis: 1 to 3 Months

Syphilis takes longer to detect because the standard screening is a blood test that looks for antibodies. After initial infection, it can take up to two weeks for those antibodies to even begin developing. A blood test at one month catches most cases, but to rule syphilis out with high confidence, you need to wait about three months.

If you develop a painless sore (called a chancre) at the site of contact, a provider can sometimes test the sore directly, which may yield results sooner than a blood draw. But many people never notice the sore, especially if it’s internal.

HIV: 2 to 6 Weeks for Blood Tests

HIV testing timelines vary significantly depending on the type of test. The most sensitive option is a nucleic acid test (NAT), which looks for the virus itself in your blood. According to the CDC, a NAT can usually detect HIV 10 to 33 days after exposure.

The next best option is a lab-based antigen/antibody test drawn from a vein. This detects both a protein the virus produces and the antibodies your body makes in response. It typically works 18 to 45 days after exposure. At two weeks it catches most infections, and by six weeks it catches almost all.

Rapid tests and oral swab tests are less sensitive early on. An oral cheek swab catches most HIV infections at about one month, but full confidence requires waiting three months. If you’ve had a high-risk exposure and need answers fast, a lab-based blood test will give you reliable results much sooner than an at-home or oral rapid test.

Herpes: 1 to 4 Months

Herpes (HSV) testing is tricky because the standard screen is a blood test that detects antibodies, and those antibodies develop slowly. If you’ve never had herpes before, it takes a median of about 19 days for antibodies to become detectable, but the range is wide: anywhere from 7 to over 100 days. People who already carry HSV-1 (oral herpes) and then contract HSV-2 (genital herpes) tend to test positive faster, with a median of just 8 days.

As a general rule, a blood test at one month catches most herpes infections, but waiting four months catches nearly all of them. If you have active sores or blisters, a provider can swab the lesion directly and get a result without relying on antibodies. That swab test works best when the sore is fresh and hasn’t started healing.

Trichomoniasis: 1 Week to 1 Month

Trichomoniasis, a parasitic infection, is usually detected through a vaginal swab. Testing at one week catches most infections, and by one month the test picks up nearly all cases. This is one of the faster STIs to detect, though it’s also one of the most commonly missed because routine STI panels don’t always include it. If you’re concerned about trich specifically, ask for it by name.

Hepatitis B and C: 3 Weeks to 6 Months

Both hepatitis B and hepatitis C are detected through blood tests that look for antibodies or viral markers. Hepatitis B generally becomes detectable between 3 and 6 weeks after exposure. Hepatitis C has a longer window: blood tests catch most infections at about 2 months, but it can take up to 6 months to rule it out completely.

What a Negative Result Actually Means

A negative test only tells you that the infection wasn’t detectable at the time your sample was collected. If you test within the window period, a negative result doesn’t guarantee you’re in the clear. For the most reliable answer, you need to test again once the full window period has passed.

Here’s a practical approach: if you’re worried about a specific recent exposure, get an initial screening at 2 weeks (which will catch chlamydia, gonorrhea, and potentially early HIV). Then follow up at 6 weeks for a more confident HIV result and an initial syphilis screen. If herpes or hepatitis C is a concern, a final round at 3 to 4 months gives you the most complete picture.

Quick Reference: Window Periods by STI

  • Chlamydia: 1 week (most), 2 weeks (nearly all)
  • Gonorrhea: 1 week (most), 2 weeks (nearly all)
  • Syphilis: 1 month (most), 3 months (nearly all)
  • HIV (lab blood test): 2 weeks (most), 6 weeks (nearly all)
  • HIV (oral rapid test): 1 month (most), 3 months (nearly all)
  • Herpes (blood test): 1 month (most), 4 months (nearly all)
  • Trichomoniasis: 1 week (most), 1 month (nearly all)
  • Hepatitis B: 3 to 6 weeks
  • Hepatitis C: 2 months (most), 6 months (nearly all)