How Soon After Sex Can You Test for STDs?

How Soon After Sex Can You Test for STDs?

Published: June 2025 | Last updated: May 2026

Quick Answer

How soon after sex can you test for STDs?

Chlamydia and gonorrhea are detectable from about 7 days and conclusive by 14; trichomoniasis from 5 to 7 days but conclusive by 28. HIV shows on a fourth-generation test from 18 to 45 days, antibody-only by 90. Syphilis runs 3 to 6 weeks, herpes antibodies 12 to 16 weeks. Retest a negative taken inside any window.

About this article

This article is published by stdrapidtestkits.com, which sells the at-home STI rapid tests referenced throughout. We recommend products based on fit-for-purpose for the reader's concern, not commercial benefit.

You had sex. Now you are wondering when, exactly, you can test for an STD and trust the result. There is no single answer. Each infection has its own window period, the time your body needs after exposure before a test can reliably detect either the pathogen or your immune response to it. Test before that window closes and a negative result might mean you are uninfected, or it might mean the test simply could not see the infection yet.

This guide breaks down the window period for each common STD, what to do during the wait, when to retest, how oral and anal exposures change the plan, and how at-home rapid tests compare with lab-based NAATs. The numbers follow current U.S. CDC testing guidance, with notes where WHO and NHS ranges differ. The goal is to leave you with a clear test calendar.

What "window period" means, and why it matters

The window period is the gap between exposure and the first day a test can reliably detect either the pathogen or your immune response to it. It is not the same as the incubation period, which is the time before symptoms appear, if they appear at all. The two ranges often overlap, but they answer different questions. You can be infected and contagious before any symptom shows up, and you can have symptoms before some antibody-based tests turn positive.

Every STI test looks for one of three things: the pathogen's genetic material, one of its proteins, or the antibodies your immune system builds against it. Genetic material shows up first. Tests that amplify bacterial or viral DNA or RNA, known as NAATs (nucleic acid amplification tests), can pick up an infection within days to a couple of weeks. Antigen tests look for a specific protein the pathogen carries. Antibody tests are slowest, because the body needs weeks to make enough antibodies for a blood test to register a positive. The UK's NHS notes that some STIs can take up to 7 weeks after exposure before they show up on a test (NHS: STIs).

This is why testing inside the window is the single most common cause of a false-negative result. The infection is real, but the marker the test looks for has not yet crossed the detection threshold. The scale of missed infection is large: the World Health Organization estimates that more than one million curable STIs are acquired every day worldwide, most of them with no symptoms (WHO STI fact sheet). The figures throughout this guide reflect current CDC testing recommendations, with each infection's source linked in its section.

InfectionTest typeSampleEarliest detectionConclusive by
ChlamydiaNAATUrine or swab7 days14 days
GonorrheaNAATUrine or swab7 days14 days
TrichomoniasisNAAT or rapid antigenVaginal swab5 to 7 days28 days
HIVNAT (RNA)Blood10 days33 days
HIVAntigen/antibody (4th gen)Blood18 days45 days
HIVAntibody-only rapidBlood or oral fluid23 days90 days
SyphilisTreponemal antibodyBlood3 weeks6 weeks
Herpes (HSV-2)Type-specific antibodyBlood4 weeks12 to 16 weeks
Hepatitis BHBsAgBlood3 weeks6 weeks
Hepatitis CAntibody (anti-HCV)Blood8 weeks11 weeks
HPV (women)HPV DNA, cervical screeningVaginal swabNot exposure-basedPer screening schedule

Chlamydia and gonorrhea: the shortest window

These two bacterial infections are the easiest to catch early, and chlamydia is the most frequently reported bacterial STI in the United States. NAATs amplify bacterial genetic material and become reliable about 7 days after exposure, with a conclusive result by 14 days. CDC's chlamydia and gonorrhea pages describe the urine and swab samples these tests use (CDC: about chlamydia; CDC: about gonorrhea). At-home swab kits use the same self-collected sample type a lab NAAT uses, though the home kit runs lateral-flow chemistry rather than amplification. If you want a fast read after a single exposure, you can screen with an at-home STI test kit and confirm anything reactive with a clinic NAAT.

