How Long After Sex Should You Wait to Get Tested for STDs?

How long you should wait depends on which infection you’re testing for, because each one has a different “window period,” the gap between exposure and when a test can reliably detect it. Testing too early produces false negatives, which means you could have an infection and get a clean result. For most common STIs, waiting at least two weeks gives you a reasonable starting point, but some infections need longer.

Why Timing Matters

After exposure, your body needs time to either build detectable antibodies or allow the bacteria or virus to multiply enough for a test to pick it up. If you test during this window period, the infection is essentially invisible to the lab. A negative result during this time doesn’t mean you’re in the clear. It means the test couldn’t see anything yet.

The window period varies by infection and by the type of test used. A test that looks for the pathogen’s genetic material (its DNA or RNA) can detect an infection earlier than a test that waits for your immune system to respond with antibodies. Here’s what that looks like for each major STI.

Chlamydia and Gonorrhea: 2 Weeks

These two bacterial infections are the most commonly tested STIs, and they share a similar timeline. Modern tests look for the genetic material of the bacteria directly, which means they can catch an infection relatively early. Waiting about two weeks after exposure gives these tests strong accuracy. Some clinics will test as early as one week for patients with symptoms, but two weeks is the standard recommendation for screening without symptoms.

Both infections frequently produce no symptoms at all, especially in women. That’s why the wait time matters so much. You can’t rely on feeling fine as a signal that you’re negative.

HIV: 10 Days to 3 Months

HIV testing has the widest range of window periods because several different test types exist, each with different sensitivity.

  • Nucleic acid test (NAT): Detects the virus itself in your blood. Window period is 10 to 33 days after exposure. This is the earliest possible detection method but is not used for routine screening due to cost.
  • Lab-based antigen/antibody test (blood draw from a vein): Detects both a protein on the virus’s surface and your antibodies. Window period is 18 to 45 days.
  • Rapid antigen/antibody test (finger stick): Same concept but less sensitive. Window period is 18 to 90 days.
  • Antibody-only tests (including most home tests): Only detect your immune response. Window period is 23 to 90 days.

If you’re using a rapid test or a home test kit, a negative result at three weeks doesn’t rule out HIV. You’d need to retest at the 90-day mark for a definitive answer with those test types. A lab-based antigen/antibody test drawn from a vein is considered conclusive at 45 days.

If You Think the Risk Was High

Post-exposure prophylaxis (PEP) is a course of medication that can prevent HIV infection, but it must be started within 72 hours of exposure. If it’s been less than three days since a high-risk encounter (such as unprotected sex with a partner whose status you don’t know), contact a healthcare provider or emergency room immediately. PEP is a 28-day course of antiretroviral medication and is most effective the sooner it’s started.

Syphilis: 1 to 3 Months

Syphilis has a longer window period than most people expect. Standard blood tests look for antibodies your body produces in response to the infection, and those antibodies can take up to two weeks to appear after the initial sore develops. Since the first sore itself may not appear for three to four weeks after exposure (and can be painless or hidden), the practical testing window stretches further.

Testing at one month catches most infections. Testing again at three months catches almost all of them. If you had a specific exposure you’re concerned about, a single test at four weeks is a reasonable starting point, with a follow-up at 12 weeks for full confidence.

Herpes (HSV): 2 Weeks to 3 Months

Herpes testing is more complicated than other STIs. If you have an active sore or blister, a provider can swab it directly and get results quickly, regardless of how recently you were exposed. That’s the most reliable method.

Without visible sores, the only option is a blood test that looks for antibodies. Early antibodies can appear within 3 to 4 days of a primary infection, but the more reliable type of antibody (IgG) doesn’t show up for at least two weeks and can take up to 12 weeks to reach detectable levels. A blood test taken in the first few weeks after exposure will often come back negative even if you’re infected.

For a blood test without symptoms, waiting at least 12 weeks gives the most accurate result. It’s worth noting that routine herpes screening is not standard practice at most clinics. Many providers only test when symptoms are present, because the blood tests have a meaningful rate of false positives.

Trichomoniasis: About 2 Weeks

Trichomoniasis is caused by a parasite rather than a bacterium or virus. Symptoms, when they occur, typically develop within 5 to 28 days of exposure. Testing with a nucleic acid test is most reliable about two weeks after exposure, giving the parasite enough time to establish a detectable infection.

Hepatitis B and C: 3 to 6 Weeks

Hepatitis B surface antigen can be detected in blood as early as three to four weeks after exposure. Hepatitis C antibody tests typically need at least four to six weeks, though some guidelines recommend retesting at three months for full confidence. Nucleic acid testing for hepatitis C can detect the virus earlier, sometimes within two to three weeks.

What a Practical Testing Schedule Looks Like

If you had a single concerning exposure and want to be thorough, a two-visit approach covers your bases well. The first visit at two to three weeks can screen for chlamydia, gonorrhea, and early HIV (with a lab-based test). The second visit at three months provides definitive results for HIV (especially if using a rapid or home test), syphilis, herpes (if relevant), and hepatitis.

If you’re getting tested as part of routine screening with a new partner rather than after a specific high-risk event, testing at the three-week mark for bacterial infections and at six weeks for a lab-based HIV test covers the most ground in a single visit. Keep in mind that many STIs can be present without any symptoms. Feeling healthy between the exposure and the test doesn’t change the recommended timeline.

If you receive a negative result but tested on the early end of a window period, a follow-up test at the outer edge of that window gives you the most reliable answer. One early negative is reassuring. Two properly timed negatives is definitive.