This article is more than
7 year oldOdinga, 72, said he was pulling out because Kenya's election panel had failed to make vital reforms, but he indicated this did not mean his battle was over.
He cited legal arguments which his party believes will compel election officials to begin the whole process from scratch.
Kenya's President Uhuru Kenyatta says the new election will go ahead despite the opposition candidate's withdrawal.
The Supreme Court stunned the nation last month when it annulled the August 8 election victory by President Kenyatta, citing what it called widespread irregularities in the counting process.
Since then Odinga and his National Super Alliance (NASA) have vowed not to take part in the re-run unless far-reaching changes are made to the Independent Electoral and Boundaries Commission (IEBC).
"We have come to the conclusion that there is no intention on the part of the IEBC to undertake any changes to its operations and personnel... All indications are that the election scheduled for 26 October will be worse than the previous one," said Odinga.
"After deliberating on our position in respect of the upcoming election... we believe that all will be best served by (the party) vacating its presidential candidature in the election."
Odinga said he was not giving up entirely, but that his move was the only way to ensure a free and fair election.
Leaning on a 2013 ruling by the Supreme Court, the opposition said that if a candidate withdraws, then the IEBC is required to conduct fresh nominations for the presidency.
"It is clear that this provision gives adequate time to undertake the reforms necessary to conduct an election that is in strict conformity with the Constitution," NASA said in a statement.
The legal validity of this argument is likely to be subject to heated debate.
Kenyatta said he was not deterred by Odinga's decision.
"We are ready to vote... we are ready for elections... it is democratic his right to participate or not," he said.
"We are also telling him it is the people right to choose their leader. It is their sovereign right to choose their leader of choice."
Prominent NASA senator James Orengo called for countrywide demonstrations on Wednesday.
Electoral law changes
Odinga's announcement comes as the ruling party dominated parliament pushed forward Tuesday with plans to change electoral laws to reduce "ambiguities" that led to the poll being cancelled.
However the opposition sees the laws as a bid to legalise the "irregularities and illegalities" in the counting process cited by the Supreme Court.
While Kenyans voted peacefully on August 8, the opposition quickly cried foul over tallying and the Supreme Court agreed, citing "disturbing, if not startling, revelations" about the conduct of the IEBC.
These included failing to ensure tally forms were properly transmitted and announcing a presidential result that could not be verified, due to original forms being missing.
The IEBC was also hauled over the coals for failing to open up its computer servers, after the opposition alleged the system was hacked and rigged.
While the beleaguered IEBC has said it has tried to reform its procedures, this has not been enough to placate the opposition, which demanded the firing of top officials and the contracting of new companies to print tallying forms and run the vote counting technology.
The election has plunged Kenya into its worst political crisis since a disputed poll in 2007, which led to violence that left more than 1,100 people dead.
However while violence immediately after the August election left 37 people dead -- mostly at the hands of police -- according to a Kenyan rights group, protests have since remained largely peaceful.
The uncertainty has also hamstrung east Africa's largest economy, leading to a slowdown in business across the private sector.
(FRANCE 24 with AFP and AP)
<p>The deployment of Kim Jong-un’s troops has added fuel to the growing fire in recent weeks. Now there are claims Vladimir Putin has put them to use.</p>