The NAR said a spike in mortgage rates, in anticipation of the Federal Reserve starting to reduce its massive monetary stimulus later this year, had probably dampened sales in June.

But economists were skeptical.

"We do not believe that the weaker sales are indicative of a broad-based slowdown in the housing recovery caused by the recent rise in mortgage rates," said Gennadiy Goldberg, an economist at TD Securities in New York.

The 30-year mortgage rate increased 0.53 percentage point to 4.07 percent in June from May, the highest level since October 2011. Still, they remain low and Fed Chairman Ben Bernanke last week expressed optimism the housing market recovery would continue.

The recovery, marked by a surge in prices and dwindling inventories, is helping to shore up the economy by bolstering household finances and supporting consumer spending.

The median price for a previously owned home soared 13.5 percent from a year ago to $214,200, the highest since June 2008. Prices are being boosted by still-lean inventories.

The inventory of unsold homes on the market rose 1.9 percent from May to 2.19 million units. That represented a 5.2 months' supply at June's sales pace.

While that was up from May's 5.0 months, it remained below the 6.0 months that is normally considered as a healthy balance between supply and demand.

Other details of the report were also encouraging. Distressed properties — which can weigh on prices because they typically sell at deep discounts — accounted for only 15 percent of sales last month.

That was the lowest since the Realtors group started monitoring them in October 2008. These properties, foreclosures and short sales, had made up 18 percent of sales in May.

In another sign of underlying strength, properties are selling more quickly. The median time on the market for homes was 37 days in June, down from 70 days a year ago.

That was the fewest days on the market since the NAR started monitoring that number in May 2011. Before the market collapsed in 2006, it usually took about 90 days to sell a home.

"The underlying fundamentals are indicative of a continuation of the broad-based housing market recovery as affordability remains near record levels and mortgage rates remain low from a historical perspective," said Goldberg.

To view this site, you need to have JavaScript enabled in your browser, and either the Flash Plugin or an HTML5-Video enabled browser. Download the latest Flash player and try again.