Editor’s Note: Mark Zandi is chief economist of Moody’s Analytics. He was an advisor to John McCain’s 2008 presidential campaign and supported Hillary Clinton in the 2016 presidential election. The opinions expressed in this commentary are his own.

Recession is a collective loss of faith in the economy. Investors, businesses and consumers decide en masse to head for the bunker, selling stocks and real estate, cutting investments and jobs, and pulling back on spending.

Just over a year ago, I predicted to CNN Business that a recession in the United States was likely in 2020. Of course, I didn’t know for sure. What I did know is that the preconditions for recession were coming into place and that recession risks were rising.

This may sound incongruous with the unemployment rate hovering near a 50-year low of 3.5%, and a record stock market. There has also been better news on the trade front. President Trump recently called a truce in his trade war with China, and the USMCA trade agreement, which will replace NAFTA, is on track to become law. Indeed, recession worries that were running high just a few months ago have abated.

But I wouldn’t exhale. While recession in 2020 has become less likely, recession early in the next decade remains a serious threat.

Most significantly, the economy is growing slowly, barely enough to generate the jobs needed to keep unemployment low. The president promised that his large tax cuts to mostly big corporations and high-income households would fuel sustainably stronger growth. They haven’t. Instead the nation is struggling with trillion-dollar budget deficits and an increasingly heavy debt load.

If the economy were to slow any further, for whatever reason, then unemployment would begin to rise. Once unemployment increases, even from low levels, recession becomes more likely than not. Consumers immediately sense the weakening economy since it means fewer job openings, smaller pay increases and no bonuses. They become more cautious. Businesses see this and pull back further on their hiring. They may even begin laying off workers. Unemployment rises more, and a self-reinforcing negative dynamic — a recession — takes hold.

This hasn’t happened. But it is prudent to be nervous that this vicious cycle could take hold. Despite trade progress with China, there’s still debilitating uncertainty created by President Trump’s trade war. While businesses may now believe the president won’t escalate the war before the 2020 election, they remain unsure what he will do if reelected. Since his trade war has not solved the big problems we have with the Chinese, such as intellectual property protection, cybersecurity and more access to their markets, it is almost certain he will double down on his war should he win a second term.

The coming election certainly adds to the uncertainty. President Trump’s economic policies are 180 degrees different from his Democratic rivals, who, if elected, will flip economic policy on its head. At a minimum, the Trump tax cuts for higher income and wealthy households will likely expire, as they are set to do after 2025 under current law. Foreign immigrants will be welcomed with open arms. Regulations on fossil fuel companies and banks will be revived. And while a Democratic president will take a hard stance in trade negotiations with China, the tariff wars are unlikely to continue.

The differences in economic policy and perceptions about the economy are so stark that uncertainty over the election’s outcome may have an outsized impact on consumer and business behavior. Historically, elections have had no discernible impact on the economy. The candidates’ policy views were similar enough that voters didn’t feel compelled to change their spending and investing. That may not be true this go-round.

Also, there are some tried-and-true leading indicators of recession that are signaling danger dead ahead. In my CNN Business commentary over a year ago, I said that if the yield curve were to invert — meaning if short-term interest rates rise above long-term rates — recession would be about a year off. When global investors believe the economy is going to struggle, that inflation will recede and that the Federal Reserve will cut interest rates, they buy long-term bonds. And that pushes down long-term rates. If investor demand for bonds is so strong that long-term rates fall below short-term rates, then a recession invariably ensues. The curve inverted this past summer.

The next stop on the road to recession is a substantial sell-off in the stock market. Stock investors dump stocks as they sniff out declining profits at the companies they are investing in. Yes, investors are very upbeat as this year comes to an end, but that can change very fast. Typically, stock prices fall about six months before a downturn. Prior to the financial crisis, stock prices were hitting records just three months before the severe downturn began.

My tongue-in-cheek prediction of a June 2020 recession will almost surely turn out to be wrong. But I am certain that the risk of a recession will remain uncomfortably high next year as we face the prospects of a slowing growth and uncertain economic future.