The company has been reviewing its long-term options in Africa as currency devaluations, supply issues and low consumer spending in Angola, Nigeria and Zambia have weighed on earnings.

Shoprite, which owns more than 2,800 outlets across Africa, said in a trading update that it was pursuing the sale after reviewing its operating model and receiving approaches from various investors.

In February CEO Pieter Engelbrecht told analysts that Shoprite remained committed to the continent but not at any cost.

The market welcomed the potential exit, pushing Shoprite's shares to their highest in nearly two months. They were up 11.4% by 1214 GMT.

"Good riddance to Nigeria," said independent investment analyst Christopher Gilmour. "Almost impossible for any foreign company to do business there. Companies never know where they stand with the authorities and there are constant disruptions and distractions."

A portfolio manager who did not want to be named said that Engelbrecht is delivering on his promises to deleverage the balance sheet and focus on the domestic market, where the retailer continues to trade best.

"Future profits will also improve, given the severance of the lethargic Nigerian arm," he added.

Its shares were also supported by a 6.4% jump in total sales to 156.9 billion rand (6.95 billion pounds) in the 52 weeks to June 28. Shoprite said its annual headline earnings per share (HEPS) could rise despite the impact of 327.2 million rand in COVID-19 costs and impairments of 1.3 billion rand.

The retailer said its basic HEPS - the main profit measure in South Africa - from continuing operations are likely to be between 1.6% below and 6.4% above the restated 747.7 cents it reported a year earlier.

Its South African supermarkets division grew by 8.7% while sales at its supermarkets outside South Africa, excluding Nigeria, fell 1.4%.

Its South African supermarkets were boosted by panic-buying at the outset of the coronavirus lockdown and significant growth at its Checkers business, which has been repositioned as a more upmarket brand and now represents 39.6% of the group's domestic supermarket sales.

(Reporting by Samantha Machado in Bengaluru and Tanisha Heiberg and Nqobile Dludla in Johannesburg; Editing by Jason Neely and David Goodman)