Quick answer: There is no single window period for every sexually transmitted infection. Gonorrhoea and chlamydia nucleic-acid tests may become useful within days, while HIV, syphilis and hepatitis blood tests can require weeks and sometimes repeat testing. The exact timing depends on the infection, test technology, specimen site, symptoms and preventive medicine used. If a possible HIV exposure occurred within the past 72 hours, seek PEP assessment immediately and do not wait for a test window.
Testing the morning after sex can provide a useful baseline, but a negative result may be too early to exclude infection from that exposure. Waiting too long is also risky when symptoms, pregnancy or HIV post-exposure prophylaxis need urgent care.
The right approach often uses staged testing: immediate assessment, early tests for selected infections, and repeat blood tests after enough time has passed. A clinician should also decide which body sites to sample. A urine test alone can miss throat or rectal infection.
What is a window period?
The window period is the time between infection and when a test is likely to detect it. During this period, the person may have infection and transmit it even though the result is negative.
Different tests look for different targets:
- The organism’s genetic material.
- Antigen, a part of the organism.
- Antibodies produced by the immune system.
- A combination of antigen and antibody.
Genetic tests often detect infection earlier than antibody-only tests, but no test detects every infection immediately.
Window period versus incubation period
The incubation period is time from infection to symptoms. The window period is time to test detection. They are not the same.
A person can test positive before symptoms, develop symptoms before a test becomes reliably positive, or never develop symptoms. Testing decisions should not rely only on how someone feels.
A practical testing timeline
The following ranges are general and not guarantees:
| Infection | Common test | Early testing point often considered | When repeat may be needed |
|---|---|---|---|
| Chlamydia | NAAT on urine or swab | Around 1 to 2 weeks | Earlier negative with ongoing concern |
| Gonorrhoea | NAAT on urine or swab | Around 1 to 2 weeks | Earlier negative or symptoms |
| Trichomonas | NAAT or other test | Around 1 to 4 weeks | Based on test and symptoms |
| Syphilis | Blood antibody tests | Around 4 to 6 weeks | Repeat at 12 weeks in higher-risk exposure |
| HIV lab Ag/Ab | Venous blood | Usually detects 18 to 45 days | Repeat based on test and exposure |
| HIV rapid Ag/Ab | Finger-stick blood | Usually detects 18 to 90 days | Repeat after window |
| HIV antibody | Blood or oral fluid | Usually detects 23 to 90 days | Repeat after window |
| HIV NAT | Viral RNA | Usually detects 10 to 33 days | Used selectively, not routine for everyone |
| Hepatitis B | Antigen and antibody panel | Several weeks | Repeat based on vaccination and exposure |
| Hepatitis C | RNA and antibody | RNA earlier, antibody later | Repeat according to risk and result |
The CDC HIV testing page provides the stated HIV ranges. Malaysian clinics should apply MOH Malaysia STI Guidelines, Fifth Edition 2024, current HIV algorithms and product-specific instructions.
Why ranges are not exact dates
Immune responses vary. Test brands have different sensitivity. Specimen quality, infection site and preventive treatment can affect detection. A range means many infections become detectable during that period, not that every infection appears on the first day.
Clinicians choose timing based on the consequence of missing an infection and whether repeat testing is practical. A negative day-10 syphilis test does not exclude syphilis from a day-zero exposure.
What should I do in the first 72 hours?
If the exposure could involve HIV, seek PEP immediately. PEP is a course of antiretroviral medicine started after a significant exposure. It works best as soon as possible and must begin within 72 hours.
Do not wait for the other person’s result, symptoms or a later appointment. An urgent clinician assesses type of sex, condom use, source status, timing and other factors.
Read Vivardi’s PEP Malaysia guide for immediate steps. If more than 72 hours have passed, testing and future PrEP discussion remain important.
Should I test immediately?
Yes, an immediate assessment can:
- Establish baseline HIV, syphilis and hepatitis results.
- Detect an infection from an earlier exposure.
- Check pregnancy risk.
- Start PEP or emergency contraception when indicated.
- Treat symptoms.
- Plan site-specific tests and repeats.
- Review hepatitis B vaccination.
A baseline negative does not clear the newest exposure. The clinician should state which tests need repetition.
HIV test window periods
Nucleic acid test
NAT detects HIV RNA and may identify infection about 10 to 33 days after exposure. It is not routine screening for everyone because of availability and false-positive considerations. It is used when acute infection is suspected or exposure is recent with symptoms.
Laboratory antigen/antibody test
Venous blood fourth-generation tests usually detect infection 18 to 45 days after exposure. They look for p24 antigen and antibodies.
Rapid antigen/antibody test
Finger-stick versions may have a wider 18-to-90-day window.
Antibody test
Most self-tests and oral-fluid tests detect antibodies and usually have a 23-to-90-day window.
Know the exact test. “Rapid test” does not tell you whether it detects antibody only or antigen and antibody.
Does PEP change HIV testing?
PEP can delay detection because it suppresses viral replication. Follow the testing schedule from the prescribing service, including testing after completing PEP. Do not use an ordinary window chart as the only guide.
Take PEP exactly as prescribed and report side effects. A negative test during PEP does not end follow-up.
Does PrEP change testing?
PrEP lowers the risk of acquiring HIV when taken correctly, but breakthrough infection is possible. Antiretroviral exposure can alter test patterns. Regular combined antigen/antibody testing and, in selected cases, HIV RNA testing are used.
Do not start leftover PrEP after a high-risk exposure without PEP assessment. PrEP is for ongoing prevention, while PEP is for a recent event.
Chlamydia window period
NAAT detects genetic material from chlamydia. Testing around one to two weeks after exposure is commonly used for reliable detection. Testing earlier may be appropriate with symptoms, but a negative may need repetition.
Chlamydia can infect urethra, cervix, rectum and throat. Sample the exposed site. Urine alone misses rectal and throat infection.
Many people have no symptoms. Untreated infection can lead to pelvic inflammatory disease, infertility or epididymitis.
Gonorrhoea window period
Gonorrhoea NAAT is often useful around one to two weeks, although symptoms can begin earlier. Discharge, burning urination, pelvic pain, testicular pain or rectal symptoms need prompt testing and treatment.
Culture may be needed for suspected treatment failure or antibiotic resistance. Do not take random antibiotics before samples because this can reduce culture yield and worsen resistance.
Syphilis window period
Syphilis blood tests detect antibodies and can be negative during early infection. Testing around four to six weeks may detect many cases, with repeat around 12 weeks after significant exposure often used to close the window.
A painless ulcer, rash on palms or soles, swollen lymph nodes or neurological symptoms requires immediate examination. A swab or other direct test may be possible from a lesion.
Syphilis during pregnancy can harm the baby, so urgent assessment is essential.
Hepatitis B window period
Testing uses a panel such as HBsAg, anti-HBs and anti-HBc. Interpretation shows infection, immunity or susceptibility. Timing can span weeks to months.
Vaccination status changes management. After significant exposure, a susceptible person may need hepatitis B vaccine and sometimes immunoglobulin promptly.
Bring vaccination records. Do not wait for symptoms such as jaundice.
Hepatitis C window period
HCV RNA becomes detectable earlier, often within one to two weeks, while antibodies may take eight to eleven weeks. Sexual transmission risk is generally lower than HIV but higher in certain contexts, including blood exposure, traumatic sex and some networks.
An early negative antibody test may need RNA testing or repeat antibody based on exposure.
Herpes window period
If fresh blisters or ulcers are present, a PCR swab is preferred and should be taken before lesions heal. Blood antibody tests cannot tell the exact site or timing and may be negative early.
Routine herpes screening in asymptomatic people is not always recommended because false positives and interpretation problems can cause harm. A clinician should explain limitations.
HPV window period
There is no general blood test for recent HPV exposure. Cervical HPV tests are screening tools for high-risk types, not immediate post-exposure tests. Genital warts can appear weeks, months or longer after exposure.
Vaccination prevents new infections but does not treat existing HPV. Read the Gardasil 9 schedule guide after publication.
Trichomonas window period
NAAT may detect trichomonas after around one to four weeks, depending on test and specimen. Symptoms include discharge, irritation and burning, but many cases are asymptomatic.
Partner management matters to prevent reinfection.
Mycoplasma genitalium
Testing is usually reserved for persistent or recurrent urethritis, cervicitis or pelvic inflammatory disease, not every screening panel. Resistance is common and treatment must follow guidelines.
Avoid broad “full panel” marketing that includes tests with poor indication or uncertain interpretation.
Which specimen sites need testing?
Site follows exposure:
- Urine or urethral sample for penile exposure.
- Vaginal or cervical swab for vaginal exposure.
- Rectal swab after receptive anal sex.
- Throat swab after oral sex.
- Lesion swab for ulcers or blisters.
Self-collected swabs can be accurate when instructions are followed. Tell the clinician all exposure sites confidentially.
What if I have symptoms before the window closes?
Test now. Symptoms can be caused by an STI, urinary infection, yeast, trauma or other conditions. A doctor may treat based on examination while awaiting results.
Do not wait until day 14 with severe testicular pain, pelvic pain, fever, ulcers or discharge. Delayed care can cause complications.
What if all tests are negative but symptoms continue?
Repeat examination. Consider timing, sample site, antibiotics taken and infections not included. Non-infectious causes such as dermatitis, pelvic floor dysfunction or prostatitis may be involved.
Do not repeatedly take antibiotics without diagnosis.
Can antibiotics prevent an STD after exposure?
Routine self-treatment is not recommended. Doxycycline post-exposure prophylaxis is recommended in limited populations in some international guidelines, but it requires medical assessment and is not a general morning-after pill for every STI.
Unnecessary antibiotics promote resistance and may mask infection. Follow Malaysian guidance.
What should I avoid while waiting?
Avoid sex or use condoms until results and treatment are clear. Do not donate blood. Do not share antibiotics. Inform partners if a clinician advises.
Anxiety is common. Use a written testing schedule rather than testing every few days with different kits.
Confidentiality
STI care should be private and non-judgmental. Be honest about timing, partners, condom use and sites. This information determines tests.
Vivardi’s confidential STD screening page explains related services. Anonymous HIV testing has specific Malaysian processes and may not make every STI test anonymous.
Understanding results
A positive screening result may need confirmatory testing. A negative result only applies to infections and sites tested after an appropriate window. “All clear” should not be used when some windows remain open.
Ask for a written schedule:
- Tests done today.
- Tests to repeat.
- Exact dates.
- Symptoms requiring earlier return.
- Activity and partner advice.
Do I need a test of cure?
A test of cure checks whether treatment cleared an infection. It is not identical to repeat screening for reinfection. Recommendations differ:
- Gonorrhoea in the throat may require a test of cure because clearance is less reliable.
- Chlamydia in pregnancy usually requires a test of cure.
- Syphilis requires follow-up blood titres to confirm an appropriate response.
- Mycoplasma genitalium follow-up depends on regimen and symptoms.
Testing too soon after treatment with a nucleic-acid test can detect leftover genetic material and produce a positive result even when organisms are no longer viable. Follow the infection-specific interval.
Reinfection is common if partners are untreated. Many guidelines recommend repeat screening around three months after chlamydia or gonorrhoea, even when symptoms resolve.
Partner notification
Partners may need testing and treatment based on the infection and time period. Notification prevents reinfection and protects health. It can be done personally or with help from healthcare services.
Do not accuse a partner of recent infidelity solely because an STI was detected. Some infections remain silent for months or years, and a test usually cannot determine exactly when or from whom it was acquired.
If disclosure could lead to violence, tell the clinician before contacting anyone. Safety planning comes first.
Testing after sexual assault
Seek urgent medical and forensic support. Care may include HIV PEP, emergency contraception, hepatitis B vaccination, preventive treatment, baseline tests and repeat testing. The person can receive medical care even if unsure about making a police report.
Avoid washing or changing clothes if a forensic examination is desired, but immediate safety and urgent treatment are more important. A trauma-informed service should obtain consent for each step.
Window-period follow-up still applies, but the schedule may differ because preventive medicine is given.
Testing during menstruation
Blood tests can be performed during menstruation. Urine or self-collected swabs may also be possible, but heavy bleeding can affect sample handling or comfort for certain tests.
Do not delay urgent PEP or symptom assessment because of a period. Tell the clinic so it can select the specimen and timing.
Pregnancy testing may also be relevant, depending on the exposure and cycle.
What if the source partner has HIV but is undetectable?
A person living with HIV who maintains a documented undetectable viral load does not sexually transmit HIV, known as U equals U. The clinician still reviews evidence, timing, adherence and documentation when assessing PEP.
Do not rely on an unverified verbal assumption about viral load. At the same time, avoid stigmatising people with HIV. Effective treatment protects their health and prevents sexual transmission.
Other STIs can still transmit regardless of HIV viral load.
What if the exposure involved only oral sex?
HIV risk from oral sex is much lower than vaginal or anal sex, but gonorrhoea, syphilis, herpes and other infections can spread. Mouth ulcers, blood, ejaculation and partner infection alter risk.
Throat swabs are important because throat gonorrhoea is often asymptomatic. A urine test does not detect it. The clinician decides whether HIV testing or PEP is indicated based on details.
What if I used a condom?
An intact condom used from start to finish greatly reduces HIV, gonorrhoea and chlamydia risk. It offers less complete protection for skin-to-skin infections such as HPV, herpes and syphilis lesions outside the covered area.
If the condom slipped, broke or was applied late, describe exactly what happened. Do not assume no risk or maximum risk without assessment.
Building a personal testing calendar
Write the exposure date as day zero. Add:
- Today for PEP, emergency contraception, symptoms and baseline tests.
- Around one to two weeks for gonorrhoea and chlamydia NAAT.
- Four to six weeks for early syphilis and appropriate HIV testing.
- The final HIV and syphilis repeat based on test, commonly up to 12 weeks.
- Hepatitis follow-up based on vaccine status and clinician advice.
PEP, PrEP, pregnancy and immunosuppression change this calendar. Store dates in a private phone reminder and use the same clinic where possible so results are interpreted together.
Frequently asked questions
How soon after sex can I test?
Seek assessment immediately for PEP, emergency contraception, symptoms and baseline tests. Some infection tests become reliable only later.
Is a negative test after three days accurate?
It may detect a previous infection but is too early to exclude many infections from the recent exposure.
When is HIV testing conclusive?
It depends on the test. Lab Ag/Ab tests usually detect 18 to 45 days, while antibody tests can take up to 90 days. PEP or PrEP changes follow-up.
Should I wait 90 days for every STI?
No. Gonorrhoea and chlamydia can be tested much earlier. Staged testing is better.
Can I test urine only?
Urine misses throat and rectal infection. Sample all exposed sites.
What if the condom broke yesterday?
Seek urgent assessment for HIV PEP within 72 hours, emergency contraception and hepatitis B prevention. Baseline tests can be done.
Can oral sex transmit STIs?
Yes. Gonorrhoea, syphilis, herpes and others can spread. Risk differs by infection and activity.
Do I need tests if there are no symptoms?
Yes after significant exposure because many infections are silent.
Can a partner’s negative result clear me?
No. Their timing, test and other exposures differ. Test yourself.
Can home HIV tests detect early infection?
Most are antibody tests with a longer window. Check the exact product and repeat after the window.
Does PEP guarantee prevention?
No, but it is highly effective when started promptly and taken correctly. Follow-up testing remains required.
If PEP is after 72 hours, can I still take it?
PEP should start within 72 hours. Seek assessment even if later for testing, hepatitis prevention and future PrEP.
Do antibiotics affect tests?
They can suppress organisms and culture. Tell the clinician what you took.
When can I have sex again?
Follow infection-specific treatment and test advice. Partners may need treatment. Use condoms until cleared.
Are all STD panels the same?
No. Panels differ in infections, specimen sites and test technology. Ask for the list.
Final takeaway
STD window periods depend on infection and test. Immediate assessment is useful, but one early negative result rarely excludes everything. Use staged testing and sample every exposed site.
HIV PEP is the urgent exception: seek help within 72 hours and do not wait for a later test. Symptoms also require immediate care.
At Vivardi Clinics in Rawang, patients can request confidential STI assessment. The clinic location is Rawang only. Contact through WhatsApp or phone for current testing availability.
References and further reading








