He said this would include parts of East Jerusalem, which Palestinians want as the capital of their future state.
Mr Olmert also said any peace deal with Syria would require an Israeli withdrawal from the Golan Heights.He gave few further details, but said he was prepared to go beyond previous Israeli leaders to achieve peace.
"We have to reach an agreement with the Palestinians, the meaning of which is that in practice we will withdraw from almost all the territories, if not all the territories," Mr Olmert said.
"We will leave a percentage of these territories in our hands, but will have to give the Palestinians a similar percentage, because without that there will be no peace," he added.
He said the withdrawals would include Jerusalem, the eastern part of which Israel occupied and annexed after the 1967 war, but which it has long proclaimed as its "eternal, undivided capital".
The remarks, which immediately stirred controversy among Israelis, were published in an interview with the Israeli newspaper Yedioth Ahronoth.
Former Meretz chairman Yossi Beilin said: "Olmert has committed the unforgivable sin of revealing his true stance on Israel's national interest just when he has nothing left to lose."
Meanwhile MK Yuval Steinitz accused Mr Olmert of gambling on Israel's future.
"Ignoring the distance between rockets fired from afar and the enemy sitting on top of Jerusalem reveals how little he understands the basis of security," Mr Steinitz said.
Olmert: Israel withdrawal needed


Comments: 14
The Jews will never have peace as long as they keep stealing land and refuse to negotiate. Their has been much wrong on both sides but it has to end or it will always be hopless and Bush and his neocons do not help the way they keep agitating the situation.
What I do know is this is the first time I have heard of reasonable talks for peace with Isreal. That brings me hope. I hope they can get it all sorted out the best way for the people.
{{HUGS}} to you, and please keep teaching me!
American support to Israel acts as a catalyst for Alqaeda to sell their ideology among muslim masses.
I have always believed that Bush is the #1 terrorist threat to the world and its all for nothing but personal gain.
The majority of Americans do not want to be at war all the time and see their children killed in these corporate wars of profit and with the upcoming election their will be meaningful changes in how we deal with the rest of the world.