For most sexually transmitted infections, you can become contagious before you notice any symptoms, and in some cases within hours of being infected. The exact timeline varies enormously by pathogen: HIV can be transmissible within days to weeks, gonorrhea in as few as one to two days, and herpes can be passed along during episodes of invisible viral shedding that may begin almost immediately. The gap between exposure and contagiousness is one of the main reasons STIs spread so effectively, because people who feel perfectly fine are often the ones passing infections on.
HIV and the Earliest Days of Infection
HIV has one of the more complex contagiousness timelines. After exposure, the virus begins replicating at the mucosal entry point, and within about a week to ten days it enters the bloodstream and viral load starts climbing steeply. This early spike, sometimes called acute or primary infection, produces some of the highest viral loads a person will ever carry. The irony is that during this brief window, before most people even think to get tested, their ability to transmit the virus is at its peak. Research into early mucosal transmission has shown that this initial phase represents a critical vulnerability, with the virus establishing itself locally before spreading systemically.
1Nature. Targeting early infection to prevent HIV-1 mucosal transmissionStandard antibody-based HIV tests can miss infections during this acute phase because the body hasn’t produced enough antibodies yet. That’s the so-called “window period,” which can last a few weeks with modern fourth-generation tests. During the entire window period, a newly infected person can transmit the virus to others. Nucleic acid tests (which look for the virus itself rather than the immune response) can detect HIV earlier, but they’re not part of routine screening. The practical takeaway: someone exposed to HIV can be contagious long before any test would flag them as positive.
Gonorrhea Becomes Transmissible Fast
Gonorrhea is among the fastest STIs to become contagious after exposure. The bacterium, Neisseria gonorrhoeae, multiplies rapidly once it attaches to mucosal surfaces. A study of men who have sex with men found a median incubation period of about four days for urethral gonorrhea, with some men developing detectable infection within a single day of exposure.
2PubMed Central. The incubation for urethral gonorrhoea among men who have sex with men with and without oropharyngeal gonorrhoeaWhere the infection lands on the body matters a lot. Urethral gonorrhea tends to produce noticeable symptoms fairly quickly, like burning or discharge, which can prompt someone to seek treatment. Pharyngeal (throat) gonorrhea is a different story: it usually causes no symptoms at all. A natural-history study estimated the median duration of untreated pharyngeal gonorrhea at roughly sixteen weeks, with some infections persisting even longer.
3Clinical Infectious Diseases. The Duration of Pharyngeal Gonorrhea: A Natural History StudyThat duration is significant because a person with a silent throat infection can transmit gonorrhea through oral sex for months without knowing they’re carrying it. This dynamic has been implicated in the ongoing rise of gonorrhea cases in many populations and helps explain why the infection is so difficult to control through symptom-based testing alone.
Syphilis and Its Long, Quiet Incubation
Syphilis sits at the other end of the timing spectrum. After exposure to the bacterium Treponema pallidum, the incubation period ranges from nine to ninety days, with an average of about three weeks before the characteristic painless sore (chancre) appears at the site of infection.4PubMed Central. Syphilis During this entire pre-chancre period, it’s unclear exactly how transmissible the infection is, but once the chancre develops, it’s teeming with bacteria and highly contagious through direct skin-to-skin contact.
The trouble doesn’t end there. Chancres are painless, can appear in hard-to-see locations like the cervix or rectum, and heal on their own after a few weeks. People often miss them entirely. The infection then progresses to secondary syphilis, which involves rashes and mucous patches that are also contagious. Without treatment, the bacteria remain in the body for years, cycling through periods of latency where transmission risk drops but doesn’t necessarily reach zero. A person exposed to syphilis could become contagious within a few weeks and remain so, off and on, for a very long time.
Herpes and the Problem of Invisible Shedding
Herpes simplex virus (HSV) represents perhaps the best example of why the question “when am I contagious?” defies a clean answer. After initial exposure, HSV establishes itself in nerve cells and periodically reactivates, traveling back to the skin or mucous membranes to shed virus. Crucially, this shedding often happens without any visible sores or symptoms. Most herpes transmissions occur during these asymptomatic shedding episodes rather than during obvious outbreaks.5PubMed Central. Herpes simplex virus-2 transmission probability estimates based on quantity of viral shedding
How often does asymptomatic shedding happen? A large study that had participants swab daily found that people with symptomatic HSV-2 infection shed virus on about 20% of days, while those with asymptomatic infection (meaning they’d never noticed an outbreak) shed on about 10% of days.6JAMA. Genital Shedding of Herpes Simplex Virus Among Symptomatic and Asymptomatic Persons With HSV-2 Infection The amount of virus shed during subclinical episodes was similar regardless of whether a person had ever had recognized symptoms. In other words, someone who has never had a noticeable outbreak can shed just as much virus during their silent episodes as someone who gets frequent cold sores or genital lesions.
After initial exposure, the primary outbreak, if one occurs at all, typically shows up within two to twelve days. But even before that first outbreak, the virus has already reached nerve cells and can begin shedding. This means a newly infected person may be capable of passing herpes on within days, well before they have any idea they’ve been infected. Research on early HSV-1 skin infection in animal models shows that viral assembly and spread in epithelial cells begins before clinical symptoms develop.7PubMed Central. Herpes simplex virus assembly and spread in murine skin after infection from the outside Many shedding episodes that result in transmission involve viral amounts too small to produce a visible ulcer, which is one reason HSV-2 spreads so effectively across populations.
HPV and Long Subclinical Persistence
Human papillomavirus has a timeline that’s harder to pin down than almost any other STI. After exposure, HPV infects the basal layer of epithelial cells and can exist there in a variety of states: actively replicating, subclinically persistent, or apparently latent. The period between initial infection and any detectable sign of it, whether warts, abnormal cervical cells, or a positive DNA test, can range from weeks to months, and sometimes years.8PubMed Central. The human Papillomavirus twilight zone – Latency, immune control and subclinical infection
During all of these subclinical states, the virus can be present in skin or mucosal cells and potentially transmissible through skin-to-skin contact, even when no wart or lesion is visible. HPV-positivity fluctuates throughout life, with periods where the virus drops below detectable levels and then reappears. This has led researchers to question whether HPV is ever truly “cleared” or simply suppressed below the threshold of clinical testing. Host immune surveillance plays a key role in keeping subclinical infections in check, but the virus has evolved sophisticated ways to evade immune detection in its basal-cell hiding spots.9PubMed. Human papillomavirus infections of the genital and respiratory tracts in young children
For the person wondering “am I contagious?” after a recent HPV exposure, the honest answer is: possibly, from quite early on, and for an uncertain period afterward. Condoms reduce but do not eliminate HPV transmission because the virus lives in skin that condoms don’t cover. Persistence of HPV infection is also the primary risk factor for developing cervical cancer, which is why vaccination before exposure is considered far more effective than trying to manage the infection after the fact.10PubMed Central. Human Papillomavirus and Its Association With Cervical Cancer: A Review
Trichomoniasis and Hepatitis B
Trichomoniasis, caused by the parasite Trichomonas vaginalis, has an incubation period of roughly five to twenty-eight days. During this time, the organism replicates in the lower genital tract and can be transmitted to partners even before symptoms like discharge or irritation develop. Many trichomoniasis infections, particularly in men, never produce noticeable symptoms at all, which means people can carry and transmit the parasite for extended periods.11PubMed Central. Trichomoniasis
Hepatitis B follows yet another pattern. After sexual exposure to the virus, there’s a window period during which standard screening tests can’t detect the infection but the virus is actively replicating in the liver and present in blood and bodily fluids. One large study of blood donors in South Africa estimated a pre-antibody window period of about fifteen days during which donors were infectious but undetectable by standard antibody tests.12PubMed. Hepatitis B virus transmission by blood transfusion during 4 years of individual-donation nucleic acid testing in South Africa: estimated and observed window period risk Nucleic acid testing shortened this window, but the point remains: a person can transmit hepatitis B during the weeks before their infection becomes test-detectable. Unlike most other STIs on this list, effective vaccination exists for hepatitis B and is widely recommended.
Why the Body You’re In Changes the Timeline
Contagiousness after exposure isn’t purely determined by which pathogen is involved. Biological factors in the exposed person and their partner play a surprisingly large role. Hormonal status is one example. Research using primate models found that progesterone, including forms similar to hormonal contraceptives, thinned the vaginal lining and enhanced viral transmission of a close HIV relative nearly eightfold compared to animals in a placebo group.13PubMed Central. Progesterone implants enhance SIV vaginal transmission and early virus load A thinner mucosal barrier makes it easier for pathogens to reach target cells, potentially shrinking the interval between exposure and established (transmissible) infection.
Immune responses add another layer of variability. The transmission dynamics of STIs are often attributed mainly to behavioral differences, like how many partners a person has, but immune status contributes significantly. People who are frequently re-exposed to a pathogen may develop partial immunity that modifies how quickly they become infectious after a new exposure, or whether they become infected at all. Conversely, immunosuppression from HIV, medication, or other conditions can accelerate pathogen replication and increase shedding.
Co-infections also matter. Having one STI often makes acquiring another one easier and faster. Genital herpes sores, for instance, disrupt the mucosal barrier and recruit immune cells that HIV targets. A concurrent gonorrhea or chlamydia infection produces inflammation that has a similar effect. So the answer to “how soon am I contagious?” can genuinely depend on what else is going on in your body at the time of exposure.
Why Anatomical Site Makes Such a Difference
The location of an infection on the body dramatically affects both how long it persists and how readily it’s transmitted. As mentioned, pharyngeal gonorrhea can last for months while urethral gonorrhea tends to clear faster or provoke treatment-seeking symptoms within days. Rectal infections for both gonorrhea and chlamydia are also often asymptomatic and can persist for weeks. This means a person infected at one body site might be contagious for a much longer stretch than someone infected at a different site with the same organism.
Screening guidelines have evolved to reflect this. Many clinics now test the throat and rectum in addition to urine or genital swabs, particularly for patients reporting oral or anal sex. If only urethral screening is performed, a pharyngeal or rectal infection that’s been quietly transmissible for weeks can go undetected.
Post-Exposure Prevention With Doxycycline
One of the more notable recent developments in STI prevention is doxycycline post-exposure prophylaxis, sometimes abbreviated as doxy-PEP. The concept is straightforward: taking a dose of the antibiotic doxycycline within seventy-two hours after unprotected sex to prevent bacterial STIs from establishing. A randomized trial found that taking 200 mg of doxycycline after condomless sex reduced the combined incidence of gonorrhea, chlamydia, and syphilis by about two-thirds compared to standard care without the antibiotic.14PubMed Central. Postexposure Doxycycline to Prevent Bacterial Sexually Transmitted Infections
This approach works because it catches bacterial infections during their earliest replication, before they’ve become established enough to be transmissible. Several clinical trials have now demonstrated this benefit in populations at high risk of STIs, particularly men who have sex with men and transgender women with recent bacterial STI diagnoses.15PubMed Central. Doxycycline postexposure prophylaxis for prevention of sexually transmitted infections The strategy doesn’t work for viral STIs like HIV or herpes, and there are legitimate concerns about driving antibiotic resistance with widespread use. But it represents a genuine shift in how post-exposure contagiousness is managed: rather than waiting to see if symptoms develop, the infection is cut off before it can gain a foothold.
Why Attempting to “Clean Up” After Exposure Backfires
A common instinct after a potentially risky sexual encounter is to try to physically wash away any pathogens. Vaginal douching is the most studied version of this impulse, and the evidence is unambiguous: it makes things worse, not better. A prospective study of adolescents found that those who always douched had roughly twice the rate of STI acquisition compared to those who never douched, even after adjusting for sexual behavior and other risk factors.16PubMed Central. Does Douching Increase Risk for Sexually Transmitted Infections? A Prospective Study in High-Risk Adolescents
The mechanism is straightforward. Douching disrupts the normal vaginal microbiome, washes away protective lactobacilli, and can push pathogens further up into the reproductive tract. It also irritates the mucosal lining, creating micro-abrasions that serve as entry points for viruses and bacteria. The takeaway isn’t just that douching doesn’t prevent STI transmission after exposure; it actively increases your vulnerability to infection. Urinating after sex, while sometimes suggested for urinary tract infection prevention, similarly does nothing meaningful to prevent STI transmission.
When Testing Can Actually Tell You Something
Because many STIs become contagious before tests can detect them, the timing of testing matters. If you get tested the day after a potential exposure, most results will reflect your status before the exposure, not after it. Each infection has its own window before testing becomes reliable:
- Chlamydia and gonorrhea: Nucleic acid tests can usually detect infection about five to seven days after exposure, though some guidelines suggest waiting two weeks for best accuracy.
- HIV: Fourth-generation antigen/antibody tests typically become reliable around eighteen to forty-five days after exposure. Nucleic acid tests can detect it sooner, around ten to thirty-three days.
- Syphilis: Blood tests generally become positive one to three weeks after the chancre appears, which itself may take up to three weeks to develop. This means testing might not catch a new infection for a month or more.
- Herpes: Blood antibody tests can take several weeks to months to turn positive after a new infection. Swab tests of active sores are reliable while a lesion is present but useless during asymptomatic periods.
- Hepatitis B: Surface antigen tests typically become positive about four to ten weeks after exposure.
During all of these detection windows, the infected person may already be capable of transmitting the pathogen to others. This mismatch between contagiousness and test detectability is one of the most frustrating aspects of STI prevention. It means that a negative test shortly after exposure provides limited reassurance, and retesting at the appropriate interval is usually necessary to rule out a new infection. The Centers for Disease Control and Prevention recommends specific retesting schedules for people with known exposures, and your doctor or sexual health clinic can help you figure out the right timing based on the type of exposure you’ve had.