Home sales in the first quarter hit their fastest pace in a decade, a sign that rising prices and slightly higher mortgage rates haven’t deterred home buyers from rushing into the market.

Total existing-home sales climbed 1.4% in the quarter to a seasonally adjusted annual rate of 5.62 million, the highest since the first quarter of 2007, according to the National Association of Realtors.

The...