Image copyright AFP

Royal Bank of Scotland has swung to a loss in the third quarter after taking a hit from the cost of payment protection insurance.

The Edinburgh-based bank, in which the government owns a 62% stake, added its investment bank had a "particularly challenging" three months.

It reported a pre-tax loss of £8m for the July-to-September period after it took a £900m charge for PPI.

These are the last results before chief executive Ross McEwan departs.

The New Zealander is being replaced by Alison Rose next month, when she becomes the first woman to lead one of the UK's big four banks. She joined the bank 27 years ago as a graduate trainee.

The bank had reported a £961m profit in the same three months a year ago.

But Katie Murray, the finance director, said the results "demonstrate our solid underlying performance in a tough operating environment".

"The core retail and commercial bank continues to perform well and we are making good progress against our targets for the year," she said.

But its investment banking arm, known as NatWest Markets, reported a £193m loss for the quarter as it felt the impact of a "deterioration in economic sentiment for the global economy and a fall in bond yields".

RBS had warned last month that, like other lenders, it faced a bill for further compensation for mis-sold PPI, but its £900m hit was at the top end of expectations.

PPI was designed to cover loan repayments if borrowers fell ill or lost their job, but many were sold to people who did not want or need them.

The industry says there has been surge in claims for compensation ahead of a 29 August deadline set by the Financial Conduct Authority.

Image copyright RBS Image caption Alison Rose takes the helm after a return to a quarterly loss at the government-backed bank

The return to a quarterly loss - the first since the last quarter of 2017 - presents a fresh challenge for Ms Rose, who takes over as the UK prepares to leave the EU and when the bank's revenues are under pressure.

The bank has been trying to demonstrate that it can consistently return to profit.

It reported about £60bn of losses in the nine years after its 2008 bailout before reporting its first full-year profit since that government-backed rescue in 2018.

On a nine-month measure, the bank remained in profit, reporting £2.7bn of profits.

John Moore, senior investment manager at Brewin Dolphin, said: "The last set of results for RBS were a watershed moment for the bank, confirming it is on the road to redemption.

"Whilst this remains the case, today's statement highlights the legacy issues that the bank, and many of its peers, still face - in particular, PPI claims have pushed RBS back to a loss.

"Despite these bumps on the road, RBS is a very different bank to what it once was and continues to make good progress on a path to recovery."

On another measure, the bottom line or attributable to shareholders, the bank's quarterly losses reached £315m, compared with a £448m profit a year earlier.