The Senate passed the measure Thursday afternoon by a vote of 85 to 8.
The House is expected to pass it Friday and key Republican lawmakers say Trump has agreed to sign it. Congress will be out for recess next week.
It took months for Congress and the White House to strike a deal, as negotiations between Republicans and Democrats stalled over funding to address the humanitarian crisis at the US-Mexico border and how to rebuild Puerto Rico two years after Hurricane Maria hit the US territory.
Both Republicans and Democrats praised the compromise.
“Let’s just move forward and get disaster aid done,” said Senate Democratic leader Chuck Schumer of New York, who criticized Trump’s involvement in the negotiations. “We got all we wanted on Puerto Rico.”
“It’s a good deal,” added Senate Appropriations Chairman Richard Shelby, an Alabama Republican.
Shelby told reporters that he and Republican Sen. David Perdue of Georgia had spoken to the President about the deal and Trump, who has long-stated issues with Puerto Rico receiving more aid, agreed to support the measure.
A summary of the bill written by the office of Sen. Pat Leahy, the top Democrat on the Appropriations committee, said the deal included more than $3 billion to “repair damaged infrastructure” and to “reduce the risk” of floods and hurricanes in the future, about $3 billion to “rebuild our military bases and coast guard facilities,” $3 billion to support farmers, $2.4 billion for Community Development Block Grants to “rebuild and mitigate future disaster,” $605 million for food benefits to Puerto Rico and an additional $304 million in aid to Puerto Rico.
The House, which recessed Thursday’s afternoon, is expected to pass the measure Friday morning by unanimous consent, according to a leadership aide.
“Ever since the House’s first vote on disaster relief on January 16, Congressional Democrats have worked to negotiate a disaster relief package that provides assistance for all Americans, including in Puerto Rico,” said House Appropriations Committee communications director Evan Hollander. “Chairwoman (Nita) Lowey is pleased that President Trump and Republicans have agreed to bipartisan, comprehensive disaster relief legislation that will meet urgent needs across the country.”
CNN’s Manu Raju and Ashley Killough contributed to that report.