Pope Francis has changed the teachings of the Catholic faith to officially oppose the death penalty in all circumstances, the Vatican has said.
The Catechism of the Church, a codified doctrine which sums up teachings, had previously stated that the death penalty could be used in some cases.
It now says it is "inadmissible because it is an attack on the inviolability and dignity of the person".
Pope Francis has spoken out against executions in the past.
Last October, he had said the Church's policy on the death penalty was one area where teaching was not static and could change with modern concerns.
The text of the catechism was first set by Pope John Paul II in October 1992, and earlier stated that the death penalty was "an appropriate response to the gravity of certain crimes and an acceptable, albeit extreme, means of safeguarding the common good".
However, the new text says there is "an increasing awareness that the dignity of the person is not lost even after the commission of very serious crimes".
It also argues that today's more effective detention methods protect citizens and "do not definitively deprive the guilty of the possibility of redemption".
Historically, the Church has mostly been unopposed to the death penalty, including into the 20th Century. In 1952, Pope Pius XII said it was not a violation of the universal right to life.
Pope John Paul II argued for imprisonment over execution wherever possible, although Joseph Ratzinger, who later became Pope Benedict XVI, wrote that the death penalty could be permissible.
The death penalty is still legal in 53 countries around the world.
In the United States, where 22 percent of the population are Catholic, execution is still legal in 31 states.
It is still also legal in Cuba, Dominica and Uganda - where about half of their populations are Catholic.
The only place in Europe where it is still legal is Belarus, which has a sizeable Catholic minority of about 7 percent of the population.
Burkina Faso, Madagascar and Benin, where significant chunks of the population follow Catholicism, have all outlawed the death penalty in recent years.