Realtor.com was out Friday with a survey that says nearly 70% of home shoppers this spring think the U.S. will enter a recession in the next three years, but that hasn’t stopped them from trying to close on a home. Despite the fact that they foresee an economic downturn, they generally expressed confidence that a future recession will be better than 2008 for the housing market.

Overall, nearly 30% of the 1,015 consumers who are active home shoppers surveyed expect the next recession to begin sometime in 2020. 12% expect the recession to begin sometime in 2019, 16% expect sometime in 2021, and 12% expect 2022. Nearly 10% expect a recession in 2024 or later, and 21% reported that they didn’t know. The online survey was conducted earlier this month with Toluna Research.

According to the survey, even though 63% of shoppers report that home prices are increasing compared to last year, 56% of shoppers believe home prices have hit their peak. The feeling that home prices have topped out could be a reflection of shopper beliefs that a recession is in the not too distant future. In fact, those expecting the recession sooner were more likely to report that home prices had peaked, Hale noted.

“The U.S. economy has been on a hot streak for the last seven years, producing steady economic growth and low unemployment rates. Historically, this type of growth hasn’t continued indefinitely, and U.S. home shoppers think it will come to an end sooner rather than later,” said Danielle Hale, realtor.com® ‘s chief economist.

When asked if the U.S. housing market would fare better or worse than the 2008 economic recession, 41% responded with better. Thirty six% expect it would be worse, while 23% expect it to be the same. Hale noted, the fact that some home shoppers expect the next recession to be harder on the housing market than the last recession suggests that they are buying homes with eyes wide-open and very sober, if not slightly pessimistic, views of the housing market. This is a stark contrast to the years leading up to the last recession when ‘irrational exuberance’ was more common and yet another reason to expect that the next downturn will be very different for the housing market than the last.

“When the U.S. enters its next recession, it is unlikely that the housing market will see a sharp nationwide downturn. The same record low inventory levels that have made buying a home so difficult recently, will likely protect home prices in the next recession,” Hale added.

According to the survey, 45% of home shoppers feel at least slightly more optimistic about homeownership after the 2008 recession. Less than a quarter – 22% – feel at least slightly more pessimistic about homeownership, while 33% reported no impact on their feelings about homeownership.

The duration of the recovery from the last recession could explain the optimism reported by some buyers. Since 2010, home prices across the U.S. have grown by 49%, the U.S. economy has grown by $3 trillion and 18.7 million more jobs have been created. This persistent optimism toward homeownership is likely a key reason that home shoppers are confident and looking to buy, even as they expect a recession is approaching.