How Is Mother-to-Child Transmission of HIV and Syphilis Prevented?
HIV and syphilis can both reach a baby, and both are largely preventable, but the plans run in opposite directions. One keeps a lifelong virus suppressed through pregnancy, birth and feeding. The other finds and cures an infection before a deadline. Learn how each plan works, what changes at delivery and for the newborn, and where testing fits for you and your partner.




Published: November 2026 | Last updated: December 2026 | Editorial review and quality control: Martina N.
Both infections can pass from a pregnant person to a baby, and both are largely preventable. The tools point in opposite directions, though. HIV prevention keeps a lifelong virus suppressed with medicine for as long as the baby could be exposed. Syphilis prevention finds a curable infection and treats it with penicillin early enough to treat the fetus too. For the wider picture of which infections can reach a baby, see our guide on how STDs pass from mother to baby.
Congenital syphilis is rising in the United States. CDC reports that cases have more than tripled in recent years, with nearly 4,000 cases reported in 2024, the highest yearly number since 1994 (CDC).
One step cannot wait. If you are pregnant and think you were exposed to HIV in the last three days, contact a provider, an urgent care clinic or an emergency room today and ask about post-exposure prophylaxis (PEP). CDC says PEP must be started within 72 hours after a possible exposure (CDC).
Why HIV and syphilis need different prevention plans
HIV is a virus that stays in the body for life. Medicine can't remove it. Antiretroviral therapy (ART), a daily combination of HIV medicines, stops the virus from copying itself, so the amount of HIV in the blood, called the viral load, falls, often below what standard tests can measure. HIV can reach a baby during pregnancy, during labor and delivery, and through breast milk (NIH HIVinfo), so the plan has to cover all three.
Syphilis is caused by a bacterium, Treponema pallidum, and it can be cured. Congenital syphilis happens when a mother with syphilis passes the infection to her baby during pregnancy. Left untreated, it can cause miscarriage or stillbirth, and babies born to people with untreated syphilis can die from the infection as newborns (CDC). This plan runs against the clock: find the infection with a blood test, treat it with the right antibiotic in time, and keep the pregnant person from being reinfected before birth.
HIV vs Syphilis: Two Prevention Strategies
| Feature | HIV | Syphilis |
|---|---|---|
| Type of infection | Virus; lifelong, controlled with daily medicine | Bacterium; curable with antibiotics |
| When the baby can be exposed | Pregnancy, labor and delivery, breastfeeding | During pregnancy |
| Main prevention tool | HIV medicine (ART) for the parent, plus newborn medicine | Penicillin G for the pregnant person |
| What success looks like | A suppressed viral load that lasts through birth and feeding | Treatment finished in time, with no reinfection before delivery |
| How the newborn is checked | Tests that look for the virus itself, not antibodies | Hospital evaluation and blood tests, sometimes followed by antibiotics |
HIV prevention is ongoing control; syphilis prevention is a timed cure.
HIV: why medicine in pregnancy does most of the work
For expectant parents living with HIV, the first question is usually whether the baby will get it. With treatment, it rarely happens. According to NIH HIVinfo, consistent HIV medicine reduces the likelihood of perinatal transmission to less than 1 percent. That low figure depends on the virus staying controlled, and timing matters: NIH says the earlier HIV medicines are started, the more effective they are at preventing perinatal transmission.
That is why testing comes first. CDC says HIV testing should be performed during each pregnancy (CDC). NIH sets out the timing: a test at the first prenatal visit, another in the third trimester for people more likely to acquire HIV, and a test at delivery if none was done earlier. WHO adds that pregnant women with HIV should take ART as soon as possible, which protects their own health as well as the baby's (WHO). Someone already on treatment with a suppressed viral load before conception starts pregnancy in the strongest position. Someone diagnosed at a first prenatal visit starts then, which still gives the medicine months to bring the viral load down before birth.
Many people worry the medicine could harm the baby. NIH states that HIV medicines are generally safe to use during pregnancy and that registry data show they do not increase the risk of birth defects. Some drugs are preferred in pregnancy, so the HIV care team chooses the regimen and may adjust an existing one. Stopping or skipping doses without talking to that team lets the viral load rise again.
- Is my current regimen one that is recommended in pregnancy, or should it change?
- How often will my viral load be checked, and when is the check closest to my due date?
- Who do I call if nausea or vomiting makes it hard to keep my pills down?
- Who will give my baby the first dose of medicine after birth?
How viral load near delivery shapes the birth plan
Viral load is checked repeatedly through pregnancy, and the result closest to the due date carries the most weight, because labor and delivery are when the baby has the most contact with the parent's blood and genital fluids.
NIH guidance draws a clear line at 1,000 copies/mL. When the viral load is unknown or greater than that, a cesarean delivery is recommended in the 38th week of pregnancy, before labor starts and before the waters break (NIH HIVinfo). At or below that level, a cesarean is not recommended solely to prevent HIV transmission. The same cutoff decides one more step: U.S. recommendations summarized in American Family Physician call for the HIV medicine zidovudine, given through a drip in a vein during delivery, only when the viral load is above 1,000 copies/mL or unknown.
In practice, a person whose HIV is well controlled can plan a vaginal birth like anyone else. A cesarean may still happen for ordinary obstetric reasons. Late-pregnancy blood draws matter as much as earlier ones, because that number is what changes the plan.
Birth Planning by Viral Load Near Delivery
| Feature | Viral load 1,000 copies/mL or lower | Viral load above 1,000 copies/mL or unknown |
|---|---|---|
| Delivery route for HIV prevention | Vaginal birth is an option; cesarean only for other medical reasons | Planned cesarean delivery |
| Timing | Labor can start on its own or be induced as usual | Scheduled in the 38th week, before labor begins |
| HIV medicine at delivery | Usual daily ART continues | IV zidovudine during delivery, in addition to daily ART |
| Main goal | Avoid surgery that adds no HIV benefit | Limit the baby's exposure to blood and fluids during labor |
Based on NIH HIVinfo and American Family Physician summaries of U.S. guidance; the care team makes the final plan.
Medicine and testing for a baby exposed to HIV
The baby gets its own layer of protection. NIH advises that HIV medicines be started for exposed infants as soon as possible after birth, preferably within six hours of delivery (NIH HIVinfo). The medicine is a liquid given by mouth with a small oral syringe, usually starting on the maternity ward. What the baby receives depends on the level of exposure. When the parent's HIV was well controlled, the baby may get a short course of a single HIV medicine. Babies with a higher chance of exposure, such as those born after untreated HIV in pregnancy, receive three HIV medicines for up to six weeks.
Testing the baby uses a different kind of test from adult screening. Babies carry their mother's HIV antibodies for months, so WHO states that rapid antibody testing is not sufficient to identify HIV in children under 18 months (WHO). Instead, the baby's clinic uses virological tests, which look for the virus itself, on the schedule below. Babies with a higher chance of exposure also get extra tests, including one at birth.
A Baby's HIV Medicine and Testing Schedule (U.S. Guidance)
- Day 0 Birth
First dose of HIV medicine as soon as possible, preferably within six hours of delivery
- Day 14 First test
Virological HIV test between 14 and 21 days of life
- Day 30 Second test
Repeat test between 1 and 2 months
- Day 42 Longest course ends
Three-medicine course for higher exposure runs up to six weeks
- Day 120 Third test
Routine test between 4 and 6 months
Based on NIH HIVinfo. Babies with a higher chance of exposure get additional tests, including one at birth.
Feeding the baby when a parent has HIV
HIV can pass through breast milk, so feeding is the last part of the plan, and it is best settled before the baby arrives. Formula or pasteurized donor milk from a milk bank removes the risk of passing HIV to the baby after birth. For a parent who takes HIV medicine consistently and has an undetectable viral load, NIH says the chance of transmission through breastfeeding is less than 1 percent, but not zero (NIH HIVinfo).
Talk through both routes with the HIV care team early in pregnancy, so formula supplies or a monitoring plan are ready on day one. Anyone who chooses to breastfeed keeps taking ART and keeps up viral load checks for the whole time they breastfeed, because protection depends on the virus staying suppressed after birth as well as before it. The parent continues HIV medicine after birth either way, for their own health.
Syphilis: finding and curing the infection before birth
Syphilis prevention starts with a blood test at the first prenatal visit, which CDC's treatment guidelines recommend for every pregnant woman. The same guidelines add repeat tests early in the third trimester (at 28 weeks) and at delivery for people who live in communities with high syphilis rates or who are at risk of getting syphilis during pregnancy. A negative test in the first trimester can't rule out an infection picked up from a partner months later.
Only one drug protects the baby: penicillin G, as CDC's guidelines state in the quote below. Pregnant people with a history of penicillin allergy are desensitized and then given penicillin G, not switched to another antibiotic.
Timing matters as much as the drug. CDC considers the mother's treatment likely inadequate if delivery happens within 30 days of therapy, so a diagnosis late in pregnancy leaves less room to protect the baby. Treatment also protects the baby only if the infection doesn't come back, so ask the clinician how sex partners will be tested and treated. Our guide to why syphilis screening in pregnancy protects your baby covers the screening schedule in more detail.
Penicillin G is the only known effective antimicrobial for treating fetal infection and preventing congenital syphilis.
What happens for the baby after syphilis in pregnancy
Newborn care for syphilis centers on a record and an evaluation, not on routine medicine. CDC says no mother or newborn should leave the hospital until the mother's syphilis test status has been documented (CDC). Babies of mothers with syphilis are evaluated after birth, and depending on the results, some need antibiotics in the hospital for 10 days (CDC). Bring any records of past syphilis tests and treatment to delivery; they help the team decide what the baby needs. Our guide to congenital syphilis and prenatal testing explains what that evaluation involves.
Babies carry their mother's antibodies, so an antibody test can't tell whether a newborn has HIV or syphilis. Newborn testing is ordered and interpreted by the baby's care team.
If you're pregnant and worried about a new exposure
Don't wait for the next scheduled test. If the possible HIV exposure was within the last three days, the PEP deadline above comes first. Then tell your prenatal provider what happened and when, so they can order HIV and syphilis tests now and plan a repeat test once the window period has passed. The same applies if a partner tells you they tested positive, or if you have sores, a rash or other symptoms: contact your prenatal provider rather than testing at home.
Acting early is what makes both plans work. For syphilis, an early diagnosis gives penicillin time to work well before the 30-day mark before delivery. For HIV, starting medicine early gives the viral load the most time to fall before birth.
Where an at-home test fits, and where it doesn't
If you're pregnant, use your prenatal blood tests. They go into your medical record, a positive result leads straight to a treatment plan, and the lab can run the follow-up tests a positive needs. A home kit doesn't replace them.
Home testing has a narrower role. A partner without symptoms can screen during the pregnancy, because a partner's infection is how someone who tested negative early can acquire syphilis or HIV later. People planning a pregnancy can also check their status before prenatal care begins. This article is published by stdrapidtestkits.com, which sells at-home STI testing kits; we recommend products based on fit for the reader's concern, not commercial benefit.
Our at-home HIV antibody test uses a fingerstick blood sample and detects antibodies to HIV-1 (including group O) and HIV-2, and nothing else. It is not a 4th-generation antigen/antibody test, an RNA test or a viral load test. In the manufacturer's insert, it agreed with a commercial HIV antibody ELISA on 187 of 187 positive and 699 of 702 negative clinical specimens; that is agreement between two antibody tests, not a measure of how well it detects early infection. The insert does not state how the study specimens were collected, and the manufacturer publishes no figure for self-collected or home-read results. CDC says antibody tests usually detect HIV 23 to 90 days after exposure (CDC), so a negative result inside that window doesn't rule HIV out. A reactive result is a preliminary screen that needs laboratory testing to confirm.
Our syphilis kit screens a drop of fingerstick blood for antibodies to the syphilis bacterium (treponemal antibodies). In the manufacturer's insert, it agreed with another commercial syphilis rapid test on 122 of 122 positive and 123 of 123 negative clinical specimens. That shows agreement between two rapid tests, not proven clinical accuracy, and again the insert does not state how the study specimens were collected, with no published figure for home use. According to the manufacturer product information in our catalog, the test can detect antibodies 3–6 weeks after exposure, and retesting at 12 weeks is suggested. A positive line means treponemal antibodies, which can reflect current infection or syphilis treated in the past, so a clinician needs an RPR or VDRL titer and your history to interpret it. A negative result soon after exposure does not rule syphilis out.
FAQs
- What happens if HIV is only found late in pregnancy or during labor?
- HIV medicine starts right away and still lowers the risk. The baby is then treated as having a higher chance of exposure, which under U.S. guidance usually means three HIV medicines for up to six weeks and extra tests, including one at birth.
- My partner has HIV and I do not. How is the pregnancy protected?
- Keeping you HIV-negative protects the baby. CDC says testing during pregnancy, along with PrEP or HIV treatment for the mother depending on her HIV status, are highly effective ways to prevent babies from being born with HIV. Ask your provider about PrEP and repeat HIV testing during the pregnancy, and encourage your partner to stay on treatment.
- I was treated for syphilis years ago. Will my prenatal test come back positive?
- It may. Treponemal antibodies usually stay detectable for life, even after successful treatment, so a positive screen doesn't by itself mean a new infection. Your clinician will use a nontreponemal titer (RPR or VDRL) and your treatment records to decide whether you need treatment again.
- My partner tested positive for syphilis while I'm pregnant. What should I do?
- Contact your prenatal provider today rather than waiting for a scheduled test or using a home kit. You may need testing and treatment straight away, because penicillin protects the baby best when it is finished well before delivery.
This article summarizes current guidance from the U.S. Centers for Disease Control and Prevention (CDC), NIH HIVinfo, the World Health Organization (WHO) and the American Academy of Family Physicians. Each specific figure or recommendation links to the page that states it, and every page used is listed under Sources with what it supports. It is general health information written by our editorial staff, not a diagnosis or a treatment plan; how we choose topics and use sources is described in our editorial policy.
- U.S. Centers for Disease Control and Prevention. Syphilis During Pregnancy, STI Treatment Guidelines. Screening at the first prenatal visit; repeat testing at 28 weeks and delivery for people at risk; penicillin G as the only known effective treatment for fetal infection; desensitization for penicillin allergy; treatment within 30 days of delivery likely inadequate; maternal status documented before discharge.
- U.S. Centers for Disease Control and Prevention. About Congenital Syphilis. Transmission during pregnancy; nearly 4,000 cases in 2024, the highest since 1994; miscarriage, stillbirth and newborn death; possible 10-day hospital antibiotic treatment for babies.
- U.S. Centers for Disease Control and Prevention. Getting Tested for HIV. HIV testing during each pregnancy; antibody tests usually detect HIV 23 to 90 days after exposure; testing plus PrEP or treatment for the mother as highly effective ways to prevent babies from being born with HIV.
- U.S. Centers for Disease Control and Prevention. Post-Exposure Prophylaxis (PEP). PEP must be started within 72 hours after a possible HIV exposure.
- NIH HIVinfo. Preventing Perinatal Transmission of HIV During Pregnancy and Childbirth. Routes of transmission; risk below 1 percent with consistent treatment; the earlier HIV medicines are started, the more effective they are; testing at the first visit, third trimester and delivery; safety of HIV medicines in pregnancy; cesarean at 38 weeks when viral load is above 1,000 copies/mL or unknown.
- NIH HIVinfo. Preventing Perinatal Transmission of HIV After Birth. Newborn HIV medicine as soon as possible, preferably within six hours; single-medicine versus three-medicine courses up to six weeks; infant testing at 14 to 21 days, 1 to 2 months and 4 to 6 months; breastfeeding risk below 1 percent but not zero with an undetectable viral load; formula or donor milk eliminating that risk.
- World Health Organization. HIV and AIDS fact sheet (July 2026). ART for pregnant women as soon as possible; rapid antibody testing not sufficient to identify HIV in children under 18 months.
- American Family Physician. Management of Infants Born to Mothers with HIV Infection (2021). Summary of U.S. guidance: intravenous zidovudine at delivery only when maternal viral load is above 1,000 copies/mL or unknown.