Our Services
Medical Information
Helpful Resources
Published on: 2/3/2026
Sex is usually safe in pregnancy, but your clinician may advise against it if infection is present or suspected, including untreated STIs, bacterial vaginosis, UTIs, severe or recurrent yeast infections, certain Group B strep concerns, or higher risk situations like ruptured or leaking membranes, unexplained bleeding, or a shortened cervix. Call your doctor for symptoms such as fever, foul discharge, burning with urination, pelvic pain, painful sex, or bleeding after sex, and confirm when it is safe to resume after treatment and any needed partner testing or condom use. There are several factors to consider; see below to understand timing, precautions, and other details that could change your next steps.
Many people ask, "Can you have sex when pregnant?" For most healthy pregnancies, the answer is yes. Sex during pregnancy is usually safe, comfortable, and even beneficial for intimacy and emotional well‑being. However, there are specific situations—especially those involving infection risk—where your doctor may advise against sex for a period of time.
This article explains when and why infections change the guidance, what symptoms to watch for, and how to protect both you and your baby without creating unnecessary fear. The information here reflects guidance commonly used by obstetricians and supported by respected medical organizations such as the American College of Obstetricians and Gynecologists (ACOG) and the Centers for Disease Control and Prevention (CDC).
In a typical, uncomplicated pregnancy:
So again, can you have sex when pregnant? Yes—unless your doctor identifies a medical reason to pause, most commonly related to infection, bleeding, or early labor risk.
Pregnancy naturally changes the immune system. This helps your body support a growing baby, but it can also make it easier for infections to:
Some infections can irritate the cervix, weaken protective barriers, or increase the risk of preterm labor, rupture of membranes, or newborn infection. This is why doctors sometimes recommend avoiding sex until the infection is treated or fully resolved.
Below are common infection-related reasons your doctor may advise against sex temporarily.
If you or your partner has an untreated or active STI, your doctor will usually recommend no sex, including vaginal, oral, or anal sex, until treatment is complete.
Examples include:
These infections can:
In some cases, condoms may reduce risk, but abstinence during treatment is often the safest choice.
Bacterial vaginosis is not an STI, but it is linked to:
Doctors may recommend avoiding sex while being treated for BV, especially if:
Most yeast infections are not dangerous to pregnancy, but sex may be discouraged if:
Sex can delay healing and make symptoms more uncomfortable, even if it does not directly harm the baby.
UTIs are common in pregnancy and can become serious if untreated.
Your doctor may suggest avoiding sex if:
Sex can push bacteria back into the urinary tract and slow recovery.
Group B strep is a bacterium commonly found in the body. It is usually harmless to adults but can be dangerous to newborns during delivery.
While GBS itself does not always require avoiding sex, your doctor may advise caution if:
Even without a confirmed infection, doctors may advise against sex when the risk of infection is increased, such as:
In these cases, bacteria can travel upward more easily, increasing the risk to the baby.
Contact your doctor promptly if you notice:
These symptoms do not always mean something serious—but they should always be checked during pregnancy.
For some people, sex during pregnancy becomes emotionally complicated, especially if there is:
If you've experienced difficult situations in the past that affect your comfort with intimacy, understanding your symptoms can help you have more informed conversations with your healthcare provider. You can use a free, confidential Sexual Trauma symptom checker to better understand what you're experiencing and get personalized guidance on next steps.
Infection prevention during pregnancy is a shared responsibility.
Doctors may recommend:
Even if only one partner has symptoms, both partners often need evaluation to prevent reinfection.
In most infection-related cases, restrictions are temporary.
Sex can usually resume when:
Always ask for clear guidance so you know exactly when it's okay to resume intimacy.
So, can you have sex when pregnant?
Yes—most of the time.
But when infections are present or suspected, your doctor may advise against sex to:
This guidance is not about blame or fear—it's about safety and timing.
If anything feels off, uncomfortable, or worrying, speak to a doctor right away, especially about symptoms that could be life-threatening or serious. Early care makes a real difference for both you and your baby.
Pregnancy is a time of many changes. Clear information, medical support, and open communication can help you make confident, safe decisions about intimacy throughout the journey.
(References)
* De Lisi, R., Nicosia, E., Bruno, M., Cammisa, M., Piazzi, F., & Fiasconaro, F. (2018). Sexual activity during pregnancy: A critical review of the literature. *Minerva Ginecologica*, *70*(6), 661–667. pubmed.ncbi.nlm.nih.gov/30421679/
* Bartellas, E., Hannam, T., & Miller, J. (2009). Sexual activity during pregnancy: A literature review. *Journal of Obstetrics and Gynaecology Canada*, *31*(12), 1162–1166. pubmed.ncbi.nlm.nih.gov/20089182/
* Gracia, C. R., Lamy, M., & Garcia, R. B. (2018). Sexual Activity During Pregnancy: Risks, Benefits, and Advice. *Current Sexual Health Reports*, *10*(1), 1–6. pubmed.ncbi.nlm.nih.gov/29670535/
* Tang, K., Lu, S., Qiu, S., & Li, J. (2020). Sexual activity and the risk of preterm birth: a systematic review and meta-analysis. *BJOG: An International Journal of Obstetrics and Gynaecology*, *127*(11), 1318–1327. pubmed.ncbi.nlm.nih.gov/32338982/
* Mercer, B. M. (2009). Premature rupture of membranes: the diagnosis and management implications. *Reviews in Obstetrics & Gynecology*, *2*(1), 12–23. pubmed.ncbi.nlm.nih.gov/19399283/
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.