Antibiotic or gastric acid inhibitor use during pregnancy and postpartum depression: Population-based cohort study
- PMID: 38831623
- PMCID: PMC11266723
- DOI: 10.1111/aogs.14864
Antibiotic or gastric acid inhibitor use during pregnancy and postpartum depression: Population-based cohort study
Abstract
Introduction: Postpartum depression is one of the most common non-obstetric postnatal complications. As the microbiome (and gut-brain axis) as well as inflammation may be involved in the mechanism, we aimed to assess if antibiotic or gastric acid inhibition use during pregnancy affects the risk of postpartum depression (clinical diagnosis and/or antidepressant use up to 1 year after childbirth).
Material and methods: This population-based cohort study used first singleton pregnancy resulting in a live birth in Sweden from 2006 to 2016. Women with history of depression were excluded. Multivariable logistic regression models were used to assess the impact of antibiotics and gastric acid inhibitors and other risk factors, presented as odds ratios (ORs) with 95% confidence intervals (CI).
Results: Overall, 29% of all 10 666 women with postpartum depression were exposed to antibiotics and 6.2% to gastric acid inhibitors, compared to, respectively, 21% and 3.2% of 613 205 women without postpartum depression. Antibiotic use during pregnancy was associated with postpartum depression (OR 1.43, 95% CI 1.37-1.49), particularly for quinolones and other antibacterials (including nitroimidazole derivatives). Gastric acid inhibition was associated with an even higher risk than antibiotics (OR 2.04, 95% CI 1.88-2.21). Both antibiotics and gastric acid inhibitors suggested higher risk with increased dose in a dose-response analysis.
Conclusions: The use of antibiotics and gastric acid inhibition drugs during pregnancy appeared to be associated with a higher risk of postpartum depression. However, it is important to consider that other predisposing factors could contribute to this increased risk, even after excluding individuals with a history of depression.
Keywords: antibiotics; anti‐acids; gastric acid inhibition; microbiome; multiple logistic regression; postnatal depression; pregnancy.
© 2024 The Authors. Acta Obstetricia et Gynecologica Scandinavica published by John Wiley & Sons Ltd on behalf of Nordic Federation of Societies of Obstetrics and Gynecology (NFOG).
Conflict of interest statement
The authors report no conflict of interest.
Figures


Similar articles
-
Epidural Analgesia During Childbirth and Postpartum Depressive Symptoms: A Population-Based Longitudinal Cohort Study.Anesth Analg. 2020 Mar;130(3):615-624. doi: 10.1213/ANE.0000000000004292. Anesth Analg. 2020. PMID: 31274600
-
Prenatal and Early Childhood Exposure to Antibiotics or Gastric Acid Inhibitors and Increased Risk of Epilepsy: A Nationwide Population-Based Study.Clin Pharmacol Ther. 2025 Jul;118(1):206-217. doi: 10.1002/cpt.3679. Epub 2025 Apr 15. Clin Pharmacol Ther. 2025. PMID: 40231335 Free PMC article.
-
The association between postpartum hemorrhage and postpartum depression: A Swedish national register-based study.PLoS One. 2021 Aug 11;16(8):e0255938. doi: 10.1371/journal.pone.0255938. eCollection 2021. PLoS One. 2021. PMID: 34379698 Free PMC article.
-
Prenatal and Early Childhood Exposure to Proton Pump Inhibitors and Antibiotics and the Risk of Childhood Cancer: A Nationwide Population-Based Cohort Study.Drug Saf. 2025 Apr;48(4):375-388. doi: 10.1007/s40264-024-01500-x. Epub 2024 Dec 12. Drug Saf. 2025. PMID: 39666165 Free PMC article.
-
Severe obstetric lacerations associated with postpartum depression among women with low resilience - a Swedish birth cohort study.BJOG. 2020 Oct;127(11):1382-1390. doi: 10.1111/1471-0528.16271. Epub 2020 May 28. BJOG. 2020. PMID: 32339378
Cited by
-
Trends in Proton Pump Inhibitor Use in Sweden by Sex and Age: A Drug Utilisation Study.Drug Saf. 2025 Apr;48(4):389-400. doi: 10.1007/s40264-024-01502-9. Epub 2024 Dec 8. Drug Saf. 2025. PMID: 39645619 Free PMC article.
References
-
- Bai Y, Li Q, Cheng KK, et al. Prevalence of postpartum depression based on diagnostic interviews: a systematic review and meta‐analysis. Depress Anxiety. 2023;2023:8403222.
-
- Peñalver Bernabé B, Maki PM, Dowty SM, et al. Precision medicine in perinatal depression in light of the human microbiome. Psychopharmacology. 2020;237:915‐941. - PubMed
MeSH terms
Substances
Grants and funding
LinkOut - more resources
Full Text Sources
Medical
Research Materials