UK house prices surged unexpectedly in October, countering signs of a broad slowdown in the housing market over the last six months, a survey from mortgage lender Halifax claimed on Monday.

House prices shot up 1.4% in October compared with an upwardly revised 0.3% increase in September. Economists polled by Reuters had expected only a 0.2% rise.

In the three months to October, house prices were 5.2% higher compared with the same period a year ago – again stronger than the Reuters poll consensus that pointed to a 4.8% rise.

“With the economy currently resilient, house prices may well rise modestly in the near term,” said Howard Archer, chief European and UK economist at IHS Markit.

“We believe housing market activity is likely to be increasingly pressurised in 2017 by heightened uncertainty constraining consumer confidence and willingness to engage in major transactions, as well as hampering economic activity.”

Halifax said house price growth may ease in the coming months, but low mortgage rates and a shortage of properties for sale should provide support.

The latest figures contrasted with a survey from rival mortgage lender Nationwide last week, which showed house prices were unchanged in October after rising in each of the previous 15 months.