To prevent genital herpes, limit direct skin and mucous-membrane contact with the virus: use condoms or dental dams consistently, avoid sex during a partner's visible outbreak, ask partners about their status, and consider daily antiviral therapy if a partner is infected. No single step is perfect, so layering several lowers your risk the most.

mild / none
Most people
swab a sore
Test

NAAT or culture

control
Antivirals

not a cure

not advised
Screening

USPSTF Grade D

Genital herpes at a glance. Source: CDC.
Genital herpes at a glance
ItemValue
Most peoplemild / none
Testswab a sore — NAAT or culture
Antiviralscontrol — not a cure
Screeningnot advised — USPSTF Grade D

How do you actually prevent genital herpes?

Genital herpes is caused by herpes simplex virus type 1 (HSV-1) and type 2 (HSV-2), and it spreads through contact with a herpes sore, saliva from an oral infection, or genital fluids CDC. You can catch it from a partner who has no visible sore at all, and oral HSV-1 can move to the genitals through oral sex. In one US young-adult cohort, the share of new genital herpes caused by HSV-1 rose from 31% to 78% HSV-1 cohort, so mouth-to-genital is now a major way people get infected.

Because the virus lives in skin and nerves rather than just in fluids, prevention is about reducing contact. Here's how the main tools stack up and how well each one works.

  • Avoid contact during a visible outbreak. Active sores carry the highest viral load, so steering clear of genital, oral, or anal contact while a partner has a lesion (or feels one coming on) removes the riskiest window.
  • Use barriers every time. Condoms and dental dams cut transmission but don't erase it, for reasons covered below.
  • Know your partner's status. A frank conversation, and testing where it's appropriate, beats guessing.
  • Ask an infected partner about daily suppressive antivirals. This is one of the few interventions with trial evidence that it protects the uninfected person.
  • Limit the number of partners and choose mutual monogamy where possible, which reduces how many viral exposures you have over time.

The single biggest mistake people make is assuming that no sore means no risk. Herpes spreads quietly, so the steps above matter even when everyone looks and feels fine.

Condoms help — but here's where they fall short

Condoms decrease HSV-2 transmission, but they do not eliminate it CDC STI guidelines. The reason is mechanical: herpes lives in skin, and a condom only covers the shaft of the penis. The scrotum, the base, the vulva, the perineum, and the upper thighs are all skin that can shed virus or pick it up, and none of that is under latex. A dental dam during oral sex has the same limitation for the mouth-to-genital route.

So treat condoms as a strong layer. Used consistently they meaningfully lower your odds, and they protect against other infections at the same time. Pair them with the other steps here to get your risk as low as it realistically goes.

Can testing prevent herpes?

Testing is most useful for figuring out what's already there rather than as a screen for everyone. When a sore is present, a clinician confirms it with type-specific virologic testing of the lesion: a swab read by NAAT or culture, which works best while the sore is fresh CDC herpes testing. Without lesions, a type-specific blood (serologic) test can sometimes help sort things out.

Screening people with no symptoms is not recommended. CDC does not advise routine HSV-2 blood screening in the general population, because the available tests throw enough false positives to cause real harm — anxiety, relationship strain, and unneeded treatment — without clearly preventing spread. If you've had a specific exposure or a new symptom, that's different; see when to test after exposure for timing, and you can get tested for the rest of the STI panel that does benefit from routine screening.

Testing prevents transmission at the level of a couple. If one partner knows they carry HSV-2, that knowledge unlocks disclosure, condom use during higher-risk windows, and the antiviral decision below.

Daily antivirals: the closest thing to herpes PrEP

There's no herpes vaccine and no DoxyPEP for it, so the standout biomedical tool is daily suppressive antiviral therapy taken by the infected partner. In a randomized trial of serodiscordant couples, suppressive valacyclovir lowered the risk of passing HSV-2 to the uninfected partner by about 48% Corey et al.. That's the evidence behind taking a daily pill for a partner's sake.

A few caveats. The drug doesn't cure anything. The infection is lifelong, and antivirals don't eradicate the latent virus or change how often outbreaks come back once you stop the pills. It cuts risk by about half, so it layers with condoms and disclosure rather than replacing them. If you're dating someone with herpes, have this conversation with their clinician, and note that the partner's own outbreak pattern matters, which you can read more about under herpes outbreak triggers & how to prevent them.

Putting it together: a realistic prevention plan

No layer is complete on its own, so stack them. Here's how the main tools compare on what they do and don't do.

MethodHow it helpsIts limit
Condoms / dental damsDecrease HSV-2 transmission; protect against other STIsDon't cover all affected skin, so risk remains
Avoiding sex during an outbreakRemoves the highest-viral-load windowVirus also sheds with no sore present
Partner's daily suppressive antiviralLowered HSV-2 transmission by about 48% in trialCuts risk roughly in half, not to zero; doesn't cure
Disclosure + knowing statusLets a couple plan barriers and antiviralsRelies on accurate testing and honesty
Routine asymptomatic screeningNot recommended for preventionFalse positives cause harm without clear benefit

Layering matters because of one biological fact: people with HSV-2 shed virus on about 10% of days even when they never have outbreaks, and most of that shedding leaves no visible sore JAMA shedding study. That asymptomatic shedding spreads herpes unknowingly, and it's why "there's no sore, so we're fine" is the most common and riskiest assumption. To understand how someone can carry and pass the virus while feeling completely well, see herpes & asymptomatic carriers.

Risk also depends on which virus is involved. Recurrences and subclinical shedding are far more frequent with genital HSV-2 than with genital HSV-1, and genital HSV-1 recurs much less often — roughly once in the first year versus about four times a year for HSV-2. Since so much genital herpes now comes from oral HSV-1, it's worth understanding oral herpes vs genital herpes and how oral sex bridges the two.

When to see a clinician

Book a visit if you notice a new genital sore, blister, or burning. Getting it swabbed early, while the lesion is fresh, gives the most reliable answer. See a clinician too if a partner discloses herpes and you want to talk through barriers and whether their daily suppressive therapy makes sense, or if you're pregnant. Pregnancy has its own playbook: a suppressive antiviral such as acyclovir from around the 36th week reduces the need for cesarean delivery, and a woman with recurrent lesions at the onset of labor should have a cesarean to lower the chance of passing herpes to the newborn. Flag any history of genital herpes to your prenatal team early.

And if you've just been diagnosed: it's a manageable skin condition. Most people have few outbreaks over time, daily antivirals can make them rare, and the same pills lower the chance of passing it on.