Antimicrobials in pregnancy
Antimicrobials in pregnancy and the puerperium; anti-D immunoglobulin
Antibiotics in pregnancy for FCPS Part 1: which are safe or avoided and why, how key drugs work, and regimens for puerperal infection. Also covers anti-D immunoglobulin: mechanism, timing, dose, Kleihauer test and false positive results.
Safe and unsafe antibiotics in pregnancy
| Drug or group | Use in pregnancy | Reason |
|---|---|---|
| Penicillins, cephalosporins (cefalexin, cefuroxime) | Safe throughout | Act on the bacterial cell wall, which human cells lack |
| Erythromycin, azithromycin | Safe | Azithromycin replaces doxycycline for chlamydia |
| Clindamycin | Safe | Anaerobes and toxin suppression; highest C. difficile risk |
| Metronidazole | Safe | Anaerobes, trichomonas, bacterial vaginosis |
| Nitrofurantoin | Safe for cystitis; avoid at term | Neonatal haemolysis in G6PD-deficient babies |
| Trimethoprim | Avoid in first trimester | Folate antagonist: neural tube defects |
| Sulphonamides (co-trimoxazole) | Avoid near term | Displace bilirubin from albumin: kernicterus |
| Tetracyclines, doxycycline | Avoid after the first trimester | Bind calcium: stained teeth, impaired bone growth |
| Aminoglycosides | Avoid unless life-threatening | Cochlear hair cell damage, fetal deafness |
| Fluoroquinolones | Avoid | Damage growing cartilage in young animals |
| Chloramphenicol | Avoid near term | Grey baby syndrome (immature glucuronidation) |
How key drugs work
- Trimethoprim inhibits bacterial dihydrofolate reductase (DHFR); at high doses or with low folate it also affects human folate metabolism, which matters while the neural tube closes (weeks 3–4). In a woman with cystitis at 7 weeks, nitrofurantoin or cefalexin is used instead. Trimethoprim with methotrexate (also a DHFR inhibitor) causes marrow suppression.
- Folate synthesis blockers: sulphonamides (block dihydropteroate synthase) and trimethoprim (DHFR). Metronidazole is not a folate blocker.
- Metronidazole is a prodrug: only anaerobes and protozoa reduce its nitro group to toxic radicals that break DNA. It is the drug of choice for trichomoniasis (partners treated together) and bacterial vaginosis. Metallic taste, disulfiram-like reaction with alcohol.
- Nitrofurantoin is concentrated in bladder urine with low plasma and kidney tissue levels, so it is first line for uncomplicated cystitis and asymptomatic bacteriuria but not pyelonephritis. It fails in poor renal function.
- Asymptomatic bacteriuria is treated in pregnancy because ureteric dilatation and stasis favour ascent to pyelonephritis.
Cephalosporin generations
| Generation | Examples | Spectrum |
|---|---|---|
| First | Cefalexin, cefazolin | Gram-positive cocci, some E. coli; caesarean prophylaxis, UTI |
| Second | Cefuroxime, cefoxitin | More Gram-negative; cefoxitin covers anaerobes |
| Third | Ceftriaxone, cefotaxime, ceftazidime | Broad Gram-negative; ceftriaxone for gonorrhoea; ceftazidime covers Pseudomonas |
| Fourth | Cefepime | Best anti-Pseudomonas activity with Gram-positive cover; more stable to beta-lactamases |
| Fifth | Ceftaroline | MRSA |
- No cephalosporin covers enterococci or Listeria (use amoxicillin). ESBL producers destroy third-generation cephalosporins; use carbapenems.
Infections around delivery
- Group B streptococcus colonising the vagina causes early-onset neonatal sepsis. IV benzylpenicillin in labour, ideally 4 hours or more before birth. Penicillin allergy: cefuroxime or clindamycin.
- Caesarean prophylaxis is given before the skin incision, so tissue levels are high at contamination.
- Post-caesarean endometritis is polymicrobial; the classic regimen is clindamycin plus gentamicin.
- Puerperal mastitis not settling with frequent feeding is usually penicillinase-producing Staphylococcus aureus: oral flucloxacillin for 10–14 days, with continued breastfeeding. A fluctuant, persistent lump needs ultrasound and drainage of an abscess. Penicillin allergy: erythromycin or clarithromycin.
- Necrotising fasciitis: add clindamycin to suppress toxin production.
- Clindamycin-associated colitis: diarrhoea, fever and whitish pseudomembranes after a course of clindamycin mean Clostridioides difficile; treat with oral vancomycin or fidaxomicin (oral metronidazole is an older choice for mild disease) and stop the culprit.
- A mild delayed rash with amoxicillin does not rule out cephalosporins (cross-reactivity about 1–2%); anaphylaxis does.
Anti-D immunoglobulin
- What it is: pooled IgG anti-D from sensitised donors. Given to a Rh D-negative woman without immune anti-D when fetal Rh D-positive cells may have entered her circulation.
- Why anti-D matters: maternal anti-D is IgG and crosses the placenta, coating fetal D-positive cells and causing haemolytic disease of the fetus and newborn (anaemia, hydrops, jaundice) in later pregnancies. The first pregnancy is usually spared because the primary response is slow and mainly IgM.
- How prophylaxis works: passive anti-D coats fetal D-positive red cells, which are removed by the spleen before they can stimulate a primary immune response. It is useless once the woman is sensitised.
- When: within 72 hours of a sensitising event: delivery of a D-positive baby, miscarriage after 12 weeks, ectopic pregnancy, termination, amniocentesis or CVS, antepartum haemorrhage, abdominal trauma, external cephalic version, intrauterine death.
- Routine antenatal prophylaxis at 28 weeks (single dose, or 28 and 34 weeks) in every D-negative non-sensitised woman, including her second pregnancy, covers silent third-trimester bleeds; postnatal anti-D is still given if the baby is D-positive.
| Situation | Dose |
|---|---|
| Event before 20 weeks | 250 IU, no Kleihauer test needed |
| Event from 20 weeks, or delivery | 500 IU plus Kleihauer test |
| Bleed larger than 4 mL of fetal cells | Extra 125 IU per mL |
- 500 IU neutralises 4 mL of fetal red cells. The Kleihauer test relies on HbF resisting acid elution: fetal cells stay pink while adult cells become ghosts.
- Antibody in the newborn: anti-D given to the mother is IgG, so small amounts of passive IgG anti-D cross to the baby; the baby may have a weakly positive direct antiglobulin test without significant haemolysis.
- False positive anti-D in an antibody screen: the commonest cause is recent anti-D prophylaxis (passive anti-D detected for up to about 8–12 weeks). It must not be mistaken for immune sensitisation; a falling titre and the timing of the injection distinguish them.
- If the baby is also Rh D-negative, no anti-D is needed.
Remember Cell-wall drugs (penicillins, cephalosporins) are the safest antibiotics in pregnancy because human cells have no cell wall.
Exam trap Anti-D prevents sensitisation; it cannot treat a woman who already has immune anti-D.
Exam trap Nitrofurantoin treats cystitis but not pyelonephritis, and is avoided at term.
How FCPS asks about this
- Why trimethoprim is avoided in the first trimester: it inhibits dihydrofolate reductase (folate antagonist).
- Drug of choice for trichomoniasis: metronidazole, with the partner treated.
- Nitrofurantoin is first line for: uncomplicated cystitis and asymptomatic bacteriuria.
- Puerperal mastitis with penicillinase-producing S. aureus: oral flucloxacillin for 10–14 days.
- Cephalosporin with best anti-Pseudomonas activity: cefepime (fourth generation).
- Routine antenatal anti-D in a D-negative woman: at 28 weeks, and within 72 hours of any sensitising event.
- False positive anti-D result: passive anti-D from recent prophylaxis.
Test yourself on this topic
5 of the 43 questions in our bank on this topic. Choose an answer to see why every option is right or wrong.
Before an elective caesarean section, the anaesthetist asks when the prophylactic antibiotic should be given. Which timing best reduces maternal wound infection and endometritis?
Answer: Before the skin incision
Prophylactic antibiotics work best when tissue levels are already high when bacteria enter the wound. Giving the antibiotic 0–60 minutes before the skin incision, rather than after cord clamping, reduces maternal infection without harming the baby. Delaying until after cord clamping was once used to avoid exposing the baby, but it reduces maternal protection. A single dose is usually enough; prolonged courses add resistance without benefit.
Antibiotic prophylaxis timing
- Give before skin incision
- High tissue levels at contamination
- Single dose usually enough
- Not delayed for cord clamping
Remember Prophylaxis must be on board before the knife.
Exam trap Repeat the dose if blood loss is very heavy or surgery is prolonged.
Why the other options are wrong
- After clamping the cord Older practice; less maternal protection.
- At closure of the uterus Too late for the wound.
- At the end of the operation Too late to prevent contamination.
- For 5 days after surgery A single dose is enough for prophylaxis.
A woman at 22 weeks has fever 39 °C, rigors, vomiting and right loin tenderness; urine grows E. coli sensitive to nitrofurantoin and cefuroxime. Why is nitrofurantoin unsuitable for her?
Answer: It reaches therapeutic levels only in urine
Nitrofurantoin is rapidly absorbed and excreted by the kidney, so it is concentrated in the bladder urine but reaches very low levels in plasma and renal tissue. It is effective for cystitis and asymptomatic bacteriuria but cannot treat pyelonephritis or bacteraemia. This woman has acute pyelonephritis and needs a drug with good tissue and blood levels, such as IV cefuroxime. Near term nitrofurantoin is also avoided because of neonatal haemolysis.
Nitrofurantoin
- Concentrated in bladder urine
- Low plasma and renal tissue levels
- For cystitis and bacteriuria only
- Pyelonephritis: IV cephalosporin
Remember Nitrofurantoin treats the bladder, not the kidney.
Exam trap Pyelonephritis in pregnancy can progress to sepsis and ARDS; treat promptly and IV.
Why the other options are wrong
- It is teratogenic in the second trimester It is not teratogenic in the second trimester.
- It causes fetal deafness Fetal deafness is caused by aminoglycosides.
- It is inactive against E. coli The organism is sensitive to it.
- It is inactivated by fever Not a recognised effect.
A woman in labour at 39 weeks had Streptococcus agalactiae grown from a vaginal swab at 36 weeks. She has no drug allergies. Which antibiotic is given intravenously during labour to protect the baby?
Answer: Benzylpenicillin
Group B streptococcus is a leading cause of early-onset neonatal sepsis, acquired during birth from the colonised genital tract. Intrapartum IV benzylpenicillin, started as soon as possible in labour and ideally at least 4 hours before delivery, reaches high levels in fetal blood and amniotic fluid and reduces colonisation and early infection. GBS remains uniformly sensitive to penicillin. Metronidazole has no activity against streptococci, and doxycycline is avoided in pregnancy.
Group B streptococcus
- Cause of early-onset neonatal sepsis
- Give IV benzylpenicillin in labour
- Ideally ≥4 hours before birth
- Penicillin allergy: cefuroxime or clindamycin
Remember GBS in labour: penicillin through the drip.
Exam trap Antibiotics given before labour do not prevent recolonisation at birth.
Why the other options are wrong
- Metronidazole Covers anaerobes, not streptococci.
- Gentamicin Poor activity against GBS alone.
- Nitrofurantoin Urinary antiseptic only.
- Doxycycline Tetracyclines are avoided in pregnancy.
An Rh D-negative mother received routine antenatal anti-D at 28 weeks. Her Rh D-positive baby, born at 38 weeks, has a weakly positive direct antiglobulin test but normal haemoglobin and no jaundice. What explains the test result?
Answer: Passive IgG anti-D crossed the placenta
Anti-D immunoglobulin is IgG, and IgG crosses the placenta by FcRn-mediated transport. A small amount of the injected antibody can reach the fetus and coat its Rh D-positive red cells, giving a weakly positive DAT. The amount is too small to cause significant haemolysis. IgM does not cross the placenta, and a newborn does not make its own anti-D against its own red cells.
Weak DAT after prophylaxis
- Anti-D is IgG
- IgG crosses the placenta via FcRn
- Coats fetal Rh D-positive cells
- Weak DAT, no significant haemolysis
Remember Mother's injected IgG can coat the baby's cells.
Exam trap Do not diagnose haemolytic disease from a weak DAT alone; look at Hb and bilirubin.
Why the other options are wrong
- The baby is making its own anti-D A baby does not make antibodies against its own antigens.
- Maternal IgM anti-D crossed the placenta IgM is too large to cross.
- ABO incompatibility with the mother Would need group O mother and A or B baby; not given.
- Anti-D was given directly to the fetus Prophylaxis is given to the mother only.
A woman at 14 weeks has a cervical swab positive for Chlamydia trachomatis on nucleic acid testing. Doxycycline, the usual first-line drug, is avoided. Which antibiotic is appropriate?
Answer: Azithromycin
Chlamydia is an obligate intracellular bacterium, so it needs a drug that reaches high intracellular levels and inhibits protein synthesis. Doxycycline is avoided in pregnancy because tetracyclines bind calcium in developing teeth and bone. Azithromycin, a macrolide that binds the 50S ribosomal subunit and concentrates inside cells, is safe and effective; a test of cure is advised in pregnancy. Penicillins act on cell wall synthesis and are unreliable against chlamydia, which lacks typical peptidoglycan.
Chlamydia in pregnancy
- Obligate intracellular
- Doxycycline avoided
- Use azithromycin (macrolide)
- Do a test of cure
Remember Pregnant with chlamydia: azithromycin, not doxycycline.
Exam trap Untreated chlamydia at delivery can cause neonatal conjunctivitis and pneumonia.
Why the other options are wrong
- Ciprofloxacin Quinolones are avoided in pregnancy and not first choice.
- Metronidazole No activity against chlamydia.
- Benzylpenicillin Unreliable; chlamydia lacks a typical cell wall.
- Gentamicin Poor intracellular activity; not used for chlamydia.
Where this sits in the CPSP syllabus
- Obstetrics & Gynaecology, Paper 2: Drugs in obstetrics and gynaecology, Antimicrobials in pregnancy and the puerperium; anti-D immunoglobulin
Read next
Drug dose pages
Doses, cautions and practical tips for drugs in this chapter.