Symptoms, when they appear, usually arrive in the first one to two weeks: burning when you urinate, unusual discharge, pelvic pain in women, testicular pain in men. But more than half of chlamydia infections and a large share of gonorrhea infections cause no symptoms at all, which is why timing the test correctly matters more than waiting to feel something.

One detail people often miss: gonorrhea can settle in the throat after oral sex and in the rectum after receptive anal sex. A genital test alone will not catch a throat or rectal infection. If your exposure included oral or anal sex, ask a clinic for site-specific swabs.

If you test at day 7 to 10, get a negative, and had a clear exposure, retest at day 14, especially if symptoms developed in the meantime. Symptoms that fade on their own are not the same as an infection clearing. Untreated chlamydia or gonorrhea can climb the reproductive tract in women and cause pelvic inflammatory disease, which can damage fertility.

Oral or anal exposure? Ask a clinic for site-specific swabs

Our at-home rapid kits cover genital sample types only. Pharyngeal and rectal screening requires a clinic swab of each site. If your exposure included oral or anal sex, a genital-only test will miss any throat or rectal infection even when it returns negative.

2-in-1 Chlamydia & Gonorrhea Rapid Test Kit

Chlamydia and gonorrhea: the earliest-window combo

2-in-1 Chlamydia & Gonorrhea Rapid Test Kit

$118.00

Self-collected swab kit covering the two infections with the shortest window. Reliable from about 7 days after exposure and conclusive by 14 days. A solid early-window pick after a single exposure when you want a fast, private read and plan to follow up with a broader panel later. Genital sample only; ask a clinic for throat or rectal swabs if oral or anal exposure is the concern.

Shop the chlamydia and gonorrhea kit

HIV: three test types, three different windows

HIV is where the window depends most on which test you use. The CDC publishes a separate range for each (CDC: HIV testing):

  • NAT (nucleic acid test): detects HIV RNA and is reliable from about 10 to 33 days after exposure. It is the earliest-detecting option, but it is expensive and usually ordered only after a known high-risk exposure or to sort out an ambiguous antibody result.
  • Antigen/antibody (fourth-generation) test: detects both the p24 antigen, an HIV protein that appears in blood before antibodies do, and HIV-1/2 antibodies. This is the standard initial lab test, reliable from 18 to 45 days.
  • Antibody-only rapid tests: the type used in home rapid kits and many clinic finger-prick tests. Reliable from 23 to 90 days, with 90 days as the conclusive endpoint.

In practice, a negative result at four weeks on a fourth-generation lab assay is very reassuring, but not yet final. CDC's guidance is to confirm at 45 days for fourth-generation testing, or at 90 days if your first test was an antibody-only rapid kit. Once you are past the window, an at-home HIV test is a private way to screen, with any reactive result confirmed at a clinic.

If exposure was less than 72 hours ago: skip the test, ask about PEP

Post-exposure prophylaxis (PEP) is a 28-day course of HIV medication that, started within 72 hours of a high-risk exposure, is highly effective at preventing infection. The sooner you start, the better it works (<a href="https://www.cdc.gov/hiv/prevention/pep.html" target="_blank" rel="noopener noreferrer">CDC: preventing HIV with PEP</a>). PEP is not a home-testing decision. Go to an emergency room, urgent-care clinic, or sexual-health clinic.

Syphilis: detectable around 3 to 6 weeks

Syphilis is typically detectable on a treponemal antibody blood test 3 to 6 weeks after exposure, with most current infections caught by 6 weeks. The first sign, when there is one, is a painless sore called a chancre, which the CDC describes as firm, round, and usually painless (CDC: about syphilis). Because it does not hurt and can sit out of view on the cervix, in the anal canal, or in the throat, the chancre is easy to miss entirely.

