Unlock stock picks and a broker-level newsfeed that powers Wall Street.
A government shutdown is averted for now with a temporary funding bill. What happens in a shutdown?

WASHINGTON (AP) — Congress has averted for now a threatened government shutdown that would have disrupted many services, squeezed federal employees and roiled politics.

The threat was set aside late Saturday after Congress voted to keep agencies open until Nov. 17. Speaker Kevin McCarthy, R-Calif., dropped demands for steep spending cuts and relied on Democratic votes for House passage, before the Senate easily approved the measure Saturday night. President Joe Biden later signed the measure.

House Republicans, fueled by hard-right demands for lower spending, had been forcing a confrontation over federal spending.

In a shutdown, some government entities would be exempt — Social Security checks, for example, would still go out — and other functions would be severely curtailed. Federal agencies would cease all actions deemed nonessential, and many of the federal government’s roughly 2 million employees, as well as 2 million active-duty military troops and reservists, would not receive paychecks.

A look at what could happen in the event of a shutdown.

WHAT IS A GOVERNMENT SHUTDOWN?

A shutdown happens when Congress fails to pass some type of funding legislation that is signed into law by the president. Lawmakers are supposed to pass 12 different spending bills to fund agencies across the government, but the process is time-consuming. They often resort to passing a temporary extension, called a continuing resolution or CR, to allow the government to keep operating.

When no funding legislation is enacted, federal agencies must stop all nonessential work and would not send paychecks as long as the shutdown would last.

Although employees deemed essential to public safety such as air traffic controllers and law enforcement officers still have to report to work, other federal employees are furloughed. Under a 2019 law, those workers are slated to receive backpay once the funding impasse is resolved.

WHEN WOULD A SHUTDOWN BEGIN AND HOW LONG COULD IT LAST?

Government funding expires Oct. 1, the start of the federal budget year. A shutdown would have begun at 12:01 a.m. Sunday if Congress didn't pass a funding plan that the president could sign into law. The House and Senate averted this by approving a temporary funding bill keeping federal agencies open until Nov. 17, setting up another potential crisis if they fail to more fully fund government by then.

There were fears that a potential stoppage could last weeks.

WHO DOES A SHUTDOWN AFFECT?

Millions of federal workers would face delayed paychecks, including many of the roughly 2 million military personnel and more than 2 million civilian workers across the nation.