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

The short answer: it depends on which infection you’re testing for, but most common STIs can be detected within 1 to 4 weeks after exposure. Testing too early can produce a false negative, meaning the infection is present but hasn’t reached detectable levels yet. This gap between exposure and reliable detection is called the window period, and it’s different for every STI.

Why Timing Matters for Accurate Results

After exposure to an STI, the bacteria or virus needs time to multiply in your body before a test can pick it up. Some tests look for the organism itself in a urine sample or swab, while others look for antibodies your immune system produces in response. Antibody-based tests generally take longer to become reliable because your body needs time to mount that immune response.

If you test during the window period, you can get a negative result even though you’re infected. That’s why knowing the right timeline for each STI matters more than rushing to get tested the morning after.

Chlamydia and Gonorrhea: 1 to 2 Weeks

These two bacterial infections have the shortest window periods. A urine test or swab can detect chlamydia or gonorrhea as early as 1 week after exposure in most cases. Waiting 2 weeks catches nearly all infections. If you’re concerned about a specific encounter, testing at the 2-week mark gives you the most reliable result.

Both infections are often completely silent. Most people with chlamydia and many with gonorrhea never develop noticeable symptoms, which is why testing based on timing rather than symptoms is so important.

Syphilis: 2 to 4 Weeks

Syphilis is detected through blood tests that look for antibodies. These antibodies can take up to 2 weeks to develop after the initial infection, but some people take longer. Testing at 4 weeks gives a more complete picture. If your first test is negative but your risk was high, a follow-up test at 3 months provides additional certainty.

Syphilis sometimes produces a painless sore (called a chancre) at the site of contact within 3 weeks of exposure. If you notice an unusual sore, that’s reason to get tested right away regardless of timing, since a provider can sometimes diagnose it on sight or through a direct sample.

HIV: 2 to 12 Weeks, Depending on the Test

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

  • Nucleic acid tests (NAT) look for the virus itself in your blood and can detect HIV as early as 10 to 33 days after exposure. These are the most sensitive early tests but are typically used only in high-risk situations.
  • Lab-based antigen/antibody tests using blood drawn from a vein can detect HIV 18 to 45 days after exposure.
  • Rapid antigen/antibody tests done with a finger stick can detect HIV 18 to 90 days after exposure.
  • Antibody-only tests, including most home tests, can detect HIV 23 to 90 days after exposure.

For the most commonly available tests, the CDC’s window period extends to 90 days. That means a negative result at 3 months after your last possible exposure is considered conclusive for most people. Testing earlier, around the 4-week mark, is still worthwhile because many infections will show up by then, but a negative result that early may need confirmation with a follow-up test at 3 months.

PEP: A Time-Sensitive Option

If you believe you were exposed to HIV, post-exposure prophylaxis (PEP) is a 28-day course of medication that can prevent infection. PEP must be started within 72 hours of exposure, and the sooner you begin, the better. Every hour counts. If this applies to you, go to an emergency room or urgent care clinic immediately rather than waiting to test.

Herpes: At Least 2 Weeks for Blood Tests

Herpes blood tests look for IgG antibodies, which don’t reliably appear until at least 2 weeks after infection. Many providers recommend waiting 4 to 6 weeks for more accurate results, and some antibodies can take up to 12 weeks to fully develop.

If you have active sores or blisters, a provider can swab the lesion directly. This type of test doesn’t depend on antibody development, so it works as soon as symptoms appear. For people without visible symptoms, blood testing at the 4-to-6-week mark is the standard approach.

Hepatitis C: 8 to 12 Weeks

Antibodies to hepatitis C typically become detectable around 50 to 60 days after infection, though the range spans from 20 to 150 days. After 12 weeks, more than 90% of infected people will test positive on an antibody test. If hepatitis C is a concern, testing at the 3-month mark gives the most reliable result.

A Practical Testing Timeline

If you want to cover the most common STIs efficiently, here’s a reasonable approach based on window periods:

  • 2 weeks after exposure: Test for chlamydia and gonorrhea. This timing catches nearly all infections for both.
  • 4 to 6 weeks after exposure: Add syphilis, HIV (lab-based antigen/antibody test), and herpes if needed.
  • 3 months after exposure: Follow up with HIV and hepatitis C testing for conclusive results. This is also the right time for a second syphilis test if your earlier result was negative but your risk level was significant.

You don’t necessarily need to visit a clinic three separate times. Many people choose to do a comprehensive panel at the 4-to-6-week mark and then a follow-up for HIV and hepatitis C at 3 months. Your timeline depends on which infections you’re most concerned about and what type of exposure occurred.

Why Retesting at 3 Months Matters

The 3-month mark isn’t just about catching infections with long window periods. The CDC recommends retesting at 3 months after a positive chlamydia, gonorrhea, or trichomoniasis diagnosis to check for repeat infection. Reinfection is common, especially if a partner wasn’t treated at the same time. This retesting guideline applies after treatment, not just after initial exposure.

For people who test negative across the board at 3 months, that result is generally considered definitive for all major STIs. If you had a specific high-risk exposure and want full peace of mind, the 3-month comprehensive panel is the gold standard.