The infection moves through stages: primary (the chancre), secondary (often a rash on the palms and soles), latent (no symptoms), and, if left untreated for years, late-stage organ involvement. By the time secondary symptoms appear, the chancre has usually healed. A blood test does not depend on a visible sore, which is why serology in the 4 to 12 week window after a concerning exposure is the right move whether or not you ever saw one.

Test at 3 weeks and get a negative, then retest at 6 weeks. Add a final check at 90 days if a partner has just tested positive or you had a high-risk exposure and want maximum reassurance. Caught early, syphilis is fully curable with a course of penicillin.

Why syphilis now appears in most multi-STD panels

U.S. syphilis rates have risen sharply in recent years, and congenital syphilis (passed to a baby during pregnancy) has climbed alongside them. That is why most current multi-STD home panels now include syphilis as part of the standard set rather than an optional add-on. If you are testing after a new partner, keeping syphilis in the panel is the conservative choice.

Herpes: faster with a swab during an outbreak, slower with antibodies

Herpes timing splits into two scenarios. If you have visible sores or blisters right now, a clinician can swab the lesion and run a PCR test that detects HSV DNA directly, often within a day. The swab is most reliable when the sore is new, within 48 hours of appearing. CDC's genital herpes page explains the difference between HSV-1 and HSV-2 and notes that a blood test looks for antibodies rather than the virus itself (CDC: about genital herpes).

If you have no symptoms but want to know whether a past exposure infected you, the only option is a type-specific antibody blood test. Antibodies take time to build. Most people develop detectable HSV-2 antibodies by about 12 weeks after a first infection, and some take up to 16 weeks. Check the data sheet on your specific assay for its validated detection window. An antibody test cannot tell you when infection happened, only that you have been exposed at some point.

HSV-1 traditionally caused oral cold sores while HSV-2 caused genital herpes, but the distinction has blurred. Both viruses can infect either site. CDC notes that most people with HSV-2 are unaware they have it because symptoms are mild or absent, which is a transmission consideration worth knowing.

Our rapid panel tests HSV-2 antibodies, not HSV-1

Most multi-STD rapid kits, including ours, test for HSV-2 antibodies specifically and will not pick up an HSV-1 infection. If you suspect HSV-1 (most often oral, sometimes genital), a separate HSV-1 antibody test or a clinic swab during an active outbreak is the path. Most adults already carry HSV-1 antibodies from childhood exposure, so a positive HSV-1 antibody result usually does not date a recent infection.

Hepatitis B and C: longer windows, higher long-term stakes

Hepatitis B and C are bloodborne viruses, and sex can pass them, especially during anal sex or any encounter where blood is exchanged. Both show up later than the bacterial STIs, but the wait buys a result you can trust (CDC: viral hepatitis):

  • Hepatitis B: the surface antigen (HBsAg) test detects acute infection from roughly 3 to 6 weeks after exposure, though the exact window varies by assay. A negative early test is worth repeating toward the later end of that range.
  • Hepatitis C: the standard antibody (anti-HCV) test becomes reliable around 8 to 11 weeks. An HCV RNA test can detect the virus within 1 to 2 weeks but is usually reserved for high-risk exposures and confirmation. For a known high-risk exposure, a final check at 6 months is the conservative endpoint.

Symptoms, when they occur, can include fatigue, dark urine, jaundice (a yellowing of the eyes or skin), nausea, and abdominal pain. Most acute hepatitis infections are silent. Hepatitis B usually clears on its own in healthy adults but can become chronic, particularly when acquired early in life. Hepatitis C is now curable with direct-acting antivirals, but only once it is diagnosed. Both can quietly damage the liver over years if missed, so the longer wait gives a result you can rely on.

Hepatitis B has a highly effective vaccine: use this moment to check your status

The hepatitis B vaccine prevents infection in most adults who complete the full series, and protection generally lasts for life. Post-exposure testing is also a good moment to confirm your vaccination status if you are unsure; your provider can order a quantitative hepatitis B surface antibody (anti-HBs) test to check for protective immunity. There is no equivalent vaccine for hepatitis C, but treatment options are now highly effective.

