The right time to get tested depends on which STI you’re concerned about, but most infections need at least a few days to a few weeks before a test can detect them. Testing too early can produce a false negative, meaning the infection is there but doesn’t show up yet. This gap between exposure and reliable detection is called the window period, and it varies significantly from one STI to another.
Why Testing Too Early Can Miss an Infection
After exposure, an STI needs time to either multiply enough to be detected directly or trigger your immune system to produce antibodies that a blood test can pick up. If you test during this buildup phase, you can get a clean result even though you’re infected. That’s why timing matters just as much as getting tested in the first place.
A negative result taken too early doesn’t mean you’re in the clear. If you had a specific exposure that concerns you, plan your testing around the window periods below rather than rushing in the next morning.
Chlamydia and Gonorrhea: 1 to 2 Weeks
These two bacterial infections have the shortest window periods of any common STI. A urine sample or swab test can detect chlamydia or gonorrhea about one week after exposure most of the time. Waiting two weeks catches almost all infections. If you’re getting a full panel after a potential exposure, two weeks is the safest bet for these two.
Both infections frequently cause no symptoms at all, especially in women. Chlamydia in particular is often called a “silent” infection. This makes testing the only reliable way to know your status, even if you feel fine.
HIV: 10 Days to 3 Months
HIV has several test types, each with a different detection window:
- Lab blood draw (antigen/antibody test): 18 to 45 days after exposure. This is the most commonly used test in clinical settings and offers the best balance of speed and accuracy.
- Rapid finger-prick test (antigen/antibody): 18 to 90 days after exposure. Convenient, but the wider window means an early negative is less conclusive.
- Antibody-only tests: 23 to 90 days after exposure. This includes most home testing kits.
- NAT (nucleic acid test): 10 to 33 days after exposure. This test looks for the virus itself rather than your immune response, so it detects infection earliest. It’s typically used in high-risk situations, not routine screening.
If you get a negative result early in these windows, the CDC recommends retesting at the outer end of the range to confirm. A negative lab blood draw at three weeks is promising, but a follow-up at 45 days gives you a definitive answer.
If You Think You Were Exposed to HIV
Post-exposure prophylaxis (PEP) is a course of medication that can reduce your risk of contracting HIV by more than 80%, but it must be started within 72 hours of exposure. If you had a high-risk encounter (condomless sex with someone whose status you don’t know, a condom breaking, or needle exposure), getting to a clinic or emergency room quickly for PEP is more urgent than testing. Testing comes later, after the appropriate window period.
Syphilis: 2 to 4 Weeks
Syphilis blood tests look for antibodies your body produces in response to the bacteria. These antibodies can take up to two weeks after initial infection to reach detectable levels, though some people take longer. Most clinicians recommend testing at three to four weeks after exposure for the most reliable result.
Syphilis sometimes produces a painless sore (called a chancre) at the site of infection within a few weeks. If you notice an unusual sore, a doctor can test it directly, which may detect the infection before a blood test would.
Herpes (HSV): 3 to 6 Months
Herpes has the longest window period of any commonly tested STI. Blood tests detect IgG antibodies, which can take three to six months to develop after infection. A negative blood test at four weeks tells you very little.
If you have active sores or blisters, a swab test of the lesion is far more useful and can provide results regardless of how recently you were infected. Blood testing for herpes is most accurate when done at least three months after the exposure you’re concerned about, and six months gives the highest confidence. Antiviral treatment can also delay antibody development, making the window even longer in some cases.
Hepatitis B: 4 to 10 Weeks
Hepatitis B has a long incubation period. The virus takes an average of 60 days from exposure before it begins affecting the liver, and symptoms (if they appear at all) typically take around 90 days. Testing generally looks for a surface protein the virus produces, which becomes detectable during that 4 to 10 week range. If you were vaccinated for hepatitis B, you likely have existing immunity, but you can confirm this with a simple blood test.
Trichomoniasis: 1 to 2 Weeks
Trichomoniasis, a parasitic infection common in women, can typically be detected within one to two weeks after exposure using a swab or urine test. Symptoms like unusual discharge or irritation may appear in that same timeframe, though many people (especially men) remain asymptomatic.
A Practical Testing Timeline
If you had a specific exposure and want to cover all bases, here’s a practical schedule. At two weeks, you can reliably test for chlamydia, gonorrhea, and trichomoniasis. At four weeks, add syphilis. At six weeks, a lab-based HIV antigen/antibody test is highly accurate, though some providers recommend confirming at 45 days or later. At three months, you can get a meaningful herpes blood test and confirm your HIV result if you used a rapid or home test earlier.
You don’t necessarily need to make four separate trips. Many people do an initial round at two to three weeks for the bacterial infections, then a follow-up blood draw at six weeks to three months to cover HIV, syphilis, and herpes. Your clinic can help you decide what makes sense based on the type of exposure.
Testing Without a Known Exposure
If you’re not testing because of a specific incident but just want a routine check, the timing question is simpler. You can test anytime, and the results will reflect your status as of a few weeks to a few months ago depending on the infection. If you’ve had new partners since your last test, getting a full panel and then retesting three months later covers virtually all window periods.
Routine screening is especially important for infections like chlamydia and HIV that can be present for months or years without symptoms. The CDC recommends at least annual chlamydia screening for sexually active women under 25, and HIV screening at least once for all adults. People with multiple partners or other risk factors benefit from more frequent testing, such as every three to six months.

