Sexual health

How does STI testing work?

Most infections cause no symptoms, so testing follows your body, partners and the kinds of sex you have.

3 December 2026 5 min read Editorial policy
Short answer

CDC advises everyone aged 13 to 64 to test for HIV at least once, and yearly chlamydia and gonorrhea tests for sexually active women under 25. Others test by risk. Ask for throat or rectal swabs if you have oral or anal sex. After a possible HIV exposure, start PEP within 72 hours.

Why test without symptoms?

CDC says many sexually transmitted infections cause no symptoms, spread through vaginal, oral and anal sex, and are preventable and treatable. Feeling well says little. Untreated infections can harm fertility, pregnancy and general health, and can pass to partners. There is also no single STI test, so asking for "everything" may still leave things out. Say what kinds of sex you have.

Who should test, and how often?

CDC screening guide in brief
GroupAdvice
Everyone aged 13 to 64HIV at least once
Sexually active women under 25Chlamydia and gonorrhea every year
Women 25 and older with new or multiple partners, or a partner with an STIChlamydia and gonorrhea every year
Men who have sex with menSyphilis, chlamydia, gonorrhea at least yearly; every 3 to 6 months with multiple or anonymous partners; HIV at least yearly
People who are pregnantSyphilis, HIV, hepatitis B and hepatitis C early; others by risk
People sharing injection equipmentHIV at least yearly

CDC also advises syphilis testing for most sexually active adults depending on local rates. Its groups use sex and partner labels that do not fit everyone. Trans and nonbinary people should test according to the organs they have and the sex they have. Cervical screening is separate: cytology every 3 years from 21 to 29, then every 3 years, or every 5 with HPV testing, from 30 to 65.

What sample does each test need?

  • Blood: HIV, syphilis, hepatitis B, hepatitis C, and sometimes herpes.
  • Urine: chlamydia, trichomoniasis, sometimes gonorrhea.
  • Swab: chlamydia, gonorrhea, HPV, and a sore for herpes. Vaginal swabs can often be taken by you.

A urine test does not find an infection in the throat or rectum. If you have oral or receptive anal sex, ask for those sites. Herpes blood tests are not a routine screen for people without symptoms, partly because results are hard to interpret.

How soon after exposure is a test reliable?

Each infection has a window in which a test may miss it. For HIV, CDC gives these ranges: nucleic acid test 10 to 33 days, lab antigen and antibody test from a vein 18 to 45, rapid fingerstick antigen and antibody test 18 to 90, and antibody tests 23 to 90. A negative result inside the window does not settle the question, so plan a repeat. For other infections, ask the clinic when to return, as it varies with the test and the treatment given.

After a possible HIV exposure

Post-exposure prophylaxis, or PEP, must start within 72 hours, and sooner is better. It lasts 28 days. Emergency departments and many clinics can start it. If exposures are likely to happen again, ask about PrEP. After sexual assault, hospitals offer PEP, emergency contraception and evidence collection, and you choose which you want.

Doxycycline after sex

In 2024, CDC published guidance on doxycycline within 72 hours after sex to prevent bacterial infections for certain higher-risk groups, offered through shared decision making, with STI testing every 3 to 6 months. The evidence is mainly in men who have sex with men and transgender women. Ask a clinician whether it fits. It does not prevent HIV, herpes or HPV.

Home tests

MedlinePlus notes home tests or collection kits exist for chlamydia, gonorrhea, syphilis, trichomoniasis and hepatitis C, among others. They help when privacy or distance is the barrier. Check that the kit includes the body sites you need, and confirm a positive result with a clinic. A negative home test taken too early should be repeated.

If a result is positive

Treatment works for bacterial infections, and medicine controls HIV and herpes. Finish treatment, tell recent partners (health departments can do it anonymously), and avoid sex until the clinic says it is fine. CDC advises retesting about 3 months after chlamydia or gonorrhea treatment because reinfection is common. During pregnancy, a chlamydia test of cure is done about 4 weeks after treatment. An STI says nothing about character or necessarily about recent faithfulness, as some stay silent for a long time.

Lowering the odds

Condoms and dental dams, HPV and hepatitis B vaccines, regular testing with partners, and PrEP where HIV risk exists. Water-based or silicone lubricant protects latex, while oils weaken it. Thin menopausal tissue can tear, so protection still matters after pregnancy is no longer possible, as vaginal dryness covers.

Go to urgent or emergency care for

  • Severe pelvic or lower belly pain, especially with fever or possible pregnancy.
  • Sudden testicular pain or swelling.
  • Eye pain or vision change with suspected syphilis or herpes, or severe headache with stiff neck.
  • Widespread rash with fever, or a hot swollen joint.
  • Sores that stop you passing urine.

Questions people ask

Can I get an STI from oral sex?

Yes. CDC lists oral sex among the ways STIs spread. Throat infection is often silent, and a urine test will not find it, so ask for a throat swab if oral sex is part of your life.

Is STI testing confidential?

Clinics keep records private, though some infections must be reported to health departments for partner notification, and insurance statements may show a visit. Ask first. Public clinics often offer free or low-cost tests.

How long after sex should I get tested?

It depends on the infection. For HIV, lab antigen and antibody tests detect infection 18 to 45 days after exposure. If you have symptoms or exposure within 72 hours, do not wait, call now.

Free on iOS and Android

Log it once. See it all on one timeline.

Doses, food, training, labs and sleep on one timeline. On iOS and Android.

The PeptideAI protocol screen with a weekly GLP-1 dose on it.
Ask your AI

Ask your AI about Peptide AI

Each button opens your assistant with a question already written. It asks for sources and for the limits, not a sales pitch.

Or have it check this page:ChatGPTClaudeGeminiPerplexity