But just hours later, Democrats filed into the chamber, joking about the lack of sleep. And if Democrats feared the political consequences, it was not evident from the final tally, which reflected support among those from the most competitive districts.
The only Democrat who opposed the bill, Representative Jared Golden of Maine, did so after raising concerns this month about the inclusion of a provision that would generously increase the federal tax deduction for state and local taxes paid, from $10,000 a year to $80,000.
Understand the U.S. Debt Ceiling
The action — after months of time-consuming maneuvering over the bill — was fueled in part by an eagerness among lawmakers to wrap up their work and leave Washington for their weeklong Thanksgiving recess. It came about eight months after Mr. Biden unveiled the first part of his domestic policy agenda, and after several near-death experiences for the package that have exposed deep divisions within his party.
The vote showed remarkable Democratic unity, given the struggle to get to it. A group of moderate and conservative holdouts, wary about the size of the bill, had held out for an official estimate before they would commit to supporting it.
But after the release on Thursday of section-by-section assessments from the Congressional Budget Office, the official fiscal scorekeeper, most were swayed. White House officials met privately with the group Thursday evening to walk them through the administration’s analysis and the budget tables, according to a person familiar with the discussion.
“While I continue to have reservations about the overall size of the legislation — and concerns about certain policy provisions that are extraneous or unwise — I believe there are too many badly needed investments in this bill not to advance it in the legislative process,” said Representative Stephanie Murphy of Florida, a key centrist, in a statement announcing her vote.
For Democrats, the bill is perhaps the last significant opportunity to push through their domestic policy ambitions: an array of environmental provisions, federal support for education and child care, and the fulfillment of a longtime campaign promise to tackle the soaring cost of prescription drugs.