The average rate on a 30-year, fixed-rate mortgage is now the highest since May 2019. And home prices are expected to rise, though probably more slowly.Home prices remain high, and rising borrowing costs are adding to the challenge of buying a home heading into the traditional spring selling season.The pace of housing price increases may slow from double- to single-digit percentages this year, said Danielle Hale, the chief economist for Realtor.com. But prices are still expected to go up, and conditions will probably continue to favor sellers.“Prices will continue to grow, just at a slower pace,” she said, and one of the main reasons is that mortgage rates are expected to rise. “Higher mortgage rates decrease affordability for anyone taking out a mortgage,” which the majority of home buyers do, she said.The average rate on a 30-year, fixed-rate mortgage this week rose to 3.92 percent, the highest rate since May 2019, according to the mortgage finance giant Freddie Mac. A year ago, the average rate was 2.81 percent. Freddie Mac’s weekly survey looks at loans used to buy homes, rather than at borrowers refinancing loans they already have.Mortgage rates are rising quickly. The Mortgage Bankers Association forecasts average rates will be slightly above 4 percent by the end of the year — still low in historic terms, but higher than the 3 percent or lower that borrowers have been seeing. (The association includes rates for refinances as well as purchases in its forecast.)Why are rates rising? In response to higher inflation and a strong employment market, the Federal Reserve is expected in March to begin a series of increases in its benchmark interest rate, indirectly helping to push up mortgage rates. (In general, mortgage rates are tied to the 10-year Treasury bond, which is affected by various factors, including the outlook for inflation.) Consumer price increases recently have reached levels not seen in 40 years, mainly because of lingering supply constraints from the pandemic.The average borrower with a 20 percent down payment would pay about $100 more a month on a new mortgage than one taken out at the end of last year because of rising rates and higher home prices, said Andy Walden, vice president of enterprise research strategy at Black Knight, a mortgage data provider.Understand Inflation in the U.S.Inflation 101: What is inflation, why is it up and whom does it hurt? Our guide explains it all.Your Questions, Answered: We asked readers to send questions about inflation. Top experts and economists weighed in.What’s to Blame: Did the stimulus cause prices to rise? Or did pandemic lockdowns and shortages lead to inflation? A debate is heating up in Washington.Supply Chain’s Role: A key factor in rising inflation is the continuing turmoil in the global supply chain. Here’s how the crisis unfolded.Rates are rising as strong demand for homes, along with a tight supply of properties for sale, has pushed up home prices. The typical sale price of a previously owned home in 2021 was just under $347,000, according to the National Association of Realtors — an increase of nearly 17 percent from 2020.Shoppers should still expect a competitive spring housing market, Ms. Hale said. Some potential buyers who have been on the fence may move quickly to lock in mortgage rates before they rise further. “It gives shoppers some urgency to close sooner rather than later,” she said.But some shoppers — particularly first-time buyers — may decide to wait until even higher rates help cool off prices later in the year. The largest share of home buyers are millennials ages 21 to 40, many of whom are first-time buyers, according to the National Association of Realtors.“The spring season will be very interesting,” said Lawrence Yun, the chief economist with the Realtors association.Ultimately, the housing market needs an increase in inventory, Mr. Yun said. “We need a supply of empty homes.” Builders have faced challenges in keeping newly built homes affordable including high lumber prices and difficulty finding construction workers.Buyers may need to consider more affordable homes in less urban areas, Mr. Yun said. That may depend on whether homeowners expect to be able to continue working remotely.One variable in the number of homes for sale is the winding down of mortgage forbearances granted during the pandemic. Many homeowners have been able to resume payments after their payment pause expired. But some may be unable to, forcing them to sell their homes, said Michael Fratantoni, the chief economist with the Mortgage Bankers Association. The number of borrowers in forbearance has been declining, to an estimated 705,000 homeowners at the end of 2021.Inflation F.A.Q.Card 1 of 6What is inflation? More