Togo's parliament has voted unanimously to abolish the death penalty.
The vote was witnessed by Spanish Prime Minister Jose Luis Rodriguez Zapatero.
He has been campaigning for a global moratorium on the death penalty as a first step towards its total abolition.
The BBC's Ebow Godwin in the capital, Lome, says there were at least six convicts on death row.
But the country has not carried out an execution since 1978, he says.
Mr Zapatero said the Togolese parliament had raised a voice for justice and human dignity.
And Justice Minister Kokou Tozoun said: "I think that it's the best decision that we took in this year... we don't have the right to give death to someone if we know that death is not a good thing to give."
Amnesty International said the decision means Togo has become the 15th member of the African Union and the 94th country in the world to abolish the death penalty for all crimes.
The parliament of Togo has unanimously voted to abolish the death penalty for all crimes. Spanish Prime Minister Jose Luis Rodriguez Zapatero, who had been campaigning for a global moratorium on the death penalty, witnessed the vote. Zapatero commented on the vote, calling it a “giant step for Togo”. 

Togo’s Justice Minister Kokuo Tozoun said "I think that it's the best decision that we took in this year... we don't have the right to give death to someone if we know that death is not a good thing to give." 

According to human rights organisation Amnesty International, Togo has become the 15th African nation to abolish the death penalty and the 94th country in the world to do so.

There were around 6 inmates on death row in Togo despite the fact that an execution had not been carried out since 1978. Those on death row will have the sentence changed to life imprisonment.