STDs and Pregnancy Problems

Having a sexually transmitted disease (STD) during pregnancy can bring an increased risk of miscarriage, stillbirth, preterm delivery,​ and many other problems. Without treatment, you may also pass an infection on to your baby in the womb or during labor. The exact risk varies by the type of STD and how under control it is during the pregnancy, along with other factors.

If you have an STD, or if you're worried that you might, talk to a healthcare provider. With the proper treatment, STDs can be managed during pregnancy to reduce or eliminate the risks.

Read on to learn about the effects of different STDs such as syphilis, gonorrhea, herpes, hepatitis, and bacterial vaginosis on pregnancy risks.

Syphilis and the Risk of Miscarriage

doctor checking pregnant woman's abdomen
Keith Brofsky/Photodisc/Getty Images

All women should be tested for syphilis during pregnancy (a VDRL test) because it can have very serious outcomes on the pregnancy and the baby. Syphilis increases the risk of:

  • Miscarriage
  • Stillbirth
  • Death of a newborn shortly after birth

Pregnant women with syphilis are treated with penicillin to prevent mother-to-child transmission of this STD.

It's important to understand that there are several stages of syphilis, and a woman may not necessarily know that she is infected.

HIV and Pregnancy

HIV, the virus which causes AIDS, can lead to miscarriage and stillbirth, but by far the greatest concern is that the infection can be passed on to the baby.

In the past, an expectant mother with HIV had a big risk of transmitting the virus to her baby during pregnancy or labor. But with today's highly effective drugs, HIV-positive women who are being properly treated have an excellent chance of preventing mother to child transmission of HIV. The use of antiretroviral therapy (ART) can now prevent transmission around 98 percent of the time.

All women should be tested for HIV in early pregnancy regardless of whether they have risk factors. Pregnancy outcomes are best if a woman's HIV is well-controlled with antiviral medications while she's carrying her baby.

Viral Hepatitis

The risk of viral hepatitis during pregnancy varies by the type of hepatitis. The viral strains common in the U.S. do not increase the risk of miscarriage, but viral hepatitis in the mother can pose risks for the baby if it becomes infected in the womb or during labor.

Hepatitis B and, much less commonly, hepatitis C can be passed from mother to baby during pregnancy. Because of serious health concerns, all newborns should be vaccinated against hepatitis B, regardless of whether or not the mother is known to be infected. Babies born to mothers with hepatitis B must get the vaccine within 12 hours of birth, along with a treatment called immune globulin, to prevent a chronic hepatitis infection.​

Chronic hepatitis B infection does not often cause symptoms in newborns, but long-term chronic infections are a significant cause of both cirrhosis and liver cancer.


Genital herpes carries a risk of:

Babies can acquire herpes from the mother if she contracts the infection during pregnancy or if active lesions are present at birth and the baby is delivered vaginally.

If you have genital herpes, you may be prescribed an antiviral medication called Zovirax® Injection (acycloguanosine) during your last month of pregnancy to prevent an outbreak around the time your baby will be born.

Mothers with active lesions often need to deliver by C-section to avoid the risk of mother-baby transmission.

Bacterial Vaginosis

Bacterial vaginosis (BV) is an infection of the vagina caused by an overgrowth of certain types of bacteria. It is not strictly an STD, but it is associated with having multiple sex partners or having a new partner. (It also ups the chances of contracting certain STDs.) Bacterial vaginosis increases the risk of pregnancy problems including:

  • Premature birth
  • Low birth-weight babies

Fortunately, BV is easily treated in pregnancy with antibiotics. BV is not part of normal prenatal testing, so tell your doctor if you might have symptoms. Common symptoms include an unpleasant "fishy" odor and itching or burning of the labia.


Untreated gonorrhea increases the risk of several problems in pregnancy:

  • Miscarriage
  • Pelvic inflammatory disease (PID): PID, in turn, can lead to damage to the fallopian tubes, ectopic pregnancy and fertility problems
  • Premature rupture of membranes
  • Premature birth
  • Infection in the uterus after the baby is born

If gonorrhea is passed to the baby during birth, it may result in dangerous infections.

Your doctor will check you for gonorrhea during an early prenatal visit. Antibiotics can resolve the infection if it is present.

Other STD's and Pregnancy

The STD's listed here are not the only ones which can cause problems in pregnancy. Infections including Chlamydia and more can result in complications. If you have had an STD or feel you are at risk, talk to your doctor, and ask if you need further testing.

Was this page helpful?
Article Sources
Verywell Family uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Centers for Disease Control and Prevention. STDs during Pregnancy - CDC Fact Sheet (Detailed). Updated February 11, 2016.

  2. Rac MW, Revell PA, Eppes CS. Syphilis during pregnancy: a preventable threat to maternal-fetal healthAmerican Journal of Obstetrics and Gynecology. 2017;216(4):352-363. doi:10.1016/j.ajog.2016.11.1052.

  3. Centers for Disease Control and Prevention. Perinatal Transmission. Updated October 2, 2019.

  4. Kapranos NC, Kotronias DC. Detection of herpes simplex virus in first trimester pregnancy loss using molecular techniques. In Vivo. 2009;23(5):839-42.

  5. U.S. National Library of Medicine - ToxNet. Acyclovir. Published January 16, 2014.

  6. McDonald HM, Brocklehurst P, Gordon A. Antibiotics for treating bacterial vaginosis in pregnancyCochrane Database Syst Rev. 2007;(1):CD000262. Published 2007 Jan 24. doi:10.1002/14651858.CD000262.pub3