A person shows third-generation contraceptive pills in a pharmacy on January 2, 2013 in Lille, in northern France. Photograph by Philippe Huguen—AFP/Getty Images

Taking the Pill Increases Your Chances of Developing Depression

Oct 04, 2016

For women weighing their birth control options, here's an important factor to consider: mental health.

According to a massive new study by Danish researchers, taking hormonal birth control significantly increases a woman's risk of developing depression.

The project, which lasted from 2000 until 2013, tracked the contraceptive and antidepressant use of over a million women aged 15 to 34. On average, users of hormonal contraception had a 40% greater risk of depression after six months of use than non-users.

The study finds that depression risk varies greatly by type of birth control. Women taking the combined pill (which has both estrogen and progestin) were 23% more likely than non-users to be prescribed an antidepressant by their doctor, while women on progestin-only pills were 34% more likely to take antidepressants.

Other forms of hormonal birth control, such as IUDs, the patch, and the ring, were shown to have a higher correlation to depression than either kind of pill—women who used the Mirena IUD, for example, tripled their risk.

Subscribe to the Broadsheet, Fortune’s daily newsletter on the world’s most powerful women.

Oejvind Lidegaard, a senior author from the study, told the New York Times that although most women who take hormonal birth control won’t develop depression, a 40% increase in risk "is not trivial."

As of 2012, about 28% of American women (10.6 million) used the pill, while 5.6% of women used IUDs, according to the Centers for Disease Control and Prevention.

Women are already twice as likely as men to develop depression.

All products and services featured are based solely on editorial selection. FORTUNE may receive compensation for some links to products and services on this website.

Quotes delayed at least 15 minutes. Market data provided by Interactive Data. ETF and Mutual Fund data provided by Morningstar, Inc. Dow Jones Terms & Conditions: S&P Index data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Terms & Conditions. Powered and implemented by Interactive Data Managed Solutions