Herpes is detected through two main approaches: swab tests taken directly from an active sore, or blood tests that look for antibodies when no sores are present. Swab tests from active lesions are the most reliable method, while blood tests have important limitations, including a window period of up to 16 weeks after exposure before they can accurately detect infection.
Which test makes sense for you depends on whether you currently have symptoms, how long ago a potential exposure occurred, and what you’re trying to learn. Here’s how each method works and what to expect.
Swab Tests From Active Sores
If you have a blister, sore, or any visible outbreak, a swab test is the gold standard. A provider collects a sample directly from the lesion and sends it to a lab, where it’s analyzed using one of two techniques: PCR (a molecular test that detects the virus’s DNA) or viral culture (which tries to grow the virus in a lab dish).
PCR is the preferred method. It’s roughly four times more sensitive than viral culture, particularly when the amount of virus present is small. In clinical evaluations, PCR detects HSV-1 with about 100% sensitivity and HSV-2 with roughly 90% sensitivity. Viral culture, by contrast, becomes significantly less reliable as a sore begins to heal, during recurrent outbreaks (which tend to shed less virus than first outbreaks), and as the disease progresses past the initial blister stage.
Timing matters. The swab needs to come from a sore that hasn’t crusted over or started healing. A fresh, fluid-filled blister gives the best result. If you notice an outbreak developing, getting to a provider quickly improves your chances of an accurate test. Once the lesion is scabbing or drying out, the amount of detectable virus drops sharply.
One major advantage of swab testing: it can tell you whether the infection is HSV-1 or HSV-2. This distinction matters for understanding your likely recurrence pattern and transmission risk.
Blood Tests When No Sores Are Present
If you don’t have an active outbreak but want to know your herpes status, a blood test is the main option. These tests don’t look for the virus itself. Instead, they detect antibodies your immune system produces in response to infection. The most useful version is a type-specific IgG blood test, which can distinguish between HSV-1 and HSV-2.
The catch is the window period. After exposure, it can take up to 16 weeks or longer for antibodies to build up to detectable levels. Testing too soon after a potential exposure can produce a false negative, meaning you could be infected but the test misses it.
False positives are also a real concern. The CDC notes that herpes blood tests produce false positives at a much higher rate than tests for STIs like chlamydia or gonorrhea. The tests simply aren’t as precise. This is especially problematic for people at low risk of infection, where the odds of a positive result being wrong go up. A positive blood test in someone with no symptoms and no known exposure should be interpreted cautiously.
Why IgM Tests Are Unreliable
Some providers still order IgM blood tests for herpes, but this type of test is widely considered unreliable by infectious disease specialists. IgM antibodies are the body’s early immune response, but for herpes, they can appear during both new infections and old reactivations, making it impossible to determine when you were infected. IgM tests also cross-react with other viruses, producing misleading results. If a provider offers an IgM test for herpes, it’s worth asking for a type-specific IgG test instead.
Confirming an Uncertain Result
Because standard blood tests have a notable false positive rate, borderline or unexpected positive results sometimes need confirmation. The most accurate confirmatory test available is the HSV Western Blot, developed at the University of Washington. This lab-developed test is not FDA-cleared but is considered the reference standard for resolving ambiguous results.
Getting a Western Blot isn’t as simple as walking into a clinic. Your provider needs to order it specifically, and the blood sample must be shipped to the University of Washington’s virology lab under strict conditions (frozen on dry ice, or refrigerated and received within seven days). It’s not a first-line test, but it can provide clarity when a standard IgG result doesn’t match your clinical picture.
Detecting Herpes Without Symptoms
One of the trickiest aspects of herpes is that the virus can shed from skin and mucous membranes even when no sores are visible. This subclinical shedding is a major route of transmission to sexual partners and, during labor, to newborns. Research using daily sampling has shown that people with HSV-2 experience a median of about 18 reactivation episodes per year, most of which produce no noticeable symptoms.
PCR-based swab testing can detect these episodes of invisible shedding, but it’s primarily a research tool. In everyday clinical practice, there’s no routine way to monitor for subclinical shedding. This is one reason the virus spreads so easily: most transmission happens when the infected person has no idea they’re shedding virus.
Subclinical shedding also causes low-level inflammation in genital tissue, even without visible sores. This immune response increases the concentration of certain immune cells in the genital tract, which is why HSV-2 infection is associated with a higher risk of acquiring HIV.
Who Should Get Tested
Routine herpes screening for the general population is not recommended by the CDC. This might seem counterintuitive, but the reasoning comes down to test limitations: with a high false positive rate and no cure, screening everyone would generate a large number of incorrect diagnoses with significant psychological impact and no clear clinical benefit.
Testing is recommended or worth considering in specific situations:
- You have symptoms: any genital sore, blister, or recurrent irritation that could be herpes warrants a swab test.
- You’re getting a full STI evaluation: type-specific blood testing can be considered, especially if you have multiple sexual partners.
- Your partner has herpes: knowing your own status helps you make informed decisions about risk reduction.
- You’re a man who has sex with men: type-specific testing can be considered if your infection status is unknown.
Routine screening is also not recommended for pregnant women without symptoms, though providers may test in specific clinical circumstances.
Getting the Most Accurate Result
If you have an active sore, get it swabbed as soon as possible, before it starts crusting over. Ask for a PCR test rather than a viral culture if your clinic offers both. If no sores are present, wait at least 12 to 16 weeks after a potential exposure before getting a blood test. Request a type-specific IgG test, not an IgM test. And if a blood test comes back positive but doesn’t match your risk profile or symptom history, ask your provider about confirmatory testing with the Western Blot.