Trichomoniasis: short window, but the home kit is women-only

Trichomoniasis is a parasitic infection caused by Trichomonas vaginalis, and it is the most common curable non-viral STI worldwide. It is detectable on a NAAT or rapid antigen test about 5 to 7 days after exposure, with a conclusive result by 28 days. CDC notes that about 70 percent of people with the infection have no signs or symptoms (CDC: about trichomoniasis), and most symptomatic cases occur in women, with frothy discharge, vaginal irritation, and pain when urinating.

Our at-home trichomoniasis rapid kit is validated for vaginal self-swab only. We do not sell a male-compatible trich test, so male readers concerned about exposure should see a clinic for a urethral swab or urine NAAT. In men the infection is usually symptomless and can clear on its own within days, but it can still be passed to a female partner in the meantime, which is why partner-pair testing matters.

Trich bounces back and forth between partners

If you are treated for trichomoniasis, your sexual partner needs treatment at the same time, even if their symptoms are absent or have already cleared. Otherwise the infection re-passes on the next sexual contact. Treating both partners together is the standard public-health recommendation and the only way to break the loop.

HPV: there is no exposure-window test

Human papillomavirus (HPV) does not fit the window-period model. There is no exposure-based test that tells you whether last month's encounter passed it on. Instead, HPV is found through routine cervical screening: an HPV DNA test, often paired with a Pap smear, that looks for high-risk strains on the cervix (MedlinePlus: STI overview). For people with a cervix, that screening runs on a regular schedule rather than per exposure, generally starting in the mid-20s.

Most HPV infections, about 9 in 10, clear on their own within two years (CDC: about HPV). The strains that matter are the high-risk ones that can, over years, drive cervical, anal, and oropharyngeal cancers, which is why screening targets precancerous change rather than recent exposure. Visible genital warts come from separate, low-risk strains and are diagnosed by appearance, sometimes weeks to months after exposure. For men, there is no routine asymptomatic HPV screening.

Who our HPV kit is for

Our at-home HPV swab is validated for vaginal self-collection only; we do not sell a male-compatible HPV test, so male readers wanting HPV screening should see a clinic. Vaccination remains the strongest prevention tool: ACIP recommends routine HPV vaccination through age 26, with shared clinical decision-making through age 45.

If you tested early and got negative, here is the retest schedule

A negative result inside the window is reassuring, not conclusive. The schedule below assumes a single risky exposure and a first negative test. The general pattern is a baseline test now, a recheck at 4 to 6 weeks, and a final HIV-plus-syphilis test at around 12 weeks to fully close out the exposure:

  • Chlamydia and gonorrhea: retest at day 14 if the first test was at day 7 to 10. Retest 3 months after treatment if the first result was positive, because reinfection from an untreated partner is common.
  • HIV (fourth-generation lab test): retest at 45 days. If you used an antibody-only rapid kit, retest at 90 days for full clearance.
  • Syphilis: retest at 6 weeks, with a final clear at 90 days if a partner is positive.
  • Herpes (asymptomatic, antibody only): retest at 12 to 16 weeks if you are concerned about a specific exposure.
  • Hepatitis B and C: retest at 6 to 11 weeks; a conservative final negative at 6 months is the strongest endpoint.

Use barrier protection (condoms, dental dams) until your final results are clear, so you do not pass on an infection that has not yet shown up on a test. If you have had repeated exposures, the clock resets with the most recent one, so count your wait from that latest encounter.

Home rapid kit, mail-in lab, or clinic visit?

Once you know the timing, the next question is where to test. All three routes are legitimate, and the right one depends on whether you have symptoms, how fast you want an answer, and how much privacy matters. For routine screening, and for checking in after a specific exposure once the window has passed, an at-home rapid kit is often the simplest place to start. A clinic is the better call when you have symptoms or need to confirm a positive.

At-home rapid tests vs lab NAATs: how they fit together

