UK house prices ended 2017 2.6% higher than when the year started, with London identified as the UK's weakest-performing region for the first time since 2004, a new index shows. 

Across the UK, the average house price was £211,156 in December, marking a 0.6% month-on-month increase as well as the 2.6% annual uplift, Nationwide Building Society said. 

The annual rise was the slowest for any calendar year since 2012 and compares with a 4.5% annual increase in December 2016. 

For the first year since 2008, prices in northern England and the Midlands combined grew at a faster rate than in southern England, Nationwide said, with a 3.6% year-on-year increase compared with 1.6%.

In London, prices were down 0.5% annually, taking the average to £470,922.

The strongest-performing region was the West Midlands, with prices up by 5.2% annually, followed by the South West at 4.8%. 

An increase of 3.3% was seen in Wales, with 2.6% in Scotland and 2% in Northern Ireland.

Robert Gardner, Nationwide's chief economist, said 2017 "saw the beginnings of a shift", as rates of price growth in the South moderated towards those in the rest of the country. 

"London saw a particularly marked slowdown, with prices falling in annual terms for the first time in eight years, albeit by a modest 0.5%. London ended the year the weakest-performing region for the first time since 2004," he said.

Mr Gardner said a 20% deposit in London now typically equates to more than £80,000, based on the average first-time buyer price. This is around £30,000 higher than a decade ago.

In other regions, such as the Midlands and northern England, deposit requirements are similar to 2007, he said.

Nationwide calculated that would-be buyers face spending around eight years saving for a deposit, rising to nine years in the South East and nearly 10 years in London. 

Mr Gardner said subdued economic activity and an ongoing squeeze on household budgets is likely to exert a modest drag on housing market activity and price growth in 2018.

"Overall, we expect house prices to record a marginal gain of around 1% in 2018. Over the longer term, once the economy regains momentum, we expect house prices to rise broadly in line with earnings," he added. 

Mr Gardner said much will depend on how Brexit impacts on the UK economy.