
Prevention & transmission
Vaccination and STD Prevention: What Vaccines You Should Consider
Published: Updated: Last reviewed: 6 min readDr. Michael Thompson

On this page ⌄
Vaccines can prevent four sexually transmissible infections: HPV, hepatitis B, hepatitis A, and mpox. The CDC recommends HPV vaccine routinely at ages 11–12, with catch-up through 26, and hepatitis B vaccine for all adults 19–59. There are no approved vaccines yet for HIV, herpes, chlamydia, gonorrhea, or syphilis, so condoms and testing still matter.
When patients ask me about STD prevention, vaccines are often the piece they've forgotten. Condoms and testing are essential, but vaccines are the only tool that protects you before an exposure ever happens, and for HPV they also prevent several cancers. Many adults I see aren't sure what they received as kids. The good news is that it's rarely too late to catch up.
Which STD Vaccines Are Available?
| Vaccine | Protects against | Who it's recommended for | Doses |
|---|---|---|---|
| Vaccine HPV (Gardasil 9) | Protects against Nine HPV types linked to cervical, anal, throat, and genital cancers and genital warts | Who it's recommended for Routine at 11–12 (can start at 9); catch-up through 26; shared decision at 27–45 | Doses 2 if started before 15; 3 if started at 15+ or immunocompromised |
| Vaccine Hepatitis B | Protects against Hepatitis B virus, spread through sex, blood, and birth | Who it's recommended for All adults 19–59; adults 60+ with risk factors or who want it | Doses 2, 3, or 4, depending on the brand |
| Vaccine Hepatitis A | Protects against Hepatitis A virus, including spread through oral-anal sex | Who it's recommended for Men who have sex with men, travelers, people who use drugs, people with liver disease or HIV, and anyone who asks | Doses 2 (or 3 as a combined A/B vaccine) |
| Vaccine Mpox (JYNNEOS) | Protects against Mpox and smallpox | Who it's recommended for Adults at high risk of mpox | Doses 2 |
Sources: CDC HPV, hepatitis B, and hepatitis A vaccine guidance (2024–2025); FDA JYNNEOS information. Your clinician will confirm which vaccines and schedule fit you.
Who Should Get the HPV Vaccine?
HPV is the most common sexually transmitted infection. Most infections clear on their own, but high-risk types can cause cervical, anal, penile, vulvar, vaginal, and throat cancers. Low-risk types cause genital warts. According to the CDC's HPV vaccination recommendations:
- Ages 11–12: routine vaccination, which can start as early as 9
- Through age 26: catch-up for anyone not fully vaccinated
- Ages 27–45: some adults may benefit, based on a conversation with their clinician
- Doses: two doses 6–12 months apart if you start before your 15th birthday; three doses if you start at 15 or older, or if you're immunocompromised, including people with HIV
The vaccine works best before any exposure, which is why it's given young. Still, I tell adults that getting vaccinated later is better than not at all, since few people have been exposed to all nine types. If you started the series and didn't finish, you don't need to restart. See our adult HPV vaccine schedule, HPV and cancer, and HPV vaccine safety data.
Do Adults Need the Hepatitis B Vaccine?
Yes, most do. The CDC now recommends hepatitis B vaccination for all adults aged 19–59, not just those with known risk factors. Adults 60 and older should get it if they have risk factors and may get it if they simply want protection.
Several options exist:
- Heplisav-B: a two-dose series for adults
- Engerix-B and Recombivax HB: three-dose series
- Twinrix: a combined hepatitis A and B vaccine for adults
One brand, PreHevbrio, was recalled by its manufacturer in November 2024. If you started a series with it, the CDC says to finish with another licensed vaccine. Not sure if you're protected? A blood test can check. Our guide to hepatitis B test results explains each marker, and what is hepatitis B? covers the infection.
What About Hepatitis A and Mpox Vaccines?
Hepatitis A is mainly spread through contaminated food and water, but it can also spread through oral-anal sex. The CDC recommends hepatitis A vaccination for men who have sex with men, international travelers, people who use drugs, people experiencing homelessness, and people with chronic liver disease or HIV. Anyone who wants protection can get it. Learn more on our hepatitis overview page.
Mpox spreads mainly through close skin-to-skin contact, including sex. The FDA has approved JYNNEOS for adults at high risk of mpox. In practice, this often includes gay, bisexual, and other men who have sex with men with multiple partners. Ask your clinician whether you qualify.
Key point: Vaccines don't replace condoms or testing. They cover only specific infections, and the most common bacterial STDs, chlamydia, gonorrhea, and syphilis, have no vaccine.
Are There Vaccines for HIV, Herpes, or Gonorrhea?
Not yet. Research is active, but no vaccine for HIV, herpes, chlamydia, gonorrhea, or syphilis has been approved:
- HIV: no vaccine, but PrEP pills and long-acting injections greatly reduce risk.
- Herpes: several candidates have failed or are still in trials. See will herpes ever be cured?
- Gonorrhea: researchers are studying whether a meningococcal B vaccine gives partial cross-protection, because the bacteria are closely related. It isn't approved or recommended for gonorrhea prevention in the U.S.
- Chlamydia and syphilis: early-stage research only.
For HPV basics, our complete guide to HPV is a good next read.
When to Seek Medical Care
Go to the ER immediately if, after any vaccine:
- You have trouble breathing, swelling of the face or throat, or hives spreading over your body within minutes to hours
- You faint and are injured, or don't recover quickly
See a clinician within 24 hours if:
- You had a possible exposure to hepatitis B and aren't vaccinated, since prompt vaccination with immune globulin may help
- You develop yellow skin or eyes, dark urine, or pale stools
- You notice a new genital, anal, or mouth sore or an unusual rash after a new partner
Mild arm soreness, low fever, or tiredness for a day or two after a vaccine is common and usually not a concern.
Frequently Asked Questions
Is it too late to get the HPV vaccine as an adult?
Catch-up vaccination is recommended through age 26. From 27 to 45, the CDC suggests deciding with your clinician, since benefit depends on your likely past exposure. Many adults in that range still choose it.
Which STD vaccines should adults get?
Most adults under 60 should be vaccinated against hepatitis B, and people 26 and younger should complete HPV vaccination. Hepatitis A and mpox vaccines are recommended for people with specific risks. Your clinician can review your records.
Is there a vaccine for chlamydia or gonorrhea?
No. Both are prevented with condoms, regular testing, and prompt treatment. Some people may also be eligible for doxy-PEP, a preventive antibiotic taken after sex.
Do I need the HPV vaccine if I'm in a monogamous relationship?
If you're 26 or younger and not fully vaccinated, yes, it's still recommended. Relationships change, and the vaccine protects against types you haven't been exposed to.
Can I get STD vaccines if I already have an STD?
Usually yes. Having one HPV type doesn't stop the vaccine from protecting against the others. If you already have chronic hepatitis B, the vaccine won't help, which is why testing first can make sense.
Vaccines are one layer of protection, and testing is another. Order a confidential STD panel to know your current status.
This article is for informational purposes only and does not replace advice from your healthcare provider.

Dr. Michael Thompson is an expert in sexually transmitted diseases with extensive clinical and research experience. He leads campaigns advocating for early diagnosis and prevention of diseases like HIV and gonorrhea. He collaborates with local organizations to educate both youth and adults about sexual health.
Related reading
HPV Vaccine Schedule for Adults: Catch-Up Doses, Timing, and Is It Too Late?5 min read
HPV Vaccine Side Effects: What the Safety Data Actually Shows6 min read
Can You Get an STD at a Festival? Risks, Prevention, and When to Get Tested7 min read
Can You Get an STD from Oral Sex? Risks, Prevention, and Testing5 min read