US lawmakers have voted to pass a two-year budget, meaning the country's second shutdown in three weeks could end before the working day begins.
The measures have passed the Senate and the House but still need to be signed off by President Donald Trump.
Federal funding for government services expired at midnight (05:00 GMT), after the Senate missed a voting deadline.
The 600-page plan proposes an increase in spending, by about $300bn (£215bn), on defence and domestic services.
Senators struggled with last-minute objections from Republican Rand Paul, meaning they did not vote in time. The shutdown came within three weeks of the last one, as lawmakers wrangle over the spending plan and other political demands on either side.
Read more on BBC.