President Joe Biden's Democrats, who control both chambers of Congress, are expected to avoid an embarrassing partial government shutdown just six weeks before the Nov. 8 midterm elections, when control of Congress will be at stake.
The bill, which would extend overall government funding through Dec. 16, was facing resistance because of an energy permitting reform measure.
The spending provisions include $12.3 billion in new money to help Ukraine turn back Russia's invasion, House of Representatives Appropriations Committee Chairwoman Rosa DeLauro said in a statement.
In addition, it authorizes Biden to direct the drawdown of up to $3.7 billion for the transfer to Ukraine of excess weapons from U.S. stocks.
The last time Congress allowed funding to lapse was in December 2018, when Democrats balked at paying for then-President Donald Trump's U.S.-Mexico border wall, leading to a record, 35-day impasse and partial government shutdown.