US pharmacy giant Walgreens has dropped plans to sell Boots, saying buyers were unable to raise enough funds due to instability in financial markets.
Walgreens said it had various offers for the pharmacy business after it put Boots up for sale in January.
But none of the offers adequately reflected the high potential value of the UK pharmacy chain, it said.
The Walgreens Boots Alliance said it would now keep Boots and the No7 beauty brand.
Potential buyers reportedly included Indian billionaire Mukesh Ambani and US buyout firm Apollo Global Management, who made an offer valuing the business at about £5bn.
The Walgreens merger deal for Boots in 2014 valued the firm at about £9bn at the time.
Walgreens said it had moved away from plans to offload Boots after an "unexpected and dramatic change" in the financial markets.
"As a result of market instability severely impacting financing availability, no third party has been able to make an offer that adequately reflects the high potential value of Boots and No7 Beauty Company," it said.
Rosalind Brewer, chief executive of Walgreens Boots Alliance, said: "We have now completed a thorough review of Boots and No7 Beauty Company, with the outcome reflecting rapidly evolving and challenging financial market conditions beyond our control."
"It is an exciting time for these businesses, which are uniquely positioned to continue to capture future opportunities presented by the growing healthcare and beauty markets.
"The board and I remain confident that Boots and No7 Beauty Company hold strong fundamental value, and longer term, we will stay open to all opportunities to maximise shareholder value for these businesses and across our company."
Retail analyst Catherine Shuttleworth said that Walgreens had wanted more for Boots than suitors had been prepared to pay for it.
"Boots needs an awful lot of work," she said.
She said raising the necessary funds to buy it would have been difficult in the current market, and that Boots has a "significant" pensions liability.
One of the main challenges for Boots, she said, is that it is possible to buy equivalent products from competitors such as supermarkets and online shops.
In addition, Boots used to get a lot of "lunchtime trade" from people working in offices in city centres, but now more people were spending time working from home.
The 173-year-old Boots business includes 2,200 UK stores.
In 2020, Walgreens cut 4,000 jobs at Boots and closed some of its shops as the Covid-19 pandemic hit sales.