The FTSE 100 closed up 6.78 points, or 0.1 per cent, at 6,631.76, extending its winning streak to eight days.
The index fell 0.3 per cent early on, but appetite for high-yielding defensive stocks, which again outperformed, and good US retail data helped reverse losses in afternoon trade.
US retail sales unexpectedly rose in April, pointing to underlying strength in the economy.
“There was a high degree of pessimism over the figures, but given the revisions higher in jobs data, I always thought we could see a positive surprise... and that got people a little bit more bullish on equities again,” said Michael Hewson, senior market analyst at CMC Markets, adding that the recent trend of buying on dips was continuing.
Defensive sectors such as consumer staples, utilities and health care stocks combined to add 12 points to the index, and have led the FTSE 100 to a 12.4 per cent gain year-to-date.
“You could look at the success of defensive sectors as a bearish signal, but with the poor yields in other assets, that’s prompting renewed focus on these sectors,” BGC Partners market analyst Mike Ingram said.
“But you’re not in an out-and-out bull market until you see a more broad-based rally.”
The year’s laggards continued to underperform, with financials alone taking 10 points off the index.
Standard Chartered dropped 1.9 per cent after a report that US hedge fund Carson Block has bet against the company because of the perceived health of its loan book.
A rate-cut delivered by the European Central Bank on 2 May had helped the banks as well as the FTSE 100 index up from mid-April lows, and expectations of continued monetary easing are helping sustain shares at multi-year highs.
“The markets have factored in more than just an interest rate cut by the ECB, but additional proactive measures ... so we are waiting for more comments on this to push on from here,” Alastair McCaig, analyst at IG Index, said.
“Bearing in mind the rally we’ve seen in the FTSE over the last two weeks, it’s no surprise that we’re taking a bit of a breather today.”
Meanwhile European shares edged off five-year highs, with renewed concerns about ongoing problems facing banks sparking a wave of profit taking in the second best performing sector of the past month.
The STOXX Europe 600 Banking sector was 1.3 per cent lower but losses in the broader market were limited.