Congressional negotiators resolved policy disputes to reach a deal for a $1.1 trillion spending bill on Tuesday but still expected to need a stop-gap extension to avoid a U.S. government shutdown at midnight on Thursday.
House of Representatives Republicans were preparing to pass a short-term funding extension of one to two days to allow the Senate more time to clear procedural hurdles that could drag final passage past the deadline.
The snags added some drama to a spending bill that appeared to be cruising toward passage, despite demands from conservative Republicans to withhold spending from President Barack Obama's immigration order, which would allow millions of undocumented immigrants to stay and work in the United States.
Final hurdles on the massive bill were cleared when some controversial financial services provisions were removed to be dealt with separately.
The measure aims to fund all government agencies through September 2015, except for the Department of Homeland Security, which would be extended only through late February, providing Republicans leverage over the agency implementing the Obama immigration order.