A doctor tests for herpes with a lesion swab (PCR or viral culture) when sores are present, or a type-specific IgG blood test when they are not. The choice depends on symptoms, exposure timing, and whether the goal is confirming an active outbreak or detecting prior infection. No single test rules herpes in or out at every stage.
Most people picture a single definitive test. In practice, herpes testing is a set of tools with different windows, different accuracy, and different failure modes. Understanding why each test exists explains why doctors sequence them the way they do.
How each test detects the virus
The tests differ in what they measure: the virus itself, its DNA, or the immune response to it.
A viral culture swabs fluid from a fresh blister or ulcer and attempts to grow live herpes simplex virus in cells. Growth confirms the virus is present. Sensitivity falls as lesions heal, because live virus becomes scarce. A culture takes days to result.
Polymerase chain reaction (PCR) swabs the same lesion and amplifies viral DNA. PCR detects far less virus than culture and stays positive longer into healing. It is the preferred confirmatory test for active lesions. Results return faster than culture in most labs.
Type-specific IgG blood tests detect antibodies against HSV-1 or HSV-2 separately. Antibodies appear after infection and persist. These tests cannot tell where the infection is, and they cannot distinguish oral from genital site. They only show that the person has been infected with that type.
The Tzanck smear examines scraped cells under a microscope for changes caused by herpesviruses. It is fast and cheap but cannot distinguish HSV from varicella-zoster, and it is far less sensitive than PCR. Most guidelines treat it as obsolete for HSV confirmation.
Here is the mechanism worth internalizing: swab tests ask whether the virus is there right now. Blood tests ask whether the immune system has ever met it. Those are different questions, and a doctor chooses based on which question matters.
The timing problem that drives everything
Herpes tests fail predictably at the wrong moment. That predictability is the single most useful fact for patients.
After exposure, HSV-2 antibodies typically take weeks to months to reach detectable levels. A blood test drawn days after exposure can be negative and still be wrong. Seroconversion commonly occurs within the first weeks to a few months, but the range extends beyond that in some people. A negative early test does not exclude recent infection.
Lesion tests have the opposite constraint. They only work while virus is present. Once a sore crusts and heals, a swab has nothing to sample. If the lesion is already healing, PCR may still detect DNA, but culture often will not.
This produces the counterintuitive scenario clinicians see regularly: a patient with a classic first outbreak tests negative on blood because antibodies have not formed yet. The correct test was the swab. Weeks later the blood test turns positive, and the earlier negative result looks confusing unless someone explains the window.
A clinician reasoning through this asks three questions before ordering anything. When did exposure likely occur? Are lesions present now? Has the person had prior episodes? The answers determine which test can actually answer the question.
Test performance and the numbers that matter
Accuracy is not one number. Each test has a sensitivity (how often it detects true infection) and a specificity (how often it correctly reports absence). Both shift with timing and population.
PCR on an active lesion is the most sensitive direct method and is the standard for confirming genital herpes when sores are present. Culture is specific but less sensitive, and its sensitivity drops sharply as lesions age. Type-specific IgG blood tests are generally sensitive and specific for HSV-2, though performance varies by assay and population. False positives occur more often in people with low prior probability of infection, which is why confirmatory testing matters when a result seems discordant.
CDC guidance recommends type-specific serology when a blood test is used, rather than older crude assays that cannot separate HSV-1 from HSV-2. The distinction changes counseling, because the two types behave differently.
The professional caveat: a positive IgG result indicates infection at some point, not an active outbreak, and not the site of infection. A negative result does not exclude very recent infection. Neither result, alone, tells the full clinical story.
Comparison of testing methods
| Method | What it detects | Best timing | Main limitation |
|---|---|---|---|
| PCR swab | Viral DNA | Active lesion, any stage | Requires accessible lesion |
| Viral culture | Live virus | Fresh blister or ulcer | Sensitivity falls as lesion heals |
| Type-specific IgG | Antibodies to HSV-1 or HSV-2 | Weeks after exposure | Negative early; no site info |
| Tzanck smear | Cell changes | Active lesion | Cannot separate HSV from VZV |
| IgM antibody | Early antibody | Not recommended for HSV | Poor specificity for HSV |
The table's last row matters. IgM tests are widely available and widely misused. IgM can be positive in recurrent infection and cross-react with other herpesviruses, so it cannot reliably distinguish new from old infection. Major guidance does not recommend IgM for diagnosing genital herpes.
What actually happens in the clinic
A doctor starts with history and examination, then picks a test. When sores are present, the priority is a swab for PCR, with culture as an alternative where PCR is unavailable. When no sores are present but exposure or risk warrants testing, type-specific IgG blood is the tool.
A typical sequence looks like this:
Day 0: exposure or symptom onset; exam and history taken. Day 0 to 3: lesion swab collected if sores are present. Days 1 to 5: PCR result usually returns within days; culture takes longer. Weeks 2 to 12: IgG may remain negative even after true infection. Months later: repeat IgG can clarify if earlier testing was too soon.
The takeaway from the timeline: the right test at the wrong time gives a misleading answer. Clinicians who understand the window avoid false reassurance.
Red flags and edge cases
Certain findings change the urgency and the testing strategy:
A painful genital ulcer with negative routine testing warrants evaluation for other causes, including syphilis and chancroid. Herpes in pregnancy near delivery requires urgent obstetric input, because transmission risk to the newborn is serious. Severe first episodes with systemic symptoms, or infection in immunocompromised people, need prompt clinical assessment. Eye involvement, such as keratitis, requires same-day ophthalmology evaluation. Neonatal symptoms, including lethargy or poor feeding after exposure, are an emergency.
These are not reasons to self-test. They are reasons to seek care quickly.
Practical steps and thresholds
There are concrete actions that improve the odds of an accurate answer.
Get swabbed while lesions are fresh. Present to care within the first day or two of a sore appearing, because culture sensitivity drops as the lesion ages.
Ask which test is being ordered. Confirm whether it is PCR, culture, or type-specific IgG. A vague "herpes test" can mean different things.
If blood testing is done soon after exposure, plan a repeat. A negative result in the first weeks does not close the question.
Ask for type-specific serology, not IgM. If a lab offers only IgM, request the type-specific IgG instead.
If a positive IgG result surprises you, ask about confirmatory testing. Discordant results in low-risk situations deserve a second look.
Do not use testing to replace clinical evaluation of symptoms. A test result does not explain a rash or ulcer on its own.
What testing cannot tell you
Testing answers narrow questions and leaves others open.
It cannot tell you when infection occurred. Antibodies persist for life, so a positive IgG is consistent with infection at any prior point.
It cannot tell you the anatomical site. A positive HSV-2 IgG does not prove genital infection, though HSV-2 is predominantly genital.
It cannot prove someone is not infected. A negative test early after exposure, or a swab taken from a healing lesion, can miss true infection.
It cannot predict outbreak frequency or severity. Serology and virology describe presence, not future course.
The honest summary is that herpes testing is reliable when matched to timing and purpose, and misleading when it is not. A doctor's job is to pick the test that fits the question being asked. The mechanism behind that choice, whether the virus is present or the immune system has responded, is what separates a useful result from a confusing one.