A government shutdown is imminent unless Congress acts and passes a bill to fund the government.

But even in the event of a shutdown, that doesn't mean the stock market will crash.

The last shutdown occurred back in 2013 - over that 16 day event, the S&P 500 actually rose 3.1%.

TheStreet Recommends

Since 1976, there have been 18 government shutdowns - the average S&P 500 performance during those events was a drop of 0.6%, according to LPL Research.

Not so bad.

The worst government shutdown over the last 40 years - from a market perspective - was back in 1979. Throughout the 11 day event, the S&P 500 fell 4.4%.

More from TheStreet: