Analysts surveyed predicted that new home sales would fall to a seasonally adjusted annual rate of 570,000 units.
These numbers tend to be volatile. September sales were initially reported at 603,000 units.
The median sales price of new homes sold in October jumped to a record $493,000, up from $455,700 the previous month.
The supply of new homes for sale rose 1.5 percent between September and October, the equivalent of an 8.9-month supply at the current pace of sales. This is up from a 5.7 month supply in January.
Regionally, sales were up sharply in the Northeast and South, but down in the Midwest and South.
Among many housing indicators, new home sales continued to buck the trend.
Affordability has been declining as the Federal Reserve continues to raise interest rates and mortgage rates have reached a 20-year high.
There may be some buyers eager to complete their purchases before homes become more expensive.
Other analysts point to a high cancellation rate for new home sales, which is not reflected in the data.
"Median and average new home prices delivered in October rose sharply, suggesting that high-end consumers have been able to afford increased mortgage payments. on balance, while the rebound is encouraging, this report does little to change the outlook that housing will continue to be a drag on economic growth in the coming quarters," said economists at Contingent Macro.
Stocks were higher in early trading Wednesday. the yield on the 10-year Treasury note slipped to 3.72 percent.