WASHINGTON — The Senate passed a broad, two-year budget deal Thursday that boosts spending and eliminates the threat of a debt default until past the 2020 election, while reducing chances for another government shutdown. The legislation now goes to President Trump, who is expected to sign it despite conservative complaints that it will fuel the nation’s runaway debt.

‘‘Budget Deal is phenomenal for our Great Military, our Vets, and Jobs, Jobs, Jobs! Two year deal gets us past the Election. Go for it Republicans, there is always plenty of time to CUT!’’ Trump wrote on Twitter ahead of the 67-28 vote.


Republican leaders, including Trump himself, had been working to round up GOP support ahead of Thursday’s vote, trying to avoid a repeat of the outcome in the House last week, when a majority of Republican lawmakers ignored Trump’s pleas and voted against the deal. It passed the House anyway, on the strength of Democratic votes. The lobbying effort paid off in the Senate as more Republicans voted in favor of the deal than against it.

The agreement heads off several looming fiscal threats, most immediately the possibility that the Treasury Department could have run out of money to pay its bills as early as September if Congress didn’t act, resulting in a market-shattering default on US obligations.

The deal passed Thursday suspends the debt ceiling through July 31, 2021, removing the threat of default and the accompanying risk of political brinkmanship that typically accompanies debt limit negotiations. It lifts strict Obama-era spending caps that would otherwise slash indiscriminately into agency and military budgets, and sets overall spending levels that will make it easier for lawmakers to write the individual appropriations bills needed to keep the government open past Oct. 1, when current agency budgets expire.

The deal came together after weeks of intense negotiations between the Trump White House and Speaker Nancy Pelosi, a California Democrat, which proceeded even as the president sparred with House Democrats on multiple other fronts and increasing numbers of them called for his impeachment. The agreement stands as a rare example of bipartisan legislating in the Trump era, and is one of the few major votes Congress will take this year.


Passage of the bill was the Senate’s last act before leaving town for an extended summer recess, on the tails of House members, who adjourned last week. Lawmakers will return to the Capitol after Labor Day to confront a thin legislative agenda, including the pending North American trade deal, which faces an uncertain outcome.

Lawmakers will also need to pass individual spending bills to avert a government shutdown Oct. 1, an outcome all want to avoid after the record-long 35-day partial shutdown last winter over Trump’s border wall. Trump’s wall could once again prove a sticking point in negotiations this fall, although a recent Supreme Court decision allowing Trump to spend billions in Pentagon funds on a border barrier lessens the need for him to get more money from Congress.

The deal passed Thursday increases military and domestic spending by $320 billion over two years compared to existing law. It increases overall discretionary spending from $1.32 trillion in the 2019 fiscal year to $1.37 trillion in 2020 and $1.375 trillion in 2021.

Discretionary spending is the money controlled by Congress and does not include programs like Social Security and Medicare, which account for about two-thirds of federal spending.


The government spends more money than it brings in through revenue, and it covers the difference by issuing debt. But the Treasury Department can only issue debt up to a limit set by Congress, known as the debt ceiling. If the debt ceiling is not lifted the government could fall behind on some of its payments, which could spark another financial crisis.

The government now spends roughly $4.4 trillion and is expected to bring in roughly $3.5 trillion in revenue, leaving a gap of between $900 billion and $1 trillion.

Trump had — before becoming president — suggested that the debt ceiling shouldn’t be raised. But in the current round of negotiations, Treasury Secretary Steven Mnuchin argued for the need to ensure stability by raising the debt ceiling, and he prevailed over budget hawks in the administration, such as acting budget director Russ Vought, who were pushing for significant cuts to accompany the deal.

GOP supporters of the budget pact, including Trump and Majority Leader Mitch McConnell, a Republican from Kentucky, focused on lifting the debt ceiling as well as the increase in the Pentagon budget in arguing that the agreement was a good deal for Republicans, and the best that could be achieved under a divided government.

But a number of Senate Republicans, including some who support Trump strongly on most issues, were reluctant to go along. The national debt now stands at $22 trillion, but the deal makes no attempt to rein in spending, take on entitlements, or make any structural changes many Republicans say are necessary to reform Washington’s dysfunctional budget process.


Instead, attempts by Vought and the Trump administration to negotiate significant spending cuts as part of the deal were mostly rejected, leaving $77 billion in largely cosmetic ‘‘offsets’’ that are supposed to occur in years ahead. Trump has told aides to prepare for budget cuts if he wins a second term, a possibility his Thursday tweet saying ‘‘there is always plenty of time to CUT’’ seemed to confirm, but those theoretical future cuts did little to reassure some Republican senators in the present.