The latest ONS Retail Sales Index figures showed a 0.7% year-on-year sales growth in October.
Meanwhile, predominantly non-food stores were up 5.3% year-on-year last month while online sales were down 8.4% compared to October last year.
Helen Dickinson, chief executive of the British Retail Consortium, said: “Retailers will be relieved by the improvement in sales as they enter the final straight in the run-up to Christmas.
“Footfall growth on UK streets is the highest among major EU economies, and this is clearly translating into consumer spend. Meanwhile online sales remain well above pre-pandemic levels as retailers ramp up their delivery and click-and-collect services.
“There were big improvements in clothing and footwear sales, including formalwear, as social calendars filled up and the public became increasingly confident about going out.
“While retailers are putting in a gargantuan effort to ensure that essential food and gifts are ready for Christmas, they continue to be dogged by ongoing challenges supply chain problems.
“Labour shortages throughout the supply chains – from farms to distribution – are pushing up costs and creating some gaps on the shelves.
“Nonetheless, retailers are prioritising Christmas essentials, and many have laid out their festive offerings a little earlier to ensure everyone has time to buy treats and decorations before the big day.
“Retailers are hopeful that demand will continue right through the golden quarter, however, challenges remain, with higher prices looming and many households facing rising energy bills.”