STD testing uses blood, urine, or swabs depending on which infection is being checked. There is no single test that screens for everything. A standard screening panel typically involves both a blood draw and a urine sample (or swab), because different infections live in different parts of the body and are detected in completely different ways.
Which STDs Use Urine Tests
Urine testing is the standard method for detecting chlamydia and gonorrhea in people without symptoms. The test works by amplifying tiny amounts of bacterial DNA or RNA in your sample, meaning it can pick up an infection from as little as a single copy of genetic material. This is why a urine sample works so well for these two infections: shed bacteria end up in the urine as it passes through the urethra.
For the urine test to be accurate, you need to provide what’s called a “first-catch” sample. That means collecting the first portion of your urine stream (roughly one-third of the cup), not a midstream sample like you’d give for a urinary tract infection. You should also avoid urinating for at least 20 minutes before the test, and don’t wipe or clean your genitals beforehand. These steps ensure the sample contains enough shed cells from the urethra to detect an infection.
For women, a vaginal swab is actually more accurate than urine. One large analysis found vaginal swabs detected chlamydia 94.1% of the time compared to 86.9% for urine, and gonorrhea 96.5% versus 90.7%. Urine testing still works well, but if you’re offered the choice of a self-collected vaginal swab, it’s the more sensitive option.
Which STDs Use Blood Tests
Blood draws are used for infections that spread through the bloodstream rather than living on mucosal surfaces. The main ones are:
- HIV: detected through antibodies, antigens, or viral genetic material in your blood
- Syphilis: detected through antibodies in your blood
- Hepatitis B and C: detected through antibodies in your blood
- Herpes (when no sores are present): detected through antibodies in your blood
These infections can’t reliably be found in urine. HIV testing, for example, looks for either your immune system’s response to the virus (antibodies and antigens) or the virus’s own genetic material. Both require a blood sample for the most accurate results. A lab test using blood from a vein can detect HIV as early as 18 to 45 days after exposure, while a rapid finger-prick test takes longer, with a detection window of 18 to 90 days.
Which STDs Use Swabs
Swabs are used in two situations: when an infection can occur at a specific body site (throat, rectum) or when visible sores or lesions are present. If you’ve had oral or anal sex, urine alone won’t catch chlamydia or gonorrhea in those areas. You’d need a throat swab or rectal swab, which can often be self-collected at the clinic.
Herpes, syphilis, and mpox are best diagnosed by swabbing an active blister or sore. For herpes specifically, a swab from a fresh, unhealed lesion is the most reliable test. Blood testing for herpes is only used when no sores are present, and the CDC notes it has meaningful limitations, including the possibility of false results. Routine herpes blood testing isn’t recommended for people without symptoms.
What a Full Screening Looks Like
If you go in for a comprehensive STD screening, expect to provide at least two types of samples. A typical visit involves a blood draw (for HIV, syphilis, and sometimes hepatitis B and C) plus a urine sample or swab (for chlamydia and gonorrhea). If you’ve had oral or anal sex, your provider may also collect throat and rectal swabs, or give you swabs to collect yourself.
Rapid testing options exist for HIV and syphilis. These use a finger prick instead of a full blood draw and can return results in minutes. The tradeoff is that rapid tests generally detect infections later after exposure and need to be confirmed with a standard lab-based blood test if they come back positive.
How Long to Wait After Exposure
Each type of test has a “window period,” the minimum time after exposure before it can reliably detect an infection. Testing too early can produce a false negative.
- Chlamydia and gonorrhea (urine or swab): Detectable after about 1 week, with 2 weeks catching nearly all cases
- HIV (lab blood test): Detectable after about 2 weeks, with 6 weeks catching nearly all cases
- HIV (rapid or oral test): Detectable after about 1 month, with 3 months catching nearly all cases
- Syphilis (blood test): Detectable after about 1 month, with 3 months catching nearly all cases
- Hepatitis B (blood test): 3 to 6 weeks
- Hepatitis C (blood test): Detectable after about 2 months, with 6 months catching nearly all cases
- Herpes (blood test): Detectable after about 1 month, with 4 months catching nearly all cases
If you’re testing after a specific exposure you’re worried about, these timelines matter. A negative HIV test at two weeks is reassuring but not definitive. A follow-up test at six weeks gives you a much more reliable answer. For chlamydia and gonorrhea, waiting just two weeks after exposure is enough for high confidence in the result.
Why There’s No Single Test for Everything
The reason STD testing requires multiple sample types comes down to biology. Chlamydia and gonorrhea are bacterial infections that colonize mucosal surfaces like the urethra, cervix, throat, and rectum. Bacteria shed from these surfaces end up in urine or can be picked up with a swab. HIV and syphilis, on the other hand, enter the bloodstream. You won’t find meaningful traces of HIV in a urine cup.
This is why “getting tested for STDs” is never just one test. When you request screening, be specific with your provider about your sexual history, including the types of sex you’ve had and where. That determines which samples are collected and which infections are actually checked. A urine-only test covers chlamydia and gonorrhea at the urethra, but it misses HIV, syphilis, hepatitis, and any infections at the throat or rectum.

