How Soon After Sex Can You Test for STDs? Window Periods
You can test for chlamydia and gonorrhea about 1 to 2 weeks after sex, and HIV with a lab antigen/antibody test 18 to 45 days after. Syphilis, herpes and hepatitis take longer, up to about 3 months. If you have symptoms, test now. If you think you were exposed to HIV in the last 72 hours, get PEP first.
Written by STD Clear Editorial Team · Published November 27, 2026 · Based on CDC guidance. General education, not personal medical advice.

How soon after sex can you test for STDs?
It depends on the infection. Chlamydia, gonorrhea and trichomoniasis can usually be detected 1 to 2 weeks after sex. HIV shows up on a lab antigen/antibody test 18 to 45 days after exposure, according to the CDC. Syphilis, herpes and hepatitis can take 1 to 3 months to show up reliably.
So the honest answer to "how soon" is "how soon for which infection." A test the day after sex can't tell you anything about that encounter, because no infection is detectable yet. A test at 2 weeks gives a solid answer for the fastest infections. A test at 3 months closes the window for almost all of them.
What is an STD window period?
The window period is the time between when you're exposed and when a test can reliably detect the infection. Test inside it, and you can get a negative result even though you're infected.
Why the delay? Tests look for different things. Urine tests for bacterial STDs look for the organism's genetic material, which takes days to multiply to a detectable level. Many blood tests look for antibodies, which your immune system takes weeks to make. HIV RNA tests look for the virus itself, which is why they work sooner than antibody tests.
One more thing the window period isn't: it isn't the incubation period, the time until symptoms appear. Many STDs never cause symptoms at all, which is exactly why timing your test matters.
The Complete Panel covers 12 tests for $249. Results in 1–2 days.
What are the window periods for each STD?
These are typical ranges for the lab tests we use. Earliest means some infections can show up by then. Reliable means a negative is generally trustworthy after that point. Individual timing varies, and the CDC figures for HIV and hepatitis C are noted.
- Want exact dates? Enter the day of your exposure in our testing-window tool and it works out when to test for each infection.
| Infection | Test | Sample | Earliest it may show up | Negative is reliable by |
|---|---|---|---|---|
| Chlamydia | NAAT | Urine | 7 days | 2 weeks |
| Gonorrhea | NAAT | Urine | 7 days | 2 weeks |
| Trichomoniasis | NAAT | Urine | 7 days | 4 weeks |
| Mycoplasma genitalium | NAAT | Urine | 2 weeks | 4 weeks |
| HIV (RNA early detection) | Nucleic acid (RNA) | Blood | 10 days | 33 days (CDC: 10–33 days) |
| HIV 1 & 2 (4th generation) | Antigen/antibody | Blood | 18 days | 45 days (CDC: 18–45 days) |
| Syphilis | RPR with reflex | Blood | 3 weeks | About 3 months |
| Hepatitis A | Total antibody | Blood | 2 weeks | 7 weeks |
| Hepatitis B | Surface antigen | Blood | 2 weeks | 12 weeks |
| Hepatitis C | Antibody with RNA reflex | Blood | 8 weeks | 11 weeks (CDC: 8–11 weeks) |
| Herpes 1 & 2 | Type-specific IgG | Blood | 4 weeks | 12 weeks |
How long after exposure should you test for chlamydia and gonorrhea?
Test about 2 weeks after exposure for a reliable result. Both can sometimes be found as early as a week, but a negative at 7 days is less certain than one at 14.
Both are tested from one urine sample with a nucleic acid amplification test (NAAT), the most accurate type. If you've had oral or anal sex, though, urine only checks the genital site. The CDC's chlamydia guidance says rectal and throat infections are diagnosed by testing the site of exposure, which means a swab. More in can you get an STD from oral sex.
If you're treated, the CDC recommends retesting about 3 months later, and advises against retesting with a NAAT sooner than 4 weeks after treatment. Symptoms to watch for are in chlamydia symptoms and gonorrhea symptoms.
How long after exposure should you test for HIV?
With a lab antigen/antibody test, test 18 to 45 days after exposure. With an RNA test, 10 to 33 days. With a rapid or home antibody test, the CDC's window is 23 to 90 days. Those are the CDC's figures, and they're why the type of HIV test matters as much as the date.
- If a test after a possible exposure is negative, the CDC says to test again after the window period for that test type.
- If the exposure was in the last 72 hours, don't wait to test. Go to an ER, urgent care or your provider and ask for PEP. The CDC says it must start within 72 hours, and it's taken daily for 28 days. See our HIV page.
- Early symptoms, when they happen, can feel like the flu. They're covered in early HIV symptoms.
| HIV test | Window per CDC | Where you'd get it |
|---|---|---|
| Nucleic acid test (RNA) | 10 to 33 days | Lab blood draw; our HIV RNA add-on |
| Lab antigen/antibody | 18 to 45 days | Lab blood draw; included in every STD Clear panel |
| Rapid antigen/antibody (finger prick) | 18 to 90 days | Clinics, testing events |
| Antibody test (most rapid and self-tests) | 23 to 90 days | Home self-tests, some clinics |
How long after exposure should you test for syphilis, herpes and hepatitis?
These take longer because the tests look for antibodies. Plan on testing at about 6 weeks, and again at about 3 months if the first test is negative.
- Syphilis: the RPR blood test can turn positive about 3 weeks after exposure, but it can still be negative early in an infection. The CDC treats recent partners of someone with early syphilis presumptively, even with a negative test, for exactly this reason. A negative at about 3 months is reliable. See syphilis symptoms and stages.
- Herpes: antibodies develop during the first weeks after infection, and the CDC's herpes guidance says false negatives are more common early, so it recommends repeat testing 12 weeks after a suspected exposure. If you have a sore now, the CDC says a swab of the sore tested by NAAT is the most sensitive test. See first herpes outbreak symptoms.
- Hepatitis C: the CDC says antibodies usually take 8 to 11 weeks to become detectable, while viral RNA is detectable 1 to 2 weeks after exposure. After a known exposure, a clinician may order an RNA test directly.
- Hepatitis B: CDC says the surface antigen can show up as early as 1–2 weeks and as late as 11–12 weeks after exposure, so a negative is most reliable from about 12 weeks.
When should you test after a specific encounter?
If you had one particular encounter you're thinking about, like a condom break or a new partner, this plan covers every infection without guesswork:
- Within 72 hours: if HIV exposure is possible, for example a condom broke or you were sexually assaulted, ask about PEP right away. A test this soon can't show an infection from that encounter.
- At 2 weeks: test for chlamydia, gonorrhea and trichomoniasis. These results are reliable now.
- At 4 to 6 weeks: test for HIV with a lab antigen/antibody test, plus syphilis. Add HIV RNA early detection if you want an earlier HIV answer.
- At about 3 months: a final panel to confirm HIV, syphilis, herpes and hepatitis are negative.
- Anytime: if symptoms show up, test and get seen right away.
Is it worth testing early and then retesting?
Yes, often. Testing at 2 weeks gets you reliable chlamydia and gonorrhea results, and those are the most common bacterial STDs. Catching them early means treating them early, since both are curable. See is chlamydia curable.
The catch is knowing what an early negative does and doesn't cover. A clear result at 2 weeks is good news for chlamydia and gonorrhea. It isn't the final word on HIV, syphilis, herpes or hepatitis. That's why a retest at about 3 months is part of the plan, not an extra. Using condoms or holding off on sex with new partners until then protects them too.
What if you have symptoms or a partner tested positive?
Then don't wait out a window period. Get tested and talk to a clinician now. Window periods are for people without symptoms deciding when to screen.
Symptoms like burning when you pee, unusual discharge, sores, a rash, or pelvic or testicular pain deserve attention today. Some of these aren't STDs at all, which is why testing beats guessing. See is it an STD, a UTI or a yeast infection.
If a partner tells you they tested positive for chlamydia or gonorrhea, the FDA, citing CDC guidance, notes that exposed people should be treated with antibiotics regardless of their own test result. A clinician can treat you now and test you at the same time. Severe pelvic pain, fever, or pregnancy are reasons to be seen in person.
How do you time your test with STD Clear?
Use the testing-window tool to pick your date, then order online. A licensed physician reviews your order, and you visit a nearby lab, often the same day, for a urine sample and a quick blood draw. It takes about 5 to 10 minutes, and most results arrive in your private account in 1 to 3 business days.
At about 2 weeks, the Core Panel ($119) covers chlamydia, gonorrhea, HIV and syphilis. If you're testing before the 18 to 45 day HIV window has closed, add HIV RNA early detection for $119. At about 3 months, the Essential Panel ($149) adds herpes 1 and 2 and hepatitis A, B and C, and the Complete Panel ($249) adds trichomoniasis and Mycoplasma genitalium.
Our tests use urine and blood only, with no throat or rectal swabs. If oral or anal sex is the exposure you're worried about, a clinic can test those sites. Order the Core Panel, or read how long STD test results take.
The short version
- Every infection has its own window period, the gap between exposure and when a test can find it. There's no single date for every STD.
- Chlamydia and gonorrhea show up first, usually by 2 weeks. HIV takes 18 to 45 days on a lab test, or 10 to 33 days with an RNA test, per the CDC.
- Syphilis, herpes and hepatitis C are the slow ones. A negative is most reliable about 3 months after exposure.
- Symptoms change the rules. If you have them, or a partner tested positive, get tested and seen now instead of waiting.
- A smart plan for a specific encounter is two tests: one at about 2 weeks, and one at about 3 months to close every window.
Related tests
Frequently asked questions
Can you test for STDs the day after sex?
You can, but it won't tell you anything about that encounter, because no STD is detectable that fast. It only shows infections you already had. Test at 2 weeks for chlamydia and gonorrhea.
How long does it take for chlamydia to show up on a test?
Chlamydia can show up about 7 days after exposure, and a negative is reliable at about 2 weeks.
Is 2 weeks too early for an STD test?
No, 2 weeks is a good time for chlamydia, gonorrhea and trichomoniasis. It's too early for a final HIV, syphilis, herpes or hepatitis result, so plan a retest.
Is a 4-week HIV test conclusive?
Not always. A lab antigen/antibody test may detect HIV by then, but the CDC's window runs to 45 days. Retest after 45 days if the first is negative.
How long after exposure should I test for herpes?
The CDC suggests a repeat blood test 12 weeks after a suspected exposure, because antibody tests can miss early infections. If you have a sore, a swab of it is more useful.
Should I wait to test if I have symptoms?
No. Symptoms mean test and see a clinician now. Window periods are for deciding when to screen without symptoms.
What is the longest STD window period?
On a standard panel, herpes, syphilis and hepatitis C take the longest, about 3 months for a reliable negative.
Do I need to retest after a negative STD test?
Retest if you tested inside any infection's window period, or if you've had a new exposure since. Otherwise, keep to regular screening, at least yearly if you have new or multiple partners.
Sources
This article is for general education and isn't a substitute for medical advice. If you have symptoms or a possible HIV exposure in the last 72 hours, seek care right away.


