Group B strep (GBS) and STIs are screened at different times and for different reasons in pregnancy. The GBS swab is a routine late-pregnancy test for a common gut and vaginal bacterium that can be passed to the baby during birth. STI screening, done earlier and sometimes repeated, checks for sexually transmitted infections like HIV and syphilis to protect both you and your baby.

  • Everyone 15–65 — HIV at least once

    USPSTF

  • Sexually active women under 25 — chlamydia & gonorrhea yearly
  • Gay & bisexual men — at least yearly, throat/rectal too
  • Everyone pregnant — HIV, syphilis, hepatitis B
  • More often with new or multiple partners
Who should get screened. Screening is testing when you feel fine — driven by risk, not symptoms. Source: USPSTF / CDC.
Who should get screened
ItemValue
Everyone 15–65 — HIV at least once — USPSTF
Sexually active women under 25 — chlamydia & gonorrhea yearly
Gay & bisexual men — at least yearly, throat/rectal too
Everyone pregnant — HIV, syphilis, hepatitis B
More often with new or multiple partners

What each one actually is

It helps to separate the two completely in your mind. They share almost nothing except that both involve a swab during prenatal care.

Group B strep (GBS)

Group B strep is Streptococcus agalactiae, a bacterium that lives harmlessly in the gut, rectum, and vagina of many healthy people. Carrying it says nothing about your sex life, and it comes and goes on its own. The concern is about birth. If GBS is present in the vagina or rectum when the baby passes through, the newborn can occasionally pick it up and develop a serious early infection of the blood, lungs, or the membranes around the brain. GBS is screened near term and, if you carry it, treated with antibiotics during labor rather than weeks earlier. The goal is to clear the birth canal at the moment the baby comes through, not to eradicate the bacteria from your body.

STIs in pregnancy

STI screening looks for infections spread through sexual contact: HIV, syphilis, hepatitis B, chlamydia, and gonorrhea among them. These matter in pregnancy because several can cross the placenta or infect the baby at delivery, and because most cause no symptoms at all in the parent. Screening finds a silent infection in time to treat it. Everyone who is pregnant is screened for HIV and syphilis (and hepatitis B), because treating these during pregnancy directly protects the baby USPSTF.

The key differences

Timing

STI screening starts early, typically at the first prenatal visit, so there's time to treat before delivery, and it may be repeated later in pregnancy if your risk is higher. The GBS swab is done late, close to your due date, because GBS status can change over weeks and only the status near labor predicts what the baby is exposed to.

Why it's done

GBS screening decides one thing: whether you'll get IV antibiotics during labor. STI screening catches and treats infections that can harm your health and your baby's. With HIV, it also starts treatment that protects you and dramatically lowers the chance of passing the virus to your baby.

How the sample is taken

The GBS test is a single swab of the lower vagina and rectum, often done by you or your clinician in the office. STI screening is a mix: a blood draw for HIV and syphilis, and a urine sample or swab for chlamydia and gonorrhea. One does not substitute for the other.

What carrying it means

A positive GBS result is common and isn't a sign of any infection or risk to your own health. It's information that changes your labor plan. A positive STI result means an active infection that needs treatment, and usually partner notification and a conversation about retesting.

Side-by-side comparison

Group B strepSTI screening
Is it an STI?No — a normal gut/vaginal bacteriumYes — sexually transmitted
When screenedLate pregnancy, near your due dateEarly in pregnancy; sometimes repeated
Sample typeVaginal + rectal swabBlood draw and/or urine/swab
Why it's doneTo decide on antibiotics during laborTo treat infection and protect the baby
TreatmentIV antibiotics during labor if positiveDepends on the infection; given when found
Driven byPregnancy stage (everyone screened)Universal for HIV/syphilis/hep B; risk for others

Which one applies to you

If you're pregnant, both apply, at different points. The universal STI screens (HIV, syphilis, hepatitis B) happen for everyone, no exceptions, because catching them early pays off so much. Chlamydia and gonorrhea screening follows risk: USPSTF recommends screening all sexually active women under 25, and older women with new or multiple partners or other risk factors USPSTF. The HIV recommendation is broader: everyone aged 15 to 65 should be tested at least once, with more frequent testing for those at increased risk USPSTF.

Screening is testing when you feel completely fine. Silent infections get caught precisely because you're not waiting for a symptom to appear. How often you screen depends on your risk: a new partner, multiple partners, a partner who tested positive, or inconsistent condom use all mean testing more often.

If you have a history of genital herpes, that's tracked separately during pregnancy and managed around delivery; see genital herpes and pregnancy for how that's handled. And if you're living with HIV, starting or staying on treatment is the single most protective step you can take in pregnancy. The same treatment that helps you also lowers transmission, which is why earlier hiv treatment can help prevention.

The practical next step

Don't assume your prenatal panel covered everything. The universal screens are reliable, but chlamydia, gonorrhea, and repeat testing depend on your risk being on your clinician's radar, so be specific. Tie screening to a new partner, your annual checkup, or starting PrEP. If swabs of the throat or rectum apply to you based on the kind of sex you have, ask for them by name, because a urine test alone misses infections at those sites, which CDC notes are often overlooked CDC. Gay and bisexual men and other men who have sex with men are advised to test at least once a year, and every three to six months with higher risk, including throat and rectal swabs.

If you want to confirm what you've been screened for or fill a gap, you can get tested outside of routine prenatal visits. And if you had a possible exposure, timing matters. Different infections show up on different schedules, so check when to test after exposure before assuming a single test clears you.

When to talk to a clinician

Reach out promptly if you have a new partner during pregnancy, learn a partner tested positive for an STI, or develop symptoms like unusual discharge, pelvic pain, sores, or burning with urination. Ask directly whether your GBS swab is scheduled and whether your STI screening is complete for your situation. That simple question closes most of the gaps.