Reviewed & updated August 23, 2026

How Soon After Sex Can You Test for STDs?

Quick answer

Every STD has a window period before tests turn positive: chlamydia and gonorrhea detect at 1–2 weeks, syphilis at 3–6 weeks, HIV at 2–6 weeks (RNA testing from ~10 days), hepatitis B at 3–6 weeks, trichomoniasis at 1–5 weeks, herpes antibodies best at 12–16 weeks. Testing too early risks false reassurance — follow the chart below for each exposure date.

The window period chart

InfectionEarliest detectionReliable byTest type
Chlamydia~5–7 days2 weeksUrine/swab NAAT
Gonorrhea~5–7 days2 weeksUrine/swab NAAT
HIV (RNA)10–15 days3 weeksBlood RNA
HIV (4th-gen Ag/Ab)18–20 days45 days (most)Blood combo
Syphilis~3 weeks6 weeks (up to 90 days worst case)Blood RPR/FTA
Hepatitis B~3 weeks6 weeksBlood HBsAg
Trichomoniasis~1 week5 weeksNAAT
Herpes (IgG)~3 weeks partial12–16 weeksType-specific blood
HPVNo male test; cervical screening intervals onlyPap/HPV co-test

The two-step testing strategy

Smart post-exposure testing happens in waves:

  1. Baseline visit now: catches infections you already had, starts HIV RNA if within the early window, documents status.
  2. Follow-up at 2 weeks: definitive chlamydia/gonorrhea results.
  3. Follow-up at 4–6 weeks: definitive HIV 4th-gen, syphilis, hepatitis.
  4. If herpes matters to your situation: HSV IgG at 12–16 weeks.

The false-reassurance trap: a negative test on day 3 after exposure says nothing about that night's germs — they haven't replicated enough to register yet. Don't let an early negative cancel the follow-up plan.

Special timing situations

Related reading: when symptoms appear, how long results take.

Frequently asked questions

How soon after sex can I test for chlamydia?
NAAT detects most cases within a week, with reliability solidifying around the two-week mark. Early negatives deserve a repeat.
How soon can HIV be detected?
RNA tests catch infection roughly 10–15 days post-exposure; standard 4th-generation lab tests are most reliable by about 45 days.
Can I test for all STDs right away?
You can draw blood immediately, but several pathogens need weeks before registering. The chart above sets realistic expectations per infection.
I tested negative at 5 days — am I clear?
Not yet proven either way. That result can't see recent acquisitions; complete the recommended follow-up schedule before declaring victory.

Sources & further reading