Our at-home kits use lateral-flow immunoassay chemistry, the same family as a pregnancy test or a rapid COVID test. A swab or fingerstick blood drop runs across a strip lined with antibodies that bind the target, and a colored line appears when the marker is present. Most CE-marked or FDA-cleared at-home rapid tests report sensitivity in the high 90s and specificity above 99 percent when used at the right point in the window, but exact figures vary by manufacturer and assay, so check the data sheet on the specific product page before relying on a number.

Lab NAATs, the standard for chlamydia and gonorrhea, use PCR or similar amplification to detect a pathogen's genetic material directly. They are more analytically sensitive, especially for asymptomatic infections with a low pathogen load, and they take a day or more in a lab.

The two work together rather than replacing each other. A positive at-home result is meaningful and should be acted on, then confirmed by a clinician. A negative result, especially when you have symptoms, is worth confirming with a lab NAAT. Home testing gives you privacy, speed, and a low-friction way to screen after an exposure or on a routine cadence with new partners; the lab gives the higher-sensitivity answer when it has to be definitive.

A lateral-flow rapid test cassette gives a result line in about 15 minutes from a fingerstick blood drop or self-collected swab, the same chemistry family as a pregnancy or rapid COVID test.

If a test comes back positive

A positive home rapid test is the first step. The next is confirmation by a clinician. For bacterial infections (chlamydia, gonorrhea, syphilis), confirmation usually means a NAAT or a lab-run blood test plus a treatment plan, and most are curable with a short course of antibiotics. For HIV, confirmation involves a fourth-generation lab test or NAT plus linkage to care; modern antiretroviral therapy makes HIV a manageable chronic condition with a normal lifespan.

Two things are worth doing quickly: tell recent sexual partners so they can test and treat, and start treatment without waiting for symptoms to confirm the result. Untreated bacterial STIs can climb the reproductive tract and cause damage that does not reverse once it happens. Many state and local health departments offer anonymous partner-notification services if you would rather not have the conversation directly.

Co-infection is common, too. Chlamydia and gonorrhea frequently appear together, and any STI that causes genital lesions raises the risk of HIV transmission from a future exposure. If one test comes back positive, the conservative move is to run the broader panel for the others rather than assume the positive result is your only infection.

Complete 8-in-1 STD At-Home Rapid Test Kit

Not sure what you were exposed to? Test for the 8 most common at once

Complete 8-in-1 STD At-Home Rapid Test Kit

$472.00

Our 8-in-1 at-home rapid kit covers chlamydia, gonorrhea, syphilis, HIV, hepatitis B, hepatitis C, HSV-2, and trichomoniasis (the trichomoniasis component is validated for vaginal self-swab; male readers should see a clinic for trich testing). Lateral-flow chemistry, fingerstick blood plus self-swab, results at home in about 15 minutes. Use it at the conclusive end of your longest window for full reassurance.

Shop the 8-in-1 home kit

No HIV test can detect HIV immediately after infection. If you think you have been recently exposed to HIV, talk to your healthcare provider about post-exposure prophylaxis (PEP) right away.

U.S. Centers for Disease Control and Prevention, HIV testing guidance

Common questions about STD testing after sex

