WASHINGTON?Sales of newly built homes edged down in October, a sign the housing market could be losing momentum in the closing months of the year.

Purchases of new single-family homes fell 1.9% in October from the prior month to a seasonally adjusted annual rate of 563,000, the Commerce Department said Wednesday.

Economists surveyed by The Wall Street Journal had expected a slight rise in the sales pace to 595,000 last month.

New-home sales had hit a multiyear high in July at a pace of 622,000, but have stayed below the 600,000 mark since then.

Sales for September were revised down to a 574,000 pace from an earlier estimate of 593,000.

New-home sales account for a fairly small slice of U.S. homebuying activity, and sales data can be extremely volatile from month to month. October's decrease in sales from the prior month came with a margin of error of 13.1 percentage points.

Despite the slowdown from the summer, sales are stronger in the later months of the year than in the first quarter. Overall, steady job gains and historically low mortgage rates have supported the housing market throughout 2016.

Through the first 10 months of the year, sales are up 12.7% compared with the same period in 2015. That measure is more consistent with other gauges of the housing market showing improvement through most of this year.

The recent pace of new-home sales is about half the peak rate reached in 2005.

Sales of existing homes, which account for the bulk of purchases, rose 2.0% in October from the prior month to the highest pace since early 2007, the National Association of Realtors said Tuesday. Sales had softened a bit during the summer months but rebounded in September and October.

The U.S. housing market's prolonged recovery following the 2007-09 recession was a solid contributor to overall economic growth in recent years. But a pullback in residential investment during the second and third quarters, following eight consecutive quarters of growth, has acted as a drag on the broader economy.

Realtors are looking for new construction to infuse the market with more supply, as inventory of existing homes dwindles and prices rise faster than most peoples' wages. That creates affordability issues, especially for first-time buyers.

Home-building activity rebounded in October, with starts in single-family and multifamily housing posting increases, and permits edging higher as well, the Commerce Department said last week. Home-builder sentiment also held at an elevated level in November, the National Association of Home Builders said last week, although construction is still at historically low levels.

Borrowing costs remain low for prospective home buyers who qualify for loans. The average interest rate on a 30-year fixed-rate mortgage in October was 3.47%, below the October 2015 average of 3.80%, according to Freddie Mac. But mortgage rates have already risen since then and may continue to, if, as many economists surveyed by The Wall Street Journal predict, Federal Reserve officials raise interest rates at their December policy meeting. That could further damp enthusiasm for home buying.

Wednesday's report showed there was a 5.2-month supply of newly built homes available at the end of October, given the current sales pace. The median price of new homes sold in October was $304,500, up from $298,700 a year earlier.

The Commerce Department's full report on U.S. new-home sales can be accessed at: https://www.census.gov/construction/nrs/pdf/newressales.pdf

Write to Anna Louie Sussman at anna.sussman@wsj.com and Eric Morath at eric.morath@wsj.com

(END) Dow Jones Newswires

November 23, 2016 10:35 ET (15:35 GMT)

Copyright (c) 2016 Dow Jones & Company, Inc.