Over the years, multiple studies have shown that taking probiotics can have tremendous benefits for your digestive health. But did you know that these good types of bacteria can also have positive effects on pregnancy?

A new observational study published in the journal BMJ Open found that women who drank probiotic milk during pregnancy had lower risks of preeclampsia and premature birth—and the timing of when mamas-to-be drank the probiotics seemed to have significant bearing.

According to the findings, taking probiotics during the third trimester was strongly linked to a lower preeclampsia risk, while drinking probiotic milk in early pregnancy showed a decrease in preterm deliveries.

Preeclampsia is a serious condition marked by high blood pressure and protein in the urine that affects 2 to 8% of all pregnancies globally, according to the National Institute of Child Health and Human Development. And more than one in 10 babies are born premature, which is defined as arrival before 37 weeks of pregnancy, according to the World Health Organization.

To reach their findings, a team of Norwegian and Swedish scientists studied data on more than 70,000 pregnancies from the Norwegian Mother and Child Cohort Study (MoBa) launched by the Norwegian Institute of Public Health in 1999. As part of the countrywide study, mamas-to-be submitted their medical histories, as well as information on their health, diets and lifestyles at 15, 22 and 30 weeks of pregnancy.

The data analysis showed that more than one-third of pregnant women who’ve participated in the MoBa study had consumed probiotic-rich milk during early pregnancy, while nearly a third took probiotics during late pregnancy. Close to a quarter of women drank probiotic milk before becoming pregnant.

The researchers compared information on probiotic milk consumption to incidence of pregnancy complications tracked by the MoBa study—which revealed probiotic use in late pregnancy lowered preeclampsia risk by 20% while taking probiotics during early pregnancy reduced preterm delivery risk by between 11 to 27%.

Because this is an observational study, more research will need to be conducted on the benefits of probiotics on preventing or minimizing pregnancy complications. But, as the researchers note, it sure is a promising sign. And without any apparent major downsides to drinking probiotics, you might as well stock up on some kefir at the store.