Trump became the first sitting president to visit the holy site, where he was accompanied by the Western Wall's rabbi, Shmuel Rabinovitz.
Trump said his trip was "focused on bringing nations together", adding that the Palestinians were "ready to reach for peace".
President George W Bush sponsored a peace conference in Annapolis in 2007, which for a while was hailed, in vain, as a major step towards the establishment of an independent Palestinian state alongside Israel.
On Tuesday, US president Donald Trump and president of the Palestinian Authority Mahmoud Abbas asserted their commitment to achieving peace between Palestinians and Israelis, during a press conference in Bethlehem, according to worldwide media.
The Israeli leader said the new President's election offered more hope of a lasting peace deal "than I've seen in my lifetime", while his Palestinian counterpart also said meetings with Mr Trump were cause for "optimism".More news: Sea Lion Pulls Terrified Little Girl Into the Water at Canadian Harbor
More news: Stock Ballooning Up Pre-Bell: Vince Holding Corp. (NYSE:VNCE)
More news: Monday's Stanley Cup Playoffs betting preview: Senators at Penguins
Aides said the approach was purposeful, and the normally free-wheeling Trump was well-aware of the risks of veering off script on issue where every word is intensely scrutinized.
Abbas said his recent visit to the White House, at which Trump likewise promised economic aid, gave "so much hope and optimism of the possibility to make true a dream, a long-awaited dream and ambition, and that is lasting and justice-based peace". The White House claims the President was unaware that Israel was the source. The PA, however, does not recognize Israel as a Jewish state and has repeatedly refused to do so.
Trump's visit to Israel and the Palestinian territories is part of his first trip overseas as president.
Israeli citizens, however, can travel to Saudi Arabia and thousands of Muslims attend the annual hajj pilgrimage there, flying with stopovers in neighbouring countries. They were all saying I did.
It was a brief visit however, with President Trump and the First Lady departing just seconds after his speech to move on to the next destination. They believe that it heralds a new era of settlement expansion in the occupied territories.
Wrapping up the second stop of his five country global swing since becoming Commander in Chief, President Donald Trump is now on his way to Rome.
The Palestinians are deeply divided, with Fatah in charge in the West Bank and in Gaza the Islamists of Hamas, who have been condemned by President Trump in the last few days as terrorists.