The Senate, run by the president's fellow Republicans, voted to acquit him 52-48 on charges of abuse of power and 53-47 on obstruction of Congress.
Democrats charged Mr Trump in December with pressuring Ukraine to smear a potential White House rival.
In November, Mr Trump will be the first impeached president to go for election.
In its historic vote on Wednesday, the Senate decided not to remove America's 45th president from office on charges arising from his dealings with Ukraine.
If convicted on either charge, Mr Trump would have had to turn over his office to Vice-President Mike Pence.
The Democratic-led House of Representatives approved the articles of impeachment on 18 December.
Mr Trump, who is seeking a second four-year term in the 3 November election, always denied wrongdoing.