The U.S. Senate voted 81-14 to approve a temporary spending bill that would keep the government running through Dec. 22.
Earlier on Dec. 7, the House of Representatives passed the measure on a 235-193 vote. The bill now heads to President Donald Trump for his signature. The current budget resolution expires Dec. 8 at midnight ET.
The votes came as Democratic and Republican congressional leaders met with Trump and Vice President Mike Pence to discuss a longer-term funding deal.
The bill includes funds for the Children's Health Insurance Program, one of the issues that could have snagged the process.
Also included is an automatic reauthorization of the National Flood Insurance Program that insures about 5 million homes and businesses in the U.S., giving members more time to negotiate a wider reauthorization and overhaul.
The House passed a sweeping reform and reauthorization package in November, but the Senate had yet to send a bill through the legislative process.
"I am glad my House colleagues took action today to keep the government open and fund the Children's Health Insurance Program," House Speaker Paul Ryan said in a statement after his chamber's vote. "Along with enacting historic tax reform, we'll be working together in the next two weeks to find a long-term solution to our funding needs while maintaining fiscal discipline."
Over the next 10 days, negotiations are expected to center on Republican calls for an end to defense spending caps and Democrats' demands to fully reauthorize the CHIP program and extend protections for so-called dreamers, undocumented immigrants who were brought to the United States as children.
David Hood contributed to this report.