How Long After Sex Do STDs Show Up on a Test?

Most STIs take anywhere from a few days to a few months to show up, depending on the infection. But there’s an important distinction: the time it takes for symptoms to appear is not the same as the time it takes for a test to detect the infection. Many STIs cause no symptoms at all, so waiting for something to feel wrong is not a reliable strategy. Testing on the right timeline is the only way to know for sure.

The gap between exposure and when symptoms appear is called the incubation period. The gap between exposure and when a screening test can accurately detect the infection is called the window period. These two timelines overlap but aren’t identical, and knowing both helps you figure out when to get tested and what to watch for in the meantime.

Chlamydia and Gonorrhea

Chlamydia symptoms typically start 5 to 14 days after exposure. Gonorrhea tends to show up a bit faster in men, often within five days, while symptoms in women generally appear within 10 days. Both infections are bacterial, treatable with antibiotics, and very common.

The catch is that most people with chlamydia and many people with gonorrhea never develop noticeable symptoms. You can carry and transmit either infection without knowing it. Nucleic acid tests (the standard screening method) can generally detect both infections about two weeks after exposure, making that a reasonable time to get tested if you’re concerned about a specific encounter.

Syphilis

Syphilis has a wider and slower timeline. The first sign, a painless sore called a chancre, appears 2 to 12 weeks after exposure. That sore shows up at the site where the bacteria entered your body, which means it can be somewhere you wouldn’t easily notice, like inside the mouth, vagina, or rectum.

Because the chancre is painless and sometimes hidden, many people miss this first stage entirely. The sore heals on its own within a few weeks even without treatment, but the infection doesn’t go away. It progresses to later stages that can cause rashes, fever, and eventually serious organ damage if left untreated. Blood tests for syphilis typically become reliable a few weeks after the chancre appears, so testing around 3 to 6 weeks after a potential exposure is a common recommendation.

HIV

A lab-based antigen/antibody test (sometimes called a 4th generation test) can usually detect HIV 18 to 45 days after exposure, according to the CDC. This type of test looks for both the virus itself and your body’s immune response to it, which is why it picks up infections earlier than older antibody-only tests.

Some people experience flu-like symptoms 2 to 4 weeks after contracting HIV: fever, sore throat, body aches, swollen lymph nodes. This is called acute HIV infection, and the symptoms can be easy to dismiss as a cold or the flu. Many people have no early symptoms at all. If you’re using a rapid test or home test, keep in mind that these are typically antibody-only tests with a longer window period, sometimes up to 90 days before they’re fully reliable.

Herpes

The incubation period for herpes ranges from 1 to 26 days, though the first outbreak most commonly appears around 6 to 8 days after exposure. An initial outbreak usually involves clusters of small, painful blisters or sores around the genitals or mouth, sometimes accompanied by flu-like symptoms, swollen glands, and pain during urination.

Herpes is tricky to test for without active symptoms. Blood tests look for antibodies, which your body takes time to produce. If you test too early after exposure, the result may come back negative even if you’ve been infected. Antibodies can take several weeks to develop, so many clinicians recommend waiting at least 12 weeks for an accurate blood test. If you have an active sore, a swab test of the sore itself is more reliable and can be done immediately.

Trichomoniasis

Trichomoniasis, caused by a parasite rather than a virus or bacterium, has an incubation period of 5 to 28 days. Symptoms can include irritation, itching, unusual discharge, and discomfort during urination or sex. Like chlamydia, it often produces no symptoms, particularly in men. Testing about two weeks after exposure is generally sufficient for detection.

HPV and Hepatitis B

HPV is one of the slowest STIs to reveal itself. The virus can linger in your body for weeks, months, or even years before causing genital warts or abnormal cell changes detectable on a Pap smear. Many people clear HPV on their own without ever knowing they had it. There is no routine HPV test for men, and screening in women is typically done through cervical cancer screening rather than in response to a specific exposure.

Hepatitis B has one of the longest incubation periods of any STI. Symptoms like fatigue, nausea, abdominal pain, and jaundice take 60 to 150 days to develop, with 90 days being the average. Some people never develop symptoms but can still transmit the virus. Blood tests can detect hepatitis B surface antigen before symptoms appear, but waiting at least 4 to 6 weeks after exposure improves accuracy.

When Testing Is Most Accurate

Because every STI has a different window period, there’s no single perfect day to get tested after a potential exposure. Here’s a practical summary of when tests become reliable:

  • 2 weeks: Chlamydia, gonorrhea, trichomoniasis
  • 18 to 45 days: HIV (lab-based antigen/antibody test)
  • 3 to 6 weeks: Syphilis
  • 6 to 12 weeks: Hepatitis B
  • 12 weeks: Herpes (blood test, if no active sores to swab)
  • 90 days: HIV (rapid or home antibody-only tests)

If you test early and get a negative result but you’re still within the window period for a particular infection, the result may not be final. Retesting after enough time has passed gives you a more reliable answer. Testing too early is one of the most common reasons for a false negative.

Why Symptoms Alone Aren’t Enough

The majority of STIs can be completely asymptomatic for long stretches. Chlamydia, gonorrhea, HPV, herpes, HIV, and trichomoniasis can all exist in your body without producing anything you’d notice. This means you can’t rule out an infection just because you feel fine. It also means your partners may not have known they were carrying anything.

If you’ve had unprotected sex or a condom broke, testing on the right schedule is the most reliable way to protect yourself and anyone else you’re sleeping with. Most bacterial STIs are easily cured with a short course of treatment, and viral STIs are far more manageable when caught early.