Most STI tests need at least a few days to a few weeks after exposure before they can give you an accurate result. Testing too early is one of the most common reasons for a false negative, where you’re told you’re clear when you’re actually infected. The exact timing depends on which infection you’re testing for, because each one has a different “window period” before it becomes detectable.
Why You Can’t Test Right Away
Every STI has a window period: the gap between when you’re exposed and when a test can pick it up. During this time, the infection is establishing itself in your body but hasn’t produced enough of the signals that tests look for. Some tests detect the pathogen itself (its DNA or proteins), while others detect your immune system’s response (antibodies). Antibody-based tests generally require a longer wait because your body needs time to mount that response.
If you test during the window period, you can get a negative result even though you’re infected. That false negative can lead you to unknowingly pass the infection to someone else or delay treatment. The goal is to test early enough to catch an infection quickly, but late enough that the test is reliable.
Chlamydia and Gonorrhea: 1 to 2 Weeks
These two bacterial infections are the most commonly tested STIs, and they have relatively short window periods. Modern nucleic acid tests, which detect the genetic material of the bacteria, can pick up both chlamydia and gonorrhea about 1 to 2 weeks after exposure. Testing before that point risks a false negative.
Both infections are tested using a urine sample or a swab (throat, rectal, or genital, depending on the type of contact you had). If you only provide a urine sample but the exposure involved oral or anal sex, you could miss an infection at those sites entirely. Make sure the test covers the areas where exposure actually occurred.
HIV: 10 Days to 6 Weeks
HIV testing timelines vary significantly depending on the type of test. A nucleic acid test (NAT), which looks directly for the virus in your blood, can usually detect HIV 10 to 33 days after exposure. A fourth-generation antigen/antibody lab test, the most common type used in clinics, detects HIV 18 to 45 days after exposure. Rapid finger-prick tests and older antibody-only tests can take even longer, sometimes up to 90 days, to produce a reliable result.
If you’re concerned about a specific high-risk exposure, a lab-based antigen/antibody test at the 4-week mark is a strong starting point. Some providers recommend a follow-up test at 45 days or beyond for full confidence.
If the Exposure Was High Risk
Post-exposure prophylaxis (PEP) is a 28-day course of medication that can prevent HIV infection, but it must be started within 72 hours of exposure. Every hour counts, and PEP is most effective when started as soon as possible. Observational research suggests it reduces the risk of HIV infection by more than 80%, and effectiveness is likely much higher when taken consistently for the full course with no additional exposures. If you think you may have been exposed to HIV, this is the one situation where you should act before the testing window opens.
Syphilis: 3 to 6 Weeks
Syphilis is detected through a blood test that looks for antibodies. These antibodies typically take 3 to 6 weeks to reach detectable levels after exposure. A painless sore (called a chancre) may appear at the infection site within 3 weeks, but it can be easy to miss, especially if it’s internal. If you notice an unusual sore, you can be tested at that point regardless of how recently the exposure was, since a provider can sometimes test the sore directly.
Herpes: 1 to 4 Months
Herpes testing has one of the longest and most frustrating window periods. Blood tests, which detect antibodies to herpes simplex virus, catch most infections by about 1 month after exposure. However, the CDC notes it can take up to 16 weeks or more for current tests to detect infection. A blood test at 4 months captures almost all cases.
If you develop visible blisters or sores, a swab test of the active lesion is far more accurate than a blood test and can be done immediately. Herpes blood testing in people without symptoms is not routinely recommended because the tests have a meaningful rate of false positives, and a positive result without symptoms can be difficult to interpret.
Hepatitis B and C: 3 to 6 Weeks
Hepatitis B surface antigen can show up in blood tests about 3 to 6 weeks after exposure. Hepatitis C antibody tests generally require a similar timeframe, though some guidelines suggest waiting up to 8 to 12 weeks for the most reliable results. If you’re at risk for hepatitis C, a NAT-based test can shorten the window somewhat.
HPV: No Routine Test After Exposure
There is no standard screening test for HPV in people with penises, and no blood test for HPV exists. For people with a cervix, HPV is detected through a Pap smear, but changes from HPV can take anywhere from 3 weeks to several months to appear. HPV screening is part of routine cervical cancer screening, not something typically ordered after a single exposure. Genital and anal warts, caused by specific HPV strains, have no screening test and are diagnosed visually if and when they appear.
A Practical Testing Timeline
If you had a single exposure and want to cover the most common infections efficiently, here’s a practical approach:
- Within 72 hours: Seek PEP if there’s a realistic concern about HIV exposure.
- At 2 weeks: Test for chlamydia and gonorrhea.
- At 4 to 6 weeks: Test for HIV (antigen/antibody lab test), syphilis, and hepatitis B and C.
- At 3 to 4 months: Consider a follow-up HIV test if the initial test was taken early in the window, and a herpes blood test if you have specific reason to screen for it.
At-Home Tests vs. Clinic Tests
At-home STI kits use the same types of tests (urine samples, finger-prick blood collection, swabs) and have the same window periods as clinic-based tests. The biology doesn’t change based on where you collect the sample. What does change is the guidance you receive. At-home kits may not clearly explain optimal testing timing, which increases the chance of testing too early and getting a misleading negative result. Clinic-based testing gives you the advantage of a provider who can help you decide which tests to order and when, based on the specifics of your situation.
If you do use an at-home kit, pay close attention to the window periods above and time your test accordingly. A negative result taken too early tells you very little.

