The 54-46 vote to confirm of the former Florida state attorney general will help Trump solidify his control over the US Justice Department, which has recently seen sweeping cuts targeting prosecutors and FBI agents who investigated the January 6, 2021, attack on the US Capitol by the president's supporters.
Democratic Senator John Fetterman joined all 53 Republicans in voting for Bondi.
Bondi, 59, vowed to maintain the department's independence during a confirmation hearing last month, telling politicians she will not inject politics into criminal or civil investigations.
But politicians continue to harbour concerns about whether she will resist potentially improper or illegal orders from Trump, after the firings of dozens of prosecutors who pursued criminal charges against him.
After entering office on January 20, Trump signed an executive order blasting what he called the "weaponising" of federal law enforcement and intelligence agencies and ordered the attorney general to "review the activities of all departments and agencies exercising civil or criminal enforcement authority."
Bondi, who spent decades as a prosecutor, represented Trump during his first impeachment trial. She has also echoed some of his false claims about voter fraud in the 2020 presidential election.
The incoming attorney general holds a stake in Trump's media company, the Trump Media and Technology Group, according to financial disclosures she filed with the Office of Government Ethics.
Bondi was Trump's second pick for the top US law enforcement job. His first choice, former US Representative Matt Gaetz, resigned from Congress and withdrew his name from consideration just before a House of Representatives ethics report found that he had paid women for sex and drugs and obstructed Congress.
Gaetz so far is the only Trump cabinet nominee to end his bid for the office.