Can I test for an STD the day after sex?
You can run a test, but it almost certainly will not give you a real answer. Even the fastest infections, chlamydia and gonorrhea, need about 7 days before a NAAT can detect them, and antibody-based tests need weeks. A morning-after test calms anxiety; it does not give a result you can trust. Mark a real test date on the calendar and use a barrier in the meantime.
What if I have no symptoms? Do I still need to test?
Yes. Most chlamydia, gonorrhea, and trichomoniasis infections cause no symptoms, and HIV is often silent for months. Routine testing after a new partner is the standard recommendation regardless of how you feel.
What is the most accurate time to test for HIV?
On a fourth-generation antigen/antibody lab test, four to six weeks after exposure catches most infections, and 90 days is effectively conclusive for antibody-only testing. If your exposure was within the last 72 hours, do not wait to test; go to a clinic and ask about PEP.
I used a condom. Do I still need to test?
Condoms cut risk substantially but do not remove it. Skin-to-skin infections like herpes, HPV, and syphilis can spread from areas a condom does not cover. After a new partner or a condom failure, testing is still worth doing.
Can a test miss an infection?
Yes, and the most common reason is testing inside the window period. A valid test reads negative because the pathogen or antibody level is still below the kit's detection threshold. Repeating the same test the next day does not help; retesting at the conclusive endpoint does. If you have symptoms and a rapid test is negative, see a clinician for a lab NAAT.
Can I test for everything at once?
Yes. A multi-infection combination kit screens for the common bacterial and bloodborne STIs in one panel. Run it at the conclusive end of the longest window it covers, around 90 days, for full reassurance, or test early and plan a retest. Throat and rectal exposures still need site-specific clinic swabs, which home kits do not cover.
What is PEP, and when does it matter?
PEP (post-exposure prophylaxis) is a 28-day course of HIV medication that can prevent infection after a high-risk exposure. It must start within 72 hours, and sooner is better. Emergency rooms and sexual-health clinics prescribe it. PEP is for HIV only, not other STIs.
Do I need to tell past partners if I test positive?
Yes. Partner notification breaks the chain of transmission and lets partners test and treat before complications develop. Many state and local health departments offer anonymous partner-notification services if you would rather not have the conversation directly.
How accurate are at-home STI rapid tests?
Used at the right point in the window, CE-marked and FDA-cleared rapid kits perform well for screening, though exact sensitivity and specificity vary by manufacturer and assay, so check the data sheet on the product page. Their main limit is that lateral-flow chemistry is less analytically sensitive than a lab NAAT, especially for asymptomatic infections with a low pathogen load, so a negative result during the window is worth a confirmatory retest.
Our article was constructed based on current advice from the most prominent public health and medical organizations, and then molded into simple language based on the situations that people actually experience. Window-period numbers come from CDC testing guidance, cross-checked against WHO and NHS where ranges differ; product behavior reflects how lateral-flow rapid tests work in practice; and the editorial framing reflects what readers searching this question at 2 a.m. actually need to know. The article is medically reviewed before publication.
  1. U.S. Centers for Disease Control and Prevention. HIV testing: window periods by test type (NAT 10 to 33 days, antigen/antibody 18 to 45 days, antibody-only 23 to 90 days).
  2. U.S. Centers for Disease Control and Prevention. Preventing HIV with PEP: 72-hour initiation window and 28-day course.
  3. U.S. Centers for Disease Control and Prevention. About chlamydia: urine and swab testing, and that infection is frequently asymptomatic.
  4. U.S. Centers for Disease Control and Prevention. About syphilis: stages, the painless chancre of primary infection, the secondary palms-and-soles rash, and blood-test diagnosis.
  5. U.S. Centers for Disease Control and Prevention. About trichomoniasis: about 70 percent of infected people have no signs or symptoms.
  6. U.S. Centers for Disease Control and Prevention. Viral hepatitis hub: hepatitis B and C testing guidance, vaccination, and treatment. Assay-level detection windows vary and should be confirmed against the test's data sheet or with a clinician.
  7. U.S. Centers for Disease Control and Prevention. About HPV: most HPV infections clear on their own within two years, with high-risk strains driving cervical and other cancers over time.
  8. World Health Organization. Sexually transmitted infections fact sheet: global incidence (more than one million curable STIs acquired daily) and that most infections are asymptomatic.
  9. UK National Health Service. Sexually transmitted infections: testing services and the guidance that STIs can take up to 7 weeks to show up on a test.
  10. MedlinePlus (U.S. National Library of Medicine, NIH). Sexually transmitted infections: overview of symptoms, testing approaches, and prevention including HPV and hepatitis B vaccination.
Maya Chen
Maya Chen

Maya writes plain-English explainers on STI screening, prevention, and at-home testing. Background in epidemiology research at a state public-health department; articles synthesize CDC and peer-reviewed guidance, not personal clinical advice.