"Iran does want to make a deal. I think they very badly want to make a deal. I am totally open to it, and we're talking to them, and we start a process," Trump said.
"It would be a nice thing to have a deal with Iran," he added during a joint press conference at the White House with Saudi Arabia's powerful crown prince, who promised boost Riyadh's investment in the United States to $1 trillion.
Washington engaged in talks with Tehran over its disputed nuclear program earlier this year with a 60-day ultimatum.
On the 61st day, June 13, Israel launched a surprise military campaign which was capped with US strikes on June 22 targeting key nuclear sites in Esfahan, Natanz and Fordow.
Trump said on Tuesday his administration could have reached an agreement with Tehran before the June war, "but that didn't work out."
"Something will happen there. But they would very much like, I mean, they may say something else, but they would very much like to have a deal."