Free · No account · Nothing saved

When should I get tested?

Most STD tests can't detect an infection the day after sex. Enter the date of a possible exposure and the infections you're worried about, and this calculator shows the earliest date each test works and when to retest, based on CDC and WHO timing.

Written by STD Clear Editorial Team · Published November 27, 2026 · Medically reviewed by Richard Dentico, MD on November 27, 2026

2. Infections you're worried about

Runs only in your browser. Nothing you enter is saved or sent anywhere, and you don't need an account.

Pick a date and at least one infection to see your dates.

How it works

Each STD test looks for something the body or the infection makes: the bacteria's genetic material (NAAT urine tests for chlamydia, gonorrhea, trichomoniasis and Mycoplasma genitalium), the virus itself (HIV RNA), or the antigens and antibodies the immune system produces (HIV, syphilis, hepatitis and herpes blood tests). Each takes time to reach a level a lab can detect.

  1. You enter a date and pick infections. The math runs on your device. Nothing is sent.
  2. We add each infection's timing to your date. The earliest useful test is when a test can start to pick up infection. The retest date is when a negative result is generally reliable.
  3. Each result shows its source. Rows marked CDC window use a timeframe CDC publishes. Rows marked No official window are infections where CDC and WHO don't publish one; we say what the source does say and use a cautious estimate.

If you're past the earliest date but before the retest date, testing now is still worth it: a positive result is real and can be treated. Just plan to test again.

All testing windows

STD testing windows by infection, with sources
InfectionTestEarliest testReliable fromBasis
ChlamydiaNAATUrine7 days2 weeksEstimate (no official window)
GonorrheaNAATUrine7 days2 weeksEstimate (no official window)
TrichomoniasisNAATUrine7 days4 weeksEstimate (no official window)
Mycoplasma genitaliumNAATUrine2 weeks4 weeksEstimate (no official window)
HIV (RNA early detection)NAT (RNA)Blood10 days33 daysCDC
HIV 1 & 2 (4th generation)Antigen/antibodyBlood18 days45 daysCDC
SyphilisRPR with reflexBlood3 weeks90 daysEstimate (no official window)
Hepatitis BSurface antigenBlood2 weeks12 weeksCDC
Hepatitis ATotal antibodyBlood15 days50 daysCDC
Hepatitis CAntibody with reflexBlood8 weeks11 weeksCDC
Herpes 1 & 2Type-specific IgGBlood4 weeks12 weeksCDC

Ready to test? Find the right panel, compare the Core, Essential and Complete panels, or order single tests.

Questions

How soon after exposure can I get tested for STDs?

It depends on the infection. CDC says a 4th-generation HIV lab test can usually detect HIV 18–45 days after exposure, and an HIV RNA test 10–33 days after. Hepatitis C antibodies usually take 8–11 weeks. Chlamydia and gonorrhea have no official window; most people test from about 1–2 weeks after sex and retest if that first test was early.

What is a window period?

The window period is the time between an exposure and the point when a test can reliably detect an infection. A negative result inside the window may be a false negative, because the body or the test hasn't caught up yet. That's why this calculator gives both an earliest date and a retest date.

If I test early and the result is negative, am I in the clear?

Not yet. A negative result before the reliable date is not final. Plan to test again on the retest date shown for each infection. CDC says that for HIV, a negative after the window period, with no new exposure in between, means you do not have HIV.

What if I had a possible HIV exposure in the last 72 hours?

Don't wait for a test. CDC says PEP (post-exposure prophylaxis) must be started within 72 hours of a possible exposure. Go to an emergency department, urgent care or a sexual health clinic now and ask about PEP.

Should I wait to test if I have symptoms?

No. If you have symptoms such as discharge, burning, sores, a rash or pelvic or testicular pain, get tested or examined now. Window periods are about ruling out infection when you feel fine.

When should I retest after treatment?

CDC recommends retesting about 3 months after treatment for chlamydia, gonorrhea and (for women) trichomoniasis, because reinfection is common. This is a check for a new infection, not a test of whether treatment worked.

Does this calculator save or share my information?

No. It runs entirely in your browser. The date and infections you choose are never stored, never put in the page address and never sent to STD Clear or anyone else. You don't need an account.

Where do these dates come from?

From CDC pages (STI Treatment Guidelines, HIV testing, hepatitis clinical pages and the Pink Book) and WHO fact sheets, linked under each result and in the sources below. Where CDC and WHO publish no testing window, the result says so and shows our cautious estimate instead.

Sources

  1. CDC: About Chlamydia
  2. CDC: Chlamydial Infections, STI Treatment Guidelines
  3. WHO: Chlamydia fact sheet
  4. CDC: About Gonorrhea
  5. CDC: Gonococcal Infections Among Adolescents and Adults
  6. WHO: Gonorrhoea fact sheet
  7. CDC: About Trichomoniasis
  8. CDC: Trichomoniasis, STI Treatment Guidelines
  9. CDC: About Mycoplasma genitalium
  10. CDC: Mycoplasma genitalium, STI Treatment Guidelines
  11. CDC: Getting Tested for HIV
  12. CDC: Preventing HIV with PEP
  13. CDC: About Syphilis
  14. CDC: Syphilis, STI Treatment Guidelines
  15. CDC: Hepatitis B Basics
  16. CDC: Pink Book: Hepatitis B
  17. CDC: Hepatitis A Basics
  18. CDC: Clinical Overview of Hepatitis A
  19. CDC: Hepatitis C Basics
  20. CDC: Clinical Testing and Diagnosis for Hepatitis C
  21. CDC: About Genital Herpes
  22. CDC: Genital Herpes, STI Treatment Guidelines
  23. CDC: Getting Tested for STIs

Know your dates? Get tested today.

Order now and get tested today. Panels from $119, lab fees included. Most results in 1–2 days.