(CNN) — Mortgage rates climbed past 4% for the first time since May 2019. The 30-year fixed-rate mortgage averaged 4.16% in the week ending March 17, up from 3.85% the week before, according to Freddie Mac.

Rates climbed as the Federal Reserve moved to curb soaring inflation. On Wednesday, the central bank announced it would raise interest rates for the first time since 2018. The action marks the end of the Fed’s pandemic-era policy. The federal funds rate now stands at 0.25-0.5%.

Mortgage rates are not directly tied to the federal funds rate. Rather, they track the yield on 10-year Treasury bonds, which are influenced by many things including investors’ reactions to the Fed’s move and inflation.

“The Federal Reserve raising short-term rates and signaling further increases means mortgage rates should continue to rise over the course of the year,” said Sam Khater, Freddie Mac’s Chief Economist.

Rising inflation and the uncertainty in Ukraine are also having an impact on rates.

“Inflation is unlikely to slow down any time soon,” said George Ratiu, Realtor.com’s manager of economic research. “Investors are reacting to the deepening war in Ukraine and expecting renewed supply chain disruptions to add additional pressures on consumer prices.”

All these factors will continue to push mortgage rates higher in the months ahead, he said. That means one of the main drivers of home sales over the past two years — super low mortgage rates — is drying up.

“Record-low mortgage rates helped many first-time buyers stretch their budgets in 2020 and 2021,” Ratiu said. “Low rates also enabled homeowners to lower their monthly mortgage payments through refinancing. However, the days of sub-3% interest rates are firmly behind us, and we have yet to solve the market fundamentals of supply and demand.”

Inventory is still at record lows and home prices continue to climb. Skyrocketing rents are putting added pressure on the market, as buying a home — even with high prices and rising interest rates — makes more financial sense than renting in some markets.

The-CNN-Wire™ & © 2025 Cable News Network, Inc., a Time Warner Company. All rights reserved.

Join our Newsletter for the latest news right to your inbox