How Do You Test for Chlamydia and Gonorrhea?

Chlamydia and gonorrhea are tested the same way: you provide a urine sample or a swab, and a lab analyzes it for bacterial DNA. The process is quick, usually painless, and results typically come back within a few days. Both infections can be detected from a single sample using the same test.

The Standard Test: How NAAT Works

The gold standard for detecting both chlamydia and gonorrhea is a nucleic acid amplification test, or NAAT. This test works by copying tiny amounts of bacterial genetic material from your sample millions of times over, making even a small infection detectable. It’s replaced older culture-based methods because it’s faster, easier, and significantly more accurate. For rectal samples, NAAT doubles the detection rate of gonorrhea compared to culture, and increases detection from throat samples fivefold.

NAAT accuracy is exceptionally high. For rectal testing, sensitivity reaches 99.4% for chlamydia and 100% for gonorrhea, with specificity above 99% for both. That means false positives and false negatives are rare. A single NAAT can screen for both infections simultaneously, so you don’t need separate tests.

What the Sample Collection Looks Like

For most people, the test involves one of two things: peeing in a cup or having a swab taken. Which one depends on your anatomy, symptoms, and where the infection might be.

Urine samples are the most common method for men and a convenient option for women. You’ll provide what’s called a “first-catch” sample, meaning the first stream of urine rather than midstream. This captures cells and bacteria that have accumulated near the opening of the urethra. For accurate results, you should avoid urinating for at least two hours before the test so enough bacterial material builds up.

Vaginal swabs are the preferred method for women when available. The organism load is highest in cervical swabs, lower in vaginal swabs, and lowest in urine. Many clinics offer self-collected vaginal swabs, which are just as accurate as clinician-collected ones and let you do it privately. It takes about 10 seconds.

Throat and Rectal Testing

Chlamydia and gonorrhea don’t only infect the genitals. If you’ve had oral or anal sex, the infection can live in your throat or rectum without causing any symptoms, and a standard urine test won’t find it there. Detecting these infections requires a swab at the specific site.

The CDC recommends that men who have sex with men get tested at least annually at all sites of contact (urethra, rectum, and pharynx for gonorrhea; urethra and rectum for chlamydia), regardless of condom use. For women and transgender individuals, rectal and throat testing is recommended based on sexual history and exposure. If you don’t mention your sexual practices, your provider may not think to test these sites, so it’s worth bringing it up.

When to Test After Exposure

Testing too soon after a potential exposure can produce a false negative. Both chlamydia and gonorrhea need time to establish enough of a bacterial presence to be detectable. Most infections show up on a NAAT within one week of exposure. Waiting two weeks catches almost all cases. If you test negative at one week but still have concerns, retesting at the two-week mark provides near-complete certainty.

After a positive result and treatment, the CDC recommends retesting three months later. This isn’t to check whether the treatment worked (it almost always does) but to catch reinfection, which is common. About 1 in 5 people test positive again within a few months, often because their partner wasn’t treated or because of a new exposure.

At-Home Testing

The FDA has authorized the first fully at-home test for chlamydia, gonorrhea, and trichomoniasis: the Visby Medical Women’s Sexual Health Test. It’s available without a prescription and uses a self-collected vaginal swab with a small powered testing device that sends results to an app. In clinical trials, it correctly identified 97.2% of positive chlamydia samples, 100% of positive gonorrhea samples, and had a negative accuracy above 98.5% for both.

This test is currently designed for people with vaginas. Men and anyone needing rectal or throat testing still need to visit a clinic or use a mail-in kit from a telehealth service. Mail-in kits typically send you the collection supplies, you take the sample at home, and mail it to a lab for NAAT processing. Results usually arrive within two to five days.

Who Should Get Screened Routinely

Many people with chlamydia or gonorrhea have no symptoms at all, which is why routine screening matters. The CDC recommends annual chlamydia and gonorrhea screening for all sexually active women under 25, and for older women with risk factors like new or multiple partners. Men who have sex with men should be screened at least annually at all sites of sexual contact. Pregnant individuals are also screened as part of standard prenatal care.

If you’re not in a high-risk group, testing still makes sense any time you have a new partner, have had unprotected sex, or notice symptoms like unusual discharge, burning during urination, or pelvic pain. Both infections are easily curable with antibiotics, and catching them early prevents complications like infertility and chronic pelvic pain that can develop when infections go untreated for months.