The FTSE 100 (.FTSE) ended up 0.2% at 7,860.07, not far off its all-time high of 7,903.50 points hit in May 2018, while the mid-cap FTSE 250 (.FTMC) added 0.7%.
"Investors appear to have fallen back in love with UK assets," said Susannah Streeter, senior investment and markets analyst, Hargreaves Lansdown.
Money markets are pricing in a 64.3% chance of a 50-basis point hike by the BoE in February to curtail inflation.
Oil majors BP (BP.L) and Shell (SHEL.L) slipped close to 0.4% each as crude prices fell.
ITM Power (ITM.L) slumped 12% after the energy storage and clean fuel company forecast a wider full-year loss.